Re: [PATCH] [0/16] POISON: Intro

From: Andi Kleen
Date: Thu Apr 09 2009 - 03:20:28 EST


On Wed, Apr 08, 2009 at 10:29:34AM -0700, Roland Dreier wrote:
> > [1] I didn't consider that one high priority since production
> > systems with long uptime shouldn't have much free memory.
>
> Surely there are windows after a big job exits where lots of memory
> might be free. Not sure how big those windows are in practice but it
> does seem if a process using 128GB exits then it might take a while
> before that memory all gets used again.

Yes, it's definitely something to be fixed at some point.
Basically just needs a new entry point into the page_alloc
buddy allocator to unfree a page. The more tricky part
is actually finding a good injector design for testing for it,
there's no natural race free way to get a free page.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/