aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-03-16 15:53:54 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2022-05-11 11:49:38 -0700
commit1bce11126d57dde90a02ecf9bfe98175ab4e729e (patch)
tree636edf3d3261edb1191ee2a3301712f682c4afb6 /tools/perf/scripts/python/mem-phys-addr.py
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
asm-generic: ticket-lock: New generic ticket-based spinlock
This is a simple, fair spinlock. Specifically it doesn't have all the subtle memory model dependencies that qspinlock has, which makes it more suitable for simple systems as it is more likely to be correct. It is implemented entirely in terms of standard atomics and thus works fine without any arch-specific code. This replaces the existing asm-generic/spinlock.h, which just errored out on SMP systems. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Guo Ren <guoren@kernel.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions