Re: [PATCH] xfs: replace kvmalloc_array with kvzalloc_objs

From: Christoph Hellwig

Date: Fri Sep 18 2026 - 11:10:25 EST


On Fri, Sep 18, 2026 at 01:44:12PM +0200, Carlos Maiolino wrote:
> You meant something like this? Leaving xfs_alloc_bucket_bitmap() looks
> a bit better for me, to avoid overly long indentation.
> I don't think there are free_bitmap_bucket though, buckets are straight
> kvfree()'ed.

No, I mean changing bitmap_*alloc* and bitmap_Free in lib/bitmap.c.