linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rohit Seth <rohitseth@google.com>
To: Andi Kleen <ak@suse.de>
Cc: Albert Cahalan <acahalan@gmail.com>,
	linux-kernel@vger.kernel.org, akpm@osdl.org, Linux-mm@kvack.org,
	arjan@infradead.org, jengelh@linux01.gwdg.de
Subject: Re: [PATCH]: Adding a counter in vma to indicate the number of physical_pages_backing it
Date: Tue, 13 Jun 2006 10:10:36 -0700	[thread overview]
Message-ID: <1150218637.9576.73.camel@galaxy.corp.google.com> (raw)
In-Reply-To: <200606130756.52669.ak@suse.de>

On Tue, 2006-06-13 at 07:56 +0200, Andi Kleen wrote:
> 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.
> 


Providing useful information about memory consumption is hardly
debugging kludge.  Quite unfortunately the rss part of the col is filled
with dashes at present.  This vma based counter will allow Albert to
print useful information w/o having to traverse the whole set of page
tables.

-rohit

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2006-06-13 17:10 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13  5:53 Albert Cahalan
2006-06-13  5:56 ` Andi Kleen
2006-06-13 17:10   ` Rohit Seth [this message]
2006-06-13 17:18     ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2006-06-10  1:33 [PATCH]: Adding a counter in vma to indicate the number of physical pages backing it Rohit Seth
2006-06-10  2:42 ` Andrew Morton
2006-06-12 17:49   ` Rohit Seth
2006-06-10  7:35 ` Nick Piggin
2006-06-11 10:15   ` Jan Engelhardt
2006-06-12 17:36   ` Rohit Seth
2006-06-12 17:58     ` Andi Kleen
2006-06-12 19:42       ` Rohit Seth
2006-06-13  3:51         ` Andi Kleen
2006-06-13  4:27           ` Nick Piggin
2006-06-13 16:59           ` Rohit Seth
2006-06-13 17:28             ` Hugh Dickins
2006-06-13 18:09               ` Rohit Seth
2006-06-13 17:31             ` Andi Kleen
2006-06-11 16:09 ` Arjan van de Ven
2006-06-12 11:17   ` Andi Kleen
2006-06-12 12:49     ` Jan Engelhardt
2006-06-12 12:54       ` Andi Kleen
2006-06-12 16:43 ` Christoph Lameter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1150218637.9576.73.camel@galaxy.corp.google.com \
    --to=rohitseth@google.com \
    --cc=Linux-mm@kvack.org \
    --cc=acahalan@gmail.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox