projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afac868
)
xen/arm: call vcpu_yield on WFE trap
author
Stefano Stabellini
<stefano.stabellini@eu.citrix.com>
Wed, 23 Jul 2014 13:37:23 +0000
(14:37 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Mon, 28 Jul 2014 12:44:18 +0000
(13:44 +0100)
No need to call vcpu_force_reschedule, is too expensive.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/traps.c
b/xen/arch/arm/traps.c
index 3dfabd066f115d00d2a379781adb2174e6c20051..76a9586aa2d1523c85c74bfa6ffeffce2c2b116f 100644
(file)
--- 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);