mm: page_alloc: generalize the dirty balance reserve
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 14 Jan 2016 23:20:15 +0000 (15:20 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commita8d0143730d7b42c9fe6d1435d92ecce6863a62a
tree349dcd7f40a1b1d25702180493b93b720242a9bd
parentc20cd45eb01748f0fba77a504f956b000df4ea73
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>
include/linux/mmzone.h
include/linux/swap.h
mm/page-writeback.c
mm/page_alloc.c