From: Zhou Yanjie <zhouyu@wanyeetech.com>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Feiyang Chen <chris.chenfeiyang@gmail.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>,
tglx@linutronix.de, peterz@infradead.org, luto@kernel.org,
arnd@arndb.de, Feiyang Chen <chenfeiyang@loongson.cn>,
linux-mips@vger.kernel.org, linux-arch@vger.kernel.org,
chenhuacai@kernel.org, "H. Nikolaus Schaller" <hns@goldelico.com>
Subject: Re: [PATCH v2 0/2] MIPS: convert to generic entry
Date: Thu, 23 Sep 2021 22:33:18 +0800 [thread overview]
Message-ID: <ef429f0f-7cc9-2625-3700-47dc459ee681@wanyeetech.com> (raw)
In-Reply-To: <20210921155708.GA12237@alpha.franken.de>
Hi Thomas,
On 2021/9/21 下午11:57, Thomas Bogendoerfer wrote:
> On Tue, Sep 14, 2021 at 05:30:14PM +0800, Feiyang Chen wrote:
>> On Tue, 14 Sept 2021 at 16:54, Jiaxun Yang <jiaxun.yang@flygoat.com> wrote:
>>>
>>>
>>> 在 2021/9/14 2:50, Feiyang Chen 写道:
>>>> Convert MIPS to use the generic entry infrastructure from
>>>> kernel/entry/*.
>>>>
>>>> v2: Use regs->regs[27] to mark whether to restore all registers in
>>>> handle_sys and enable IRQ stack.
>>> Hi Feiyang,
>>>
>>> Thanks for your patch, could you please expand how could this improve
>>> the performance?
>>>
>> Hi, Jiaxun,
>>
>> We always restore all registers in handle_sys in the v1 of the
>> patchset. Since regs->regs[27] is marked where we need to restore all
>> registers, now we simply use it as the return value of do_syscall to
>> determine whether we can only restore partial registers in handle_sys.
> can people, who provided performance numbers for v1 do the same for v2 ?
Sure, I will test the v2 in the next few days.
Thanks and best regards!
>
> Thomas,
>
next prev parent reply other threads:[~2021-09-23 14:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-14 1:50 [PATCH v2 0/2] MIPS: convert to generic entry Feiyang Chen
2021-09-14 1:50 ` [PATCH v2 1/2] MIPS: convert syscall " Feiyang Chen
2021-09-14 1:50 ` [PATCH v2 2/2] MIPS: convert irq " Feiyang Chen
2021-09-14 8:54 ` [PATCH v2 0/2] MIPS: convert " Jiaxun Yang
2021-09-14 9:30 ` Feiyang Chen
2021-09-21 15:57 ` Thomas Bogendoerfer
2021-09-23 14:33 ` Zhou Yanjie [this message]
2021-10-13 15:00 ` Zhou Yanjie
2021-10-18 19:32 ` Maciej W. Rozycki
2021-10-19 2:22 ` Feiyang Chen
2021-10-19 8:33 ` Maciej W. Rozycki
2021-10-22 2:19 ` Feiyang Chen
2021-09-23 23:51 ` Jiaxun Yang
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=ef429f0f-7cc9-2625-3700-47dc459ee681@wanyeetech.com \
--to=zhouyu@wanyeetech.com \
--cc=arnd@arndb.de \
--cc=chenfeiyang@loongson.cn \
--cc=chenhuacai@kernel.org \
--cc=chris.chenfeiyang@gmail.com \
--cc=hns@goldelico.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=luto@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=tsbogend@alpha.franken.de \
/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;
as well as URLs for NNTP newsgroup(s).