Messages in this thread | | | Date | Wed, 22 Apr 2009 16:18:52 -0400 | From | Mathieu Desnoyers <> | Subject | [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
-- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
| |