aboutsummaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@codeaurora.org>2012-02-28 17:39:31 -0800
committerMister Oyster <oysterized@gmail.com>2017-12-26 13:06:59 +0100
commitbca71ee2753d174acdfab9e804cbcc4b4a66c4b6 (patch)
treeb89f6cedaf8711695d6fe2cf0c037e416e947609 /kernel/workqueue.c
parentec090cdf6bef6a3ad219e1891be988a5b3f4d966 (diff)
init: apply SCHED_FIFO to kthreadd
Hotplug (cpu_up) latency currently suffers because the system must wait for kthreadd to spawn certain kthreads (such as the migration and workqueue kthreads) and for them to run for the first time. Setting SCHED_FIFO will cause kthreadd to run immediately. The newly created kthreads will inherit the scheduler policy and run immediately also. The scheduling policy of newly created kthreads is already set back to SCHED_NORMAL in kthread_create_on_node, so nothing needs to be done to restore normal scheduling behavior for the kthreads once spawned. Change-Id: I236ceb29845cf58ea1ea886fc3210ccaab2dd792 Signed-off-by: Steve Muckle <smuckle@codeaurora.org> (cherry picked from commit 82440737eef236077e5781061b4c8de2c0b013fb)
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions