[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: call vcpu_yield on WFE trap
commit 77038d0f76bccb0c75de92b2f24269300df15a44 Author: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> AuthorDate: Wed Jul 23 14:37:23 2014 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Mon Jul 28 13:44:18 2014 +0100 xen/arm: call vcpu_yield on WFE trap No need to call vcpu_force_reschedule, is too expensive. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- xen/arch/arm/traps.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index 3dfabd0..76a9586 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -1805,7 +1805,7 @@ asmlinkage void do_trap_hypervisor(struct cpu_user_regs *regs) } if ( hsr.wfi_wfe.ti ) { /* Yield the VCPU for WFE */ - vcpu_force_reschedule(current); + vcpu_yield(); } else { /* Block the VCPU for WFI */ vcpu_block_unless_event_pending(current); -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |