Re: 8.0 beta 1 on linux-mipsel R5900 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 8.0 beta 1 on linux-mipsel R5900
Date
Msg-id 29793.1093331916@sss.pgh.pa.us
Whole thread Raw
In response to Re: 8.0 beta 1 on linux-mipsel R5900  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Think harder... one processor != one process...

> Well sure, but you don't want a spinlock in that case.

Actually you do, when the normal case is that you don't have to block.
You want it to fall through as quickly as possible in the success case
(the blocking case is going to suck no matter what).  Given the present
set of available/portable technologies, spinlocks win.

If you've got a better alternative, educate us ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: PITR: XLog File compression on Archive
Next
From: Tom Lane
Date:
Subject: Re: returning modified input from C functions