[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2db9ef16b64a4e179061339b3a758a2a@baidu.com>
Date: Thu, 25 Sep 2025 09:50:39 +0000
From: "Li,Rongqing" <lirongqing@...du.com>
To: Valentin Schneider <vschneid@...hat.com>, "mingo@...hat.com"
<mingo@...hat.com>, "peterz@...radead.org" <peterz@...radead.org>,
"juri.lelli@...hat.com" <juri.lelli@...hat.com>, "vincent.guittot@...aro.org"
<vincent.guittot@...aro.org>, "dietmar.eggemann@....com"
<dietmar.eggemann@....com>, "rostedt@...dmis.org" <rostedt@...dmis.org>,
"bsegall@...gle.com" <bsegall@...gle.com>, "mgorman@...e.de"
<mgorman@...e.de>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [外部邮件] Re: [PATCH] sched/fair: Optimize CPU iteration using for_each_cpu_and[not]
> > Replace open-coded CPU iteration patterns with more efficient
> > for_each_cpu_and() and for_each_cpu_andnot() macros in three locations.
> >
> > This change both simplifies the code and provides minor performance
> > improvements by using the more specialized iteration macros.
> >
>
> TBF I'm not sure it does improve anything for the SMT cases considering we
> don't see much more than SMT8.
>
> The task_numa_find_cpu() one I do agree makes things better.
>
> > Signed-off-by: Li RongQing <lirongqing@...du.com>
>
> Reviewed-by: Valentin Schneider <vschneid@...hat.com>
Ping
Thanks
-Li
Powered by blists - more mailing lists