Re: [PATCH linux-next] sched/psi: avoid unnecessary resetting min update period when destroy trigger

From: Suren Baghdasaryan
Date: Wed Apr 26 2023 - 01:08:43 EST


On Tue, Apr 25, 2023 at 8:32 PM Yang Yang <yang.yang29@xxxxxxxxxx> wrote:
>
> > On Mon, Apr 17, 2023 at 1:12 AM <yang.yang29@xxxxxxxxxx> wrote:
> >>
> >> From: Yang Yang <yang.yang19@xxxxxxxxxx>
> >>
> >> Psi_group's poll_min_period is determined by the min 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 destroying psi_trigger
> >> not had the min windows size, since in this condition poll_min_period
> >> will keep the same as before.
> >
> > Nice optimization.
> >
> >>
> >> Signed-off-by: Yang Yang <yang.yang29@xxxxxxxxxx>
> >
> > Acked-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
>
> Hi, would you please take a review?

I guess this is a ping for PeterZ to queue this patch in his tree.
Peter, any issues with accepting this patch?

> Thanks!