diff options
author | Vijay Balakrishna <[email protected]> | 2020-10-10 23:16:40 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-10-11 10:31:11 -0700 |
commit | 4aab2be0983031a05cb4a19696c9da5749523426 (patch) | |
tree | fdcd0839b793970a43c03f3201c0878ccc4cd611 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8b7b2eb131d3476062ffd34358785b44be25172f (diff) |
mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged
When memory is hotplug added or removed the min_free_kbytes should be
recalculated based on what is expected by khugepaged. Currently after
hotplug, min_free_kbytes will be set to a lower default and higher
default set when THP enabled is lost.
This change restores min_free_kbytes as expected for THP consumers.
[[email protected]: v5]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: f000565adb77 ("thp: set recommended min free kbytes")
Signed-off-by: Vijay Balakrishna <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Pavel Tatashin <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Allen Pais <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Song Liu <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions