mbox series

[v2,0/4] mm/hugetlb: Small cleanup and improvement

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

Message

Baoquan He July 23, 2020, 3:22 a.m. UTC
v1 is here:
https://lore.kernel.org/linux-mm/20200720062623.13135-1-bhe@redhat.com/

Patch 1~3 are small clean up.

Patch 4 is adding warning message when the number of persistent huge
pages is not changed to the exact value written to the sysfs or proc
nr_hugepages file.

v1->v2:
  Drop the old patch 1/5 in v1 post, which was thought as typo, while
  actually another kind of abbreviation.

  Updated patch log of patch 4 which is rephrased by Mike. And move the
  added message logging code after the hugetlb_lock dropping, this is
  suggested by Mike.


Baoquan He (4):
  mm/hugetlb.c: make is_hugetlb_entry_hwpoisoned return bool
  mm/hugetlb.c: Remove the unnecessary non_swap_entry()
  doc/vm: fix typo 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                                 | 27 +++++++++++++++-----
 2 files changed, 21 insertions(+), 8 deletions(-)

Comments

Mike Kravetz Aug. 24, 2020, 9:57 p.m. UTC | #1
Hello Andrew,

Unless someone objects, can you add patches 1-3 of this series to your tree.
They have been reviewed and are fairly simple cleanups.