Re: [PATCH] Porting small OpenBSD changes.

David CARLIER <devnexen@gmail.com>

From: David CARLIER <devnexen@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2017-11-20T22:38:37Z
Lists: pgsql-hackers
I m not against, I would go with your final version too. Thanks !

On 20 November 2017 at 22:36, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> I wrote:
> > I still dare to doubt whether you've tested this, because AFAICS
> > the operand numbering is wrong.  The "r"(lock) operand is number 3
> > given these operand declarations, not number 2.
>
> Oh, my apologies, scratch that.  Evidently I put in the "+m"(*lock)
> operand and confused myself about what was what.
>
> I still think the form I proposed is better style though.
>
>                         regards, tom lane
>

Commits

  1. Add support for Motorola 88K to s_lock.h.

  2. Use out-of-line M68K spinlock code for OpenBSD as well as NetBSD.