lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <xhsmh349nimgp.mognet@vschneid-thinkpadt14sgen2i.remote.csb>
Date: Tue, 19 Aug 2025 13:23:50 +0200
From: Valentin Schneider <vschneid@...hat.com>
To: Fushuai Wang <wangfushuai@...du.com>, linux-kernel@...r.kernel.org
Cc: mgorman@...e.de, bsegall@...gle.com, rostedt@...dmis.org,
 dietmar.eggemann@....com, vincent.guittot@...aro.org,
 juri.lelli@...hat.com, peterz@...radead.org, mingo@...hat.com, Fushuai
 Wang <wangfushuai@...du.com>
Subject: Re: [PATCH] sched: remove unnecessary check in sched_{debug_}start()

On 07/08/25 11:40, Fushuai Wang wrote:
> -1 is a legal argument for cpumask_next(), and cpumask_next(-1, mask) is
> equivalent to cpumask_first(mask). The explicit check and separate branch
> are unnecessary.
>
> Signed-off-by: Fushuai Wang <wangfushuai@...du.com>

Reviewed-by: Valentin Schneider <vschneid@...hat.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ