summaryrefslogtreecommitdiffstats
path: root/test/vpnor/create_read_window_straddle_partitions.cpp
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-03-27 12:13:25 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-04-04 17:27:31 +0930
commit506f2f556e2ad09b40980e2e578ca5039850b4ca (patch)
tree17c6f1a6ef637fab13cfccc566dbce28610b8386 /test/vpnor/create_read_window_straddle_partitions.cpp
parent52a8319658c8ac3dcce2fed116d20d6014d7b143 (diff)
downloadphosphor-mboxd-506f2f556e2ad09b40980e2e578ca5039850b4ca.tar.gz
phosphor-mboxd-506f2f556e2ad09b40980e2e578ca5039850b4ca.zip
test: vpnor: Use MAP_SHARED for read-only file memory map
It's not well defined whether a private mapping of a resource that is MAP_SHARED on a separate file descriptor will see the updates done via the shared mapping, though under Linux if the private mapping is not written then we can expect updates from the shared mapping to propagate (copy-on-write). However, we get a concrete guarantee of the desired behaviour (observing the effects of the write) if we use MAP_SHARED. Change-Id: If6a053209a979ee5b96ed09c60fbbd9bdb060a32 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test/vpnor/create_read_window_straddle_partitions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud