lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BEBB413.9010404@gmail.com>
Date:	Thu, 13 May 2010 10:10:59 +0200
From:	Jiri Slaby <jirislaby@...il.com>
To:	ratheesh k <ratheesh.ksz@...il.com>
CC:	linux-rt-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Differnce between kthread and worqueue ?

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). The difference is that with
workqueue you don't care about looping in kthread, sleeping and managing
a work list.
-- 
js
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ