commit | 5318609519800617323b5fdb17c1d4fe12c3d794 | [log] [tgz] |
---|---|---|
author | David Rientjes <rientjes@google.com> | Wed Nov 14 01:15:19 2012 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Nov 15 17:13:48 2012 -0800 |
tree | a02e56d063ea89db60f1d92e41df09cf738a2c60 | |
parent | 18e0749aa825b8af12990521536f617d1405c37f [diff] |
mm, oom: ensure sysrq+f always passes valid zonelist With hotpluggable and memoryless nodes, it's possible that node 0 will not be online, so use the first online node's zonelist rather than hardcoding node 0 to pass a zonelist with all zones to the oom killer. Signed-off-by: David Rientjes <rientjes@google.com> Reviewed-by: Michal Hocko <mhocko@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>