Re: [PATCH v3 2/6] mm: remove swap_free() and always use swap_free_nr()

From: Christoph Hellwig
Date: Sat May 04 2024 - 00:29:25 EST


On Sat, May 04, 2024 at 12:27:11PM +0800, Barry Song wrote:
> swap_free_nr() isn't separate, after this patch, it is the only one left.
> there won't be swap_free() any more. it seems you want to directly
> "rename" it to swap_free()?

Yes. Avoid the pointless suffix if it is the only variant.