LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86: remove over noisy debug printk
@ 2008-02-10 22:57 Thomas Gleixner
  0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2008-02-10 22:57 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, Ingo Molnar

pageattr-test.c contains a noisy debug printk that people reported. 
The condition under which it prints (randomly tapping into a mem_map[]
hole and not being able to c_p_a() there) is valid behavior and not
interesting to report.

Remove it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/mm/pageattr-test.c |    7 -------
 1 file changed, 7 deletions(-)

Index: linux-2.6/arch/x86/mm/pageattr-test.c
===================================================================
--- linux-2.6.orig/arch/x86/mm/pageattr-test.c
+++ linux-2.6/arch/x86/mm/pageattr-test.c
@@ -40,7 +40,6 @@ struct split_state {
 static int print_split(struct split_state *s)
 {
 	long i, expected, missed = 0;
-	int printed = 0;
 	int err = 0;
 
 	s->lpg = s->gpg = s->spg = s->exec = 0;
@@ -53,12 +52,6 @@ static int print_split(struct split_stat
 
 		pte = lookup_address(addr, &level);
 		if (!pte) {
-			if (!printed) {
-				dump_pagetable(addr);
-				printk(KERN_INFO "CPA %lx no pte level %d\n",
-					addr, level);
-				printed = 1;
-			}
 			missed++;
 			i++;
 			continue;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-10 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-10 22:57 [PATCH] x86: remove over noisy debug printk Thomas Gleixner

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).