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 X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EEF2C4361B for ; Fri, 11 Dec 2020 15:02:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 90C68206B2 for ; Fri, 11 Dec 2020 15:02:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 90C68206B2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E64E06B0070; Fri, 11 Dec 2020 10:02:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DEE9F6B0071; Fri, 11 Dec 2020 10:02:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CB48B6B0072; Fri, 11 Dec 2020 10:02:50 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0075.hostedemail.com [216.40.44.75]) by kanga.kvack.org (Postfix) with ESMTP id AFE9F6B0070 for ; Fri, 11 Dec 2020 10:02:50 -0500 (EST) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 735F53647 for ; Fri, 11 Dec 2020 15:02:50 +0000 (UTC) X-FDA: 77581318500.21.cap86_000b04627401 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin21.hostedemail.com (Postfix) with ESMTP id 57853180C718A for ; Fri, 11 Dec 2020 15:02:06 +0000 (UTC) X-HE-Tag: cap86_000b04627401 X-Filterd-Recvd-Size: 4428 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf41.hostedemail.com (Postfix) with ESMTP for ; Fri, 11 Dec 2020 15:02:05 +0000 (UTC) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0BBExrAu141051; Fri, 11 Dec 2020 10:02:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=otgUGtIR9Bd/ZgbggKCoLmq/vegsS4ieatGKMBsv2dQ=; b=jsCCvHdYUncQrCaAOFPAnHrqs9oBkU+6l5/hdIiVjFo28hFsiwZXWVgSJZxEYnEY5hNy P1227Oi8q9GMC9/3O75fjRhwxlJAib4Ue8gDstF6KJBx5fkRYVCaUqMFID50iPz1A9ob /LJayCWNEx7+lVFnXXPrhbUGXpe2CMKqSDBabUZfdO1u6yBMugqPRRDLcGz7HLhOJuGb AjDP3I5s1vfKlqQByIrlrtqzMigi3et6LlKb5JP9QeVb7V9xEC4e9RsXPlGEqVWZEt/4 2Pt8sU8zFUgtKNLa4uqs3hm5GF4TUQ7ZwqNEaSaX91TKBzyG9h9HEX1mu0Q9CU8I/Orp yA== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 35cb18r3ca-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Dec 2020 10:02:04 -0500 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0BBEvd0Z019712; Fri, 11 Dec 2020 15:02:01 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma06ams.nl.ibm.com with ESMTP id 3581fhq631-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Dec 2020 15:02:01 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0BBF1w1c49086774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Dec 2020 15:01:58 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A58164C059; Fri, 11 Dec 2020 15:01:58 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 615334C044; Fri, 11 Dec 2020 15:01:58 +0000 (GMT) Received: from pomme.tlslab.ibm.com (unknown [9.145.156.139]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 11 Dec 2020 15:01:58 +0000 (GMT) From: Laurent Dufour To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, nathanl@linux.ibm.com, cheloha@linux.ibm.com Subject: [PATCH] mm/memory_hotplug: quieting offline operation Date: Fri, 11 Dec 2020 16:01:57 +0100 Message-Id: <20201211150157.91399-1-ldufour@linux.ibm.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2020-12-11_02:2020-12-11,2020-12-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=807 spamscore=0 priorityscore=1501 phishscore=0 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 suspectscore=3 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012110095 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000004, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On PowerPC, when dymically removing memory from a system we can see in th= e console a lot of messages like this: [ 186.575389] Offlined Pages 4096 This message is displayed on each LMB (256MB) removed, which means that w= e removing 1TB of memory, this message is displayed 4096 times. Moving it to DEBUG to not flood the console. Signed-off-by: Laurent Dufour --- mm/memory_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index b44d4c7ba73b..c47a53a16782 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -1587,7 +1587,7 @@ int __ref offline_pages(unsigned long start_pfn, un= signed long nr_pages) =20 /* Mark all sections offline and remove free pages from the buddy. */ __offline_isolated_pages(start_pfn, end_pfn); - pr_info("Offlined Pages %ld\n", nr_pages); + pr_debug("Offlined Pages %ld\n", nr_pages); =20 /* * The memory sections are marked offline, and the pageblock flags --=20 2.29.2