diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2007-10-17 02:25:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:45 -0400 |
commit | c9e51e4180696aa67915ec5665e4ec74125565de (patch) | |
tree | d66e1427b16e56bc7da0dfb583a6d8edb55a2c3e /include | |
parent | b2e8fb6efa209c82203c79b491b5bc952d44aa57 (diff) |
mm: count reclaimable pages per BDI
Count per BDI reclaimable pages; nr_reclaimable = nr_dirty + nr_unstable.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/backing-dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index f7677ff80cc5..bfae09d2a1eb 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
@@ -27,6 +27,7 @@ enum bdi_state { | |||
27 | typedef int (congested_fn)(void *, int); | 27 | typedef int (congested_fn)(void *, int); |
28 | 28 | ||
29 | enum bdi_stat_item { | 29 | enum bdi_stat_item { |
30 | BDI_RECLAIMABLE, | ||
30 | NR_BDI_STAT_ITEMS | 31 | NR_BDI_STAT_ITEMS |
31 | }; | 32 | }; |
32 | 33 | ||