Re: [PATCH 2/3] x86/mm: Avoid repeated this_cpu_*() ops in switch_mm_irqs_off()

From
Dave Hansen <hidden>
Date
2025-05-23 17:21:51
Also in
lkml
Reply to
Peter Zijlstra, 2025-05-20
On 5/20/25 03:55, Peter Zijlstra wrote:
Aside from generating slightly better code for not having to use %fs
prefixed ops, the real purpose is to clarify code by switching some to
smp_store_release() later on.

Notably, this_cpu_{read,write}() imply {READ,WRITE}_ONCE().
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Thread (8 messages) 8 messages, 3 authors, last reply 2025-05-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help