[<prev] [next>] [day] [month] [year] [list]
Message-ID: <914168.17218.qm@web95101.mail.in2.yahoo.com>
Date: Thu, 22 May 2008 13:32:01 +0100 (BST)
From: murtuja bharmal <murtuja_bharmal@...oo.com>
To: linux-kernel@...r.kernel.org
Subject: CLONE_THREAD issue
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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists