diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-04-09 17:50:36 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-04-09 02:20:37 +0200 |
commit | 1c99315bb36b5d776210546d438ca928dc9b1f22 (patch) | |
tree | aa43f3ffe76fd1aed66ed9e4a433c5f310fd7e74 /drivers/ata/sata_nv.c | |
parent | kthread: Don't looking for a task in create_kthread() #2 (diff) | |
download | linux-1c99315bb36b5d776210546d438ca928dc9b1f22.tar.xz linux-1c99315bb36b5d776210546d438ca928dc9b1f22.zip |
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 'drivers/ata/sata_nv.c')
0 files changed, 0 insertions, 0 deletions