Re: Spinlocks may be broken.

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Spinlocks may be broken.
Date: 2000-12-05 15:26:32
Message-ID: 20001205072631.W8051@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> [001205 07:24] wrote:
> Alfred Perlstein <bright(at)wintelcom(dot)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(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
"I have the heart of a child; I keep it in a jar on my desk."

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Guenter 2000-12-05 15:30:32 Re: Using Threads?
Previous Message Tom Lane 2000-12-05 15:24:07 Re: Spinlocks may be broken.