mmap huge page and MAP_SYNC flag support

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Thu Jul 12 16:22:11 EDT 2018


On Thu, 12 Jul 2018 20:10:36 -0000, David Frank said:

>  Thanks Valdis.Looks like the failure is that I can not write to a 2GB buffer
> (char bf[2GB size]).Where do I get the distro include file?

>From the same exact place you got the distro kernel from. (I'm guessing
it's a distro kernel from the -generic in the uname -r).  If you built it
yourself from a Linus source git/tarball, 'make headers_install' will do it, but
note that if the rest of the distro install still thinks you have a distro kernel-headers
installed, the package management system may whine....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180712/52a8cd77/attachment.sig>


More information about the Kernelnewbies mailing list