Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The application requests this itself from the Kernel. See https://man7.org/linux/man-pages/man2/mlock.2.html


From the link, mlockall with MCL_CURRENT | MCL_FUTURE

> Lock all pages which are currently mapped into the address space of the process.

> Lock all pages which will become mapped into the address space of the process in the future.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: