[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cfpvrcplrjeb7r4zscfjnmeahpi5c5c3kxtql2jyrj4hdp2l2x@25sfleq3wjph>
Date: Fri, 26 Jul 2024 13:37:41 +0200
From: Michal Koutný <mkoutny@...e.com>
To: Chen Ridong <chenridong@...wei.com>
Cc: tj@...nel.org, lizefan.x@...edance.com, hannes@...xchg.org,
longman@...hat.com, adityakali@...gle.com, sergeh@...nel.org, bpf@...r.kernel.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] cgroup/cpuset: reduce redundant comparisons for
generating shecd domains
Hello.
On Fri, Jul 26, 2024 at 08:59:46AM GMT, Chen Ridong <chenridong@...wei.com> wrote:
> In the generate_sched_domains function, it's unnecessary to start the
> second for loop with zero, which leads redundant comparisons.
> Simply start with i+1, as that is sufficient.
Please see
https://lore.kernel.org/r/20240704062444.262211-1-xavier_qy@163.com
Your patch is likely obsoleted with that.
Michal
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists