diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-10-02 22:58:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-02 22:58:11 -0700 |
| commit | 7e96bae145f0f6bf287e5ba11679c114ed76f5d7 (patch) | |
| tree | 3863fb93e4d147b546e68216b5e05129521abdce /include/linux/kernel_stat.h | |
| parent | 15e19695f630adab6b1988d21a069cb0a0bfe677 (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
