From: Tejun Heo <tj@kernel.org>
To: lirongqing <lirongqing@baidu.com>
Cc: void@manifault.com, arighi@nvidia.com, changwoo@igalia.com,
mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com,
vincent.guittot@linaro.org, dietmar.eggemann@arm.com,
rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de,
vschneid@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched_ext: Simplify cpumask computation in balance_scx
Date: Fri, 7 Mar 2025 05:58:47 -1000 [thread overview]
Message-ID: <Z8sXt5eRyga_ukql@slm.duckdns.org> (raw)
In-Reply-To: <20250307064533.2663-1-lirongqing@baidu.com>
On Fri, Mar 07, 2025 at 02:45:33PM +0800, lirongqing wrote:
> From: Li RongQing <lirongqing@baidu.com>
>
> Compare SMT CPU against RQ CPU and skip balance it, to avoid calling
> for_each_cpu_andnot() and cpumask_of(), they are relatively expensive
How is cpumask_of() expensive? I have a hard time seeing how this would
actually improve anything. Do you have any measurements?
Thanks.
--
tejun
next prev parent reply other threads:[~2025-03-07 15:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-07 6:45 lirongqing
2025-03-07 15:58 ` Tejun Heo [this message]
2025-03-08 13:32 ` 答复: [????] " Li,Rongqing
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=Z8sXt5eRyga_ukql@slm.duckdns.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=bsegall@google.com \
--cc=changwoo@igalia.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lirongqing@baidu.com \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
--cc=void@manifault.com \
--cc=vschneid@redhat.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®