[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Free pages leaking in 2.5.64?



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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>