Re: [RFC][PATCH 1/5] pagemap: remove file header

From: Dave Hansen
Date: Wed Aug 08 2007 - 12:35:00 EST


On Wed, 2007-08-08 at 02:31 +0100, Alan Cox wrote:
> The information needed to parse /proc/pid/pagemap can be stuck
> in /proc/pid/somewherelese. If we ever get page size variations and the
> like then /proc/pid/ is going to end up with that information anyway for
> ps and friends to use.

We do at least have some of this with hugetlbfs. In fact, the current
pagemap code bugs out when it hits a huge page area:

/home/dave/work/linux/2.6/22/lxc/mm/memory.c:117: bad pgd 1d0000e7.

I'll look at fixing that.

-- Dave

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