Re: [PATCH] Native spinlock support on RISC-V

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Marek Szuba <marecki(at)gentoo(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Native spinlock support on RISC-V
Date: 2021-08-13 17:25:05
Message-ID: 78116.1628875505@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2021-08-13 17:29:54 Re: [PATCH] Native spinlock support on RISC-V
Previous Message Tom Lane 2021-08-13 17:07:28 Re: Default to TIMESTAMP WITH TIME ZONE?