|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix a typo caused by 18898.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1228995013 0
# Node ID a662a934eefecccd4854391bcdb0d85431e7e2d3
# Parent 0f1a166fe92e489d0b5e3d3d35bcdb004b20f0eb
Fix a typo caused by 18898.
new state is updated too early.
Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
---
xen/common/schedule.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 0f1a166fe92e -r a662a934eefe xen/common/schedule.c
--- a/xen/common/schedule.c Thu Dec 11 11:27:49 2008 +0000
+++ b/xen/common/schedule.c Thu Dec 11 11:30:13 2008 +0000
@@ -91,14 +91,14 @@ static inline void vcpu_runstate_change(
trace_runstate_change(v, new_state);
- v->runstate.state = new_state;
-
delta = new_entry_time - v->runstate.state_entry_time;
if ( delta > 0 )
{
v->runstate.time[v->runstate.state] += delta;
v->runstate.state_entry_time = new_entry_time;
}
+
+ v->runstate.state = new_state;
}
void vcpu_runstate_get(struct vcpu *v, struct vcpu_runstate_info *runstate)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix a typo caused by 18898.,
Xen patchbot-unstable <=
|
|
|
|
|