pgsql: Remove volatile qualifiers from bufmgr.c and freelist.c

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove volatile qualifiers from bufmgr.c and freelist.c
Date: 2015-11-16 23:53:10
Message-ID: E1ZyTaA-00085i-RU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove volatile qualifiers from bufmgr.c and freelist.c

Prior to commit 0709b7ee72e4bc71ad07b7120acd117265ab51d0, access to
variables within a spinlock-protected critical section had to be done
through a volatile pointer, but that should no longer be necessary.

Review by Andres Freund

Branch
------
master

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

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 95 ++++++++++++++++-----------------
src/backend/storage/buffer/freelist.c | 18 +++----
src/include/storage/buf_internals.h | 11 ++--
3 files changed, 59 insertions(+), 65 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2015-11-17 00:02:55 pgsql: doc: Fix commas and improve spacing
Previous Message Tom Lane 2015-11-16 18:45:35 pgsql: Speed up ruleutils' name de-duplication code, and fix overlength