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

"David Hildenbrand (Arm)" <[email protected]> Wed, 5 Aug 2026 00:01:22 +0200
Newsgroups gmane.linux.kernel,gmane.linux.kernel.mm,gmane.linux.ports.arm.kernel
Message-ID <[email protected]>
On 8/4/26 23:56, Christoph Lameter (Ampere) wrote:
> On Tue, 4 Aug 2026, David Hildenbrand (Arm) wrote:
> 
>>> These are operations that are key to the performance in critical parts of
>>> memory management and this code is replicated by being inlined thousands
>>> of times in the kernel.
>>
>> Cool, then it is easy to show the difference by running micro + macro benchmarks.
> 
> And we have done so repeatedly. Look at Yang's posts.
> 

I'm getting tired of this.

So to be clear: claiming that the additional instructions are unacceptable I'd
expect something minimal like: "removing these 3 instructions speeds up
micro-benchmark (a, b, c) by X% and macro-benchmarks (d, e, f) by Y% compared to
Mark's approach". [1]

https://lore.kernel.org/r/[email protected]

-- 
Cheers,

David