Thread (23 messages) flat view 23 messages, 2 authors, 1d ago

Re: [PATCH v3 16/21] arm64: percpu: Implement preemptible void RMW ops

From: David Laight <hidden>
Date: 2026-09-05 09:03:24
Also in: stable

On Fri,  4 Sep 2026 17:17:53 +0100
Mark Rutland [off-list ref] wrote:
Use the PCPU GPR infrastructure to implement all of the RMW ops which do
not return a value.
...
 #define __PERCPU_OP_CASE(w, sfx, name, sz, op_llsc, op_lse)		\
Isn't this definition exactly the same as __PERCPU_RET_OP_CASE() except
for s/tmp/ret/ and the 'return ret'?

Since the compiler will just ignore the unwanted return value
there is not point replicating the definition.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help