<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">Hi,</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">How do I enable the MAP_SYNC flag in mmap for linux 4.15, my code does not compile with that flag on linux 4.15.0-041500rc7-generic #201801072330</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">Also, how do I make mmap support map size of 2GB or larger, currently the call to mmap fails with mapsize of 2GB.</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">thanks,</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">David<br></div></div></body></html>