Messages in this thread | | | Date | Wed, 29 Mar 2023 11:54:37 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH v4 3/4] sched/psi: extract update_triggers side effect |
| |
On Wed, Mar 29, 2023 at 05:33:26PM +0200, Domenico Cerasuolo wrote: > 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>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
| |