| From: |
| Miklos Szeredi <mszeredi-AT-redhat.com> |
| To: |
| linux-fsdevel-AT-vger.kernel.org |
| Subject: |
| [PATCH v4 0/4] simple xattr improvements |
| Date: |
| Fri, 05 Jun 2026 15:53:15 +0200 |
| Message-ID: |
| <20260605135322.2632068-1-mszeredi@redhat.com> |
| Cc: |
| linux-mm-AT-kvack.org, Christian Brauner <brauner-AT-kernel.org> |
| Archive-link: |
| Article |
v4:
- yet another accounting fix for shmem_initxattrs
v3:
- need per kernfs_node locking for simple_xattr_set
- another accounting fix for shmem_initxattrs
v2:
- don't use xxhash
- fix lazy alloc concurrency
- fix rcu freeing on evict
- fix rcu walk of per-inode list
- don't double account freed space
---
Miklos Szeredi (4):
kernfs: fix xattr race condition with multiple superblocks
tmpfs: simplify constructing "security.foo" xattr names
simple_xattr: change interface to pass struct simple_xattrs **
simpe_xattr: use per-sb cache
fs/kernfs/dir.c | 13 +-
fs/kernfs/file.c | 13 +-
fs/kernfs/inode.c | 36 ++---
fs/kernfs/kernfs-internal.h | 24 +++-
fs/kernfs/mount.c | 2 +-
fs/pidfs.c | 45 ++-----
fs/xattr.c | 261 +++++++++++++++++++-----------------
include/linux/kernfs.h | 11 +-
include/linux/shmem_fs.h | 3 +-
include/linux/xattr.h | 35 +++--
mm/shmem.c | 50 +++----
net/socket.c | 30 ++---
12 files changed, 252 insertions(+), 271 deletions(-)
--
2.54.0