On Mon, 2025-08-11 at 12:51 -0400, Yury Norov wrote:
> From: "Yury Norov (NVIDIA)" <yury.no...@gmail.com>
> 
> 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) <yury.no...@gmail.com>

Reviewed-by: Andrew Donnellan <a...@linux.ibm.com>

-- 
Andrew Donnellan    OzLabs, ADL Canberra
a...@linux.ibm.com   IBM Australia Limited

Reply via email to