diff options
| author | Waiman Long <[email protected]> | 2023-02-03 18:18:49 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2023-02-13 15:36:14 +0000 |
| commit | df14b7f9efcda35e59bb6f50351aac25c50f6e24 (patch) | |
| tree | 15208c11d770890acf940a2aac92d5838d8761a9 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | freezer,umh: Fix call_usermode_helper_exec() vs SIGKILL (diff) | |
| download | kernel-df14b7f9efcda35e59bb6f50351aac25c50f6e24.tar.gz kernel-df14b7f9efcda35e59bb6f50351aac25c50f6e24.zip | |
sched/core: Fix a missed update of user_cpus_ptr
Since commit 8f9ea86fdf99 ("sched: Always preserve the user requested
cpumask"), a successful call to sched_setaffinity() should always save
the user requested cpu affinity mask in a task's user_cpus_ptr. However,
when the given cpu mask is the same as the current one, user_cpus_ptr
is not updated. Fix this by saving the user mask in this case too.
Fixes: 8f9ea86fdf99 ("sched: Always preserve the user requested cpumask")
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
