[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210410072348.20437-1-linmiaohe@huawei.com>
Date: Sat, 10 Apr 2021 03:23:43 -0400
From: Miaohe Lin <linmiaohe@...wei.com>
To: <akpm@...ux-foundation.org>, <mike.kravetz@...cle.com>
CC: <linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>,
<linmiaohe@...wei.com>, <linfeilong@...wei.com>
Subject: [PATCH v2 0/5] Cleanup and fixup for hugetlb
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
Powered by blists - more mailing lists