Re: [PATCH 4/4] capture pages freed during direct reclaim for allocation by the reclaimer

From: Andy Whitcroft
Date: Wed Jul 02 2008 - 10:45:07 EST


On Wed, Jul 02, 2008 at 09:01:59PM +0900, KOSAKI Motohiro wrote:
> Hi Andy,
>
> I feel this is interesting patch.
>
> but I'm worry about it become increase OOM occur.
> What do you think?

We do hold onto some nearly free pages for a while longer but only in
direct reclaim, assuming kswapd is running its pages should not get
captured. I am pushing our machines in test pretty hard, to the
unusable stage mostly without OOM'ing but that is still an artifical
test. The amount of memory under capture is proportional to the size of
the allocations at the time of capture so one would hope this would only
be significant at very high orders.

> and, Why don't you make patch against -mm tree?

That is historical mostly as there was major churn in the same place when
I was originally making these patches, plus -mm was not bootable on any
of my test systems.. I am not sure if that is still true. I will have
a look at a recent -mm and see if they will rebase and boot.

Thanks for looking.

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