Re: [PATCH] PPC: Enable lightweight exits again

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

 



On Mon, Jan 04, 2010 at 10:19:25PM +0100, Alexander Graf wrote:
> The PowerPC C ABI defines that registers r14-r31 need to be preserved across
> function calls. Since our exit handler is written in C, we can make use of that
> and don't need to reload r14-r31 on every entry/exit cycle.
> 
> This technique is also used in the BookE code and is called "lightweight exits"
> there. To follow the tradition, it's called the same in Book3S.
> 
> So far this optimization was disabled though, as the code didn't do what it was
> expected to do, but failed to work.
> 
> This patch fixes and enables lightweight exits again.
> 
> Signed-off-by: Alexander Graf <agraf@xxxxxxx>

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux