Re: Spinlocks and compiler/memory barriers - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Spinlocks and compiler/memory barriers
Date
Msg-id CA+TgmoY282azQpiGRO-XbpU8WZLbfQTj6CSMKU81m9gEJdqc9A@mail.gmail.com
Whole thread Raw
In response to Re: Spinlocks and compiler/memory barriers  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Spinlocks and compiler/memory barriers  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Sep 8, 2014 at 10:07 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> It makes for a cleaner commit history if you push concurrently into
> all the branches you intend to patch.  That also gives more buildfarm
> runs, which seems like a good thing for this sort of patch.
>
> That is, assuming that we ought to backpatch at all, which to my mind
> is debatable.

We're not going to backpatch the main patch to make spinlock
primitives act as compiler barriers - or at least, I will object
loudly.

But what we're talking about here is a bug fix for Sparc.  And surely
we ought to back-patch that.

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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Spinlocks and compiler/memory barriers
Next
From: Merlin Moncure
Date:
Subject: Re: PL/pgSQL 2