From: Oleg Nesterov Date: Thu, 9 Apr 2009 15:50:36 +0000 (-0600) Subject: kthread: move sched-realeted initialization from kthreadd context X-Git-Tag: v2.6.30-rc2~106^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c99315bb36b5d776210546d438ca928dc9b1f22;p=pandora-kernel.git 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 Cc: Christoph Hellwig Cc: "Eric W. Biederman" Cc: Ingo Molnar Cc: Pavel Emelyanov Cc: Vitaliy Gusev Signed-off-by: Rusty Russell --- Reading git-diff-tree failed