RFC pidfs: use maple tree
Get series with b4
b4 am [email protected] change-id 20241206-work-pidfs-maple_tree-b322ff5399b7Versions newest first
- v2 RFC Latest2 patches 16 repliesIn review
- v1 RFC1 patch 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | maple_tree: make MT_FLAGS_LOCK_IRQ do somethinginclude/ | +14 | 0 replies | |
| 2/2 | pidfs: use maple treefs/ kernel/ | +48 | 3 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Marek Szyprowski |
|---|---|
| 1/2 | |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RFC v2 0/2] pidfs: use maple tree
Hey,
Ok, I wanted to give this another try as I'd really like to rely on the maple tree supporting ULONG_MAX when BITS_PER_LONG is 64 as it makes things a lot simpler overall.
As Willy didn't want additional users relying on an external lock I made it so that we don't have to and can just use the mtree lock.
However, I need an irq safe variant which is why I added support for this into the maple tree.
This is pullable from
https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git work.pidfs.maple_tree
Thanks!
Christian
---
Christian Brauner (2):
maple_tree: make MT_FLAGS_LOCK_IRQ do something
pidfs: use maple tree
fs/pidfs.c | 52 +++++++++++++++++++++++++++------------------- include/linux/maple_tree.h | 16 ++++++++++++-- kernel/pid.c | 34 +++++++++++++++--------------- 3 files changed, 62 insertions(+), 40 deletions(-)
---
base-commit: 963c8e506c6d4769d04fcb64d4bf783e4ef6093e
change-id: 20241206-work-pidfs-maple_tree-b322ff5399b7