Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp93082imn; Wed, 27 Jul 2022 00:07:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u2F/ia90UuK2QFkkzrW6zXiYmDcLHXX8LRqMekxtyig7FpjaxCqTvNZ7+Oi+lZ0AqDnXQA X-Received: by 2002:a65:6d10:0:b0:41a:1817:2c59 with SMTP id bf16-20020a656d10000000b0041a18172c59mr17691940pgb.320.1658905673121; Wed, 27 Jul 2022 00:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658905673; cv=none; d=google.com; s=arc-20160816; b=NZWCJ2w1aqi2px+Eefglxl5dRE0NONXOTZ1BnEd0e1SYn+G8m4fiKOoTZEobdXPLU+ XaSXMyS02zlTdUQwgN1+7+4osqS0u8MBPMIUam9js15+/X4XE4i2QpmwRU99vMURXtjG Ae/mzFB6Xjkd7uBJCRE31E3XNRPJ1BJnILq6wGI0xnlFjuJSjPMsPc0dzYenotgjY+K2 1QlV2jyTPquD2d8Z/JgKObeQe1gIwipn56x2umKcCj4raB5suFpMOigUjrDcPEmyRHUb FhAjJgz8tnXiD1GrEBwUixKZe2Zb4vitPHu5+1n0Uz7BUxL78dk/SGMapIOnZKgZ0mS0 hkFw== 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=VN+uiwnLwLi8f4AsFhQbBS82vZRaSNLIY4XsrALp/+Q=; b=DMgCVVjZfG7t3w3bKl9MEIcNFpAwwMn76dqYnRFiNvyaBTKrwM7M2A0SVN68uoNDdN HrN/SLApAoJW61xydmVM/7umOcftX8Vtfxb0quiv1H9oE23cjQio4LZv8Iothkg5zUn/ 4GcVqqzSMh+aKgfgqAOra3KwGr8r/zPCQqWgEHBw1N4QQDIErtHfoZzn+HUlxjensxyu Gy/3siO8F/WF6Xtz3aBcg9g/gsGVQvm101hMR3euk4RXfhAl5/Oy0sb+z+sQptTL2vLy Ueej2mhlDrujr4xttzYkpsclerjcksGJP8wMlK4ouCq7TkDkWrS0yvOeiYxbAax0RzoM cdOg== 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 i4-20020a17090ad34400b001f27725711dsi1298843pjx.58.2022.07.27.00.07.37; Wed, 27 Jul 2022 00:07:53 -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 S229878AbiG0HAA (ORCPT + 99 others); Wed, 27 Jul 2022 03:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbiG0G7q (ORCPT ); Wed, 27 Jul 2022 02:59:46 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0BEA3AE7D for ; Tue, 26 Jul 2022 23:59:42 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Lt4LB12crzWfnZ; Wed, 27 Jul 2022 14:55:46 +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; Wed, 27 Jul 2022 14:59:34 +0800 Subject: Re: [PATCH v2] mm: memory-failure: convert to pr_fmt() To: Kefeng Wang CC: , Naoya Horiguchi , Andrew Morton , Linux-MM References: <20220727032511.145506-1-wangkefeng.wang@huawei.com> From: Miaohe Lin Message-ID: <3daa0012-c802-e0b7-e7a5-faa2dfb7c142@huawei.com> Date: Wed, 27 Jul 2022 14:59:34 +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: <20220727032511.145506-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: dggems703-chm.china.huawei.com (10.3.19.180) 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/27 11:25, 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 undef > pr_fmt before unpoison_pr_info definition to keep the original > output for them. > > Signed-off-by: Kefeng Wang Looks good to me. Thanks. Reviewed-by: Miaohe Lin