Locks executable files into memory, preventing them from being paged out in memory pressure situations.
| memstapler | memlockd | prelockd | |
|---|---|---|---|
| Can lock all files that are mapped as executable by any process in the system | ✅ | 🚫 | ✅ |
| Can lock predefined list of files | 🚫 | ✅ | ✅ |
| Namespace-aware: easily locks files from within running lxc/docker/podman/nspawn/... containers | ✅ | 🚫 | 🚫 |
- This does not lock deleted files.
- Scanning intervals are not configurable.