[PLUG] insmod doesn't return when kernel thread is initialized

Ash Dude giimale at gmail.com
Thu Jun 5 15:42:03 IST 2008


My module initializes a tasklet and then creates a kernel thread(Created
with CLONE_THREAD and few other flags)
which runs in an infinite loop and keeps scheduling the tasklet.

  the problem is:
    1. insmod never returns even the my init functions returns. The thread
and tasklet run just fine.
    2. rmmod also does not return :-).

   There is no entry for my kernel thread (which I: daemonize("My_thread")
and copy current->comm  <-- "igatewaySMP")
   though after killing insmod ps shows zombie insmod.

   Any pointers would really help.


More information about the Plug-mail mailing list