]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Convert forking to use the sheaf interface sheave_rebase_20250611
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>
Wed, 11 Jun 2025 19:05:13 +0000 (15:05 -0400)
commit0fbea367a2cba7c82cee993eec119975b561a1ab
treef3c54a1f12552e3b70284200e81dc73abb716476
parent27b4d401e6a65163b796fdd0278c46e5a5da57e4
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