diff options
| author | Yao Zi <me@ziyao.cc> | 2026-08-01 18:29:53 +0000 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-08-07 18:27:07 +0200 |
| commit | d824ed1307680dd482f607b0e707c575f70668c4 (patch) | |
| tree | bf1fd42056f99d06a9251d20138b3c1034f9dc5e /include/uapi/linux/android | |
| parent | b2250d63e642228911db80238f7e437dc405cc63 (diff) | |
| download | linux-d824ed1307680dd482f607b0e707c575f70668c4.tar.gz linux-d824ed1307680dd482f607b0e707c575f70668c4.zip | |
x86/locking: Use sfence for wmb() if SSE is available
When adding cc clobber to wmb()'s definition, the alternative()
condition to use sfence was incorrectly raised from X86_FEATURE_XMM to
X86_FEATURE_XMM2.
Restore the correct constraint for potential better performance on
machines without SSE2.
Fixes: bd922477d935 ("locking/x86: Add cc clobber for ADDL")
Signed-off-by: Yao Zi <me@ziyao.cc>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260801182953.15069-1-me@ziyao.cc
Diffstat (limited to 'include/uapi/linux/android')
0 files changed, 0 insertions, 0 deletions
