From patchwork Thu Apr 14 11:49:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 12813377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58E8BC433F5 for ; Thu, 14 Apr 2022 11:49:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E683E6B0073; Thu, 14 Apr 2022 07:49:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E18026B0074; Thu, 14 Apr 2022 07:49:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D09CF6B0075; Thu, 14 Apr 2022 07:49:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0078.hostedemail.com [216.40.44.78]) by kanga.kvack.org (Postfix) with ESMTP id C35EF6B0073 for ; Thu, 14 Apr 2022 07:49:19 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 71B01183CEECB for ; Thu, 14 Apr 2022 11:49:19 +0000 (UTC) X-FDA: 79355314038.27.83C4668 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by imf03.hostedemail.com (Postfix) with ESMTP id 8D49920008 for ; Thu, 14 Apr 2022 11:49:18 +0000 (UTC) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KfHgp2fY1zCr2V; Thu, 14 Apr 2022 19:44:54 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 14 Apr 2022 19:49:13 +0800 From: Miaohe Lin To: , CC: , , , , Subject: [PATCH v2 0/2] A few fixup and cleanup patches for memory failure Date: Thu, 14 Apr 2022 19:49:39 +0800 Message-ID: <20220414114941.11223-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Stat-Signature: knjhiy4hc5s7tpyda45nrzuzhhc8pykk Authentication-Results: imf03.hostedemail.com; dkim=none; spf=pass (imf03.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.189 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 8D49920008 X-HE-Tag: 1649936958-243728 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi everyone, This series contains a patch to clean up the HWPoisonHandlable and another one to dissolve truncated hugetlb page. More details can be found in the respective changelogs. Thanks! --- v2: drop patch "mm/memory-failure.c: avoid false-postive PageSwapCache test" collect Reviewed-by and Acked-by tag. update the comment and enhance the commit log for "mm/memory-failure.c: dissolve truncated hugetlb page" Thanks David, Yang Shi and Naoya for review! --- Miaohe Lin (2): mm/memory-failure.c: minor cleanup for HWPoisonHandlable mm/memory-failure.c: dissolve truncated hugetlb page mm/memory-failure.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)