Killing kernel threads

From: Super user (lnxuser2002@yahoo.com)
Date: Tue Nov 19 2002 - 11:58:47 EST


Hi,

Is there any guaranted way to kill kernel threads
started from loadable modules. I've written a kernel
module that starts 8 kernel threads and sometimes one
of them goes into uninterruptible sleep. Is there
anyway to flush away such threads while unloading
modules.

I've tried using kill_proc with SIGKILL but it doesn't
seem to help.

BTW, I am using the code for handling kernel threads
at http://www.scs.ch/~frey/linux/kernelthreads.html

Any pointers regarding the same are highly
appreciated.

Thanks,

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:28 EST