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 29107.1093327210@sss.pgh.pa.us
Whole thread Raw
In response to Re: 8.0 beta 1 on linux-mipsel R5900  (Greg Stark <gsstark@mit.edu>)
Responses 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:
>> According to the previous port report from Red Hat, the PS2 chip simply
>> doesn't have any user-space TAS instruction, so you're pretty much stuck.

> Out of curiosity. If it lacks a tas instruction, is there really any smp
> implementation that runs on it?

My recollection is that it has TAS capability but the designers made it
a privileged instruction (in a fit of brain death :-()

> Why would postgres want spinlocks at all with only one processor?

Think harder... one processor != one process...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AT TIME ZONE
Next
From: Gavin Sherry
Date:
Subject: Re: 8.0 beta 1 on linux-mipsel R5900