From: murtuja bharmal <murtuja_bharmal@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: CLONE_THREAD issue
Date: Thu, 22 May 2008 13:32:01 +0100 (BST) [thread overview]
Message-ID: <914168.17218.qm@web95101.mail.in2.yahoo.com> (raw)
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/
reply other threads:[~2008-05-22 12:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=914168.17218.qm@web95101.mail.in2.yahoo.com \
--to=murtuja_bharmal@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®