]> www.infradead.org Git - users/jedix/linux-maple.git/commit
futex: Allow automatic allocation of process wide futex hash
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 16 Apr 2025 16:29:13 +0000 (18:29 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 3 May 2025 10:02:08 +0000 (12:02 +0200)
commit7c4f75a21f636486d2969d9b6680403ea8483539
tree7ba61bc8ba91244f8180bcd17e7f54679fe9e0aa
parent80367ad01d93ac781b0e1df246edaf006928002f
futex: Allow automatic allocation of process wide futex hash

Allocate a private futex hash with 16 slots if a task forks its first
thread.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250416162921.513656-14-bigeasy@linutronix.de
include/linux/futex.h
kernel/fork.c
kernel/futex/core.c