Messages in this thread | | | Date | Mon, 14 Feb 2011 14:33:36 -0800 (PST) | Subject | Re: [PATCH 0/2] jump label: 2.6.38 updates | From | David Miller <> |
| |
From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Date: Mon, 14 Feb 2011 17:29:58 -0500
> * H. Peter Anvin (hpa@zytor.com) wrote: >> On 02/14/2011 02:20 PM, Steven Rostedt wrote: >> > >> > Ideally, we would like a single atomic_read() but due to these wacky >> > archs, it may not be possible. >> > >> >> #ifdef ARCH_ATOMIC_READ_SUCKS_EGGS? >> >> -hpa > > lol :) > > Hrm, I wonder if it might cause problems with combinations of "cmpxchg" > and "read" performed on a variable (without using atomic.h).
We do that everywhere, it has to work.
| |