mbox series

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

Message ID 20220823030209.57434-1-linmiaohe@huawei.com (mailing list archive)
Headers show
Series A few fixup patches for hugetlb | expand

Message

Miaohe Lin Aug. 23, 2022, 3:02 a.m. UTC
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(-)