From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Grundler Subject: Re: [parisc-linux] memory barriers, spinlocks, debuglocks, oh my Date: Sun, 29 Aug 2004 22:06:35 -0600 Message-ID: <20040830040635.GA18211@colo.lackof.org> References: <20040827163701.GA2414@mcmartin.ca> <20040828221524.GT2414@mcmartin.ca> <4132001E.6060707@tiscali.be> <20040829161318.GU2414@mcmartin.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: parisc-linux@lists.parisc-linux.org To: Kyle McMartin Return-Path: In-Reply-To: <20040829161318.GU2414@mcmartin.ca> List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: parisc-linux-bounces@lists.parisc-linux.org On Sun, Aug 29, 2004 at 12:13:18PM -0400, Kyle McMartin wrote: > On Sun, Aug 29, 2004 at 04:11:10PM +0000, Joel Soete wrote: > > Sorry, but here I am confused: for parisc-linux unlock means (x)->lock = 1? > > > Yes, because the only atomic instruction we have is load and clear. I think you missed Joel's point. Where does SPIN_UNLOCK set the register that it stores to 1? grant _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux