On Wed, 24 Oct 2018, Jiri Kosina wrote: > On Tue, 23 Oct 2018, Nicolai Stange wrote: > > > let me summarize some results from performance comparisons of Linux > > kernels compiled with and without certain IPA optimizations. > > Thanks a lot for the summary. > > So, would it make sense to submit a patch upstream (with exactly this > justification / explanation) that'd basically disable those optimizations > for CONFIG_LIVEPATCH=y configs? It is premature in my opinion. I'd solve it on GCC side first, so that we have a new option which would cover everything (see the other emails in the thread). Then we can use it in the kernel for CONFIG_LIVEPATCH=y configs. We could disable what is possible to disable even now but it would not solve everything and it is questionable if it is worth it then. Miroslav