lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1600305709-2319-1-git-send-email-vijayb@linux.microsoft.com>
Date:   Wed, 16 Sep 2020 18:21:47 -0700
From:   Vijay Balakrishna <vijayb@...ux.microsoft.com>
To:     Andrew Morton <akpm@...ux-foundation.org>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Oleg Nesterov <oleg@...hat.com>,
        Song Liu <songliubraving@...com>,
        Andrea Arcangeli <aarcange@...hat.com>,
        Pavel Tatashin <pasha.tatashin@...een.com>,
        Vijay Balakrishna <vijayb@...ux.microsoft.com>,
        Michal Hocko <mhocko@...e.com>,
        Allen Pais <apais@...rosoft.com>
Cc:     linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: [v3 0/2] recalculate min_free_kbytes post memory hotplug

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ