]> 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>
Tue, 8 Apr 2025 20:01:43 +0000 (16:01 -0400)
commit0cdf857bd3e8c3fde9fa23e4a8951aa4fb554e26
tree18fb36a80987f8f6e822749800638b52802cb4c3
parent3cedafb76ae6477ea02a17da8f2c732d92b82b1a
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