Re: [PATCH v2 0/2] MIPS: convert to generic entry
From: Zhou Yanjie <hidden>
Date: 2021-09-23 14:33:25
Also in:
linux-arch
From: Zhou Yanjie <hidden>
Date: 2021-09-23 14:33:25
Also in:
linux-arch
Hi Thomas, On 2021/9/21 下午11:57, Thomas Bogendoerfer wrote:
On Tue, Sep 14, 2021 at 05:30:14PM +0800, Feiyang Chen wrote:quoted
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 ?
Sure, I will test the v2 in the next few days. Thanks and best regards!
Thomas,