diff options
author | Yang Yang <[email protected]> | 2023-10-10 16:45:43 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-10-11 23:08:09 +0200 |
commit | 3657680f38cd7df413d665f2b2f38e9a78130d8b (patch) | |
tree | ec81bf4a9b2fed618a8d49acd52c0d704ccedd51 /tools/perf/util/trace-event-scripting.c | |
parent | 80cc1d1d5ee35701daf11725ce06d8a240588973 (diff) |
sched/psi: Delete the 'update_total' function parameter from update_triggers()
The 'update_total' parameter of update_triggers() is always true after the
previous commit:
80cc1d1d5ee3 ("sched/psi: Avoid updating PSI triggers and ->rtpoll_total when there are no state changes")
If the 'changed_states & group->rtpoll_states' condition is true,
'new_stall' in update_triggers() will be true, and then 'update_total'
should also be true.
So update_total is redundant - remove it.
[ mingo: Changelog updates ]
Signed-off-by: Yang Yang <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Peter Ziljstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions