Skip to content

Commit

Permalink
KVM: PPC: Book3S: PR: No isync in slbie path
Browse files Browse the repository at this point in the history
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: Alexander Graf <agraf@suse.de>
  • Loading branch information
Alexander Graf committed May 6, 2012
1 parent 8c2d0be commit af41508
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/kvm/book3s_64_slb.S
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ slb_exit_skip_ ## num:
or r10, r10, r12
slbie r10

isync

/* Fill SLB with our shadow */

lbz r12, SVCPU_SLB_MAX(r3)
Expand Down

0 comments on commit af41508

Please sign in to comment.