diff options
| author | Michal Hocko <[email protected]> | 2013-07-08 16:00:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-09 10:33:25 -0700 |
| commit | 5f12733e9d976132e6cbbae9d08f71406fdacdfb (patch) | |
| tree | 144cda4e157dcbedd28757796f40c2a4cb52c92f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 465939a1fa283cf2a5194362c5accf4429c99c42 (diff) | |
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 <[email protected]>
Cc: Mel Gorman <[email protected]>
Acked-by: Zhang Yanfei <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions