[v3 0/2] recalculate min_free_kbytes post memory hotplug

From: Vijay Balakrishna
Date: Wed Sep 16 2020 - 21:22:07 EST


v2 -> v3
--------
[v2 1/2]
- removed symptoms references from changelog

[v2 2/2]
- addressed following issues Michal Hocko raised:
. nr_free_buffer_pages can oveflow in int on very large machines
. min_free_kbytes can decrease the size theoretically

v1 -> v2
--------
- addressed issue Kirill A. Shutemov raised:
. changes would override min_free_kbytes set by user

Vijay Balakrishna (2):
mm: khugepaged: recalculate min_free_kbytes after memory hotplug as
expected by khugepaged
mm: khugepaged: avoid overriding min_free_kbytes set by user

include/linux/khugepaged.h | 5 +++++
mm/khugepaged.c | 16 +++++++++++++---
mm/memory_hotplug.c | 3 +++
mm/page_alloc.c | 2 +-
4 files changed, 22 insertions(+), 4 deletions(-)

--
2.28.0