From: Yang Yang <yang.yang29@zte.com.cn>
To: mingo@redhat.com
Cc: surenb@google.com, hannes@cmpxchg.org, juri.lelli@redhat.com,
linux-kernel@vger.kernel.org, yang.yang29@zte.com.cn,
peterz@infradead.org
Subject: Re: [PATCH linux-next] sched/psi: avoid unnecessary resetting min update period when destroy trigger
Date: Wed, 26 Apr 2023 11:23:00 +0800 [thread overview]
Message-ID: <20230426032300.14980-1-yang.yang29@zte.com.cn> (raw)
In-Reply-To: <CAJuCfpFiW7z01FTC2q3hR+h=MhWLwKj96U+MF3s_FjX-9JEqfw@mail.gmail.com>
>On Mon, Apr 17, 2023 at 1:12 AM <yang.yang29@zte.com.cn> wrote:
>>
>> From: Yang Yang <yang.yang19@zte.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@zte.com.cn>
> Acked-by: Suren Baghdasaryan <surenb@google.com>
Hi, would you please take a review?
Thanks!
next prev parent reply other threads:[~2023-04-26 3:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-17 8:11 yang.yang29
2023-04-17 19:04 ` Suren Baghdasaryan
2023-04-26 3:18 ` Yang Yang
2023-04-26 3:23 ` Yang Yang [this message]
2023-04-26 3:31 ` Yang Yang
2023-04-26 5:08 ` Suren Baghdasaryan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230426032300.14980-1-yang.yang29@zte.com.cn \
--to=yang.yang29@zte.com.cn \
--cc=hannes@cmpxchg.org \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=surenb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®