Duy Nguyen <pclouds@xxxxxxxxx> writes: > We don't hold this memory forever though. If the daemon is idle for a > while, it exits, releasing memory back to system. And not using > mlock() already gives the OS more freedom in memory usage. Yup, that is why I suspected you wanted to use something other than mlock(). -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html