android_kernel_samsung_sm8650/kernel/sched
Ashay Jaiswal 1a01e574a1 sched: walt: fix accounting for throttled deadline task
Task demand update to cumulative runnable average(CRA) is skipped
for throttled deadline tasks, this will result unbalanced accounting
when contribution of such task gets deducted from CRA as part of
dequeue (i.e As their real demand is not updated to CRA under
throttled condition, but as part of dequeue their real demand gets
removed from CRA, thus resulting in unbalanced accounting).

Fix this, by skipping accounting of task demand to CRA only if task
is not in runqueue(as demand for such task gets accounted as part of
enqueue/dequeue).

Change-Id: I1f7df97eee6c9bb9aaf7250e88a812efa921839b
Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com>
2024-02-27 12:04:37 +05:30
..
walt sched: walt: fix accounting for throttled deadline task 2024-02-27 12:04:37 +05:30
android.h ANDROID: kernel/sched/android.h: add uclamp_* stub functions 2022-04-02 10:47:16 +02:00
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 sched/headers: Add header guard to kernel/sched/stats.h and kernel/sched/autogroup.h 2022-02-23 08:22:00 +01:00
build_policy.c sched: Fix missing prototype warnings 2022-05-01 10:03:43 +02:00
build_utility.c sched: Fix missing prototype warnings 2022-05-01 10:03:43 +02:00
clock.c sched/clock: Use try_cmpxchg64 in sched_clock_{local,remote} 2022-05-19 23:46:09 +02:00
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: sched: Add trace_android_rvh_set_user_nice_locked 2023-11-30 18:18:44 +00:00
cpuacct.c Merge branch 'sched/fast-headers' into sched/core 2022-03-15 09:05:05 +01:00
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 vendor hooks for override sugov behavior 2023-09-08 03:14:00 +00:00
cpufreq.c ANDROID: android: Export symbols for invoking cpufreq_update_util() 2023-05-18 20:39:10 +00:00
cpupri.c Merge 6.1.56 into android14-6.1-lts 2023-10-27 09:17:04 +00: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 UPSTREAM: sched/rt: Fix bad task migration for rt tasks 2023-09-15 18:38:35 +00: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 Merge tag 'android14-6.1.57_r00' into branch 'android14-6.1' 2023-11-27 16:18:59 +00:00
features.h sched/fair: Introduce SIS_UTIL to search idle CPU based on sum of util_avg 2022-06-28 09:08:30 +02:00
idle.c kernel/sched: Modify initial boot task idle setup 2023-10-06 14:57:02 +02:00
isolation.c sched/headers: Introduce kernel/sched/build_utility.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
loadavg.c sched/headers: Introduce kernel/sched/build_utility.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
Makefile Merge keystone/android-mainline-keystone-qcom-release.6.0 (dcb3fbd) into msm-pineapple 2022-10-23 23:33:09 -07:00
membarrier.c sched/headers: Introduce kernel/sched/build_utility.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
pelt.c ANDROID: sched: Add vendor hook for update_load_sum 2023-11-29 21:33:45 +00:00
pelt.h FROMLIST: sched/pelt: Introduce PELT multiplier 2023-01-05 18:15:33 +08:00
psi.c Revert "sched/psi: Fix avgs_work re-arm in psi_avgs_work()" 2023-09-07 10:52:29 +00:00
rt.c Merge branch 'android14-6.1' into branch 'android14-6.1-lts' 2023-10-31 17:20:05 +00:00
sched-pelt.h
sched.h ANDROID: GKI: sched: put back the cpu_capacity_inverted variable 2023-10-12 15:07:51 +00:00
smp.h smp: Rename flush_smp_call_function_from_idle() 2022-05-01 10:03:43 +02:00
stats.c sched/headers: Introduce kernel/sched/build_utility.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
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 sched/headers: Introduce kernel/sched/build_utility.c and build multiple .c files there 2022-02-23 10:58:33 +01:00
topology.c ANDROID: sched: Export sched_domains_mutex for lockdep 2023-07-15 01:15:00 +00:00
vendor_hooks.c ANDROID: sched: Add trace_android_rvh_set_user_nice_locked 2023-11-30 18:18:44 +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