diff options
author | Waiman Long <longman@redhat.com> | 2022-09-22 21:00:41 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-27 12:01:22 +0300 |
commit | 851a723e45d1c4c8f6f7b0d2cfbc5f53690bb4e9 (patch) | |
tree | 29fd78c23541482be77e972ac9a55d3a50365da3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | da019032819a1f09943d3af676892ec8c627668e (diff) | |
download | linux-851a723e45d1c4c8f6f7b0d2cfbc5f53690bb4e9.tar.xz |
sched: Always clear user_cpus_ptr in do_set_cpus_allowed()
The do_set_cpus_allowed() function is used by either kthread_bind() or
select_fallback_rq(). In both cases the user affinity (if any) should be
destroyed too.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220922180041.1768141-6-longman@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions