| Date | Mon, 05 Oct 2020 16:57:17 +0200 | From | Peter Zijlstra <> | Subject | [PATCH -v2 00/17] sched: Migrate disable support |
| |
Hi,
Seconds version of migrate_disable(); it has a bunch of bugs fixed and has grown rt/dl balancer changes to push away tasks that inhibit the migration of migrate_disable() tasks.
I still don't like it much, and it very much hurts my brain, but it seems to have stopped crashing in weird and wonderful ways.
Tested on PREEMPT_RT.
--- fs/proc/array.c | 4 +- include/linux/cpuhotplug.h | 1 + include/linux/cpumask.h | 6 + include/linux/preempt.h | 64 ++++ include/linux/sched.h | 5 + include/linux/sched/hotplug.h | 2 + include/linux/stop_machine.h | 5 + include/trace/events/sched.h | 12 + kernel/cpu.c | 9 +- kernel/sched/core.c | 764 ++++++++++++++++++++++++++++++++---------- kernel/sched/cpudeadline.c | 4 +- kernel/sched/cpupri.c | 4 +- kernel/sched/deadline.c | 43 ++- kernel/sched/rt.c | 84 +++-- kernel/sched/sched.h | 59 +++- kernel/stop_machine.c | 23 +- kernel/workqueue.c | 4 + lib/cpumask.c | 18 + lib/dump_stack.c | 2 + lib/smp_processor_id.c | 5 + 20 files changed, 895 insertions(+), 223 deletions(-)
|