| Date | Wed, 30 Sep 2009 18:55:22 +0200 | From | Stefan Richter <> | Subject | Re: Linux 2.6.32-rc1 |
| |
Arjan van de Ven wrote: > Subject: [PATCH] x86: Provide an alternative() based cmpxchg64() > > Based on Linus' patch, this patch provides cmpxchg64() using > the alternative() infrastructure. > > Note: the fallback is NOT smp safe, just like the current fallback > is not SMP safe.
As long as it can't be turned into an atomic access, shouldn't cmpxchg64 be hidden from the common kernel coder? Almost everybody will assume that it is an atomic operation and happily use it in unsafe places. -- Stefan Richter -=====-==--= =--= ====- http://arcgraph.de/sr/
|