[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230426031839.14910-1-yang.yang29@zte.com.cn>
Date: Wed, 26 Apr 2023 11:18:39 +0800
From: Yang Yang <yang.yang29@....com.cn>
To: mingo@...hat.com
Cc: surenb@...gle.com, hannes@...xchg.org, juri.lelli@...hat.com,
linux-kernel@...r.kernel.org, yang.yang29@....com.cn,
peterz@...radead.org
Subject: Re: [PATCH linux-next] sched/psi: avoid unnecessary resetting min update period when destroy trigger
>On Mon, Apr 17, 2023 at 1:12 AM <yang.yang29@....com.cn> wrote:
>>
>> From: Yang Yang <yang.yang19@....com.cn>
>>
>> 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@....com.cn>
> Acked-by: Suren Baghdasaryan <surenb@...gle.com>
Hi, would you please take a review?
Thanks!
Powered by blists - more mailing lists