aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/stat.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-08-24 09:05:47 +0000
committerPeter Zijlstra <[email protected]>2021-10-05 13:51:33 +0000
commitbc9ffef31bf59819c9fc032178534ff9ed7c4981 (patch)
treebc429b08b7beba8f18d90aa38d10e1270250fc1a /fs/proc/stat.c
parentsched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD (diff)
downloadkernel-bc9ffef31bf59819c9fc032178534ff9ed7c4981.tar.gz
kernel-bc9ffef31bf59819c9fc032178534ff9ed7c4981.zip
sched/core: Simplify core-wide task selection
Tao suggested a two-pass task selection to avoid the retry loop. Not only does it avoid the retry loop, it results in *much* simpler code. This also fixes an issue spotted by Josh Don where, for SMT3+, we can forget to update max on the first pass and get to do an extra round. Suggested-by: Tao Zhou <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Josh Don <[email protected]> Reviewed-by: Vineeth Pillai (Microsoft) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'fs/proc/stat.c')
0 files changed, 0 insertions, 0 deletions