Re: [RFC PATCH 23/27] powerpc/64: system call implement the bulk of the logic in C

2019-10-02 Thread Michal Suchánek
On Sun, Sep 15, 2019 at 11:28:09AM +1000, Nicholas Piggin wrote: > System call entry and particularly exit code is beyond the limit of what > is reasonable to implement in asm. > > This conversion moves all conditional branches out of the asm code, > except for the case that all GPRs should be

Re: [RFC PATCH 23/27] powerpc/64: system call implement the bulk of the logic in C

2019-10-01 Thread Nicholas Piggin
Michal Suchánek's on September 23, 2019 10:47 pm: > On Sun, Sep 15, 2019 at 11:28:09AM +1000, Nicholas Piggin wrote: >> System call entry and particularly exit code is beyond the limit of what >> is reasonable to implement in asm. >> >> This conversion moves all conditional branches out of the

[RFC PATCH 23/27] powerpc/64: system call implement the bulk of the logic in C

2019-09-14 Thread Nicholas Piggin
System call entry and particularly exit code is beyond the limit of what is reasonable to implement in asm. This conversion moves all conditional branches out of the asm code, except for the case that all GPRs should be restored at exit. Null syscall test is about 5% faster after this patch,