linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* zoned-vm-stats-add-nr_anon.patch
@ 2006-06-20 20:46 Martin Bligh
  2006-06-20 20:49 ` zoned-vm-stats-add-nr_anon.patch Christoph Lameter
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Bligh @ 2006-06-20 20:46 UTC (permalink / raw)
  To: Christoph Lameter, Andrew Morton, Linux Memory Management

Could we rename nr_mapped to something else if we're going to change
it's meaning? Perhaps split nr_mapped into nr_mapped_file and
nr_mapped_anon or something?

Otherwise any poor schmuck (eg me) who has to work across different
kernel versions is going to get rather confused in the future.

In my mind, "nr_mapped" is a good name for the number of pages which
are mapped, so excluding the anon pages from that seems to make
the naming non-obvious. similarly, I presume we can have anon pages
on transition to or from swap that are not mapped, and yet will
not be reflected here, so nr_anon doesn't seem like a wholly
accurate name to me either?

M.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-20 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-20 20:46 zoned-vm-stats-add-nr_anon.patch Martin Bligh
2006-06-20 20:49 ` zoned-vm-stats-add-nr_anon.patch Christoph Lameter
2006-06-20 20:53   ` zoned-vm-stats-add-nr_anon.patch Martin Bligh
2006-06-20 20:57     ` zoned-vm-stats-add-nr_anon.patch Christoph Lameter
2006-06-20 20:58       ` zoned-vm-stats-add-nr_anon.patch Martin Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox