From: Jiri Slaby <jirislaby@gmail.com>
To: ratheesh k <ratheesh.ksz@gmail.com>
Cc: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Differnce between kthread and worqueue ?
Date: Thu, 13 May 2010 10:12:32 +0200 [thread overview]
Message-ID: <4BEBB470.9040501@gmail.com> (raw)
In-Reply-To: <4BEBB413.9010404@gmail.com>
On 05/13/2010 10:10 AM, Jiri Slaby wrote:
> On 05/13/2010 09:25 AM, ratheesh k wrote:
>> What is the real difference between these ? . I know that workqueue
>> run on process context and can sleep ..what about kthread ?
>
> Well, workqueue runs in a kthread called name_of_your_workqueue/cpu
> ("/cpu" is omitted when singlethread wq).
(And when you use just schedule_work and create no workqueue for
yourself, it's "events/cpu" kthread.)
--
js
prev parent reply other threads:[~2010-05-13 8:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-13 7:25 Differnce between kthread and worqueue ? ratheesh k
2010-05-13 8:10 ` Jiri Slaby
2010-05-13 8:12 ` Jiri Slaby [this message]
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=4BEBB470.9040501@gmail.com \
--to=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=ratheesh.ksz@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.