aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index f564717d22f3..542fc088ff50 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3199,7 +3199,8 @@ int min_free_kbytes_sysctl_handler(ctl_table *table, int write,
3199 struct file *file, void __user *buffer, size_t *length, loff_t *ppos) 3199 struct file *file, void __user *buffer, size_t *length, loff_t *ppos)
3200{ 3200{
3201 proc_dointvec(table, write, file, buffer, length, ppos); 3201 proc_dointvec(table, write, file, buffer, length, ppos);
3202 setup_per_zone_pages_min(); 3202 if (write)
3203 setup_per_zone_pages_min();
3203 return 0; 3204 return 0;
3204} 3205}
3205 3206