* CLONE_THREAD issue
@ 2008-05-22 12:32 murtuja bharmal
0 siblings, 0 replies; only message in thread
From: murtuja bharmal @ 2008-05-22 12:32 UTC (permalink / raw)
To: linux-kernel
Hello All,
I am testing one small module in 2.6.16 kernel, which
is intilizing one Tasklet funcion and creating one
kernel thread using kernel_thread() which is
responsible for Scheduling Tasklet, Inside the Tasklet
function I have just putted one printk statement.
I am calling Tasklet Intilization and kernel_thread
inside module init fucntion.
This is my kernel_thread function.
kernel_thread(thread_entry_point, 0,
CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD)
Inside thread_entry_point I am scheduling Tasklet.
Problem is When I remove CLONE_THREAD form
kernel_thread function everything is working fine.
but with CLONE_THREAD, I am even not able to load the
module just after doing insmoe <module name> maching
get hang.
Looking for help.
Thanks,
Murtuja
Explore your hobbies and interests. Go to http://in.promos.yahoo.com/groups/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-22 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-22 12:32 CLONE_THREAD issue murtuja bharmal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®