diff options
author | 2021-02-24 11:15:23 +0100 | |
---|---|---|
committer | 2021-03-06 12:40:21 +0100 | |
commit | 58b1a45086b5f80f2b2842aa7ed0da51a64a302b (patch) | |
tree | 763139498bda05d3827770839028f5acce5a0c67 /net/unix/af_unix.c | |
parent | sched: Simplify migration_cpu_stop() (diff) | |
download | wireguard-linux-58b1a45086b5f80f2b2842aa7ed0da51a64a302b.tar.xz wireguard-linux-58b1a45086b5f80f2b2842aa7ed0da51a64a302b.zip |
sched: Collate affine_move_task() stoppers
The SCA_MIGRATE_ENABLE and task_running() cases are almost identical,
collapse them to avoid further duplication.
Fixes: 6d337eab041d ("sched: Fix migrate_disable() vs set_cpus_allowed_ptr()")
Cc: stable@kernel.org
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lkml.kernel.org/r/20210224131355.500108964@infradead.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions