diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2006-01-06 03:11:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:26 -0500 |
commit | 9328b8faae922e52073785ed6c1eaa8565648a0e (patch) | |
tree | 065034bc534a4997197d26acf1774725159e4e65 /mm | |
parent | 7756b9e4e321c3c83c7aa5b9532d3e7fd7ddeb4a (diff) |
[PATCH] mm: dma32 zone statistics
Add dma32 to zone statistics. Also attempt to arrange struct page_state a
bit better (visually).
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index cdad3249cf7f..e12154d9c4ed 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -2277,32 +2277,40 @@ static char *vmstat_text[] = { | |||
2277 | "pgpgout", | 2277 | "pgpgout", |
2278 | "pswpin", | 2278 | "pswpin", |
2279 | "pswpout", | 2279 | "pswpout", |
2280 | "pgalloc_high", | ||
2281 | 2280 | ||
2281 | "pgalloc_high", | ||
2282 | "pgalloc_normal", | 2282 | "pgalloc_normal", |
2283 | "pgalloc_dma32", | ||
2283 | "pgalloc_dma", | 2284 | "pgalloc_dma", |
2285 | |||
2284 | "pgfree", | 2286 | "pgfree", |
2285 | "pgactivate", | 2287 | "pgactivate", |
2286 | "pgdeactivate", | 2288 | "pgdeactivate", |
2287 | 2289 | ||
2288 | "pgfault", | 2290 | "pgfault", |
2289 | "pgmajfault", | 2291 | "pgmajfault", |
2292 | |||
2290 | "pgrefill_high", | 2293 | "pgrefill_high", |
2291 | "pgrefill_normal", | 2294 | "pgrefill_normal", |
2295 | "pgrefill_dma32", | ||
2292 | "pgrefill_dma", | 2296 | "pgrefill_dma", |
2293 | 2297 | ||
2294 | "pgsteal_high", | 2298 | "pgsteal_high", |
2295 | "pgsteal_normal", | 2299 | "pgsteal_normal", |
2300 | "pgsteal_dma32", | ||
2296 | "pgsteal_dma", | 2301 | "pgsteal_dma", |
2302 | |||
2297 | "pgscan_kswapd_high", | 2303 | "pgscan_kswapd_high", |
2298 | "pgscan_kswapd_normal", | 2304 | "pgscan_kswapd_normal", |
2299 | 2305 | "pgscan_kswapd_dma32", | |
2300 | "pgscan_kswapd_dma", | 2306 | "pgscan_kswapd_dma", |
2307 | |||
2301 | "pgscan_direct_high", | 2308 | "pgscan_direct_high", |
2302 | "pgscan_direct_normal", | 2309 | "pgscan_direct_normal", |
2310 | "pgscan_direct_dma32", | ||
2303 | "pgscan_direct_dma", | 2311 | "pgscan_direct_dma", |
2304 | "pginodesteal", | ||
2305 | 2312 | ||
2313 | "pginodesteal", | ||
2306 | "slabs_scanned", | 2314 | "slabs_scanned", |
2307 | "kswapd_steal", | 2315 | "kswapd_steal", |
2308 | "kswapd_inodesteal", | 2316 | "kswapd_inodesteal", |