From patchwork Mon Feb 28 14:02:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 12763344 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 974AAC433F5 for ; Mon, 28 Feb 2022 14:03:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BB38B8D0005; Mon, 28 Feb 2022 09:03:37 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B44298D0001; Mon, 28 Feb 2022 09:03:37 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9A1228D0006; Mon, 28 Feb 2022 09:03:37 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0065.hostedemail.com [216.40.44.65]) by kanga.kvack.org (Postfix) with ESMTP id 755F88D0001 for ; Mon, 28 Feb 2022 09:03:37 -0500 (EST) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 2F426180A7F85 for ; Mon, 28 Feb 2022 14:03:37 +0000 (UTC) X-FDA: 79192356474.27.9523AFC Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf17.hostedemail.com (Postfix) with ESMTP id C7D1B40014 for ; Mon, 28 Feb 2022 14:03:35 +0000 (UTC) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4K6hs36tBBzccww; Mon, 28 Feb 2022 22:02:15 +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.2308.21; Mon, 28 Feb 2022 22:03:31 +0800 From: Miaohe Lin To: , CC: , , Subject: [PATCH 0/4] A few fixup patches for memory failure Date: Mon, 28 Feb 2022 22:02:41 +0800 Message-ID: <20220228140245.24552-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-Rspamd-Queue-Id: C7D1B40014 X-Stat-Signature: mh9rappquajxkst5shbo9soy8wc3asxc Authentication-Results: imf17.hostedemail.com; dkim=none; spf=pass (imf17.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1646057015-904071 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 few patches to fix the race with changing page compound page, fix potential VM_BUG_ON_PAGE and so on. More details can be found in the respective changelogs. Thanks! Miaohe Lin (4): mm/memory-failure.c: fix race with changing page compound again mm/memory-failure.c: fix wrong user reference report mm/memory-failure.c: avoid calling invalidate_inode_page() with unexpected pages mm/memory-failure.c: fix potential VM_BUG_ON_PAGE in split_huge_page_to_list mm/memory-failure.c | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-)