diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2016-08-11 01:27:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-11 01:40:56 +0200 |
commit | 6423aa8192c596848e1b23bd4193dc0924e7274d (patch) | |
tree | e3e3282feeca26ae275a2a46f887d71542a06bc8 /mm/Kconfig.debug | |
parent | mm/page_alloc.c: fix wrong initialization when sysctl_min_unmapped_ratio changes (diff) | |
download | linux-6423aa8192c596848e1b23bd4193dc0924e7274d.tar.xz linux-6423aa8192c596848e1b23bd4193dc0924e7274d.zip |
mm/page_alloc.c: recalculate some of node threshold when on/offline memory
Some of node threshold depends on number of managed pages in the node.
When memory is going on/offline, it can be changed and we need to adjust
them.
Add recalculation to appropriate places and clean-up related functions
for better maintenance.
Link: http://lkml.kernel.org/r/1470724248-26780-2-git-send-email-iamjoonsoo.kim@lge.com
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions