Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32959821rwd; Sat, 8 Jul 2023 02:24:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlFa6GcynMBoy6w2NIsbmxDLeQDlEzG9NS+MQYrDD+6sOn17GAZFaUjP28AE6Mwm3HulOM8N X-Received: by 2002:a05:6a20:8418:b0:12f:fef8:ceba with SMTP id c24-20020a056a20841800b0012ffef8cebamr12123315pzd.18.1688808247429; Sat, 08 Jul 2023 02:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688808247; cv=none; d=google.com; s=arc-20160816; b=lcL6pqVuod07edo8ajD7uWnPnwXdvgp44FsC2kte2jmLuo0eJpJX6ZvOaRoerboWfY UG0t8PNTKgfS5T5KqoeykoafwjEbpwBupDxStjc2OQBLsfYMMP8/AzGwLwfNc0t3Bf8S z0Kt1PX0Ie8p/wwyv3yKpT2cbMb7+XSIqbH1PZOiySHEvU8Wt5kmwzKU8lVRWFhGT8tS pjMjG56z7qXolERm5gxcILEfcNpw2CNMoTgm5ROYod2KivkolAZikWZmUrfItBtqwP5u ifTqCL+/DTQEHVG7W3RIz//Tfh+JTBNF7tzOhYQwlL9wAk5QD+CIT0gAe1nJ+vFFIS7g yNog== 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=BuYA0wfn3H+eqdQLF8nN49hmAN5Ii+YUR/sv8joyKyI=; fh=4o7DIXI/66oHEW09L3854GeQKXh9nrvBy5ZxENMFBvA=; b=sS0586PJXN1Jd4EjhYFBOTQLa7bVJ/CtwmPCOVKGzluZIQJbWDGiw4nDURGWk03d08 tzDYInfel5sS7S/5Z2OUdfYHoUU1EzJfRad9FP6wOLq2cok6izQkycMeaFvgqDiUADHp 7Gy96pTK8h+Hzqa4rpdr51FP+gqWavU7xvT/G/2FRPHTb7nhkKxFMizR2cOLR4le1iYE dhypEJaZ+u99f9H9wiiFshag4GMf6A3w65IlR8SxSVHAl9FZLOGz6o1Ny02nEraPOSIE PWtW9OydBfTaKXrksH9HNdn2t8iX+2BG9EHSQ49NwClRSiyCl2pui4c2Tn1xNxiD+YWT aALw== 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 w63-20020a638242000000b005574c3ac68esi5659243pgd.489.2023.07.08.02.23.55; Sat, 08 Jul 2023 02:24:07 -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 S230499AbjGHI5q (ORCPT + 99 others); Sat, 8 Jul 2023 04:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbjGHI5f (ORCPT ); Sat, 8 Jul 2023 04:57:35 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5F351FEF for ; Sat, 8 Jul 2023 01:57:32 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Qykdd5Fb2zTkg4; Sat, 8 Jul 2023 16:56:21 +0800 (CST) Received: from huawei.com (10.174.151.185) 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.2507.27; Sat, 8 Jul 2023 16:57:28 +0800 From: Miaohe Lin To: , CC: , , Subject: [PATCH 0/8] A few fixup and cleanup patches for memory-failure Date: Sat, 8 Jul 2023 16:57:36 +0800 Message-ID: <20230708085744.3599311-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) 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, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 potential permanently locked hpage, fix race window when trying to get hugetlb folio and so on. Also there is minor cleanup for comments and codestyle. More details can be found in the respective changelogs. Thanks! Miaohe Lin (8): mm: memory-failure: fix potential permanently locked hpage mm: memory-failure: ensure moving HWPoison flag to the raw error pages mm: memory-failure: Don't account hwpoison_filter() filtered pages mm: memory-failure: use local variable huge to check hugetlb page mm: memory-failure: remove unneeded header files mm: memory-failure: minor cleanup for comments and codestyle mm: memory-failure: fetch compound head after extra page refcnt is held mm: memory-failure: fix race window when trying to get hugetlb folio mm/memory-failure.c | 49 +++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 19 deletions(-) -- 2.33.0