diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2016-01-14 18:20:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-14 19:00:49 -0500 |
commit | a8d0143730d7b42c9fe6d1435d92ecce6863a62a (patch) | |
tree | 349dcd7f40a1b1d25702180493b93b720242a9bd /include/linux/mmzone.h | |
parent | c20cd45eb01748f0fba77a504f956b000df4ea73 (diff) |
mm: page_alloc: generalize the dirty balance reserve
The dirty balance reserve that dirty throttling has to consider is
merely memory not available to userspace allocations. There is nothing
writeback-specific about it. Generalize the name so that it's reusable
outside of that context.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r-- | include/linux/mmzone.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 3b6fb71bbeb3..33bb1b19273e 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -356,10 +356,10 @@ struct zone { | |||
356 | struct per_cpu_pageset __percpu *pageset; | 356 | struct per_cpu_pageset __percpu *pageset; |
357 | 357 | ||
358 | /* | 358 | /* |
359 | * This is a per-zone reserve of pages that should not be | 359 | * This is a per-zone reserve of pages that are not available |
360 | * considered dirtyable memory. | 360 | * to userspace allocations. |
361 | */ | 361 | */ |
362 | unsigned long dirty_balance_reserve; | 362 | unsigned long totalreserve_pages; |
363 | 363 | ||
364 | #ifndef CONFIG_SPARSEMEM | 364 | #ifndef CONFIG_SPARSEMEM |
365 | /* | 365 | /* |