Re: write_unlock: replace clear_bit with byte store

From: Christoph Lameter <clameter_at_engr.sgi.com>
Date: 2005-04-30 01:30:27
On Fri, 29 Apr 2005, David Mosberger wrote:

> >>>>> On Fri, 29 Apr 2005 08:19:20 -0700 (PDT), Christoph Lameter <clameter@engr.sgi.com> said:
>
>   Christoph> On Fri, 29 Apr 2005, David Mosberger wrote:
>   >> Let's not reintroduce in-line asm, please?
>
>   Christoph> How do I do a nta store without inline asm?
>
> You add a new intrinsic?
>
>   Christoph> There is already lots of inline asm in spinlock.h.
>
> spinlock.h is special because it performs non-standard calls to the
> out-of-line spinlock contention-handler, but those places are enclosed
> inside ASM_SUPPORTED.

So is my version of inline asm int the latest version from yesterday.
There is an alternate version included for !ASM_SUPPORTED in C which does
not use an nta store.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Apr 29 11:30:57 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST