Re: [RFC] memory hotremove patch take 2 [03/10] (drain all pages)

From: KAMEZAWA Hiroyuki
Date: Thu May 10 2007 - 20:54:28 EST


On Thu, 10 May 2007 11:07:08 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Wed, 9 May 2007, Yasunori Goto wrote:
>
> > This patch add function drain_all_pages(void) to drain all
> > pages on per-cpu-freelist.
> > Page isolation will catch them in free_one_page.
>
> This is only draining the pcps of the local processor. I would think
> that you need to drain all other processors pcps of this zone as well. And
> there is no need to drain this processors pcps of other zones.
>

As Mel-san pointed, -mm has drain_all_local_pages(). We'll use it.

Thanks,
-Kame

-
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/