I start to read linux source and I begin with oom_kill.c file. I have two questions about the function out_of_memory() void out_of_memory(void) { static unsigned long first, last, count, lastkill; unsigned long now, since; now = jiffies; (1)-> since = now - last; (2.1)-> last = now; /* * If it's been a long time since last failure, * we're not oom. */ (2.2)-> last = now; if (since > 5*HZ) goto reset; In (1), variable "last" is used but it is not initialized. Is it an error? In (2.1) et (2.2), the affectation is done twice, is there any reason? Thanks for the help -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/