diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-09-21 17:58:04 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2026-09-30 07:12:02 +0200 |
| commit | 45b0097302d87a42189abe0b33d69fe18f6c7cb0 (patch) | |
| tree | 78a49430bb46d2e60421472e8b4221f0320e1cf8 /tools/perf/scripts/python/bin | |
| parent | d83b5cf355ca762ef19aa3a424af44e3e275ff52 (diff) | |
| download | linux-45b0097302d87a42189abe0b33d69fe18f6c7cb0.tar.gz linux-45b0097302d87a42189abe0b33d69fe18f6c7cb0.zip | |
s390/percpu: Use percpu code section for this_cpu_cmpxchg()
Convert this_cpu_cmpxchg() to make use of percpu code section
functionality in order to get rid of preempt_disable() and
preempt_enable() calls.
Consider only four and eight byte usages, since there are no compare
and swap instructions for one and two bytes available. For one and
two bytes use the previous simple implementation.
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Tested-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
