Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp778412imn; Sat, 30 Jul 2022 02:42:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJtC32fn9COpG4NwLogre4YGn3doHa2IgrwHOabGIZcu9N1tXenNH48S3FlD0jRz2BQq2I X-Received: by 2002:a17:906:9b86:b0:72f:56db:ccf3 with SMTP id dd6-20020a1709069b8600b0072f56dbccf3mr5823931ejc.422.1659174156464; Sat, 30 Jul 2022 02:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659174156; cv=none; d=google.com; s=arc-20160816; b=bbSFaHxgc1L+bnfhEOdywMc7NvToVsWeuSnU0GsMtoN5oijCFsOGLspKfMr3ue8Wbh numxXkJzn4hFdJnEcKHdaX6mdvxFim0FXaZtyuTGt5ckAaGj3V9ceU3aNgcZ/TWuuYvc f2hscGri6S88wcQJ2WF4gLmrol/EFfmTF5rDlHl2UUuZ2z+e3vpHL0QMfMktnm/54UnS SsdKkWyBMTVcAvVxbDBK+YcbP6R6b/7CYe0MHArBrIJLtov0SR0FhBMo9rq/pvTu8KtN 3RTjSRFJLW+0x7E0bAqKIubu3FkXpFaf3W9qGt/caPIX92pjzjamQcwkmYr9T+0SACBd VbCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=UnRcyXc1rqr9E6b9Xw3/ZsXmbzMWivg3lDlTVsa/UQk=; b=MpKJI2hA+RykHVt+DVSllvfjLPvfd7FsFkJDn8nDtWr8iNiTGYdxMvcqVjddJ9HeeW pGE79A5k1YwNIflEBijLsICOkdfrHp5ajIaduvDOLHL2y9r1uUbMwYmIzVdmmvIG+ECw xaHky+L+cqO9EvaFTofLJwE1jO3ixWw5mchGlvGztoWdhC70vGuJy6+lixLilIjsZYeE n88vPTxhKfDfn0yaskFguc29wHkA2+kk+QhCVFwH/12BdxAmP3st6D46889IoBL8FNSf SuXoufihwnwkPunWWk1ZLOZEUFPURjrQM/PqzuTH48qXQ0NWLRLDzFQbBPE4MjQDb+ed fUZA== 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 rh16-20020a17090720f000b007122fed3491si5723535ejb.909.2022.07.30.02.42.12; Sat, 30 Jul 2022 02:42:36 -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 S233075AbiG3Jb6 (ORCPT + 99 others); Sat, 30 Jul 2022 05:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbiG3Jb5 (ORCPT ); Sat, 30 Jul 2022 05:31:57 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9999B1C925 for ; Sat, 30 Jul 2022 02:31:55 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LvzZP1YTpzWfD9; Sat, 30 Jul 2022 17:27:57 +0800 (CST) Received: from [10.174.177.76] (10.174.177.76) 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; Sat, 30 Jul 2022 17:31:53 +0800 Subject: Re: [PATCH v3] mm: memory-failure: convert to pr_fmt() To: Kefeng Wang , Naoya Horiguchi CC: , Andrew Morton , Linux-MM References: <20220729031919.72331-1-wangkefeng.wang@huawei.com> From: Miaohe Lin Message-ID: Date: Sat, 30 Jul 2022 17:31:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20220729031919.72331-1-wangkefeng.wang@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.76] 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,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/7/29 11:19, Kefeng Wang wrote: > Use pr_fmt to prefix all pr_ output, but unpoison_memory() > and soft_offline_page() are used by error injection, which have > own prefixes like "Unpoison:" and "soft offline:", meanwhile, > soft_offline_page() could be used by memory hotremove, so reset > pr_fmt before unpoison_pr_info definition to keep the original > output for them. > > Acked-by: Naoya Horiguchi > Reviewed-by: Miaohe Lin > Signed-off-by: Kefeng Wang I'm sorry but this patch will make pr_info in try_to_split_thp_page looks like below? Memory failure: Memory failure: 0x1b8200: thp split failed or Memory failure: soft offline: 0x1b8200: thp split failed Thanks.