]> err.no Git - linux-2.6/commit
Memoryless nodes: OOM: use N_HIGH_MEMORY map instead of constructing one on the fly
authorChristoph Lameter <clameter@sgi.com>
Tue, 16 Oct 2007 08:25:30 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:58 +0000 (09:42 -0700)
commitee31af5d649d8aa6ac7948a6d97ae48367ff2d7e
tree8a16d8c15b8b56058b905c2b83a3a5f8112746c4
parent6eaf806a223e61dc5f2de4ab591f11beb97a8f3b
Memoryless nodes: OOM: use N_HIGH_MEMORY map instead of constructing one on the fly

constrained_alloc() builds its own memory map for nodes with memory.  We have
that available in N_HIGH_MEMORY now.  So simplify the code.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Acked-by: Bob Picco <bob.picco@hp.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Mel Gorman <mel@skynet.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c