Re: [PATCH v8 00/13] fold per-CPU vmstats remotely

From: Christoph Lameter
Date: Tue May 16 2023 - 04:19:41 EST


The patchset still modifies the semantics of this_cpu operations semantics
replacing the lockless RMV operations with locked ones. One of the
rationales for the use this_cpu operations is their efficiency since
locked RMV atomics are avoided. This patchset destroys that functionality.

If you want locked RMV semantics then use them through cmpxchg() and
friends. Do not modify this_cpu operations by changing the implementation
in the arch code.