aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2025-04-16 18:29:20 +0200
committerPeter Zijlstra <peterz@infradead.org>2025-05-03 12:02:10 +0200
commitcda95faef7bcf26ba3f54c3cddce66d50116d146 (patch)
tree64e94bbb2932c624523eae8c7ed08af4f9980d40 /scripts/lib/kdoc/kdoc_output.py
parentselftests/futex: Build without headers nonsense (diff)
downloadlinux-rng-cda95faef7bcf26ba3f54c3cddce66d50116d146.tar.xz
linux-rng-cda95faef7bcf26ba3f54c3cddce66d50116d146.zip
selftests/futex: Add futex_priv_hash
Test the basic functionality of the private hash: - Upon start, with no threads there is no private hash. - The first thread initializes the private hash. - More than four threads will increase the size of the private hash if the system has more than 16 CPUs online. - Once the user sets the size of private hash, auto scaling is disabled. - The user is only allowed to use numbers to the power of two. - The user may request the global or make the hash immutable. - Once the global hash has been set or the hash has been made immutable, further changes are not allowed. - Futex operations should work the whole time. It must be possible to hold a lock, such a PI initialised mutex, during the resize operation. 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-21-bigeasy@linutronix.de
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions