aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2021-07-30 11:24:33 +0000
committerPeter Zijlstra <[email protected]>2021-08-20 10:33:00 +0000
commitb90ca8badbd11488e5f762346b028666808164e7 (patch)
tree38cf3f80ceb6e2ae051c85fbb7b4696fecc90ed6 /lib/string_helpers.c
parentsched: Reject CPU affinity changes based on task_cpu_possible_mask() (diff)
downloadkernel-b90ca8badbd11488e5f762346b028666808164e7.tar.gz
kernel-b90ca8badbd11488e5f762346b028666808164e7.zip
sched: Introduce task_struct::user_cpus_ptr to track requested affinity
In preparation for saving and restoring the user-requested CPU affinity mask of a task, add a new cpumask_t pointer to 'struct task_struct'. If the pointer is non-NULL, then the mask is copied across fork() and freed on task exit. 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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions