]> git.ipfire.org Git - thirdparty/linux.git/commit
pidfs: implement ino allocation without the pidmap lock
authorMateusz Guzik <mjguzik@gmail.com>
Tue, 20 Jan 2026 18:45:39 +0000 (19:45 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 10 Feb 2026 10:39:30 +0000 (11:39 +0100)
commit87caaeef79950377b616f3ba2265a82742cb9583
tree3fbb4b2422a16c5eb727ad5db23bb1df39d64842
parent03aef0602f22f30aab0e42e7f3169b0a5920c461
pidfs: implement ino allocation without the pidmap lock

This paves the way for scalable PID allocation later.

The 32 bit variant merely takes a spinlock for simplicity, the 64 bit
variant uses a scalable scheme.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20260120184539.1480930-1-mjguzik@gmail.com
Co-developed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/pidfs.c
kernel/pid.c