Re: [HACKERS] [PATCH] Add support for TAS/S_UNLOCK for aarch64

2013-06-04 Thread Mark Salter
On Tue, 2013-06-04 at 13:40 -0400, Tom Lane wrote: > Robert Haas writes: > > On Tue, Jun 4, 2013 at 11:48 AM, Pavel Raiskup wrote: > >> Oh, I see now it was already consulted here: > >> http://www.postgresql.org/message-id/1368448758.23422.12.ca...@t520.redhat.com > > > I think we should go ahea

Re: [HACKERS] lock support for aarch64

2013-05-13 Thread Mark Salter
On Mon, 2013-05-13 at 16:15 +0300, Heikki Linnakangas wrote: > On 13.05.2013 15:39, Mark Salter wrote: > > I used the following patch to add lock support aarch64. It is just a > > copy of the arm support based on gcc builtins. Postgresql built with > > this patch passes the

[HACKERS] lock support for aarch64

2013-05-13 Thread Mark Salter
I used the following patch to add lock support aarch64. It is just a copy of the arm support based on gcc builtins. Postgresql built with this patch passes the various tests. diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index d4a783f..624a73b 100644 --- a/src/include/st