diff options
author | John David Anglin <dave.anglin@bell.net> | 2022-01-05 00:48:11 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-01-07 03:29:21 +0300 |
commit | 72c3dd8207de4178ae50553666129af7231f86e7 (patch) | |
tree | 023307e7d55f51203c55ced80fc5006653a22086 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d0585d742ff2d82accd26c661c60a6d260429c4a (diff) | |
download | linux-72c3dd8207de4178ae50553666129af7231f86e7.tar.xz |
parisc: Add lws_atomic_xchg and lws_atomic_store syscalls
This patch adds two new LWS routines - lws_atomic_xchg and lws_atomic_store.
These are simpler than the CAS routines. Currently, we use the CAS
routines for atomic stores. This is inefficient since it requires
both winning the spinlock and a successful CAS operation.
Change has been tested on c8000 and rp3440.
In v2, I moved the code to disble/enable page faults inside the spinlocks.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions