分类: LINUX
2015-08-24 15:12:03
MCL_CURRENT ——Lock all pages
which are currently mapped into the address space of the process.
MCL_FUTURE ——— Lock all pages
which will become mapped into the address space of the process in the future.
These could be for instance new pages required by a growing heap and stack as
well as new memory mapped files or shared memory regions.