[RFC PATCH 0/3] futex: Add support task local hash maps.
From: Sebastian Andrzej Siewior
Date: Sat Oct 26 2024 - 18:43:34 EST
Hi,
this is a follow up on
https://lore.kernel.org/ZwVOMgBMxrw7BU9A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
and adds support for task local futex_hash_bucket. It can be created via
prctl() and each thread has to enable it via another prctl() interface.
Individual threads may enable it but I guess this gets more complicated
because the libc internal locks (or another lib) maybe be shared by
multiple threads. So maybe it would be best to enable the local hash by
the group leader and automatically enable for each thread on fork().
Sebastian