summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-11-10 02:02:20 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2002-11-10 02:02:20 -0800
commit3e4c5912b9043263c64a30591b7ebd3a7ffd9cea (patch)
tree33a21cc2791a59b605cc868759bd6ec39c809488 /include/linux/blkdev.h
parentd9c5338688ac60e265cb61adea26cc790a98f190 (diff)
[PATCH] fix page alloc/free accounting
We're currently incrementing /proc/vmstat:pgalloc in front of the per-cpu page queues, and incrementing /proc/vmstat:pgfree behind the per-cpu queues. So they get out of whack. Change it so that we increment the counters each time someone requests a page. ie: they're both in front of the queues. Also, remove a duplicated prep_new_page() call and as a consequence, drop the whole additional list walk in rmqueue_bulk().
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions