Thread (6 messages) read the whole thread 6 messages, 3 authors, 2019-09-05

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

From: Michal Suchánek <hidden>
Date: 2019-09-05 17:48:54

On Thu, 5 Sep 2019 15:25:31 +0000
Christophe Leroy [off-list ref] wrote:
On 09/05/2019 12:35 PM, Nicholas Piggin wrote:
quoted
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, because the exit
work is handled under local_irq_disable, and the hard mask and pending
interrupt replay is handled after that, which avoids games with MSR.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>  
Cannot apply it on latest powerpc/merge. On what does that apply ?
The v2 series had 4 patches so presumably the previous 3 are missing
here.

Thanks

Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help