Messages in this thread | | | Date | Thu, 15 Jul 2021 16:22:40 +0100 | From | Matthew Wilcox <> | Subject | Re: [PATCH] mm/hwpoison: dissolve error hugepages of file mapping |
| |
On Thu, Jul 15, 2021 at 11:08:52PM +0800, Bin Wang wrote: > We handle error on hugetlb file with hugetlbfs_error_remove_page(), > which removes the error hugepages from page cache. And with the > HWPoison flag in head page, it is safe to free the error hugepages > and dissolve it.
How is that safe? If you're going to dissolve the huge page, you need to figure out which subpage needs to have the HWPoison flag set.
| |