Re: [PATCHES] Reorganization of spinlock defines

Поиск
Список
Период
Сортировка
От Manfred Spraul
Тема Re: [PATCHES] Reorganization of spinlock defines
Дата
Msg-id 3F623B0B.20105@colorfullife.com
обсуждение исходный текст
Ответ на Re: [PATCHES] Reorganization of spinlock defines  (Manfred Spraul <manfred@colorfullife.com>)
Список pgsql-hackers
Manfred Spraul wrote:

> Is the Itanium tas implementation correct? I think it should be 
> xchg4.aqv instead of just xchg4 - as far as I know a normal atomic 
> exchange is is not a memory barrier on Itanium. At least the Linux 
> kernel version contains "cmpxchg4.aqv".

Sorry for the noise, I'm wrong:
Itanium automatically uses acquire semantics with xchg.
See top of page 16 on
http://h21007.www2.hp.com/dspp/files/unprotected/itanium/spinlocks.pdf

--   Manfred



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

Предыдущее
От: Carlos Guzman Alvarez
Дата:
Сообщение: [ANN] PGSqlClient 1.0 Beta 1 released
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Another small bug (pg_autovacuum)