LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@c-s.fr>
To: "Michal Suchánek" <msuchanek@suse.de>
Cc: linuxppc-dev@lists.ozlabs.org, Nicholas Piggin <npiggin@gmail.com>
Subject: Re: [PATCH v3] powerpc/64: system call implement the bulk of the logic in C
Date: Thu, 5 Sep 2019 20:18:26 +0200	[thread overview]
Message-ID: <b5ffd204-4b1c-4ba6-ee56-00c6f51fbdb0@c-s.fr> (raw)
In-Reply-To: <20190905194638.74ab317d@kitsune.suse.cz>



Le 05/09/2019 à 19:46, Michal Suchánek a écrit :
> On Thu, 5 Sep 2019 15:25:31 +0000
> Christophe Leroy <christophe.leroy@c-s.fr> wrote:
> 
>> On 09/05/2019 12:35 PM, 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 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.
> 

Yes indeed, the first two patches are already merged, so applying patch 
3 of that series allows to apply this patch.

Christophe

  reply	other threads:[~2019-09-05 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-05 12:35 [PATCH v3] powerpc/64: system call implement the bulk of the logic in C Nicholas Piggin
2019-09-05 15:25 ` Christophe Leroy
2019-09-05 17:46   ` Michal Suchánek
2019-09-05 18:18     ` Christophe Leroy [this message]
2019-09-05 16:29 ` Christophe Leroy
2019-09-05 22:29   ` Nicholas Piggin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5ffd204-4b1c-4ba6-ee56-00c6f51fbdb0@c-s.fr \
    --to=christophe.leroy@c-s.fr \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=msuchanek@suse.de \
    --cc=npiggin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox