Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor.

From: Andi Kleen
Date: Thu Aug 03 2006 - 00:47:53 EST


On Thursday 03 August 2006 06:25, Christoph Lameter wrote:
> On Thu, 3 Aug 2006, Andi Kleen wrote:
>
> > On Thursday 03 August 2006 03:25, Christoph Lameter wrote:
> >
> > > Good idea. This will also make it easier to support this special
> > > functionality. And it will avoid use in contexts where these are
> > > not necessary.
> >
> > I think it's a bad idea. We don't want lots of architecture ifdefs
> > in some Xen specific file
>
> Thats not how it would be done. We would do this with
> architecture specific xen files and a default in asm-generic.

It's cleaner to just do it in the generic code.

I think for most architectures it is only a one liner anyways if
done properly.

-Andi

-
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/