Re: Lockless queue of waiters in LWLock

Поиск
Список
Период
Сортировка
От Pavel Borisov
Тема Re: Lockless queue of waiters in LWLock
Дата
Msg-id CALT9ZEF80HJvVZ_bEPzfdDsPBPmCSb0QT4b82vXGFRkHis1pLg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Lockless queue of waiters in LWLock  (Pavel Borisov <pashkin.elfe@gmail.com>)
Ответы Re: Lockless queue of waiters in LWLock  (Pavel Borisov <pashkin.elfe@gmail.com>)
Список pgsql-hackers
Hi, hackers!

I've noticed that alignment requirements for using
pg_atomic_init_u64() for LWlock state (there's an assertion that it's
aligned at 8 bytes) do not correspond to the code in SimpleLruInit()
on 32-bit arch when MAXIMUM_ALIGNOF = 4.
Fixed this in v4 patch (PFA).

Regards,
Pavel.

Вложения

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: [PoC] Reducing planning time when tables have many partitions
Следующее
От: Ted Yu
Дата:
Сообщение: redundant check of msg in does_not_exist_skipping