]> err.no Git - linux-2.6/commit
[PATCH] zoned vm counters: remove NR_FILE_MAPPED from scan control structure
authorChristoph Lameter <clameter@sgi.com>
Fri, 30 Jun 2006 08:55:36 +0000 (01:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 30 Jun 2006 18:25:35 +0000 (11:25 -0700)
commitbf02cf4b6cf931d060ad5c6ce9b960af6faefd2d
tree9856eceb13b2c86c7748f4060bbb3b35008b7ee0
parent347ce434d57da80fd5809c0c836f206a50999c26
[PATCH] zoned vm counters: remove NR_FILE_MAPPED from scan control structure

We can now access the number of pages in a mapped state in an inexpensive way
in shrink_active_list.  So drop the nr_mapped field from scan_control.

[akpm@osdl.org: bugfix]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c