LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Johannes Weiner <hannes@saeurebad.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Jesper Juhl <trivial@kernel.org>, Johannes Weiner <hannes@saeurebad.de>
Cc: Thomas Gleixner <tglx@linuxtronix.de>, Ingo Molnar <mingo@elte.hu>
Subject: [PATCH] x86: Remove redundant display of free swap space in show_mem()
Date: Mon, 10 Mar 2008 21:10:57 +0100	[thread overview]
Message-ID: <12051798701357-git-send-email-hannes@saeurebad.de> (raw)
In-Reply-To: <12051798631122-git-send-email-hannes@saeurebad.de>

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
---
 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

  parent reply	other threads:[~2008-03-10 20:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10 20:10 [PATCH] arm: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] cris: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] m32r: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] m68k: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] mips: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] powerpc: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] ppc: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] s390: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] sh: " Johannes Weiner
2008-03-10 20:10 ` Johannes Weiner [this message]
2008-03-10 20:10 ` [PATCH] xtensa: " Johannes Weiner
2008-03-10 20:10 ` [PATCH] parisc: " Johannes Weiner
2008-03-10 20:11 ` [PATCH] um: " Johannes Weiner
2008-03-10 20:11 ` [PATCH] ia64: " Johannes Weiner
2008-03-11  4:53   ` KOSAKI Motohiro
2008-03-10 20:16 ` [PATCH] arm: " Johannes Weiner
  -- strict thread matches above, loose matches on Subject: below --
2008-03-10 16:40 [PATCH] x86: " Johannes Weiner
2008-03-10 17:28 ` Hugh Dickins
2008-03-10 18:47   ` Johannes Weiner
2008-03-11  9:14 ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12051798701357-git-send-email-hannes@saeurebad.de \
    --to=hannes@saeurebad.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    --subject='Re: [PATCH] x86: Remove redundant display of free swap space in show_mem()' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).