Expand description
Memory-related operational helpers (e.g. mlockall).
Memory-related operational helpers.
Platform support
- Linux: uses
mlockall. - Other OSes: functions return an error.
Operational note
mlockall may fail due to low memlock limits; see Linux ulimit -l/systemd
LimitMEMLOCK.
Functionsยง
- mlockall_
current_ and_ future - Attempts to lock current and future mappings into RAM (
mlockall).