[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C39255BB-9E63-4EB6-BE9D-4CD32F830585@kernel.crashing.org>
Date: Tue, 25 Jul 2006 21:06:51 +0200
From: Segher Boessenkool <segher@...nel.crashing.org>
To: Hollis Blanchard <hollisb@...ibm.com>
Cc: Chris Wright <chrisw@...s-sol.org>, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...l.org>, virtualization@...ts.osdl.org,
Jeremy Fitzhardinge <jeremy@...p.org>,
xen-devel@...ts.xensource.com, Ian Pratt <ian.pratt@...source.com>,
xen-ppc-devel <xen-ppc-devel@...ts.xensource.com>
Subject: Re: [RFC PATCH 28/33] Add Xen grant table support
> I object to these uses of (synch_)cmpxchg on a uint16_t in common
> code.
> Many architectures, including PowerPC, do not support 2-byte atomic
> operations, but this code is common to all Xen architectures.
RMW operations you mean, I suppose. On PowerPC, all (naturally
aligned) halfword operations are atomic; there do not exist any
RMW operations; but word and doubleword atomic RMW operations
can be emulated.
Boils down to the same thing of course, but it isn't the same ;-)
Segher
-
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