Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6785939ybx; Mon, 11 Nov 2019 14:51:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxFwYmXK08BxPhjENpQLUmlTxTedHzpH33YjxejriLQUgHEr0gl5Shkpok4Zj4gKDF0Ftn3 X-Received: by 2002:a17:906:6083:: with SMTP id t3mr25490249ejj.145.1573512709209; Mon, 11 Nov 2019 14:51:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573512709; cv=none; d=google.com; s=arc-20160816; b=TIHtqNgX3eVCn1Kec4uFzXpWGth9zem+mi6uBkw+PpqXTcGQmb08B1X1RI8Z/14hG+ AxZVM2DD1/06mrB/8UTXzZwW0sCewW9r3Xtjv1nSzrjijefWILO0RPSrjEdAedc4R2iU AroA18fHWAzqah6uC1YgxCicOM2ynunKIumv4NTHEJF+mRHuGivbq9H4uFsWGcgUGOvF sUwH9HF0h4IOurJ+nfuHbb7UeHezugKdpKqEQ0VqrCw6y7EzHbjr2sgXPunY8BRjt2UW M8fIXO54XRq8KoDA+S7Llo3xpgH031GB3iOwO35McJPQTw268x84HCk/kAJENYB8aIAQ Y7xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=s0u4JStRou+moTpBzyHx7DOfpoP7ck18LZeKksO8mgM=; b=yAbVdKymfr9REfbcN/83cH41BG9aIHSGaCFCy980SEsJAyLW36K7KBA8JSjGlSGtcT Z9FoHaEJoQa2FXpYtJDtpAtXIK2sXHP38efO64mjxRVsDl9VlKdoRzw5bgDhL4lpx6eN XgFJkV9bmd5ZbZW1wyiIqVlOU6W0syfa12IQBBNJS1cNhSQkUT9V7mzZKLzeGhCiZhVT 7rPXK51WxH//CzdTR/bHda+IH0PbyzNDiubBgKFAcJewP8gw8jT4dsYcDNo0JvKmYXuJ Rf/7277a0bUF1Tc8jEyqGepOa3K4ep7diUAloDY7x/AYcG0C4BIWuNGuMRczy/4x9iUs +3zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=B3eEl2O9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3si11909749edb.134.2019.11.11.14.51.22; Mon, 11 Nov 2019 14:51:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=B3eEl2O9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727054AbfKKWts (ORCPT + 99 others); Mon, 11 Nov 2019 17:49:48 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:13031 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbfKKWts (ORCPT ); Mon, 11 Nov 2019 17:49:48 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 11 Nov 2019 14:48:45 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 11 Nov 2019 14:49:47 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 11 Nov 2019 14:49:47 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 11 Nov 2019 22:49:47 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 11 Nov 2019 22:49:47 +0000 Received: from rcampbell-dev.nvidia.com (Not Verified[10.110.48.66]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 11 Nov 2019 14:49:46 -0800 From: Ralph Campbell To: Andrew Morton CC: , , Ralph Campbell Subject: [PATCH] mm/debug: Date: Mon, 11 Nov 2019 14:49:35 -0800 Message-ID: <20191111224935.19464-1-rcampbell@nvidia.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1573512525; bh=s0u4JStRou+moTpBzyHx7DOfpoP7ck18LZeKksO8mgM=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=B3eEl2O9qLQofFI6eunpksIKP3sN/p2y8i8PZKrmrGz9vSV5P0eVvFV819J4dzum/ TA62gh1+zWNQF+q+Z8wzcDgDGE1/41ser3qJRIjj0FQ1HHv4DBrw+BQ1RIbgmjCVud Ujvf7X1NGnuQmwlXl2I2GKK3fZzYR6+w7Aj3NsZOlxi/+16wmaSea9sxI/j/EitqBB UpQUhg1oh3Y6CIjBqNZ2f5o+zRkhQHtHiUzN9tktvIMwShnU7E3uKOooH4Z0y5f1yH H1/m7w83Jf5pANJ/Syx9QZv/ajpuQI2ZtX4LUE09VcJNI18iCG2ZxZLhKs8kULOYgC gIyoGPS+FBrgA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When dumping struct page information, __dump_page() prints the page type with a trailing blank followed by the page flags on a separate line: anon flags: 0x100000000090034(uptodate|lru|active|head|swapbacked) Fix this by using pr_cont() instead of pr_warn() to get a single line: anon flags: 0x100000000090034(uptodate|lru|active|head|swapbacked) Signed-off-by: Ralph Campbell --- mm/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/debug.c b/mm/debug.c index 8345bb6e4769..752c78721ea0 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -87,7 +87,7 @@ void __dump_page(struct page *page, const char *reason) } BUILD_BUG_ON(ARRAY_SIZE(pageflag_names) !=3D __NR_PAGEFLAGS + 1); =20 - pr_warn("flags: %#lx(%pGp)\n", page->flags, &page->flags); + pr_cont("flags: %#lx(%pGp)\n", page->flags, &page->flags); =20 hex_only: print_hex_dump(KERN_WARNING, "raw: ", DUMP_PREFIX_NONE, 32, --=20 2.20.1