]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Limit hrtick work
authorPeter Zijlstra <peterz@infradead.org>
Mon, 1 Sep 2025 20:50:56 +0000 (22:50 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 14 Dec 2025 07:25:02 +0000 (08:25 +0100)
commit95a0155224a658965f34ed4b1943b238d9be1fea
tree43b03b15bdc4071f56e35f2d0fd0faaea9b185ed
parenta03fee333a2f1e065a739bdbe5edbc5512fab9a4
sched/fair: Limit hrtick work

The task_tick_fair() function does:

 - update the hierarchical runtimes
 - drive NUMA-balancing
 - update load-balance statistics
 - drive force-idle preemption

All but the very first can be limited to the periodic tick. Let hrtick
only update accounting and drive preemption, not load-balancing and
other bits.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20250918080205.563385766@infradead.org
kernel/sched/fair.c