title: Prevent RAM from paging to swap area (mlock)
body: <p>Is there a way to call <a href="http://www.unix.com/man-page/linux/2/MLOCK/" rel="noreferrer">the POSIX <code>mlock</code> function</a> from Python? The effect of <code>mlock</code> is to disable swapping out certain objects.</p>
  
  <p>I know there are still other issues when it comes to securing cryptographic keys, I just want to know how to contain them in RAM.</p>