Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp402927rwb; Thu, 18 Aug 2022 06:03:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5P1z7HO8b75tpVJXR0nkpKQAUG6rNWW8kK9fQuJCjGXPkVxrlmL5ymruLotS6rkJBcxG0G X-Received: by 2002:a17:90b:1804:b0:1f5:946:6b6f with SMTP id lw4-20020a17090b180400b001f509466b6fmr3087581pjb.160.1660827808555; Thu, 18 Aug 2022 06:03:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660827808; cv=none; d=google.com; s=arc-20160816; b=sCHDqC9R7hocYwGKkIMxuPHAPXIBILdxPIlhttTlAH/z86mVB13gbFJ64hTqmfaanq 92RZanCbRFtKGdWHyKBRCU8yGJcDr5gc7YPAvpSIDu8DvJ5bHWmSmE5KOVvCTxRSmkm5 rLzzEsQZ6XcbUQTPo8Z5ZMd3b/QfuwWJbx93ZxDe8m68PxFezAsv1HwSOUfWj2uJu2FC D3xlHaDhYcazDJkm7UhI1atw8kWn/HQb31GHjAC8voME/0BM2l/PmfPmZmOr6fPtaXYA yAOvE5BIbzKIGVN6EI5G8oK3nt21Mz7rtyW+F/5AV+mzFtWIP+95fR+BZpxIBjNGwtkr I1tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=bjElWNpvHfa/+DL3qvgZ2t7VaLI1x1luOpgPGNxKrvc=; b=rR48wLxdRslNbg6HlRzX0MUz7oS5f8Lc7wANQ+6FI7CbcqAlmNcVGZgqSJ2iD5zEJ3 NSsjOkD24muQlrcBHFVU4dfzZTbIa7IrIIbTa8NhqLpc+J00PKI0QdVn5gdD2GAL5NNe oBOl4iMwVqbyxOCnoHiB6DDdUscFMZ9lV+JY/T9Fu6YfYzNYwxY3OtlQUioaKBXcxDn4 zCyUyxGLeSgx5jRRczb01iTSXEkdwBcUDny8l/HpDxj/ljhz0Ceny808c7nojGqy5jnm HGZRhvvwF4+6i44CBG9tmCZ7qRAtvH20Ta72v3ORS2QL2aRRcCT7yTkUPHrDkWjIpdy3 1Ukw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u184-20020a6385c1000000b0042a1235c022si906783pgd.160.2022.08.18.06.03.15; Thu, 18 Aug 2022 06:03:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244611AbiHRNAr (ORCPT + 99 others); Thu, 18 Aug 2022 09:00:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241068AbiHRNAo (ORCPT ); Thu, 18 Aug 2022 09:00:44 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D571061DA7 for ; Thu, 18 Aug 2022 06:00:42 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4M7lKB6b1Vz1N7Kl; Thu, 18 Aug 2022 20:57:18 +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, 18 Aug 2022 21:00:40 +0800 From: Miaohe Lin To: , CC: , , Subject: [PATCH 0/6] A few fixup patches for hugetlb Date: Thu, 18 Aug 2022 21:00:10 +0800 Message-ID: <20220818130016.45313-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, This series contains a few fixup patches to fix incorrect update of page refcnt, fix possible use-after-free issue and so on. More details can be found in the respective changelogs. Thanks! Miaohe Lin (6): mm, hwpoison: fix page refcnt leaking in try_memory_failure_hugetlb() mm, hwpoison: fix page refcnt leaking in unpoison_memory() mm, hwpoison: fix extra put_page() in soft_offline_page() mm, hwpoison: fix possible use-after-free in mf_dax_kill_procs() mm, hwpoison: kill procs if unmap fails mm, hwpoison: avoid trying to unpoison reserved page mm/memory-failure.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) -- 2.23.0