Linux memory management example