Re: [PATCH] Add LoongArch spinlock support in s_lock.h.

2023-06-01 Thread Daniel Gustafsson
> On 1 Jun 2023, at 10:05, zang ruochen 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

Re: [PATCH] Add LoongArch spinlock support in s_lock.h.

2023-06-01 Thread Daniel Gustafsson
> On 1 Jun 2023, at 09:53, zang ruochen 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. https:/

[PATCH] Add LoongArch spinlock support in s_lock.h.

2023-06-01 Thread zang ruochen
spinlock support in s_lock.h. --- src/include/storage/s_lock.h | 40 1 file changed, 40 insertions(+) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index c9fa84cc43..bec55856af 100644 --- a/src/include/storage/s_lock.h +++ b/src