Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3507818rwb; Tue, 16 Aug 2022 04:27:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR59OzpBfdEisuD92Ub5ndYxh6l8PcXnIoUGeWVcnkD43gKCVA8MqDmhj5/DVa7wynLWS0Fi X-Received: by 2002:a05:6402:27cf:b0:43f:f6a:3286 with SMTP id c15-20020a05640227cf00b0043f0f6a3286mr18287293ede.1.1660649250577; Tue, 16 Aug 2022 04:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660649250; cv=none; d=google.com; s=arc-20160816; b=lfxFe2d4vyB8O6H8p3iw4IvQkQz1KLEiMv3LfOpD2Xvrv3ruFFk3y1M2UD1dGHAdB3 T2PqNMkhAaY19CqSD4AHcMhxKCoWbQMhWBuyPmIm8omrl2vCZjmUTNvZlOlMelSiNr+5 CAnOt/BiFselOR69chxF7jXyUdW2i3c/oOqTN+SsZeic+fb+nKpbD5DHd7af9zx47Em+ u3gnN4uQ0XcoF/nn9Is7Tv+H5xIadGpJDBKTY/4adSQQdMMKGDOAvkccPFKckKlzwhph osPUy1ZmgMJnTvzdV4rtxoPm5v/XVGVC2p/p6kEbpSsP/I45Kv1iZj0JEomVdB++xgwH hSCg== 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=qmKf+/35oZ2enw8PUiOZ978D//pEG1GV3sMwyxs3+KU=; b=w3KSsLoCATsC/SYntkgEKxhJ2WdmDDfGsXswYFDPlxxcVujj5tZpt6hsigtjVHSqwl uv9UohzcQKjYqE2rWsItn3+C/Oy+Ku2SYitVLL8vDErC5StN4qxI93f8kEyTxiS+YLbk qVjm4mk/l/HlpJdScEUEQFO9Lxf5orJycRcGn1Qddcqh/zx3oEGYY6aijrxlk88DJp53 HaEGtYaxcpUyaDym61oDFMKMqnF+K07mxa1cWfdHvgkyaH6OTBtAGbEN9/ySDNNAqz2S XhLlI52xWWJ08wZi+3utXrensw41YMH1yIhmUajcYvIf7MCku6pNEZjD/QKsaqnkkjg9 JBUg== 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 fy15-20020a170906b7cf00b007309350f2f9si8290496ejb.555.2022.08.16.04.27.04; Tue, 16 Aug 2022 04:27:30 -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 S235309AbiHPLII (ORCPT + 99 others); Tue, 16 Aug 2022 07:08:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235293AbiHPLHx (ORCPT ); Tue, 16 Aug 2022 07:07:53 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AED6D58DD9 for ; Tue, 16 Aug 2022 03:13:30 -0700 (PDT) Received: from dggpemm500023.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4M6RjD3CVYz1M914; Tue, 16 Aug 2022 18:10:08 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500023.china.huawei.com (7.185.36.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 16 Aug 2022 18:13:25 +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; Tue, 16 Aug 2022 18:13:24 +0800 Message-ID: Date: Tue, 16 Aug 2022 18:13:24 +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 v2] 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: <20220809111813.139690-1-wangkefeng.wang@huawei.com> <20220816054716.GA496220@hori.linux.bs1.fc.nec.co.jp> From: Kefeng Wang In-Reply-To: <20220816054716.GA496220@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: dggems701-chm.china.huawei.com (10.3.19.178) 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,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 On 2022/8/16 13:47, HORIGUCHI NAOYA(堀口 直也) wrote: > On Tue, Aug 09, 2022 at 07:18:13PM +0800, Kefeng Wang wrote: >> Since commit 5d1fd5dc877b ("mm,hwpoison: introduce MF_MSG_UNSPLIT_THP"), >> the action_result(,MF_MSG_UNSPLIT_THP,) 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(). >> >> Meanwhile this could also fix the unexpected prefix for "thp split failed" >> due to commit 96f96763de26 ("mm: memory-failure: convert to pr_fmt()"). >> >> Signed-off-by: Kefeng Wang > # Sorry for my late reply, I'm back from summer holiday... > > Acked-by: Naoya Horiguchi Thanks Noaya.