lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 26 Apr 2008 11:57:57 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	"H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [git pull] x86 PAT changes


* Linus Torvalds <torvalds@...ux-foundation.org> wrote:

> Also, it causes this message for me on one of my machines:
> 
> 	EXT3-fs: mounted filesystem with ordered data mode.
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	mtrr: no more MTRRs available
> 	Overlap at 0xd0000000-0xe0000000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0380000
> 	EXT3 FS on dm-0, internal journal
> 	...
> 	eth0: no IPv6 routers present
> 	Overlap at 0xd0000000-0xe0000000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0380000
> 	Overlap at 0xd0000000-0xe0000000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0380000
> 	Overlap at 0xd0000000-0xe0000000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0380000
> 	Overlap at 0xd0000000-0xe0000000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0380000
> 	Overlap at 0xd0000000-0xe0000000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0380000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xd0000000-0xd0020000
> 	mtrr: no more MTRRs available
> 	Overlap at 0xd0000000-0xe0000000
> 	Overlap at 0xe0300000-0xe0400000
> 	Overlap at 0xe0300000-0xe0380000
> 
> which is a bit annoying. Forgotten debug printk, perhaps?

yeah - i already toned it down to KERN_INFO once in commit 28eb559b5 - 
but it should be pr_debug() instead. The idea in pat.c is to only print 
out if it's a material condition that the user should know about. I've 
queued up the patch below.

	Ingo

-------->
Subject: x86 PAT: tone down debugging messages
From: Ingo Molnar <mingo@...e.hu>
Date: Sat Apr 26 11:40:31 CEST 2008

Linus reported these excessive debug printouts:

>       Overlap at 0xe0300000-0xe0400000
>       Overlap at 0xe0300000-0xe0380000
>       Overlap at 0xe0300000-0xe0400000
>       Overlap at 0xe0300000-0xe0400000
>       Overlap at 0xe0300000-0xe0400000
>       Overlap at 0xe0300000-0xe0400000
>       Overlap at 0xe0300000-0xe0400000

turn that into a pr_debug().

Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
 arch/x86/mm/pat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-x86.q/arch/x86/mm/pat.c
===================================================================
--- linux-x86.q.orig/arch/x86/mm/pat.c
+++ linux-x86.q/arch/x86/mm/pat.c
@@ -334,7 +334,7 @@ int reserve_memtype(u64 start, u64 end, 
 				break;
 			}
 
-			printk("Overlap at 0x%Lx-0x%Lx\n",
+			pr_debug("Overlap at 0x%Lx-0x%Lx\n",
 			       saved_ptr->start, saved_ptr->end);
 			/* No conflict. Go ahead and add this new entry */
 			list_add(&new_entry->nd, saved_ptr->nd.prev);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ