summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-04-08 21:29:58 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-08 21:29:58 -0700
commit596c3a20754aea9470b4a92cec925d0feeca50c7 (patch)
tree9e8b88218bab783a09c3e5f87d9e392a65654ad8 /include/linux
parent7ffbbaf2145ea62319ca9331fa5f98333601f8d5 (diff)
[PATCH] remove nr_reverse_maps VM accounting
Maintaining the `nr_reverse_maps' provides makes a small but measurable decrease in page_add_rmap() overhead. I don't think it's a very useful metric, and it can be sort-of inferred from slabinfo.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/page-flags.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
index efe51537c564..b4d254418509 100644
--- a/include/linux/page-flags.h
+++ b/include/linux/page-flags.h
@@ -83,7 +83,6 @@ struct page_state {
unsigned long nr_dirty; /* Dirty writeable pages */
unsigned long nr_writeback; /* Pages under writeback */
unsigned long nr_page_table_pages;/* Pages used for pagetables */
- unsigned long nr_reverse_maps; /* includes PageDirect */
unsigned long nr_mapped; /* mapped into pagetables */
unsigned long nr_slab; /* In slab */
#define GET_PAGE_STATE_LAST nr_slab