Re: Spinlocks may be broken. - Mailing list pgsql-hackers

From Alfred Perlstein
Subject Re: Spinlocks may be broken.
Date
Msg-id 20001205072631.W8051@fw.wintelcom.net
Whole thread Raw
In response to Re: Spinlocks may be broken.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane <tgl@sss.pgh.pa.us> [001205 07:24] wrote:
> Alfred Perlstein <bright@wintelcom.net> writes:
> > I'm pretty sure you guys need memory barrier ops.
> 
> On a machine that requires such a thing, the assembly code for UNLOCK
> should include it.  Want to provide a patch?

My assembler is extremely rusty, you can probably find such code
in the NetBSD or Linux kernel for all the archs you want to do.
I wouldn't feel confident providing a patch, all I have is x86
hardware.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Spinlocks may be broken.
Next
From: "Larry Rosenman"
Date:
Subject: RE: Re: LOCK Fixes/Break on FreeBSD 4.2-STABLE