pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Move each SLRU's lwlocks to a separate tranche.
Date: Thu, 12 Nov 2015 19:59:54 +0000
Message-ID: <E1Zwy2E-0003Rt-1O@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Move each SLRU's lwlocks to a separate tranche.

This makes it significantly easier to identify these lwlocks in
LWLOCK_STATS or Trace_lwlocks output.  It's also arguably better
from a modularity standpoint, since lwlock.c no longer needs to
know anything about the LWLock needs of the higher-level SLRU
facility.

Ildus Kurbangaliev, reviewd by Álvaro Herrera and by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fe702a7b3f9f2bc5bf6d173166d7d55226af82c8

Modified Files
--------------
src/backend/access/transam/clog.c      |    2 +-
src/backend/access/transam/commit_ts.c |    2 +-
src/backend/access/transam/multixact.c |    4 ++--
src/backend/access/transam/slru.c      |   37 +++++++++++++++++++++-----------
src/backend/access/transam/subtrans.c  |    2 +-
src/backend/commands/async.c           |    2 +-
src/backend/storage/lmgr/lwlock.c      |   23 --------------------
src/backend/storage/lmgr/predicate.c   |    2 +-
src/include/access/slru.h              |   10 ++++++++-
9 files changed, 41 insertions(+), 43 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (15+ messages)  latest in thread

Message-ID: <E1Zwy2E-0003Rt-1O@gemulon.postgresql.org>
Permalink:  ../E1Zwy2E-0003Rt-1O@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1Zwy2E-0003Rt-1O@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Move each SLRU's lwlocks to a separate tranche.
  In-Reply-To: <E1Zwy2E-0003Rt-1O@gemulon.postgresql.org>
  References: <E1Zwy2E-0003Rt-1O@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox