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: <20070222112328.GB10190@muc.de>
Date:	Thu, 22 Feb 2007 12:23:28 +0100
From:	Andi Kleen <ak@....de>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Jeremy Fitzhardinge <jeremy@...p.org>,
	Arjan van de Ven <arjan@...radead.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [patch] x86: add -freg-struct-return to CFLAGS

On Thu, Feb 22, 2007 at 09:38:22AM +0100, Ingo Molnar wrote:
> Subject: [patch] x86: add -freg-struct-return to CFLAGS
> From: Ingo Molnar <mingo@...e.hu>
> 
> Jeremy Fitzhardinge suggested the use of -freg-struct-return, which does 
> structure-returns (such as when using pte_t) in registers instead of on 
> the stack.
> 
> that is indeed so, and this option reduced the kernel size a bit:
> 
>     text    data     bss     dec     hex filename
>  4799506  543456 3760128 9103090  8ae6f2 vmlinux.before
>  4798117  543456 3760128 9101701  8ae185 vmlinux.after
> 
> the resulting kernel booted fine on my testbox. Lets go for it.

Ok I added it for now. Let's see what happens.

I guess people maintaining external Makefiles without Kbuild 
are in for a nasty surprise again though. Cannot be avoided unfortunately.

-Andi
-
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