David Rientjes 8d060bf490 mm, oom: ensure memoryless node zonelist always includes zones
With memoryless node support being worked on, it's possible that for
optimizations that a node may not have a non-NULL zonelist.  When
CONFIG_NUMA is enabled and node 0 is memoryless, this means the zonelist
for first_online_node may become NULL.

The oom killer requires a zonelist that includes all memory zones for
the sysrq trigger and pagefault out of memory handler.

Ensure that a non-NULL zonelist is always passed to the oom killer.

[akpm@linux-foundation.org: fix non-numa build]
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-06 18:01:21 -07:00
..
2014-07-23 10:18:07 -07:00
2014-07-23 17:42:37 -07:00
2014-08-05 21:16:46 -07:00
2014-08-04 18:36:12 -07:00
2014-07-25 18:00:23 -07:00
2014-07-15 20:55:15 +02:00
2014-07-30 00:23:09 +02:00
2014-08-05 16:18:13 -07:00
2014-07-13 13:16:50 -07:00
2014-07-13 15:26:47 -07:00
2014-07-11 10:38:02 +02:00
2014-08-04 18:34:04 -07:00