[07/17] vmstat.c: Support accounting for compound pages

2007-04-24 Thread clameter
Compound pages must increment the counters in terms of base pages. If we detect a compound page then add the number of base pages that a compound page has to the counter. This will avoid numerous changes in the VM to fix up page accounting as we add more support for compound pages. Also fix up

[07/17] vmstat.c: Support accounting for compound pages

2007-04-24 Thread clameter
Compound pages must increment the counters in terms of base pages. If we detect a compound page then add the number of base pages that a compound page has to the counter. This will avoid numerous changes in the VM to fix up page accounting as we add more support for compound pages. Also fix up