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] [day] [month] [year] [list]
Date:   Wed, 27 Mar 2019 16:29:23 +0100
From:   Pavel Machek <pavel@....cz>
To:     Alexey Dobriyan <adobriyan@...il.com>
Cc:     linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org
Subject: Re: Linux 5.0-ad1: -march=native support

On Mon 2019-03-04 20:19:16, Alexey Dobriyan wrote:
> -ad1 patchset adds support for compiling kernel with "-march=native"
> compiler option optimizing kernel for the specific CPU. "-march=native"
> has been available in userspace for a long time and is trivial to enable
> in Gentoo specifically.
> 
> "-march=native" can be used for folks like me who compile kernels on
> their home machines and never share binaries.
> 
> See the link for more information:
> 
>     https://www.shlomifish.org/humour/by-others/funroll-loops/Gentoo-is-Rice.html
> 
> Requirements:
> 
> 	Intel CPU
> 	x86_64 arch
> 
> Usage:
> 
> 	# apply -ad1 patchset
> 
> 	# copy regular kernel .config
> 
> 	# enable "-march=native" support in
> 	#	"Processor type and features"
> 	#	"Processor family"
> 
> 	# ensure CONFIG_MARCH_NATIVE is enabled
> 	$ grep -e CONFIG_MARCH_NATIVE .config
> 
> 	# workaround kbuild race condition if "-j" is used
> 	$ make syncconfig

Linus is unlikely to take this directly; you may want to Cc X86
MAINTAINERS.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ