diff options
author | Yang Yang <[email protected]> | 2023-05-14 09:33:38 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-05-20 12:53:16 +0200 |
commit | e2a1f85bf9f509afd09b5d3308e3489b65845c28 (patch) | |
tree | 168e7aa96cf836259c6c1c5986f5d4eb995bf241 /lib/mpi/mpi-sub-ui.c | |
parent | a6fcdd8d95f7486150b3faadfea119fc3dfc3b74 (diff) |
sched/psi: Avoid resetting the min update period when it is unnecessary
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Suren Baghdasaryan <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions