Re: Free pages leaking in 2.5.64?

From: Andrew Morton (akpm@digeo.com)
Date: Tue Mar 11 2003 - 19:25:52 EST


Nigel Cunningham <ncunningham@clear.net.nz> wrote:
>
> Hi all.
>
> I've come across the following problem in 2.5.64. Here's example output.
> The header is one page - all messages only have a single call to
> get_zeroed_page between the printings and the same code works as

nr_free_pages() does not account for the pages in the per-cpu head arrays.

You can make the numbers look right via drain_local_pages(), but that is only
100% reliable on uniprocessor with interrupts disabled.

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



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:28 EST