aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSatoru Takeuchi <[email protected]>2007-07-15 23:39:48 -0700
committerLinus Torvalds <[email protected]>2007-07-16 09:05:41 -0700
commit1c6b4aa94576eee6dec3b8011f60d7f666db90b0 (patch)
tree68d94f262f47d555e90c764b49bb0925e5e43fca /tools/perf/scripts/python
parent85653af7d488702165eba72c6c1dd0250fae4e70 (diff)
cpu hotplug: fix ksoftirqd termination on cpu hotplug with naughty realtime process
Fix ksoftirqd termination on cpu hotplug with naughty real time process. Assuming the following case: - Try to hot remove CPU2 from CPU1. - There is a real time process on CPU2, and that process doesn't sleep at all. - That rt process and ksoftirqd/2 is migrated to the CPU0 Then ksoftirqd/2 can't stop becasue that rt process runs everlastingly on CPU0, and CPU1 waiting the ksoftirqd/2's termination hangs up. To fix this problem, set the priority of ksoftirqd/2 to max one before kthread_stop(). [[email protected]: fix warning] Signed-off-by: Satoru Takeuchi <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Ashok Raj <[email protected]> Cc: Gautham R Shenoy <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions