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]
Message-ID: <20070611172006.GI9174@redhat.com>
Date:	Mon, 11 Jun 2007 13:20:06 -0400
From:	Dave Jones <davej@...hat.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Andy Whitcroft <apw@...dowen.org>,
	"H. Peter Anvin" <hpa@...or.com>, Steve Fox <drfickle@...ibm.com>,
	Mel Gorman <mel@....ul.ie>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] move the kernel to 16MB for NUMA-Q

On Mon, Jun 11, 2007 at 09:15:58AM -0700, Andrew Morton wrote:
 > On Mon, 11 Jun 2007 15:32:10 +0100 Andy Whitcroft <apw@...dowen.org> wrote:
 > 
 > > 
 > > We are seeing corruption of the decompressed kernel.  It is suspected
 > > that this is platform specific as it has yet to be seen on any
 > > other x86.  Move the kernel to the 16MB boundary.
 > > 
 > > Signed-off-by: Andy Whitcroft <apw@...dowen.org>
 > > ---
 > > diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
 > > index 7e1950f..89e6bf4 100644
 > > --- a/arch/i386/Kconfig
 > > +++ b/arch/i386/Kconfig
 > > @@ -817,6 +817,7 @@ config CRASH_DUMP
 > >  
 > >  config PHYSICAL_START
 > >  	hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
 > > +	default "0x1000000" if X86_NUMAQ
 > >  	default "0x100000"
 > >  	help
 > >  	  This gives the physical address where the kernel is loaded.
 > 
 > grumble.  If it's a BIOS bug then OK.  But if it is indeed a kernel bug
 > then this patch didn't make it go away and it shall return to haunt us.

FWIW, waay back when (sometime last year if memory serves)
Linus suggested changing the default to 0x1000000 for all x86.
The reasoning was some performance microoptimisation regarding
4MB aligned TLBs iirc.

The details have long since evaded my memory, but as an experiment,
I made the change to the Fedora kernel.  FC5,FC6 and F7 have been
this way for a while now, with no obvious problems. Ditto RHEL5.
We did get some performance numbers at the time of the change,
but they weren't amazing (basically in the noise).
Given it never seemed to actually get worse, I never got around
to reverting it..

	Dave

-- 
http://www.codemonkey.org.uk
-
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