Re: [RESEND PATCH linux-next] sched/psi: avoid resetting the min update period when it is unnecessary

From: Peter Zijlstra
Date: Sat May 13 2023 - 05:45:28 EST


On Fri, May 12, 2023 at 10:56:02AM -0700, Suren Baghdasaryan wrote:
> On Fri, May 12, 2023 at 1:42 AM <yang.yang29@xxxxxxxxxx> wrote:
> >
> > From: Yang Yang <yang.yang29@xxxxxxxxxx>
> >
> > Psi_group's poll_min_period is determined by the minimum window size of
> > psi_trigger when creating new triggers. While destroying a psi_trigger, there
> > is no need to reset poll_min_period if the psi_trigger being destroyed did not
> > have the minimum window size, since in this condition poll_min_period will
> > remain the same as before.
> >
> > Signed-off-by: Yang Yang <yang.yang29@xxxxxxxxxx>
> > Acked-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
>
> Hi Peter,
> This is another psi-related patch that slipped through the cracks.
> Could you please take it into your tree? The original one [1] had a
> different title but the same code.

It does not cleanly apply to tip/sched/core; could either of you rebase
please?

Thanks!