aboutsummaryrefslogtreecommitdiffstats
path: root/init/init_task.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2021-07-30 11:24:31 +0000
committerPeter Zijlstra <[email protected]>2021-08-20 10:32:59 +0000
commit97c0054dbe2c3c59d1156fd233f2d44e91981c8e (patch)
treefe236eb64fc7760d430b8b2272ffb10f222efa79 /init/init_task.c
parentcpuset: Honour task_cpu_possible_mask() in guarantee_online_cpus() (diff)
downloadkernel-97c0054dbe2c3c59d1156fd233f2d44e91981c8e.tar.gz
kernel-97c0054dbe2c3c59d1156fd233f2d44e91981c8e.zip
cpuset: Cleanup cpuset_cpus_allowed_fallback() use in select_fallback_rq()
select_fallback_rq() only needs to recheck for an allowed CPU if the affinity mask of the task has changed since the last check. Return a 'bool' from cpuset_cpus_allowed_fallback() to indicate whether the affinity mask was updated, and use this to elide the allowed check when the mask has been left alone. No functional change. Suggested-by: Valentin Schneider <[email protected]> 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 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions