diff options
| author | Will Deacon <[email protected]> | 2021-07-30 11:24:34 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-08-20 10:33:00 +0000 |
| commit | db3b02ae896e88b6bb7a95c1373602e87e0de84c (patch) | |
| tree | 57598a447946628ffcaead1dc6056634cc8799b7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | sched: Introduce task_struct::user_cpus_ptr to track requested affinity (diff) | |
| download | kernel-db3b02ae896e88b6bb7a95c1373602e87e0de84c.tar.gz kernel-db3b02ae896e88b6bb7a95c1373602e87e0de84c.zip | |
sched: Split the guts of sched_setaffinity() into a helper function
In preparation for replaying user affinity requests using a saved mask,
split sched_setaffinity() up so that the initial task lookup and
security checks are only performed when the request is coming directly
from userspace.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
