[PATCH] Add LoongArch spinlock support in s_lock.h.
Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.
You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:
docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t47926psql -h localhost -U postgresBuilt from patchset v1 (message #1), September 20, 2026 at 05:17 AM.
Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:
git clone --branch t47926_1 https://github.com/hackorum-dev/postgres.gitIn a checkout you already have, add the fork once:
git remote add hackorum https://github.com/hackorum-dev/postgres.gitthen, for this patchset and every later one:
git fetch hackorum t47926_1 && git checkout t47926_1Patchset v1 (message #1) is on t47926_1
LoongArch is a new architecture that is already supported by linux-6.1,
gcc-12, and I want to add LoongArch spinlock support in s_lock.h.
On 1 Jun 2023, at 09:53, zang ruochen <xmdy61@gmail.com> wrote:
LoongArch is a new architecture that is already supported by linux-6.1, gcc-12, and I want to add LoongArch spinlock support in s_lock.h.
This has been discussed a number of times, see the thread linked below for a
good starting point.
/messages/by-id/3098498.1684327050@sss.pgh.pa.us
--
Daniel Gustafsson
On 1 Jun 2023, at 10:05, zang ruochen <xmdy61@gmail.com> wrote:
Thanks, due to my mistake, I didn't notice that someone had already submitted a patch, so please ignore my patch submission this time.
No worries, thanks for the submission and support of postgres!
--
Daniel Gustafsson
Import Notes
Reply to msg id not found: CALySiVcDru8JWCFsxCxMuW8jAVRPCKrqYoAosADdVP3UoBLkXQ@mail.gmail.com