[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4f6901f8-2cf3-bd96-d7d2-cdc6af4245f3@omp.ru>
Date: Tue, 5 Jul 2022 11:12:38 +0300
From: Sergey Shtylyov <s.shtylyov@....ru>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>
CC: <linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
<linux-mips@...r.kernel.org>
Subject: Re: [PATCH] MIPS: mm: Use the bitmap API to allocate bitmaps
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@...adoo.fr>
[...]
MBR, Sergey
Powered by blists - more mailing lists