anolis-cloud-kernel/kernel/sched
Cruz Zhao 98170019bf anolis: sched: don't account util_est for each cfs_rq when group_balancer disabled
ANBZ: #8765

If we account util_est for each cfs_rq when group_balancer disabled,
there will be some overhead. To avoid the overhead, we only account it
when group balancer enabled, and when the switch is turned, we
recalculate for each cfs_rq at once.

Signed-off-by: Cruz Zhao <CruzZhao@linux.alibaba.com>
Reviewed-by: Tianchen Ding <dtcccc@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/5529
2025-07-21 02:35:12 +00:00
..
Makefile anolis: sched: introduce group balancer sched domain 2024-08-02 17:28:32 +00:00
autogroup.c ck: sched: disable auto group by default 2022-08-01 11:16:04 +00:00
autogroup.h
clock.c sched/clock: Use static_branch_likely() with sched_clock_running 2019-11-29 08:10:54 +01:00
completion.c completion: Use lockdep_assert_RT_in_threaded_ctx() in complete_all() 2020-03-23 18:40:25 +01:00
core.c anolis: sched: don't account util_est for each cfs_rq when group_balancer disabled 2025-07-21 02:35:12 +00:00
core_sched.c anolis: sched: Introduce cookie flags 2024-12-17 10:46:12 +08:00
cpuacct.c anolis: sched: refactor ID_ABSOLUTE_EXPEL 2025-06-30 05:44:52 +00:00
cpudeadline.c sched/deadline: Implement fallback mechanism for !fit case 2020-06-15 14:10:05 +02:00
cpudeadline.h anolis: kabi: Replace hotfix reserve macros with KABI reserve macros 2023-01-31 13:20:23 +00:00
cpufreq.c cpufreq: Avoid leaving stale IRQ work items during CPU offline 2019-12-12 17:59:43 +01:00
cpufreq_schedutil.c cpufreq: Add special-purpose fast-switching callback for drivers 2022-08-01 12:31:14 +00:00
cpupri.c sched/rt: cpupri_find: Trigger a full search as fallback 2020-03-20 13:06:20 +01:00
cpupri.h sched/rt: Optimize cpupri_find() on non-heterogenous systems 2020-03-06 12:57:27 +01:00
cputime.c sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime 2024-08-06 07:27:03 +00:00
deadline.c sched/deadline: Fix warning in migrate_enable for boosted tasks 2025-03-14 03:34:57 +00:00
debug.c anolis: sched: Fix build errors when !CONFIG_SCHED_CORE 2024-07-03 02:30:43 +08:00
fair.c anolis: sched: don't account util_est for each cfs_rq when group_balancer disabled 2025-07-21 02:35:12 +00:00
features.h anolis: sched: add reserved sched_features 2025-07-03 15:06:49 +08:00
group_balancer.c anolis: sched: remove task_group from gb_sd when it got freed 2025-07-14 13:59:33 +08:00
idle.c sched/fair: Trigger the update of blocked load on newly idle cpu 2024-12-19 06:16:29 +00:00
isolation.c anolis: sched/isolation: Only skip percpu kthread when updating wilds 2025-03-26 02:58:20 +00:00
loadavg.c ck: sched: introduce group identity 'smt expeller' 2022-08-01 11:30:18 +00:00
membarrier.c sched/membarrier: reduce the ability to hammer on sys_membarrier 2024-08-02 07:26:05 +00:00
pelt.c sched: Add a tracepoint to track rq->nr_running 2020-07-08 11:39:02 +02:00
pelt.h sched: Wrap rq::lock access 2023-08-24 09:25:08 +00:00
psi.c sched: psi: fix bogus pressure spikes from aggregation race 2025-01-16 02:22:49 +00:00
rt.c sched/rt: Disallow writing invalid values to sched_rt_period_us 2024-08-02 07:26:05 +00:00
sched-pelt.h
sched.h anolis: sched: don't account util_est for each cfs_rq when group_balancer disabled 2025-07-21 02:35:12 +00:00
smp.h sched/headers: Split out open-coded prototypes into kernel/sched/smp.h 2020-05-28 11:03:20 +02:00
stats.c
stats.h sched/psi: Use task->psi_flags to clear in CPU migration 2025-01-16 02:22:49 +00:00
stop_task.c sched: Introduce sched_class::pick_task() 2023-08-24 09:25:08 +00:00
swait.c sched/swait: Prepare usage in completions 2020-03-21 16:00:23 +01:00
topology.c sched/fair: Scan cluster before scanning LLC in wake-up path 2024-12-20 01:48:24 +00:00
wait.c wait: add wake_up_pollfree() 2021-12-14 11:32:39 +01:00
wait_bit.c sched/wait: fix ___wait_var_event(exclusive) 2019-12-17 13:32:50 +01:00