From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu) Date: Thu, 12 Jul 2018 16:22:11 -0400 Subject: mmap huge page and MAP_SYNC flag support In-Reply-To: <779720497.3567183.1531426236103@mail.yahoo.com> References: <1295689295.3498770.1531421083778.ref@mail.yahoo.com> <1295689295.3498770.1531421083778@mail.yahoo.com> <31319.1531421911@turing-police.cc.vt.edu> <779720497.3567183.1531426236103@mail.yahoo.com> Message-ID: <39838.1531426931@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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: