diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page-writeback.c | 3 | ||||
-rw-r--r-- | mm/vmstat.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index c90a1e8e479f..789b6adbef37 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -211,7 +211,8 @@ clip_bdi_dirty_limit(struct backing_dev_info *bdi, long dirty, long *pbdi_dirty) | |||
211 | avail_dirty = dirty - | 211 | avail_dirty = dirty - |
212 | (global_page_state(NR_FILE_DIRTY) + | 212 | (global_page_state(NR_FILE_DIRTY) + |
213 | global_page_state(NR_WRITEBACK) + | 213 | global_page_state(NR_WRITEBACK) + |
214 | global_page_state(NR_UNSTABLE_NFS)); | 214 | global_page_state(NR_UNSTABLE_NFS) + |
215 | global_page_state(NR_WRITEBACK_TEMP)); | ||
215 | 216 | ||
216 | if (avail_dirty < 0) | 217 | if (avail_dirty < 0) |
217 | avail_dirty = 0; | 218 | avail_dirty = 0; |
diff --git a/mm/vmstat.c b/mm/vmstat.c index 280a7ed549f2..1a32130b958c 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
@@ -612,6 +612,7 @@ static const char * const vmstat_text[] = { | |||
612 | "nr_unstable", | 612 | "nr_unstable", |
613 | "nr_bounce", | 613 | "nr_bounce", |
614 | "nr_vmscan_write", | 614 | "nr_vmscan_write", |
615 | "nr_writeback_temp", | ||
615 | 616 | ||
616 | #ifdef CONFIG_NUMA | 617 | #ifdef CONFIG_NUMA |
617 | "numa_hit", | 618 | "numa_hit", |