Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755821AbYCJUPE (ORCPT ); Mon, 10 Mar 2008 16:15:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753779AbYCJUM1 (ORCPT ); Mon, 10 Mar 2008 16:12:27 -0400 Received: from saeurebad.de ([85.214.36.134]:47411 "EHLO saeurebad.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753526AbYCJUM0 (ORCPT ); Mon, 10 Mar 2008 16:12:26 -0400 From: Johannes Weiner To: Linux Kernel Mailing List Cc: Jesper Juhl , Johannes Weiner Subject: [PATCH] x86: Remove redundant display of free swap space in show_mem() Date: Mon, 10 Mar 2008 21:10:57 +0100 Message-Id: <12051798701357-git-send-email-hannes@saeurebad.de> X-Mailer: git-send-email 1.5.2.2 In-Reply-To: <12051798631122-git-send-email-hannes@saeurebad.de> References: <12051798631122-git-send-email-hannes@saeurebad.de> CC: Thomas Gleixner , Ingo Molnar X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1316 Lines: 39 Signed-off-by: Johannes Weiner --- arch/x86/mm/init_64.c | 3 --- arch/x86/mm/pgtable_32.c | 1 - 2 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index a02a14f..37b688d 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -69,9 +69,6 @@ void show_mem(void) printk(KERN_INFO "Mem-info:\n"); show_free_areas(); - printk(KERN_INFO "Free swap: %6ldkB\n", - nr_swap_pages << (PAGE_SHIFT-10)); - for_each_online_pgdat(pgdat) { for (i = 0; i < pgdat->node_spanned_pages; ++i) { /* diff --git a/arch/x86/mm/pgtable_32.c b/arch/x86/mm/pgtable_32.c index 73aba71..21b7543 100644 --- a/arch/x86/mm/pgtable_32.c +++ b/arch/x86/mm/pgtable_32.c @@ -36,7 +36,6 @@ void show_mem(void) printk(KERN_INFO "Mem-info:\n"); show_free_areas(); - printk(KERN_INFO "Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10)); for_each_online_pgdat(pgdat) { pgdat_resize_lock(pgdat, &flags); for (i = 0; i < pgdat->node_spanned_pages; ++i) { -- 1.5.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/