lkml.org 
[lkml]   [2021]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v2 0/5] Cleanup and fixup for hugetlb
    Date
    Hi all,
    This series contains cleanups to remove redundant VM_BUG_ON() and
    simplify the return code. Also this handles the error case in
    hugetlb_fix_reserve_counts() correctly. More details can be found
    in the respective changelogs. Thanks!

    v1->v2:
    collect Reviewed-by tag
    remove the HPAGE_RESV_OWNER check per Mike
    add a comment to hugetlb_unreserve_pages per Mike
    expand warning message a bit for hugetlb_fix_reserve_counts
    Add a new patch to remove unused variable
    Many thanks for Mike's review and suggestion!

    Miaohe Lin (5):
    mm/hugeltb: remove redundant VM_BUG_ON() in region_add()
    mm/hugeltb: simplify the return code of __vma_reservation_common()
    mm/hugeltb: clarify (chg - freed) won't go negative in
    hugetlb_unreserve_pages()
    mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
    mm/hugetlb: remove unused variable pseudo_vma in
    remove_inode_hugepages()

    fs/hugetlbfs/inode.c | 3 ---
    mm/hugetlb.c | 57 +++++++++++++++++++++++++-------------------
    2 files changed, 33 insertions(+), 27 deletions(-)

    --
    2.19.1

    \
     
     \ /
      Last update: 2021-04-10 09:25    [W:6.230 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site