]> granicus.if.org Git - postgresql/commit
Remove volatile qualifiers from bufmgr.c and freelist.c
authorRobert Haas <rhaas@postgresql.org>
Mon, 16 Nov 2015 23:50:06 +0000 (18:50 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 16 Nov 2015 23:50:06 +0000 (18:50 -0500)
commite93b62985f9c69dcb6f0747450809fff64b78a6e
tree8a7f16d6735c2711544fa726ee2300d2b3a0fed9
parent8004953b5a2449c26c4e082771276b2f8629d153
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
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/freelist.c
src/include/storage/buf_internals.h