Re: [PATCH] 2.6.23-rc6: Fix NUMA Memory Policy Reference Counting

From: Andi Kleen
Date: Mon Sep 17 2007 - 18:28:38 EST



> Handling policy ref counts for hugepages is a bit trickier.
> huge_zonelist() returns a zone list that might come from a
> shared or vma 'BIND policy. In this case, we should hold the
> reference until after the huge page allocation in
> dequeue_hugepage(). The patch modifies huge_zonelist() to
> return a pointer to the mempolicy if it needs to be unref'd
> after allocation.

Acked-by: Andi Kleen <ak@xxxxxxx>

Andrew, can you please queue that for .23?

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/