On Mon, 2025-08-11 at 12:51 -0400, Yury Norov wrote:
> From: "Yury Norov (NVIDIA)" <[email protected]>
> 
> bitmap_empty() in pnv_ioda_pick_m64_pe() is O(N) and useless because
> the following find_next_bit() does the same work.
> 
> Drop it, and while there replace a while() loop with the dedicated
> for_each_set_bit().
> 
> Signed-off-by: Yury Norov (NVIDIA) <[email protected]>

Reviewed-by: Andrew Donnellan <[email protected]>

-- 
Andrew Donnellan    OzLabs, ADL Canberra
[email protected]   IBM Australia Limited

Reply via email to