[PATCH v2 0/6] A few fixup patches for hugetlb

From: Miaohe Lin
Date: Mon Aug 22 2022 - 23:04:40 EST


Hi everyone,
This series contains a few fixup patches to fix incorrect update of
max_huge_pages, fix WARN_ON(!kobj) in sysfs_create_group() and so on.
More details can be found in the respective changelogs.
Thanks!

---
v2:
Collect Reviewed-by tag per Mike, Muchun and Fengwei. Thanks!
Remove err == -EEXIST check and retry logic in 3/6.
Remove unused local variable dst_entry per Lukas. Thanks!
---
Miaohe Lin (6):
mm/hugetlb: fix incorrect update of max_huge_pages
mm/hugetlb: fix WARN_ON(!kobj) in sysfs_create_group()
mm/hugetlb: fix missing call to restore_reserve_on_error()
mm: hugetlb_vmemmap: add missing smp_wmb() before set_pte_at()
mm/hugetlb: fix sysfs group leak in hugetlb_unregister_node()
mm/hugetlb: make detecting shared pte more reliable

mm/hugetlb.c | 61 +++++++++++++++++++++++++++-----------------
mm/hugetlb_vmemmap.c | 5 ++++
2 files changed, 42 insertions(+), 24 deletions(-)

--
2.23.0