Re: quicklists confuse meminfo

From: Johannes Weiner
Date: Sun Mar 09 2008 - 08:05:15 EST


Hi,

Ingo Molnar <mingo@xxxxxxx> writes:

> hm. I think we should not let this much RAM hang around in a
> special-purpose allocator like quicklists. Shouldnt the quicklists be
> temporary in nature, and be trimmed much more agressively?
>
> in fact, we have a check_pgt_cache() call in cpu_idle(), which does:
>
> quicklist_trim(0, pgd_dtor, 25, 16);
>
> but it appears we dont do quicklist trimming anywhere else! So if a
> system has no idle time, the quicklist can grow unbounded, and that's a
> real memory leak IMO.

It is also called from tlbu_finish_mmu().

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