[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220602050631.771414-1-naoya.horiguchi@linux.dev>
Date: Thu, 2 Jun 2022 14:06:26 +0900
From: Naoya Horiguchi <naoya.horiguchi@...ux.dev>
To: linux-mm@...ck.org
Cc: Andrew Morton <akpm@...ux-foundation.org>,
David Hildenbrand <david@...hat.com>,
Mike Kravetz <mike.kravetz@...cle.com>,
Miaohe Lin <linmiaohe@...wei.com>,
Liu Shixin <liushixin2@...wei.com>,
Yang Shi <shy828301@...il.com>,
Oscar Salvador <osalvador@...e.de>,
Muchun Song <songmuchun@...edance.com>,
Naoya Horiguchi <naoya.horiguchi@....com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v1 0/5] mm, hwpoison: enable 1GB hugepage support
Hi,
This patchset enables memory error handling on 1GB hugepage.
"Save raw error page" patch (1/4 of patchset [1]) is necessary, so it's
included in this series (the remaining part of hotplug related things are
still in progress). Patch 2/5 solves issues in a corner case of hugepage
handling, which might not be the main target of this patchset, but slightly
related. It was posted separately [2] but depends on 1/5, so I group them
together.
Patch 3/5 to 5/5 are main part of this series and fix a small issue about
handling 1GB hugepage, which I hope will be workable.
[1]: https://lore.kernel.org/linux-mm/20220427042841.678351-1-naoya.horiguchi@linux.dev/T/#u
[2]: https://lore.kernel.org/linux-mm/20220511151955.3951352-1-naoya.horiguchi@linux.dev/T/
Please let me know if you have any suggestions and comments.
Thanks,
Naoya Horiguchi
---
Summary:
Naoya Horiguchi (5):
mm, hwpoison, hugetlb: introduce SUBPAGE_INDEX_HWPOISON to save raw error page
mm,hwpoison: set PG_hwpoison for busy hugetlb pages
mm, hwpoison: make __page_handle_poison returns int
mm, hwpoison: skip raw hwpoison page in freeing 1GB hugepage
mm, hwpoison: enable memory error handling on 1GB hugepage
include/linux/hugetlb.h | 24 ++++++++++++++++++++++++
include/linux/mm.h | 2 +-
include/ras/ras_event.h | 1 -
mm/hugetlb.c | 9 +++++++++
mm/memory-failure.c | 48 +++++++++++++++++++++---------------------------
5 files changed, 55 insertions(+), 29 deletions(-)
Powered by blists - more mailing lists