Re: [PATCH 0/2] jump label: 2.6.38 updates

From: Mathieu Desnoyers
Date: Mon Feb 14 2011 - 17:30:13 EST


* H. Peter Anvin (hpa@xxxxxxxxx) 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).

Mathieu

>
>
> --
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel. I don't speak on their behalf.
>

--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
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/