[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250219154156.2fa7e0f63838e80f8456f1d5@linux-foundation.org>
Date: Wed, 19 Feb 2025 15:41:56 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Wupeng Ma <mawupeng1@...wei.com>
Cc: <david@...hat.com>, <osalvador@...e.de>, <nao.horiguchi@...il.com>,
<linmiaohe@...wei.com>, <mhocko@...e.com>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] mm: memory-failure: update ttu flag inside
unmap_poisoned_folio
On Wed, 19 Feb 2025 14:06:52 +0800 Wupeng Ma <mawupeng1@...wei.com> wrote:
>
> ...
>
Thanks, I queued the below fix, so people can see what changed from v2:
From: Ma Wupeng <mawupeng1@...wei.com>
Subject: mm-memory-failure-update-ttu-flag-inside-unmap_poisoned_folio-v3
Date: Wed, 19 Feb 2025 14:06:52 +0800
unmap_poisoned_folio(): remove shadowed local `mapping', per Miaohe
Link: https://lkml.kernel.org/r/20250219060653.3849083-1-mawupeng1@huawei.com
Fixes: 6da6b1d4a7df ("mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISON")
Suggested-by: David Hildenbrand <david@...hat.com>
Signed-off-by: Ma Wupeng <mawupeng1@...wei.com>
Acked-by: David Hildenbrand <david@...hat.com>
Acked-by: Miaohe Lin <linmiaohe@...wei.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---
mm/memory-failure.c | 2 --
1 file changed, 2 deletions(-)
--- a/mm/memory-failure.c~mm-memory-failure-update-ttu-flag-inside-unmap_poisoned_folio-v3
+++ a/mm/memory-failure.c
@@ -1585,8 +1585,6 @@ int unmap_poisoned_folio(struct folio *f
}
if (folio_test_hugetlb(folio) && !folio_test_anon(folio)) {
- struct address_space *mapping;
-
/*
* For hugetlb folios in shared mappings, try_to_unmap
* could potentially call huge_pmd_unshare. Because of
_
Powered by blists - more mailing lists