]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Convert forking to use the sheaf interface
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Sun, 8 Dec 2024 02:29:07 +0000 (21:29 -0500)
committerLiam R. Howlett <howlett@gmail.com>
Tue, 21 Jan 2025 16:33:09 +0000 (11:33 -0500)
commitd0bc6eab700f29ac7b69629a6573160295629b44
tree281ca13d13023529e069d5e355e3ebde1806d95f
parent624c061087e31ba30ec79ec356f4a5782d771d06
maple_tree: Convert forking to use the sheaf interface

Use the generic interface which should result in less bulk allocations
during a forking.

A part of this is to abstract the freeing of the sheaf or maple state
allocations into its own function so mas_destroy() and the tree
duplication code can use the same functionality to return any unused
resources.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c