summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rseq/rseq-ppc.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>2022-11-22 21:39:10 +0100
committerPeter Zijlstra <peterz@infradead.org>2022-12-27 12:52:12 +0100
commitf7b01bb0b57f994a44ea6368536b59062b796381 (patch)
treeb5e315e3661c3c74156b4136d6133dae3b741e8d /tools/testing/selftests/rseq/rseq-ppc.h
parentsched: Introduce per-memory-map concurrency ID (diff)
downloadlinux-f7b01bb0b57f994a44ea6368536b59062b796381.tar.xz
linux-f7b01bb0b57f994a44ea6368536b59062b796381.zip
rseq: Extend struct rseq with per-memory-map concurrency ID
If a memory map has fewer threads than there are cores on the system, or is limited to run on few cores concurrently through sched affinity or cgroup cpusets, the concurrency IDs will be values close to 0, thus allowing efficient use of user-space memory for per-cpu data structures. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20221122203932.231377-9-mathieu.desnoyers@efficios.com
Diffstat (limited to 'tools/testing/selftests/rseq/rseq-ppc.h')
0 files changed, 0 insertions, 0 deletions