oom_killer.c - oom_kill_task and __oom_kill_task question

From: Vicente Feito
Date: Fri Feb 25 2005 - 13:32:11 EST


Why is it that p->mm it's checked inside oom_kill_task and again in
__oom_kill_task? Cause __oom_kill_task it's called in case p->mm not null and
not &init_mm, otherwise it just returns NULL, this has been bothering me,
I've patched with the last rc5 and it's still there, why?
Is there a chance a process can grow an mm area between one call and another?

Vicente.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/