Re: dynamically allocating chunks from shared memory
Alvaro Herrera <alvherre@commandprompt.com>
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Markus Wanner <markus@bluegap.ch>
Cc: PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Date: 2010-07-20T19:05:11Z
Lists: pgsql-hackers
Excerpts from Markus Wanner's message of mar jul 20 14:36:55 -0400 2010: > > I'm also unconvinced that spinlocks are the best locking primitive here. > > Why not lwlocks? > > It's derived from a completely lock-free algorithm, as proposed by Maged > M. Michael in: Scalable Lock-Free Dynamic Memory Allocator. Hmm, deriving code from a paper published by IBM sounds like bad news -- who knows what patents they hold on the techniques there?