[patch 0/2] Fixing AMD cmpxchg "missing lfence" mess

From: Mathieu Desnoyers
Date: Wed Apr 22 2009 - 16:48:23 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/