[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173184539764.890800.12646623251156657066.b4-ty@ellerman.id.au>
Date: Sun, 17 Nov 2024 23:09:57 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>, Christophe Leroy <christophe.leroy@...roup.eu>, Naveen N Rao <naveen@...nel.org>, Madhavan Srinivasan <maddy@...ux.ibm.com>, Ming Lei <ming.lei@...hat.com>, Bjorn Helgaas <bhelgaas@...gle.com>, linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org, Costa Shulyupin <costa.shul@...hat.com>
Subject: Re: [PATCH v2] powerpc/xive: Use cpumask_intersects()
On Thu, 26 Sep 2024 12:26:22 +0300, Costa Shulyupin wrote:
> Replace `cpumask_any_and(a, b) >= nr_cpu_ids`
> with the more readable `!cpumask_intersects(a, b)`.
>
> Comparison between cpumask_any_and() and cpumask_intersects()
>
> The cpumask_any_and() function expands using FIND_FIRST_BIT(),
> resulting in a loop that iterates through each bit of the bitmask:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/xive: Use cpumask_intersects()
https://git.kernel.org/powerpc/c/6da1cab4f5f8eb778fd61f0eb6ca5b0a011dd44d
cheers
Powered by blists - more mailing lists