Re: [PATCH] Refactoring of LWLock tranches - Mailing list pgsql-hackers

From [email protected]
Subject Re: [PATCH] Refactoring of LWLock tranches
Date
Msg-id [email protected]
Whole thread Raw
In response to [PATCH] Refactoring of LWLock tranches  (Ildus Kurbangaliev <[email protected]>)
Responses Re: [PATCH] Refactoring of LWLock tranches
List pgsql-hackers
Hi,

On 2015-09-05 12:48:12 +0300, Ildus Kurbangaliev wrote:
> Another parts require a some discussion so I didn't touch them yet.

At this point I don't see any point in further review until these are
addressed.

> The idea to create an individual tranches for individual LWLocks have
> come from Heikki Linnakangas and I also think that tranche is a good place to keep
> LWLock name.

I think it's rather ugly.

> Base of these tranches points to MainLWLockArray

And that's just plain wrong. The base of a tranche ought to point to the
first lwlock in it.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Add support for RADIUS passwords longer than 16 octets
Next
From: Andres Freund
Date:
Subject: Re: checkpointer continuous flushing