sw64: optimize instruction usage in fork routine
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5PNDF -------------------------------- Use 'call' instead of 'jmp' in ret_from_fork(), so the 'ret' in schedule_tail() won't mess up branch prediction. Signed-off-by: NMao Minkai <maominkai@wxiat.com> Signed-off-by: NGu Zitao <guzitao@wxiat.com>
Showing
想要评论请 注册 或 登录