Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp30508imn; Wed, 3 Aug 2022 18:15:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR7++lS+0h7d3BC4GnOom87fW+EODPRRqXBoRDlurXtnzZtI9jKfZnHKERSPL0Z0a+C/7c3o X-Received: by 2002:a05:6402:28c8:b0:43e:8622:1c21 with SMTP id ef8-20020a05640228c800b0043e86221c21mr197651edb.135.1659575744772; Wed, 03 Aug 2022 18:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659575744; cv=none; d=google.com; s=arc-20160816; b=ajyJaY+M9J0U8X5xAwSlhEdSEy/QP6Xwh1E7kB+No1Sff+xHaVH2/ZEx9B05rBCEbn ZX28s1OXDGKnMk2+x0HIUq1Sd3NKvDdisnK6O9dJNH6Y8EJjXAQKqj7CyDYuafiOmqyQ Bu8Mj8eNBcfZD2gpX/HgDZ/Ec1vflUAOWaOPrmRtYfqd6hEqSlYO0EWaZFYJMQPm4qVM F6Xplb+5pycXu/lrKmFAj0Mbp7HkqhDobppidLzzkkqVTdRyaXlY1M0m32SXgT1jz5mO A1DKwMCASc/y/p37PRHp5j/Rsw5hG292+mOwIHg/cJ2ycqlMpT+ou3Wi/W5nxaNGXajO o2Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Itsy3cJcDRg8rOOMnmQh1IRfnC3lz+TjeLwlI/X0W6U=; b=GpbwAiVX9bAzExeET1ZJyhl0hHWF+iKzdlb8fbh1DnAZI/4H39XCf6yhHJ/w9Lxp21 CpZsud+4UtUOjeF1XWrD5eEjcMXIldmk8F4gKs4aKNcIcwJj1rmRAMBsTsZwauKSKnC3 VGclSN5PWGivFefkVVsH/2s95yYxIQ0bBzMR2591dW+3dhx8+6zZrqKgE9aUNsMPToF7 d5uPEa5rV28FvADhPIxB07zkcevhAzJDrxlildst2+cVL3PxZBQHjxXwDfezbIjoGPSt KKdkK/YyC1DpVWJOpFo7U/w3/D/0MHTBfzV4uNKJdzC4b/rfx9n4XDiTAIRDWwNgRiu1 EIZQ== 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 cs21-20020a170906dc9500b00730951e6030si7075518ejc.188.2022.08.03.18.14.47; Wed, 03 Aug 2022 18:15:44 -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 S238893AbiHDBEF (ORCPT + 99 others); Wed, 3 Aug 2022 21:04:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229986AbiHDBED (ORCPT ); Wed, 3 Aug 2022 21:04:03 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E131818E1C for ; Wed, 3 Aug 2022 18:04:01 -0700 (PDT) Received: from dggpemm500021.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Lyr542xbwzjXX1; Thu, 4 Aug 2022 09:00:56 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500021.china.huawei.com (7.185.36.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 4 Aug 2022 09:03:59 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 4 Aug 2022 09:03:59 +0800 Message-ID: Date: Thu, 4 Aug 2022 09:03:59 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] mm: memory-failure: cleanup try_to_split_thp_page() Content-Language: en-US To: =?UTF-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPoyDnm7TkuZ8p?= CC: Miaohe Lin , Andrew Morton , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" References: <20220802021256.162269-1-wangkefeng.wang@huawei.com> <20220804004552.GA3631345@hori.linux.bs1.fc.nec.co.jp> From: Kefeng Wang In-Reply-To: <20220804004552.GA3631345@hori.linux.bs1.fc.nec.co.jp> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 On 2022/8/4 8:45, HORIGUCHI NAOYA(堀口 直也) wrote: > On Tue, Aug 02, 2022 at 10:12:56AM +0800, Kefeng Wang wrote: >> Since commit 5d1fd5dc877b ("mm,hwpoison: introduce MF_MSG_UNSPLIT_THP"), >> the action_result() called to show memory error event in memory_failure(), >> so the pr_info() in try_to_split_thp_page() is only needed in >> soft_offline_in_use_page(). >> >> Signed-off-by: Kefeng Wang > Thanks, looks good to me. Probably this patch may come before > "mm: memory-failure: convert to pr_fmt()" to be a cleanup. > > And recently another patch [1] is trying to change the same function, so we > might need to resolve the conflict with it. I expect it's not so hard, but > I think your series had better come after [1] because [1] is a bug fix and > might be backported to stable-5.19. OK, I could repost after[1] merged into mm tree,  thanks. > > [1] https://lore.kernel.org/linux-mm/20220803025243.155798-1-fengwei.yin@intel.com/T/#u > > Thanks, > Naoya Horiguchi