]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b344f80bf4898cc251013370d61265fbb62d70b
tree349dcd7f40a1b1d25702180493b93b720242a9bd
parent1ebd5c9fe4966d865d9431b2d9608b1f21f9bb9b
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