Re: AIX support - alignment issues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AIX support - alignment issues
Дата
Msg-id 1420389.1656895641@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: AIX support - alignment issues  (Andres Freund <andres@anarazel.de>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: AIX support - alignment issues
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Too-long socket paths are breaking several buildfarm members