Re: [PATCH] Native spinlock support on RISC-V - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Native spinlock support on RISC-V
Date
Msg-id 78116.1628875505@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Native spinlock support on RISC-V  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Native spinlock support on RISC-V  ("Andres Freund" <andres@anarazel.de>)
List pgsql-hackers
I wrote:
> Andres Freund <andres@anarazel.de> writes:
>> Should we backpatch this? It's not like we're going to break existing
>> risc-v systems by enabling spinlock support...

> Yeah, why not?  If you were building with --disable-spinlocks before,
> this shouldn't change anything for you.
> (I haven't actually looked at the patch, mind you, but in principle
> it shouldn't break anything that worked before.)

I now have looked at the patch, and it seems good as far as it goes,
but I wonder whether some effort ought to be expended in
src/include/port/atomics/.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Default to TIMESTAMP WITH TIME ZONE?
Next
From: "Andres Freund"
Date:
Subject: Re: [PATCH] Native spinlock support on RISC-V