Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2018-08-03 14:09:55 +0200
committerJohannes Thumshirn <jthumshirn@suse.de>2018-08-03 14:09:55 +0200
commitd4d1c5702fe4237a6f1509861b161961f77ce20f (patch)
tree6aa538532591d564636252db36ca9c48df41e8ee
parent9adf761ac4a67d764ef3881ce8a24c238c7a9a3f (diff)
parent1bb67269b3c8eba0298855b6bcf23546950e9019 (diff)
Merge remote-tracking branch 'origin/users/mhocko/SLE12-SP4/for-next' into SLE12-SP4
Pull page cache limit fix from Michal Hocko. suse-commit: 32c18d63fb04c4be1b3e48725e4fc1c10f888d12
-rw-r--r--mm/vmstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 62bc1db33bc7..178e4377f3fa 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -1611,7 +1611,8 @@ static void *vmstat_start(struct seq_file *m, loff_t *pos)
stat_items_size = NR_VM_ZONE_STAT_ITEMS * sizeof(unsigned long) +
NR_VM_NUMA_STAT_ITEMS * sizeof(unsigned long) +
NR_VM_NODE_STAT_ITEMS * sizeof(unsigned long) +
- NR_VM_WRITEBACK_STAT_ITEMS * sizeof(unsigned long);
+ NR_VM_WRITEBACK_STAT_ITEMS * sizeof(unsigned long) +
+ NR_PAGECACHE_LIMIT_ITEMS * sizeof(unsigned long);
#ifdef CONFIG_VM_EVENT_COUNTERS
stat_items_size += sizeof(struct vm_event_state);