Messages in this thread | | | Date | Mon, 15 May 2023 10:27:10 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/1] sched/psi: avoid resetting the min update period when it is unnecessary |
| |
On Sun, May 14, 2023 at 09:33:38AM -0700, Suren Baghdasaryan wrote: > From: Yang Yang <yang.yang29@zte.com.cn> > > 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@zte.com.cn> > Acked-by: Suren Baghdasaryan <surenb@google.com> > --- > rebase of https://lore.kernel.org/all/202305121642367753446@zte.com.cn/ > over git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core branch
Thanks!
| |