Re: [PATCH][RFC] Come up with -flive-patching master option.

2018-11-14 Thread Miroslav Benes
On Tue, 13 Nov 2018, Qing Zhao wrote: > Hi, > > > On Nov 13, 2018, at 1:18 PM, Miroslav Benes wrote: > > > >> Attached is the patch for new -flive-patching=[inline-only-static | > >> inline-clone] master option. > >> > >> '-fl

Re: [PATCH][RFC] Come up with -flive-patching master option.

2018-11-13 Thread Miroslav Benes
On Tue, 13 Nov 2018, Qing Zhao wrote: > Hi, Hi, > Attached is the patch for new -flive-patching=[inline-only-static | > inline-clone] master option. > > '-flive-patching=LEVEL' > Control GCC's optimizations to provide a safe compilation for > live-patching. Provides multiple-level

Re: Performance impact of disabling non-clone IPA optimizations for the Linux kernel (was: "GCC options for kernel live-patching")

2018-10-24 Thread Miroslav Benes
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

Re: [RFC] GCC support for live-patching

2018-10-24 Thread Miroslav Benes
On Tue, 23 Oct 2018, Qing Zhao wrote: > > > On Oct 23, 2018, at 4:11 AM, Miroslav Benes wrote: > >> > >> One question here, what’s the major benefit to prepare the patches > >> manually? > > > > I could almost quote what you wrote below.

Re: [RFC] GCC support for live-patching

2018-10-23 Thread Miroslav Benes
On Mon, 22 Oct 2018, Qing Zhao wrote: > Hi, > > thanks for the comments. > > > > > thanks for the proposal. The others have already expressed some of my > > worries and remarks, but I think it would be only right to write them > > again. Especially since I am part of the team responsible for

Re: [RFC] GCC support for live-patching

2018-10-22 Thread Miroslav Benes
On Thu, 18 Oct 2018, Qing Zhao wrote: > Hi, > > After more detailed study of GCC’s IPA optimizations, further study of the > current available kernel live patching schemes and > other live-patching user’s request, I came up with the following initial > proposal in GCC to mainly support live-pa