upkie  11.0.0
Open-source wheeled biped robots

◆ lock_memory()

bool upkie::cpp::utils::lock_memory ( )
inline

Lock all memory to RAM so that the kernel doesn't page it to swap.

The Linux man pages have a great NOTES section on this. Worth a read!