aboutsummaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2009-04-09 09:50:36 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-04-09 09:50:37 +0930
commit1c99315bb36b5d776210546d438ca928dc9b1f22 (patch)
treeaa43f3ffe76fd1aed66ed9e4a433c5f310fd7e74 /kernel/workqueue.c
parent3217ab97f14c5c8f9f975ed8c40c351164b0b10e (diff)
kthread: move sched-realeted initialization from kthreadd context
kthreadd is the single thread which implements ths "create" request, move sched_setscheduler/etc from create_kthread() to kthread_create() to improve the scalability. We should be careful with sched_setscheduler(), use _nochek helper. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Pavel Emelyanov <xemul@openvz.org> Cc: Vitaliy Gusev <vgusev@openvz.org Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions