diff options
| author | Michal Hocko <mhocko@suse.cz> | 2013-07-08 16:00:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 10:33:25 -0700 |
| commit | 5f12733e9d976132e6cbbae9d08f71406fdacdfb (patch) | |
| tree | 144cda4e157dcbedd28757796f40c2a4cb52c92f /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | memcg: don't need to free memcg via RCU or workqueue (diff) | |
| download | linux-5f12733e9d976132e6cbbae9d08f71406fdacdfb.tar.gz linux-5f12733e9d976132e6cbbae9d08f71406fdacdfb.zip | |
mm: honor min_free_kbytes set by user
min_free_kbytes is updated during memory hotplug (by
init_per_zone_wmark_min) currently which is right thing to do in most
cases but this could be unexpected if admin increased the value to
prevent from allocation failures and the new min_free_kbytes would be
decreased as a result of memory hotadd.
This patch saves the user defined value and allows updating
min_free_kbytes only if it is higher than the saved one.
A warning is printed when the new value is ignored.
Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Mel Gorman <mgorman@suse.de>
Acked-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
