summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_nv.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2009-04-09 17:50:36 +0200
committerRusty Russell <rusty@rustcorp.com.au>2009-04-09 02:20:37 +0200
commit1c99315bb36b5d776210546d438ca928dc9b1f22 (patch)
treeaa43f3ffe76fd1aed66ed9e4a433c5f310fd7e74 /drivers/ata/sata_nv.c
parentkthread: Don't looking for a task in create_kthread() #2 (diff)
downloadlinux-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