commit | 885b3ba47aa5cc16550beb8a42181ad5e8302ceb | [log] [tgz] |
---|---|---|
author | Valentin Schneider <valentin.schneider@arm.com> | Tue Oct 13 15:01:15 2020 +0100 |
committer | Peter Zijlstra <peterz@infradead.org> | Tue Nov 10 18:39:02 2020 +0100 |
tree | 9e98ff4b31323748169fb1f43fb4093ff91bdd34 | |
parent | 86fbcd3b4ba2c3e19daf705bc13d90fb53aab648 [diff] |
sched: Deny self-issued __set_cpus_allowed_ptr() when migrate_disable() migrate_disable(); set_cpus_allowed_ptr(current, {something excluding task_cpu(current)}); affine_move_task(); <-- never returns Signed-off-by: Valentin Schneider <valentin.schneider@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20201013140116.26651-1-valentin.schneider@arm.com