android_kernel_samsung_sm8650/kernel/sched
Stephen Dickey c017cdda8a sched/walt: make partially halted cpus equivalent cap to silvers
In certain usecases there are extensive runnables on
silver cpus while there is ample opportunity to perform newidle
balance to partially halted cpus to relieve the load on silvers.

Currently, the check_for_higher_capacity() indicates that the
partially halted cpus are to be considered higher cap than min-cap
cpus.

Change this such that the capacities of the cpus are seen
as being the same during comparison, regardless of any small offset
in capacity between the two. This should mean that load balance
should happen more readily between the two, since this is a similar
cap operation.

Also in walt_lb_find_busiest_similar_cap_cpu() there was a change
introduced to prevent partially halted cpus from pulling tasks from
its unhalted sibling. This was done for cleanliness. Since the
partially halted cpu typically runs at the same or higher
frequency as its sibling, there is no need to prevent it from helping
an unhalted sibling. This is no longer correct when the cpus are exactly
the same capcity.

Update walt_lb_find_busiest_similar_cap_cpu() to delete
this condition such that a busiest cpu can be found when considering
a partially halted cpu as a destination or source cpu.

Change-Id: I6bc840d707752fa641e9616b42c8d28775d74a88
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
2023-09-28 10:57:33 -07:00
..
walt sched/walt: make partially halted cpus equivalent cap to silvers 2023-09-28 10:57:33 -07:00
android.h
autogroup.c sched/all: Change all BUG_ON() instances in the scheduler to WARN_ON_ONCE() 2022-08-12 11:25:10 +02:00
autogroup.h
build_policy.c
build_utility.c
clock.c
completion.c sched/completion: Add wait_for_completion_state() 2022-09-07 21:53:49 +02:00
core_sched.c sched: Rename task_running() to task_on_cpu() 2022-09-07 21:53:47 +02:00
core.c ANDROID: Snap to android14-6.1-2023-06 2023-08-08 17:02:27 -07:00
cpuacct.c
cpudeadline.c sched/core: Introduce sched_asym_cpucap_active() 2022-08-02 12:32:45 +02:00
cpudeadline.h
cpufreq_schedutil.c ANDROID: sched: add trace_android_vh_map_util_freq parameter 2023-05-11 05:22:29 +00:00
cpufreq.c ANDROID: android: Export symbols for invoking cpufreq_update_util() 2023-05-18 20:39:10 +00:00
cpupri.c Merge 30c999937f ("Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline 2022-10-12 10:13:13 +02:00
cpupri.h
cputime.c ANDROID: vendor_hooks: Add hooks for account irqtime process tick 2023-05-19 19:41:20 +00:00
deadline.c sched: Introduce struct balance_callback to avoid CFI mismatches 2022-10-17 16:41:25 +02:00
debug.c Merge 0192445cb2 ("arch: mm: rename FORCE_MAX_ZONEORDER to ARCH_FORCE_MAX_ORDER") into android-mainline 2022-10-20 11:55:38 +02:00
fair.c UPSTREAM: sched/fair: Fixes for capacity inversion detection 2023-06-07 14:24:50 +00:00
features.h
idle.c context_tracking: Take idle eqs entrypoints over RCU 2022-07-05 13:32:16 -07:00
isolation.c
loadavg.c
Makefile Merge keystone/android-mainline-keystone-qcom-release.6.0 (dcb3fbd) into msm-pineapple 2022-10-23 23:33:09 -07:00
membarrier.c
pelt.c ANDROID: sched: add vendor hook to PELT multiplier 2023-02-10 18:55:55 +00:00
pelt.h FROMLIST: sched/pelt: Introduce PELT multiplier 2023-01-05 18:15:33 +08:00
psi.c ANDROID: psi: Add vendor hooks for PSI tracing 2023-05-18 21:53:34 +00:00
rt.c ANDROID: vendor_hooks: Add hooks to record the time of the process in various states 2023-05-19 19:41:20 +00:00
sched-pelt.h
sched.h ANDROID: sched: Add oem data in struct rq 2023-06-07 14:25:06 +00:00
smp.h
stats.c
stats.h sched/psi: Add PSI_IRQ to track IRQ/SOFTIRQ pressure 2022-09-09 11:08:32 +02:00
stop_task.c sched: Add update_current_exec_runtime helper 2022-08-27 00:05:35 +02:00
swait.c
topology.c ANDROID: sched: Export sched_domains_mutex for lockdep 2023-07-15 01:15:00 +00:00
vendor_hooks.c ANDROID: Inherit "user-aware property" across rtmutex. 2023-07-27 00:04:07 +00:00
wait_bit.c wait_on_bit: add an acquire memory barrier 2022-08-26 09:30:25 -07:00
wait.c Revert "Revert "wait: Return number of exclusive waiters awaken"" 2023-03-30 10:37:08 +00:00