mm, oom: ensure memoryless node zonelist always includes zones
[deliverable/linux.git] / mm / oom_kill.c
index 3291e82d4352423cb1cd747eaa589da4b8a07a74..b0a1e1ff0353a428acc46b47f482a6a3183bc578 100644 (file)
@@ -694,7 +694,7 @@ void pagefault_out_of_memory(void)
        if (mem_cgroup_oom_synchronize(true))
                return;
 
-       zonelist = node_zonelist(first_online_node, GFP_KERNEL);
+       zonelist = node_zonelist(first_memory_node, GFP_KERNEL);
        if (try_set_zonelist_oom(zonelist, GFP_KERNEL)) {
                out_of_memory(NULL, 0, 0, NULL, false);
                clear_zonelist_oom(zonelist, GFP_KERNEL);
This page took 0.024241 seconds and 5 git commands to generate.