Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Pavel Emelyanov <[email protected]> Cc: Vitaliy Gusev <[email protected] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information