Re: lock support for aarch64

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: lock support for aarch64
Дата
Msg-id CAHyXU0zKJPA_gHFKmqOH8qihj+H39rRL0ePovaX1hb4TBXSvRA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: lock support for aarch64  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: lock support for aarch64
Список pgsql-hackers
On Mon, May 13, 2013 at 8:15 AM, Heikki Linnakangas
<hlinnakangas@vmware.com> 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 various tests.
>
>
> I think this needs an "#ifdef HAVE_GCC_INT_ATOMICS", like the ARM codepath.

I'm starting to wonder why we don't always use gcc atomics if they are
available and assembly implementation is not (any maybe, even if it
is).

merlin



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Better LWLocks with compare-and-swap (9.4)
Следующее
От: Noah Misch
Дата:
Сообщение: MemoryContextAllocHuge(): selectively bypassing MaxAllocSize