[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20110214.143336.226766324.davem@davemloft.net>
Date: Mon, 14 Feb 2011 14:33:36 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mathieu.desnoyers@...ymtl.ca
Cc: hpa@...or.com, rostedt@...dmis.org, peterz@...radead.org,
will.newton@...il.com, jbaron@...hat.com, mingo@...e.hu,
tglx@...utronix.de, andi@...stfloor.org, roland@...hat.com,
rth@...hat.com, masami.hiramatsu.pt@...achi.com,
fweisbec@...il.com, avi@...hat.com, sam@...nborg.org,
ddaney@...iumnetworks.com, michael@...erman.id.au,
linux-kernel@...r.kernel.org, vapier@...too.org,
cmetcalf@...era.com, dhowells@...hat.com, schwidefsky@...ibm.com,
heiko.carstens@...ibm.com, benh@...nel.crashing.org
Subject: Re: [PATCH 0/2] jump label: 2.6.38 updates
From: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Date: Mon, 14 Feb 2011 17:29:58 -0500
> * H. Peter Anvin (hpa@...or.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists