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: Tony Luck <tony.luck@intel.com>
Subject: [PATCH] ia64: Remove redundant display of free swap space in show_mem()
Date: Mon, 10 Mar 2008 21:11:02 +0100	[thread overview]
Message-ID: <12051798742672-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/ia64/mm/contig.c    |    2 --
 arch/ia64/mm/discontig.c |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/ia64/mm/contig.c b/arch/ia64/mm/contig.c
index 344f64e..0479661 100644
--- a/arch/ia64/mm/contig.c
+++ b/arch/ia64/mm/contig.c
@@ -45,8 +45,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));
 	printk(KERN_INFO "Node memory in pages:\n");
 	for_each_online_pgdat(pgdat) {
 		unsigned long present;
diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c
index ee5e68b..ffee1ea 100644
--- a/arch/ia64/mm/discontig.c
+++ b/arch/ia64/mm/discontig.c
@@ -522,8 +522,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));
 	printk(KERN_INFO "Node memory in pages:\n");
 	for_each_online_pgdat(pgdat) {
 		unsigned long present;
-- 
1.5.2.2

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

Thread overview: 16+ 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 ` [PATCH] x86: " Johannes Weiner
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 ` Johannes Weiner [this message]
2008-03-11  4:53   ` [PATCH] ia64: " KOSAKI Motohiro
2008-03-10 20:16 ` [PATCH] arm: " Johannes Weiner

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=12051798742672-git-send-email-hannes@saeurebad.de \
    --to=hannes@saeurebad.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    --subject='Re: [PATCH] ia64: 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).