summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2024-11-29 11:15:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:56:53 +0100
commite4b64d34a48c29ad48dbf7466e15fd94a9038586 (patch)
tree72d4854c70758d00a859c4b103b3b10fdee5c178 /include/linux
parentd4ac1009486923c9394f5397e6477b0a119fb47c (diff)
downloadlinux-e4b64d34a48c29ad48dbf7466e15fd94a9038586.tar.gz
linux-e4b64d34a48c29ad48dbf7466e15fd94a9038586.tar.bz2
linux-e4b64d34a48c29ad48dbf7466e15fd94a9038586.zip
sched/fair: Untangle NEXT_BUDDY and pick_next_task()
[ Upstream commit 2a77e4be12cb58bbf774e7c717c8bb80e128b7a4 ] There are 3 sites using set_next_buddy() and only one is conditional on NEXT_BUDDY, the other two sites are unconditional; to note: - yield_to_task() - cgroup dequeue / pick optimization However, having NEXT_BUDDY control both the wakeup-preemption and the picking side of things means its near useless. Fixes: 147f3efaa241 ("sched/fair: Implement an EEVDF-like scheduling policy") Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20241129101541.GA33464@noisy.programming.kicks-ass.net Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions