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

Attachment: signature.asc
Description: Digital signature

Reply via email to