]> 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 <Liam.Howlett@Oracle.com>
Fri, 17 Jan 2025 20:15:33 +0000 (15:15 -0500)
commit02d25914f0962ee8a52e243c2193aca4a715ccb2
treed22ce132a81541d8761787f6a570e8043540e7e0
parent2919e80b4092179d8e85046c5f7a561acb803029
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