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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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,




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux