path: root/m4
diff options
authorAndrew Jeffery <>2018-03-27 12:13:25 +1030
committerAndrew Jeffery <>2018-04-04 17:27:31 +0930
commit506f2f556e2ad09b40980e2e578ca5039850b4ca (patch)
tree17c6f1a6ef637fab13cfccc566dbce28610b8386 /m4
parent52a8319658c8ac3dcce2fed116d20d6014d7b143 (diff)
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 <>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud