Re: [PATCH] MIPS: mm: Use the bitmap API to allocate bitmaps
From: Sergey Shtylyov
Date: Tue Jul 05 2022 - 04:12:54 EST
Hello!
On 7/4/22 10:03 PM, Christophe JAILLET wrote:
> Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.
You don't use bitmap_free() in this patch...
> It is less verbose and it improves the semantic.
>
> While at it, turn a bitmap_clear() into an equivalent bitmap_zero(). It is
> also less verbose.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
[...]
MBR, Sergey