mbox series

[0/5] mm/hugetlb: Small cleanup and improvement

Message ID 20200720062623.13135-1-bhe@redhat.com (mailing list archive)
Headers show
Series mm/hugetlb: Small cleanup and improvement | expand

Message

Baoquan He July 20, 2020, 6:26 a.m. UTC
Patch 1~4 are small cleanup.

Patch 5 is to add warning message when failed to increase or decrease
the expected number of persistent huge pages by writing into
/proc/sys/vm/nr_hugepages
/sys/kernel/mm/hugepages/hugepages-xxx/nr_hugepages.

Baoquan He (5):
  mm/hugetlb.c: Fix typo of glb_reserve
  mm/hugetlb.c: make is_hugetlb_entry_hwpoisoned return bool
  mm/hugetlb.c: Remove the unnecessary non_swap_entry()
  doc/vm: fix typo in in the hugetlb admin documentation
  mm/hugetl.c: warn out if expected count of huge pages adjustment is
    not achieved

 Documentation/admin-guide/mm/hugetlbpage.rst |  2 +-
 mm/hugetlb.c                                 | 49 ++++++++++++--------
 2 files changed, 31 insertions(+), 20 deletions(-)