Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> originally this idea was proposed by Andres Freund while experimenting with
> lockfree Pin/UnpinBuffer [1].
> The patch is attached as well as results of pgbench -S on 72-cores
> machine. As before it shows huge benefit in this case.
That's one mighty ugly patch. Can't you do it without needing to
introduce the additional layer of struct nesting?
regards, tom lane