Fixing AMD cmpxchg "missing lfence" mess
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86: cleanup alternative.harch/ | +22 | 8 replies | |
| 2/2 | x86 amd fix cmpxchg read acquire barrierarch/ arch/ arch/ +4 more | +29 | 10 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/2] Fixing AMD cmpxchg "missing lfence" mess
Hi,
I've prepared this patch, which applies on 2.6.30-rc2. It's an attempt to make the kernel work around AMD's bug regarding missing lfence in the sync; cmpxchg instruction.
The first patch is a alternative.h cleanup, and the second patch implements the fixup using alternatives.
Indeed, this only makes the kernel aware of the bug. Userland will still have to be taught to use such lfence too.
Mathieu
Signature · 2 lines
Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68