diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2022-11-22 21:39:10 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-12-27 12:52:12 +0100 |
commit | f7b01bb0b57f994a44ea6368536b59062b796381 (patch) | |
tree | b5e315e3661c3c74156b4136d6133dae3b741e8d /tools/testing/selftests/rseq/rseq-ppc.h | |
parent | sched: Introduce per-memory-map concurrency ID (diff) | |
download | linux-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