support madvise(MADV_DONTFORK)

This commit is contained in:
Tomoki Shirasawa
2016-09-01 11:22:53 +09:00
parent b5e4459a34
commit 7c562d0539
3 changed files with 110 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#define VR_IO_NOCACHE 0x100
#define VR_REMOTE 0x200
#define VR_WRITE_COMBINED 0x400
#define VR_DONTFORK 0x800
#define VR_DEMAND_PAGING 0x1000
#define VR_PRIVATE 0x2000
#define VR_LOCKED 0x4000