[CentOS-devel] Doubt on mmap :kernel-3.10.0-693.11.6.el7

Prem Kumar

n.premkumar.me at gmail.com
Wed Sep 19 11:03:33 UTC 2018


We are trying to map the disk file and content is written in to specific
offset.
In meanwhile, if try to access the mmap'd content at specified offset, we
are getting NULL value. we have not called msync() yet. the mmap called
with MAP_SHARED.
Is it possible that mmap content can differ on read after write or is this
the problem happening because read is called before the msync().

Thanks,
Prem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20180919/103092a2/attachment.html>


More information about the CentOS-devel mailing list