Re: [RFC][PATCH 4/5] memory_pressure_notify() caller

From: Rik van Riel
Date: Tue Jan 15 2008 - 17:59:47 EST


On Tue, 15 Jan 2008 23:55:17 +0100
"Daniel SpÃng" <daniel.spang@xxxxxxxxx> wrote:

> The notification fires after only ~100 MB allocated, i.e., when page
> reclaim is beginning to nag from page cache. Isn't this a bit early?
> Repeating the test with swap enabled results in a notification after
> ~600 MB allocated, which is more reasonable and just before the system
> starts to swap.

Your issue may have more to do with the fact that the
highmem zone is 128MB in size and some balancing issues
between __alloc_pages and try_to_free_pages.

--
All rights reversed.
--
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/