Re: [PATCH]: Adding a counter in vma to indicate the number of physical_pages_backing it

From: Andi Kleen
Date: Tue Jun 13 2006 - 01:55:58 EST


On Tuesday 13 June 2006 07:53, Albert Cahalan wrote:
> Quoting two different people:
>
> > BTW, what is smaps used for (who uses it), anyway?
> ...
> > smaps is only a debugging kludge anyways and it's
> > not a good idea to we bloat core data structures for it.
>
> I'd be using it in procps for the pmap command if it
> were not so horribly nasty. I may eventually get around
> to using it, but maybe it's just too gross to tolerate.

I agree it's pretty ugly.

But pmap I would consider a debugging kludge too - it should
work when someone needs it, but it doesn't need to be particularly
fast.

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