diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-02-16 14:32:01 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-03-02 11:06:41 +0100 |
| commit | 50704c391fbf11cf52faa27d46c3bb59da33a191 (patch) | |
| tree | c9a4fe14deb2901a50a27a5c16dbc8f82103d2d6 /scripts | |
| parent | 5bd97f5c5f241a5610c4412d1b93995a26241f81 (diff) | |
pidfs: adapt to rhashtable-based simple_xattrs
Adapt pidfs to use the rhashtable-based xattr path by switching from a
dedicated slab cache to simple_xattrs_alloc().
Previously pidfs used a custom kmem_cache (pidfs_xattr_cachep) that
allocated a struct containing an embedded simple_xattrs plus
simple_xattrs_init(). Replace this with simple_xattrs_alloc() which
combines kzalloc + rhashtable_init, and drop the dedicated slab cache
entirely.
Use simple_xattr_free_rcu() for replaced xattr entries to allow
concurrent RCU readers to finish.
Link: https://patch.msgid.link/20260216-work-xattr-socket-v1-5-c2efa4f74cb7@kernel.org
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
