Module memory

Module memory 

Source
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).