mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 10:10:33 +02:00
Add the -b/ --buckets argument to specify the number of hash buckets for
the private futex hash. This is directly passed to
prctl(PR_FUTEX_HASH, PR_FUTEX_HASH_SET_SLOTS, buckets, immutable)
and must return without an error if specified. The `immutable' is 0 by
default and can be set to 1 via the -I/ --immutable argument.
The size of the private hash is verified with PR_FUTEX_HASH_GET_SLOTS.
If PR_FUTEX_HASH_GET_SLOTS failed then it is assumed that an older
kernel was used without the support and that the global hash is used.
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-20-bigeasy@linutronix.de
26 lines
794 B
Text
26 lines
794 B
Text
perf-bench-y += sched-messaging.o
|
|
perf-bench-y += sched-pipe.o
|
|
perf-bench-y += sched-seccomp-notify.o
|
|
perf-bench-y += syscall.o
|
|
perf-bench-y += mem-functions.o
|
|
perf-bench-y += futex.o
|
|
perf-bench-y += futex-hash.o
|
|
perf-bench-y += futex-wake.o
|
|
perf-bench-y += futex-wake-parallel.o
|
|
perf-bench-y += futex-requeue.o
|
|
perf-bench-y += futex-lock-pi.o
|
|
perf-bench-y += epoll-wait.o
|
|
perf-bench-y += epoll-ctl.o
|
|
perf-bench-y += synthesize.o
|
|
perf-bench-y += kallsyms-parse.o
|
|
perf-bench-y += find-bit-bench.o
|
|
perf-bench-y += inject-buildid.o
|
|
perf-bench-y += evlist-open-close.o
|
|
perf-bench-y += breakpoint.o
|
|
perf-bench-y += pmu-scan.o
|
|
perf-bench-y += uprobe.o
|
|
|
|
perf-bench-$(CONFIG_X86_64) += mem-memcpy-x86-64-asm.o
|
|
perf-bench-$(CONFIG_X86_64) += mem-memset-x86-64-asm.o
|
|
|
|
perf-bench-$(CONFIG_NUMA) += numa.o
|