4 ms·Mlock, munlock, mlockall, munlockall - lock and unlock memory2 points by gaius 15y agogaius 15y agoPosting this to raise awareness. No need for hare-brained schemes like encrypting the swapfile. Just don't write sensitive data to it in the first place!