[PATCH 00/12] maple_tree: slub sheaves conversion

Vlastimil Babka posted 12 patches 3 months, 1 week ago
include/linux/maple_tree.h          |   6 +-
lib/maple_tree.c                    | 399 +++++++++--------------------
lib/test_maple_tree.c               |   8 +
tools/include/linux/slab.h          | 165 +++++++++++-
tools/testing/radix-tree/maple.c    | 483 +++---------------------------------
tools/testing/shared/linux.c        | 120 +++++++--
tools/testing/shared/maple-shared.h |  11 +
tools/testing/shared/maple-shim.c   |   7 +
tools/testing/vma/vma_internal.h    |  98 +-------
9 files changed, 439 insertions(+), 858 deletions(-)
[PATCH 00/12] maple_tree: slub sheaves conversion
Posted by Vlastimil Babka 3 months, 1 week ago
The previous version of this work was part of the patchset that
introduces slub sheaves, but for practical purposes was split out in v6
[1] while Liam did some further fixups and cleanups to the maple tree
and associated testing implementation, incorporating also patches from
Pedro [2] and then provided to me his branch [3] to include it. It
relies on [1] in the slab/for-next tree so the intent is to include this
in slab/for-next as well. More precisely speaking, patches 2 and 3 will
replace the last two patches of [1].

[1] https://lore.kernel.org/all/20250827-slub-percpu-caches-v6-0-f0f775a3f73f@suse.cz/
[2] https://lore.kernel.org/all/20250812162124.59417-1-pfalcato@suse.de/
[2] https://git.infradead.org/?p=users/jedix/linux-maple.git;a=shortlog;h=refs/heads/sheaves-v6r2_fixes

git version:
https://git.kernel.org/vbabka/l/maple-sheaves-v1

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
---
Liam R. Howlett (8):
      maple_tree: Fix check_bulk_rebalance() test locks
      tools: Add testing support for changes to slab for sheaves
      tools/testing/vma: Implement vm_refcnt reset
      testing/radix-tree/maple: Hack around kfree_rcu not existing
      tools: Add sheaf to slab testing
      maple_tree: Sheaf conversion and testing
      maple_tree: Add single node allocation support to maple state
      maple_tree: Convert forking to use the sheaf interface

Pedro Falcato (2):
      maple_tree: Use kfree_rcu in ma_free_rcu
      maple_tree: Replace mt_free_one() with kfree()

Vlastimil Babka (2):
      maple_tree: use percpu sheaves for maple_node_cache
      tools/testing: include maple-shared.h in maple.c

 include/linux/maple_tree.h          |   6 +-
 lib/maple_tree.c                    | 399 +++++++++--------------------
 lib/test_maple_tree.c               |   8 +
 tools/include/linux/slab.h          | 165 +++++++++++-
 tools/testing/radix-tree/maple.c    | 483 +++---------------------------------
 tools/testing/shared/linux.c        | 120 +++++++--
 tools/testing/shared/maple-shared.h |  11 +
 tools/testing/shared/maple-shim.c   |   7 +
 tools/testing/vma/vma_internal.h    |  98 +-------
 9 files changed, 439 insertions(+), 858 deletions(-)
---
base-commit: 2a2cada7250179353220bea9548acd7e7ed96e48
change-id: 20250901-maple-sheaves-63b9edc69bff

Best regards,
-- 
Vlastimil Babka <vbabka@suse.cz>