pgsql: Update obsolete comments in lwlock.h.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Update obsolete comments in lwlock.h.
Date: 2017-01-04 17:03:59
Message-ID: E1cOoyl-0002hC-Hv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update obsolete comments in lwlock.h.

The typical size of an LWLock is now 16 bytes even on 64-bit platforms,
and the size of slock_t is now irrelevant. But pg_atomic_uint32 can
(perhaps surprisingly) still be larger than 4 bytes, so there's still
some marginal point to allowing LWLOCK_MINIMAL_SIZE == 64.

Commit 008608b9d51061b1f598c197477b3dc7be9c4a64 made the changes
that led to the need for these updates.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0fad355beca9f73687c0b27647ea570ce10c7ae3

Modified Files
--------------
src/include/storage/lwlock.h | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-01-04 17:44:29 pgsql: Re-allow SSL passphrase prompt at server start, but not thereaft
Previous Message Simon Riggs 2017-01-04 16:55:08 pgsql: Add 18 new recovery TAP tests