OpenCloudOS-Kernel/tools/testing/radix-tree
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
..
generated radix tree test suite: Remove obsolete CONFIG 2017-02-13 16:09:43 -05:00
linux ida: Move ida_bitmap to a percpu variable 2017-02-13 21:44:01 -05:00
.gitignore Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00
Makefile Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00
benchmark.c radix tree test suite: benchmark for iterator 2016-12-14 16:04:09 -08:00
idr-test.c Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00
iteration_check.c radix tree test suite: check multiorder iteration 2016-12-14 16:04:10 -08:00
linux.c radix tree test suite: Remove types.h 2017-02-13 16:09:41 -05:00
main.c Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00
multiorder.c radix-tree: ensure counts are initialised 2016-12-14 16:04:10 -08:00
regression.h radix-tree tests: add regression3 test 2016-03-17 15:09:34 -07:00
regression1.c radix-tree tests: properly initialize mutex 2016-10-11 15:06:30 -07:00
regression2.c radix-tree: delete radix_tree_range_tag_if_tagged() 2016-12-14 16:04:10 -08:00
regression3.c radix-tree: improve multiorder iterators 2016-12-14 16:04:10 -08:00
tag_check.c radix tree test suite: add new tag check 2016-12-14 16:04:10 -08:00
test.c radix-tree: delete radix_tree_range_tag_if_tagged() 2016-12-14 16:04:10 -08:00
test.h Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00