diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-07-04 21:42:46 +0200 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 16:46:33 +0200 |
commit | f32f004cddf86d63a9c42994bbce9f4e2f07c9fa (patch) | |
tree | ecd72e417a02e78fc70622c9eb1a889044138e10 /lib/locking-selftest-rlock-hardirq.h | |
parent | xarray: Track free entries in an XArray (diff) | |
download | linux-f32f004cddf86d63a9c42994bbce9f4e2f07c9fa.tar.xz linux-f32f004cddf86d63a9c42994bbce9f4e2f07c9fa.zip |
ida: Convert to XArray
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: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions