Re: [PATCH -next] cgroup/cpuset: reduce redundant comparisons for generating shecd domains

From: Michal Koutný
Date: Fri Jul 26 2024 - 07:38:06 EST


Hello.

On Fri, Jul 26, 2024 at 08:59:46AM GMT, Chen Ridong <chenridong@xxxxxxxxxx> 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@xxxxxxx

Your patch is likely obsoleted with that.

Michal

Attachment: signature.asc
Description: PGP signature