Re: Does v7.2.x support AIX 5.1? - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: Does v7.2.x support AIX 5.1?
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961EF3@m0114.s-mxs.net
Whole thread Raw
In response to Does v7.2.x support AIX 5.1?  (Justin Clift <justin@postgresql.org>)
Responses Re: Does v7.2.x support AIX 5.1?
List pgsql-hackers
> > I don't have AIX 5 here, so cannot test, sorry.
> > But yes, it should definitely work.
> >
> > There is a known possible performance improvement for concurrent sessions on
> > multiprocessor AIX machines. The now depricated "cs(3)" used for the AIX TAS
> > implementation should be replaced with fetch_and_or, compare_and_swap or the
> > like. I just haven't got round to doing a patch that I trust.
> >
> > Maybe Tatsuo can say more ?
>
> cs() is gone in 7.3beta because cs() was failing on SMP machines anyway.
> The new code is:
>
>     #define TAS(lock)           _check_lock(lock, 0, 1)
>     #define S_UNLOCK(lock)      _clear_lock(lock, 0)

Ah, great. That is perfect. Has slipped in without me noticing :-)

Thanks to whoever fixed this
Andreas


pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: Propose RC1 for Friday ...
Next
From: Bruce Momjian
Date:
Subject: Re: Does v7.2.x support AIX 5.1?