diff options
| author | Mathieu Desnoyers <[email protected]> | 2022-11-22 15:39:06 -0500 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-12-27 12:52:10 +0100 |
| commit | cbae6bac29a8c5cf2f1cb5c6bce35af00cec164b (patch) | |
| tree | 6da97bf38a54c47204e5f352045999a50acc606d /tools/perf/scripts/python/stackcollapse.py | |
| parent | ee3e3ac05c2631ce1f12d88c9cc9a092f8fe947a (diff) | |
rseq: Extend struct rseq with numa node id
Adding the NUMA node id to struct rseq is a straightforward thing to do,
and a good way to figure out if anything in the user-space ecosystem
prevents extending struct rseq.
This NUMA node id field allows memory allocators such as tcmalloc to
take advantage of fast access to the current NUMA node id to perform
NUMA-aware memory allocation.
It can also be useful for implementing fast-paths for NUMA-aware
user-space mutexes.
It also allows implementing getcpu(2) purely in user-space.
Signed-off-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions