• Matthew Wilcox's avatar
    ida: Convert to XArray · f32f004c
    Matthew Wilcox authored
    Use the XA_TRACK_FREE ability to track which entries have a free bit,
    similarly to how it uses the radix tree's IDR_FREE tag.  This eliminates
    the per-cpu ida_bitmap preload, and fixes the memory consumption
    regression I introduced when making the IDR able to store any pointer.
    Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
    f32f004c
idr.c 17.3 KB