]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86/mm: unify init task OOM handling
authorIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 15:49:02 +0000 (17:49 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 16:11:13 +0000 (18:11 +0200)
commit3a1dfe6eefe483589c99c909202ffe1a20d589b5
tree9c7bf05694b62a021ad87f7c36c28f77910e3c70
parent891cffbd6bcba26409869c19c07ecd4bfc0c2460
x86/mm: unify init task OOM handling

Linus noticed that the "again:" versus "survive:" OOM logic for
the init task was arbitrarily different.

The 64-bit codepath is the better one, because it correctly re-lookups
the vma after having dropped the ->mmap_sem.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/fault.c