workqueue: introduce create_rt_workqueue
commit0d557dc97f4bb501f086a03d0f00b99a7855d794
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 13 Oct 2008 21:50:09 +0000 (13 23:50 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 21 Oct 2008 23:00:25 +0000 (22 10:00 +1100)
treebe717fc70de4fc76f48cf4f4f3cebc3b8569d798
parenta802dd0eb5fc97a50cf1abb1f788a8f6cc5db635
workqueue: introduce create_rt_workqueue

create_rt_workqueue will create a real time prioritized workqueue.
This is needed for the conversion of stop_machine to a workqueue based
implementation.
This patch adds yet another parameter to __create_workqueue_key to tell
it that we want an rt workqueue.
However it looks like we rather should have something like "int type"
instead of singlethread, freezable and rt.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
include/linux/workqueue.h
kernel/workqueue.c