Re: [PATCH] x86: fix /proc/meminfo DirectMap

From: Ingo Molnar
Date: Fri Aug 15 2008 - 09:29:42 EST



* Hugh Dickins <hugh@xxxxxxxxxxx> wrote:

> Do we actually want these DirectMap lines in the x86 /proc/meminfo? I
> can see they're interesting to CPA developers and TLB optimizers, but
> they don't fit its usual "where has all my memory gone?" usage. If
> they are to stay, here are some fixes.

i think they are borderline useful - so i've applied your fixes to
tip/x86/urgent.

> You might prefer me to split these up?

nah.

> Should we really be using level2_ident_pgt (which needs to avoid NX)
> for the final direct map (which wants to use NX)? But my attempt to
> build up a fresh pagetable there failed miserably to boot!

hm, exactly what change have you tried? (patch?)

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