Commit:     3d124cbba316737af8f3a6959edb95bbd130a4d8
Parent:     fdc30b3d448bf86dd45f9df3e8ac0d36a3bdd9b2
Author:     Hugh Dickins <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 23 14:41:02 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Apr 24 08:23:07 2007 -0700

    fix OOM killing processes wrongly thought MPOL_BIND
    I only have CONFIG_NUMA=y for build testing: surprised when trying a memhog
    to see lots of other processes killed with "No available memory
    (MPOL_BIND)".  memhog is killed correctly once we initialize nodemask in
    Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]>
    Acked-by: Christoph Lameter <[EMAIL PROTECTED]>
    Acked-by: William Irwin <[EMAIL PROTECTED]>
    Acked-by: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/oom_kill.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index af981b6..3791edf 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -176,6 +176,8 @@ static inline int constrained_alloc(struct zonelist 
*zonelist, gfp_t gfp_mask)
        struct zone **z;
        nodemask_t nodes;
        int node;
+       nodes_clear(nodes);
        /* node has memory ? */
                if (NODE_DATA(node)->node_present_pages)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to