summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2004-03-18 16:03:16 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-18 16:03:16 -0800
commite7243e1bdcb10e5f7edad7129390159cba999d44 (patch)
treea6dc24530adf572d481c30fb67433ea61f84f64e /include/linux
parent1329b6abc196900eb04d9bde358a313c945d54e9 (diff)
[PATCH] Hotplug CPUs: Set prio of migration thread before CPU
We need the migration thread to be RT as soon as the CPU comes online: for example, stop_machine() (another RT task) expects to yield to it. Extract the core of setscheduler() and do that when the migration thread is created. rq lock is a precaution against the (theoretical) possibility of someone else doing setscheduer on this thread at the same time.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions