Re: Move PinBuffer and UnpinBuffer to atomics - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Move PinBuffer and UnpinBuffer to atomics
Date
Msg-id 20150915020625.GI9666@alap3.anarazel.de
Whole thread Raw
In response to Re: Move PinBuffer and UnpinBuffer to atomics  (Andres Freund <andres@anarazel.de>)
Responses Re: Move PinBuffer and UnpinBuffer to atomics  (YUriy Zhuravlev <u.zhuravlev@postgrespro.ru>)
Re: Move PinBuffer and UnpinBuffer to atomics  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
On 2015-09-14 17:41:42 +0200, Andres Freund wrote:
> I pointed out how you can actually make this safely lock-free giving you
> the interesting code.

And here's an actual implementation of that approach. It's definitely
work-in-progress and could easily be optimized further. Don't have any
big machines to play around with right now tho.

Andres

Attachment

pgsql-hackers by date:

Previous
From: Gavin Flower
Date:
Subject: Re: [PROPOSAL] Covering + unique indexes.
Next
From: Haribabu Kommi
Date:
Subject: Re: Parallel Seq Scan