futex: Create helper function to initialize a hash slot
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 16 Apr 2025 16:29:11 +0000 (18:29 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 3 May 2025 10:02:07 +0000 (12:02 +0200)
commit9a9bdfdd687395a3dc949d3ae3323494395a93d4
treea23ba01108ffc8c91611bec67fee7a9b0d3c3aab
parentb04b8f3032aae6121303bfa324c768faba032242
futex: Create helper function to initialize a hash slot

Factor out the futex_hash_bucket initialisation into a helpr function.
The helper function will be used in a follow up patch implementing
process private hash buckets.

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-12-bigeasy@linutronix.de
kernel/futex/core.c