[<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