mirror-linux/kernel/sched
Rafael J. Wysocki 75da043d8f cpufreq/sched: Set need_freq_update in ignore_dl_rate_limit()
Notice that ignore_dl_rate_limit() need not piggy back on the
limits_changed handling to achieve its goal (which is to enforce a
frequency update before its due time).

Namely, if sugov_should_update_freq() is updated to check
sg_policy->need_freq_update and return 'true' if it is set when
sg_policy->limits_changed is not set, ignore_dl_rate_limit() may
set the former directly instead of setting the latter, so it can
avoid hitting the memory barrier in sugov_should_update_freq().

Update the code accordingly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Link: https://patch.msgid.link/10666429.nUPlyArG6x@rjwysocki.net
2025-04-17 17:54:44 +02:00
..
Makefile tracing: Disable branch profiling in noinstr code 2025-03-22 09:49:26 +01:00
autogroup.c sched_ext: Fixes for v6.14-rc2 2025-02-14 11:14:24 -08:00
autogroup.h
build_policy.c sched_ext: Move built-in idle CPU selection policy to a separate file 2025-01-27 12:43:43 -10:00
build_utility.c sched/debug: Make CONFIG_SCHED_DEBUG functionality unconditional 2025-03-19 22:20:53 +01:00
clock.c sched: Fix spelling in comments 2024-05-27 17:00:21 +02:00
completion.c
core.c rseq: Eliminate useless task_work on execve 2025-04-03 13:10:47 +02:00
core_sched.c sched/debug: Change SCHED_WARN_ON() to WARN_ON_ONCE() 2025-03-19 22:20:53 +01:00
cpuacct.c
cpudeadline.c
cpudeadline.h
cpufreq.c
cpufreq_schedutil.c cpufreq/sched: Set need_freq_update in ignore_dl_rate_limit() 2025-04-17 17:54:44 +02:00
cpupri.c
cpupri.h
cputime.c sched/clock: Don't define sched_clock_irqtime as static key 2025-03-10 14:22:58 +01:00
deadline.c A treewide hrtimer timer cleanup 2025-03-25 10:54:15 -07:00
debug.c sched/topology: Wrappers for sched_domains_mutex 2025-03-17 11:23:41 +01:00
ext.c sched_ext: initialize built-in idle state before ops.init() 2025-03-26 10:47:50 -10:00
ext.h sched_ext: Implement SCX_OPS_ALLOW_QUEUED_WAKEUP 2025-02-13 07:30:46 -10:00
ext_idle.c sched_ext: initialize built-in idle state before ops.init() 2025-03-26 10:47:50 -10:00
ext_idle.h sched_ext: idle: Refactor scx_select_cpu_dfl() 2025-03-14 08:17:11 -10:00
fair.c A treewide hrtimer timer cleanup 2025-03-25 10:54:15 -07:00
features.h sched/fair: Untangle NEXT_BUDDY and pick_next_task() 2024-12-09 11:48:13 +01:00
idle.c sched_ext: idle: Refresh idle masks during idle-to-idle transitions 2025-01-10 12:40:42 -10:00
isolation.c sched/isolation: Consolidate housekeeping cpumasks that are always identical 2024-12-02 12:24:28 +01:00
loadavg.c sched: Fix spelling in comments 2024-05-27 17:00:21 +02:00
membarrier.c RISC-V Patches for the 6.9 Merge Window 2024-03-22 10:41:13 -07:00
pelt.c sched/fair: Use the new cfs_rq.h_nr_runnable 2024-12-09 11:48:11 +01:00
pelt.h sched: Move update_other_load_avgs() to kernel/sched/pelt.c 2024-09-11 20:00:21 -10:00
psi.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
rt.c A treewide hrtimer timer cleanup 2025-03-25 10:54:15 -07:00
sched-pelt.h
sched.h sched/debug: Make CONFIG_SCHED_DEBUG functionality unconditional 2025-03-19 22:20:53 +01:00
smp.h
stats.c docs: Update Schedstat version to 17 2024-12-20 15:31:18 +01:00
stats.h sched/debug: Change SCHED_WARN_ON() to WARN_ON_ONCE() 2025-03-19 22:20:53 +01:00
stop_task.c sched: Add put_prev_task(.next) 2024-09-03 15:26:32 +02:00
swait.c
syscalls.c sched/uclamp: Optimize sched_uclamp_used static key enabling 2025-03-15 10:28:50 +01:00
topology.c sched/debug: Make CONFIG_SCHED_DEBUG functionality unconditional 2025-03-19 22:20:53 +01:00
wait.c
wait_bit.c sched/wait: Remove unused bit_wait_io_timeout 2024-10-07 09:28:41 +02:00