Messages in this thread | | | Date | Sat, 26 Nov 2022 09:38:07 +0800 | Subject | Re: [PATCH] pmem: use TestClearPageHWPoison() directly | From | Kefeng Wang <> |
| |
On 2022/11/26 8:41, Andrew Morton wrote: > On Fri, 25 Nov 2022 19:53:08 +0800 Kefeng Wang <wangkefeng.wang@huawei.com> wrote: > >> Add TESTSCFLAG_FALSE(HWPoison, hwpoison) for HWPoison in >> page flags, then drop privite test_and_clear_pmem_poison(). > Why? Just a cleanup,the TestClearPageHWPoison is used in pmem.c, but it has own stub when MEMORY_FAILURE not enabled, so add TESTSCFLAG_FALSE() for HWpoison in case similar scenario, if there are some rules about it,please ignore it. > .
| |