Thread (13 messages) 13 messages, 6 authors, 2021-10-22

Re: [PATCH v2 0/2] MIPS: convert to generic entry

From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-09-21 15:58:16
Also in: linux-mips

On Tue, Sep 14, 2021 at 05:30:14PM +0800, Feiyang Chen wrote:
On Tue, 14 Sept 2021 at 16:54, Jiaxun Yang [off-list ref] wrote:
quoted


在 2021/9/14 2:50, Feiyang Chen 写道:
quoted
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 ]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help