提交 af415087 编写于 作者: A Alexander Graf

KVM: PPC: Book3S: PR: No isync in slbie path

While messing around with the SLBs we're running in real mode. The
entry to guest space goes through rfid, which is context synchronizing,
so there's no need to manually synchronize anything through isync.

With this patch and a simple priviledged SPR access loop guest, I get
a speed bump from 2035607 to 2181301 exits per second.
Signed-off-by: NAlexander Graf <agraf@suse.de>
上级 8c2d0be7
...@@ -90,8 +90,6 @@ slb_exit_skip_ ## num: ...@@ -90,8 +90,6 @@ slb_exit_skip_ ## num:
or r10, r10, r12 or r10, r10, r12
slbie r10 slbie r10
isync
/* Fill SLB with our shadow */ /* Fill SLB with our shadow */
lbz r12, SVCPU_SLB_MAX(r3) lbz r12, SVCPU_SLB_MAX(r3)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册