Killing kernel threads

Super user (lnxuser2002@yahoo.com)
Tue, 19 Nov 2002 08:58:47 -0800 (PST)


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/