]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: replace preallocation with slub percpu array prefill
authorVlastimil Babka <vbabka@suse.cz>
Mon, 7 Aug 2023 21:00:36 +0000 (23:00 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 25 Jan 2024 10:02:10 +0000 (11:02 +0100)
commit849fec81830ae466af1fb96597e056e326dae48d
tree1afff27f59bcb2ca2475f8628104500cb95a157c
parent62c3d1627401f4c2a40f4444f9845cc4d5b7fded
maple_tree: replace preallocation with slub percpu array prefill

With the percpu array we can try not doing the preallocations in maple
tree, and instead make sure the percpu array is prefilled, and using
GFP_ATOMIC in places that relied on the preallocation (in case we miss
or fail trylock on the array), i.e. mas_store_prealloc(). For now simply
add __GFP_NOFAIL there as well.
lib/maple_tree.c