From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: 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, Zhou Yanjie <zhouyu@wanyeetech.com>,
"H. Nikolaus Schaller" <hns@goldelico.com>
Subject: Re: [PATCH v2 0/2] MIPS: convert to generic entry
Date: Tue, 21 Sep 2021 17:57:08 +0200 [thread overview]
Message-ID: <20210921155708.GA12237@alpha.franken.de> (raw)
In-Reply-To: <CACWXhK=YW6Kn9FO1JrU1mP_xxMnEF_ajkD6hou=4rpgR2hOM5w@mail.gmail.com>
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 ?
Thomas,
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
next prev parent reply other threads:[~2021-09-21 15:58 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 [this message]
2021-09-23 14:33 ` Zhou Yanjie
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=20210921155708.GA12237@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--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=zhouyu@wanyeetech.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.