summaryrefslogtreecommitdiff
path: root/include/linux/kernel_stat.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-10-02 22:58:11 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-02 22:58:11 -0700
commit7e96bae145f0f6bf287e5ba11679c114ed76f5d7 (patch)
tree3863fb93e4d147b546e68216b5e05129521abdce /include/linux/kernel_stat.h
parent15e19695f630adab6b1988d21a069cb0a0bfe677 (diff)
[PATCH] add kswapd success accounting to /proc/vmstat
Tells us how many pages were reclaimed by kswapd. The `pgsteal' statistic tells us how many pages were reclaimed altogether. So kswapd_steal - pgsteal is the number of pages which were directly reclaimed by page allocating processes. Also, the `pgscan' data is currently counting the number of pages scanned in shrink_cache() plus the number of pages scanned in refill_inactive_zone(). These are rather separate concepts, so I created the new `pgrefill' counter for refill_inactive_zone(). `pgscan' is now just the number of pages scanned in shrink_cache().
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions