On 12 December 2012 22:11, Mikko Tiihonen
<mikko.tiihonen@nitorcreations.com> wrote:
> noticed a "XXX: It might be worth considering using an atomic fetch-and-add
> instruction here, on architectures where that is supported." in lock.c
>
> Here is my first try at using it.
That's interesting, but I have to wonder if there is any evidence that
this *is* actually helpful to performance.
--
Peter Geoghegan http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services