diff options
author | Scott Wood <[email protected]> | 2020-06-17 14:17:42 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-06-28 17:01:20 +0200 |
commit | fd844ba9ae59b51e34e77105d79f8eca780b3bd6 (patch) | |
tree | d8779a85bb109ea44c61571844a69c753ce134e6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4f311afc2035f7b33d97e69ffaa2e6cd67fca16d (diff) |
sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption
This function is concerned with the long-term CPU mask, not the
transitory mask the task might have while migrate disabled. Before
this patch, if a task was migrate-disabled at the time
__set_cpus_allowed_ptr() was called, and the new mask happened to be
equal to the CPU that the task was running on, then the mask update
would be lost.
Signed-off-by: Scott Wood <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions