diff options
author | Domenico Cerasuolo <cerasuolodomenico@gmail.com> | 2023-03-30 12:54:17 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-04-05 09:58:49 +0200 |
commit | 4468fcae49f08e88fbbffe05b29496192df89991 (patch) | |
tree | 0484893e7e6b5da263a5fa43bd110112ff8141f6 /kernel/cgroup | |
parent | 65457b74aa9437418e552e8d52d7112d4f9901a6 (diff) |
sched/psi: Extract update_triggers side effect
This change moves update_total flag out of update_triggers function,
currently called only in psi_poll_work.
In the next patch, update_triggers will be called also in psi_avgs_work,
but the total update information is specific to psi_poll_work.
Returning update_total value to the caller let us avoid differentiating
the implementation of update_triggers for different aggregators.
Suggested-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Domenico Cerasuolo <cerasuolodomenico@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lore.kernel.org/r/20230330105418.77061-4-cerasuolodomenico@gmail.com
Diffstat (limited to 'kernel/cgroup')
0 files changed, 0 insertions, 0 deletions