[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060803171806.GB2654@sequoia.sous-sol.org>
Date: Thu, 3 Aug 2006 10:18:06 -0700
From: Chris Wright <chrisw@...s-sol.org>
To: Christoph Lameter <clameter@....com>
Cc: Andi Kleen <ak@...e.de>, virtualization@...ts.osdl.org,
Jeremy Fitzhardinge <jeremy@...p.org>, akpm@...l.org,
xen-devel@...ts.xensource.com, Chris Wright <chrisw@...s-sol.org>,
Ian Pratt <ian.pratt@...source.com>,
linux-kernel@...r.kernel.org
Subject: Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor.
* Christoph Lameter (clameter@....com) wrote:
> An include <asm/xen-bitops.h> would need to fall back to asm-generic if
> there is no file in asm-arch/xen-bitops.h. I thought we had such a
> mechanism?
While Xen is the primary user, it is a misnomer to call it xen-bitops.
These are simply always locked, hence the sync-bitops name. Also,
there's a use of sync_cmpxchg, and cmpxchg is not in bitops.h.
As for the mechanism, it is manual. Arch specific header includes
asm-generic one.
-
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