How can I use -O3 compiler optimization flag?

Ketan Singh unix.ketan at gmail.com
Mon Sep 25 00:40:38 EDT 2017


I am building a kernel for arm64 and I want to add -O3 kernel
optimization flag to check if this can give any performance
improvement. Someone already made a path to do this
https://github.com/graysky2/kernel_gcc_patch and reported little
improvement in some applications but that patch is only for x86.



More information about the Kernelnewbies mailing list