2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/tools/testing/radix-tree/linux
Matthew Wilcox 7ad3d4d85c ida: Move ida_bitmap to a percpu variable
When we preload the IDA, we allocate an IDA bitmap.  Instead of storing
that preallocated bitmap in the IDA, we store it in a percpu variable.
Generally there are more IDAs in the system than CPUs, so this cuts down
on the number of preallocated bitmaps that are unused, and about half
of the IDA users did not call ida_destroy() so they were leaking IDA
bitmaps.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
2017-02-13 21:44:01 -05:00
..
bug.h tools: add WARN_ON_ONCE 2016-12-14 16:04:09 -08:00
cpu.h redo: radix tree test suite: fix compilation 2016-12-15 11:04:20 -08:00
gfp.h Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00
idr.h Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00
init.h radix tree test suite: Reduce kernel.h 2017-02-13 16:09:42 -05:00
kernel.h ida: Move ida_bitmap to a percpu variable 2017-02-13 21:44:01 -05:00
kmemleak.h radix tree test harness 2016-03-17 15:09:34 -07:00
percpu.h ida: Move ida_bitmap to a percpu variable 2017-02-13 21:44:01 -05:00
preempt.h radix tree test suite: Reduce kernel.h 2017-02-13 16:09:42 -05:00
radix-tree.h radix tree test harness 2016-03-17 15:09:34 -07:00
rcupdate.h radix tree test harness 2016-03-17 15:09:34 -07:00
slab.h radix tree test suite: cache recently freed objects 2016-12-14 16:04:10 -08:00