From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EBD6C04A68 for ; Sat, 30 Jul 2022 09:32:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A1F9A6B0071; Sat, 30 Jul 2022 05:32:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9CF128E0001; Sat, 30 Jul 2022 05:32:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 896CA6B0073; Sat, 30 Jul 2022 05:32:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 768876B0071 for ; Sat, 30 Jul 2022 05:32:03 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 4C02614034E for ; Sat, 30 Jul 2022 09:32:03 +0000 (UTC) X-FDA: 79743249726.26.F6E3705 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf02.hostedemail.com (Postfix) with ESMTP id 233C5800AD for ; Sat, 30 Jul 2022 09:32:00 +0000 (UTC) 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659173523; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UnRcyXc1rqr9E6b9Xw3/ZsXmbzMWivg3lDlTVsa/UQk=; b=thJiQQZ8cdejTzVAc31hzx4MlZu0savzbUYLL8FnxiQ9e/RA9W9EEGUn5dO5e2XTJb2o2o tghbitQGK9vNYEwolpBTluzmyceHUcL0Qyy8p1YpUIUBjgUCsH6NctnrkxANfqRa5mjJHz 56als2bs37IOqp0T2zNxqgiD6pNlnpY= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf02.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659173523; a=rsa-sha256; cv=none; b=34bNabCAY1BSKYjpRZFrVQQ+ZcZ9RZszaK1tAfDyE1eDfvKy8A4iXCKFO+HO5Nr27IF3DV 21YnsQxMyC2kUrDPLlks3OXP8MGZq2Au84WvgvzhJFvJnh23g+X5tThBRTL/GZKuj3tj51 0hE+2Y+OexeSnoV2Quwoed/pzgnD8yE= X-Stat-Signature: wb9gywfiwmorpsu78f6zwshheqz4tiw1 X-Rspamd-Queue-Id: 233C5800AD X-Rspam-User: Authentication-Results: imf02.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf02.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com X-Rspamd-Server: rspam06 X-HE-Tag: 1659173520-940067 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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.