Re: IO in wrong state on riscv64

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: IO in wrong state on riscv64
Дата
Msg-id CA+hUKGKt5o70MB0Yj8QYNOjR3xTH8fTJQ09WdkvA_Rdg-Qag8w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: IO in wrong state on riscv64  (Alexander Lakhin <exclusion@gmail.com>)
Список pgsql-hackers
On Thu, Oct 23, 2025 at 8:00 PM Alexander Lakhin <exclusion@gmail.com> wrote:
> Unfortunately, this change doesn't lead to change in disassembly of
> pgaio_io_wait(), produced with clang-19 -O1. That is, I'm getting the same
> disassembly as the one I sent you before (error/pgaio_io_wait.asm).

Oh, I think this should work better:

#define pg_read_barrier_impl() \
do { pg_compiler_barrier_impl();
__atomic_thread_fence(__ATOMIC_ACQUIRE); } while (0)



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