]> 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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 21 Nov 2023 18:05:11 +0000 (13:05 -0500)
commited0027737cfab92bf536639df8103c1c99a04a16
tree19d8e9528cee9091a5f65a8690c100c08f13225f
parent7f84e4580552db0e04848423bd12940a54b5c7a0
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