Re: Wait free LW_SHARED acquisition - v0.9

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Wait free LW_SHARED acquisition - v0.9
Date: 2014-10-10 11:10:27
Message-ID: 20141010111027.GC6670@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Robert,

On 2014-10-08 16:01:53 -0400, Robert Haas wrote:
> [ comment fixes ]

Thanks, I've incorporated these + a bit more.

Could you otherwise make sense of the explanation and the algorithm?

> + /* yipeyyahee */
>
> Although this will be clear to individuals with a good command of
> English, I suggest avoiding such usages.

I've removed them with a heavy heart. These are heartfelt emotions from
getting the algorithm to work.... (:P)

I've attached these fixes + the removal of spinlocks around releaseOK as
follow up patches. Obviously they'll be merged into the other patch, but
sounds useful to be able see them separately.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
0001-Convert-the-PGPROC-lwWaitLink-list-into-a-dlist-inst.patch text/x-patch 11.1 KB
0002-Wait-free-LW_SHARED-LWLock-acquisition.patch text/x-patch 40.3 KB
0003-Don-t-use-a-spinlock-while-manipulating-a-lwlock-s-r.patch text/x-patch 3.8 KB
0004-Spelling-and-other-comment-improvements-for-the-new-.patch text/x-patch 5.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2014-10-10 11:11:16 Re: Column Redaction
Previous Message Stephen Frost 2014-10-10 11:05:39 Re: Column Redaction