Re: quicklists confuse meminfo

From: Arjan van de Ven
Date: Sun Mar 09 2008 - 15:13:00 EST


On Sun, 9 Mar 2008 13:34:32 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * Ingo Molnar <mingo@xxxxxxx> wrote:
>
> > > IMHO we need shrink pgtable cache mecanism.
> >
> > ouch! Could you try the patch below? How large is the quicklist
> > cache with this applied?
>
> hm, Thomas pointed it out that this wont solve all the problems as
> quicklists have a built-in "preserve me" throttle (which is rather
> stupid).
>
> the right solution is to get rid of quicklists altogether (Thomas
> expects to have patches for that later today).

careful with this; the quicklists aren't JUST for speed
they are also there to make sure a page we free that is a pagetable,
is not reused until we have finished flushing the tlbs on all the cpus that saw it.
This is a really hard correctness requirement, and while I can see
that quicklists are probably not the best way to achieve this, we can't just
throw away the behavior ;(

--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/