Обсуждение: pgsql: Remove volatile qualifiers from bufmgr.c and freelist.c

Поиск
Список
Период
Сортировка

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

От
Robert Haas
Дата:
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(-)