Hacker News new | ask | show | jobs
by Amadou 4598 days ago
For situations where you have a time-critical app, you can pin the app's memory into RAM with the mlock() family of functions.

There may be a command-line utility that lets you pin an arbitrary running a process too, I haven't looked for it on linux.