Re: [PATCH v3 25/32] powerpc/64: system call implement entry/exit logic in C

2020-03-19 Thread Nicholas Piggin
Christophe Leroy's on March 19, 2020 7:18 pm: > > > Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : >> 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, >> exce

Re: [PATCH v3 25/32] powerpc/64: system call implement entry/exit logic in C

2020-03-19 Thread Christophe Leroy
Le 25/02/2020 à 18:35, Nicholas Piggin a écrit : 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

[PATCH v3 25/32] powerpc/64: system call implement entry/exit logic in C

2020-02-25 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, beca