[RFC v2 PATCH 0/16] Optimize this_cpu_*() ops for non-x86 (ARM64 for this series)~

Mete Durlu meted at linux.ibm.com
Wed Jul 29 23:06:02 PDT 2026


On 22/07/2026 01:20, Yang Shi wrote:
> 
> S390 implemented restart sequence. Heiko didn't share too much benchmark 
> data, just confirmed there is no regression and I had a lengthy 
> discussion with him (https://lore.kernel.org/ 
> lkml/20260520092243.264847-1-hca at linux.ibm.com/).

Hi,

regarding performance numbers from s390 and Heiko's implementation.
It is safe to say we see noticeable improvements on micro benchmarks
but nothing really pops out on regular workloads.

on 24 Cores - 48 CPUs

1. Kernel Build
---------------------------------------------------------------------
time make -j $(nproc)
~0-2% improvement - within noise ratio

2. stress-ng vm ops
---------------------------------------------------------------------
stress-ng --vm $(nproc) --vm-bytes 128M --vm-ops 100000000
~16% improvement on bogo/ops

3. stress-ng vm ops + fork
---------------------------------------------------------------------
stress-ng -M --mmapfork $(nproc) --mmapfork-bytes 128M --mmapfork-ops 10000
~6% improvement on bogo/ops

4. fork test
---------------------------------------------------------------------
stress-ng -M --fork $(nproc) --fork-ops 10000000
~13% improvement on bogo/ops

Basecommit: a2b94afeb516 ("s390/zcrypt: Replace get_zeroed_page() with 
kzalloc()")

Thanks,
-Mete Durlu



More information about the linux-arm-kernel mailing list