Re: [PATCH v2] add -fprolog-pad=N option to c-family

2016-10-03 Thread AKASHI Takahiro
On Fri, Sep 30, 2016 at 12:01:47PM +0200, Jose E. Marchesi wrote: > > In case anybody missed it, the Linux kernel side to make use > of this has also been finished meanwhile. Of course it can not > be accepted without compiler support; and this feature patch > is much more versatil

Re: [PATCH] add -fprolog-pad=N option to c-family

2016-05-08 Thread AKASHI Takahiro
Hi, Let me make some comments from the kernel side. On Thu, Apr 28, 2016 at 11:58:25AM +0100, Szabolcs Nagy wrote: > On 28/04/16 09:47, Maxim Kuvyrkov wrote: > >> On Apr 27, 2016, at 7:26 PM, Szabolcs Nagy wrote: > >> > >> with -mfentry, by default the user only has to > >> implement the fentry

Re: [PATCH] [AArch64] support -mfentry feature for arm64

2016-04-19 Thread AKASHI Takahiro
On Tue, Apr 19, 2016 at 09:39:39AM +0300, Alexander Monakov wrote: > On Tue, 19 Apr 2016, AKASHI Takahiro wrote: > > > > But if Szabolcs' two-instruction > > > > sequence in the adjacent subthread is sufficient, this is moot. > > > > > > . It c

Re: [PATCH] [AArch64] support -mfentry feature for arm64

2016-04-19 Thread AKASHI Takahiro
On Tue, Apr 19, 2016 at 09:44:37AM +0300, Alexander Monakov wrote: > On Tue, 19 Apr 2016, AKASHI Takahiro wrote: > > > looking at [2] i don't see why > > > > > > func: > > > mov x9, x30 > > > bl _tracefunc > > > > > >

Re: [PATCH] [AArch64] support -mfentry feature for arm64

2016-04-18 Thread AKASHI Takahiro
On Mon, Apr 18, 2016 at 06:54:33PM +0300, Alexander Monakov wrote: > On Mon, 18 Apr 2016, Szabolcs Nagy wrote: > > On 18/04/16 14:26, Alexander Monakov wrote: > > > On Thu, 14 Apr 2016, Szabolcs Nagy wrote: > > >> looking at [2] i don't see why > > >> > > >> func: > > >> mov x9, x30 > > >> bl _

Re: [PATCH] [AArch64] support -mfentry feature for arm64

2016-04-18 Thread AKASHI Takahiro
On Mon, Apr 18, 2016 at 02:12:09PM +0200, Michael Matz wrote: > Hi, > > On Sun, 17 Apr 2016, Alexander Monakov wrote: > > > I've noticed an issue in my (and probably Michael's) solution: if > > there's a thread that made it past the first nop, but is still executing > > the nop pad, it's unsafe

Re: [PATCH] [AArch64] support -mfentry feature for arm64

2016-04-18 Thread AKASHI Takahiro
On Thu, Apr 14, 2016 at 04:58:12PM +0100, Szabolcs Nagy wrote: > On 14/04/16 14:15, Andrew Pinski wrote: > > On Thu, Apr 14, 2016 at 9:08 PM, Maxim Kuvyrkov > > wrote: > >> On Mar 14, 2016, at 11:14 AM, Li Bin wrote: > >>> > >>> As ARM64 is entering enterprise world, machines can not be stopped f

Re: [PATCH] [AArch64] support -mfentry feature for arm64

2016-04-18 Thread AKASHI Takahiro
On Thu, Apr 14, 2016 at 04:08:23PM +0300, Maxim Kuvyrkov wrote: > On Mar 14, 2016, at 11:14 AM, Li Bin wrote: > > > > As ARM64 is entering enterprise world, machines can not be stopped for > > some critical enterprise production environment, that is, live patch as > > one of the RAS features is i