lowmemorykiller: Optimize some values and code