Re: AIX support - alignment issues - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AIX support - alignment issues
Date
Msg-id 1420389.1656895641@sss.pgh.pa.us
Whole thread Raw
In response to Re: AIX support - alignment issues  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2022-07-03 20:08:19 -0400, Tom Lane wrote:
>> I do still feel that HPPA is of interest, to keep us honest
>> about spinlock support

> I.e. forgetting to initialize them? Or the weird alignment stuff it has?

The nonzero initialization mainly, and to a lesser extent the weird
size of a lock.  I think the fact that the active word is only part
of the lock struct is pretty well encapsulated.

> I'd started to work a patch to detect missing initialization for both
> spinlocks and lwlocks, I think that'd be good to have for more common cases.

No objection to having more than one check for this ;-)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: AIX support - alignment issues
Next
From: Michael Paquier
Date:
Subject: Re: Too-long socket paths are breaking several buildfarm members