Hi, This patch set tries to add loongarch64 native spin lock to postgresql. - [PATCH 1/2] implements a loongarch64 native spin lock. - [PATCH 2/2] fixes s_lock_test to make it runnable via `make check'. The patch set is tested on my Loongson 3A5000 machine with Loong Arch Linux and GCC 13.1.0 with default ./configure with no options. Output of `make check' in src/backend/storage/lmgr is attached. See: [1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#atomic-memory-access-instructions [2]: https://github.com/torvalds/linux/blob/f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6/arch/loongarch/include/asm/cmpxchg.h#L12 ---- YANG Xudong
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных