Thread: pgsql: Use mmap MAP_NOSYNC option to limit shared memory writes

pgsql: Use mmap MAP_NOSYNC option to limit shared memory writes

From
Bruce Momjian
Date:
Use mmap MAP_NOSYNC option to limit shared memory writes

mmap() is rarely used for shared memory, but when it is, this option is
useful, particularly on the BSDs.

Patch by Sean Chittenden

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/34afbba84e8fd12bbf905d68d1112f51ed584df9

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c |    4 ++--
src/include/portability/mem.h      |    8 ++++++++
2 files changed, 10 insertions(+), 2 deletions(-)