diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-08-26 15:08:10 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-10 20:39:00 +0300 |
commit | 3015ef4b98f53fe7eba4f5f82f562c0e074d213c (patch) | |
tree | b92f7a21849243926709a6597db774ef1f946bc5 /lib/cpumask.c | |
parent | 6d337eab041d56bb8f0e7794f39906c21054c512 (diff) | |
download | linux-3015ef4b98f53fe7eba4f5f82f562c0e074d213c.tar.xz |
sched/core: Make migrate disable and CPU hotplug cooperative
On CPU unplug tasks which are in a migrate disabled region cannot be pushed
to a different CPU until they returned to migrateable state.
Account the number of tasks on a runqueue which are in a migrate disabled
section and make the hotplug wait mechanism respect that.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Reviewed-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Link: https://lkml.kernel.org/r/20201023102347.067278757@infradead.org
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions