Re: spinlocks on powerpc - Mailing list pgsql-hackers

From Robert Haas
Subject Re: spinlocks on powerpc
Date
Msg-id CA+TgmoYAw+VN_XKGFO6qCJg-5TxK5u0nrtsGDr=kzB3DO1Co_w@mail.gmail.com
Whole thread Raw
In response to Re: spinlocks on powerpc  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jan 3, 2012 at 4:17 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> For Itanium, I was able to find some fairly official-looking
>> documentation that said "this is how you should do it".  It would be
>> nice to find something similar for PPC64, instead of testing every
>> machine and reinventing the wheel ourselves.
>
> You are aware that our spinlock code is pretty much verbatim from the
> PPC ISA spec, no?  The issue here is that the "official documentation"
> has been a moving target over the decades the ISA has been in existence.

I wasn't aware of that, but I think my basic point still stands: it's
gonna be painful if we have to test large numbers of different PPC
boxes to figure all this out...

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [patch] Improve documentation around FreeBSD Kernel Tuning
Next
From: "Kevin Grittner"
Date:
Subject: Re: 16-bit page checksums for 9.2