projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc09b40
)
xen/credit2: Drop unnecessary bit test
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Fri, 29 Dec 2017 12:56:34 +0000
(12:56 +0000)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Fri, 12 Jan 2018 11:22:54 +0000
(11:22 +0000)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched_credit2.c
patch
|
blob
|
history
diff --git
a/xen/common/sched_credit2.c
b/xen/common/sched_credit2.c
index 18f39cafe4f72f80ecc461df9d9aaa8b42f3a765..ee9768e598c66ee95948ad78759249d83c0c23ea 100644
(file)
--- a/
xen/common/sched_credit2.c
+++ b/
xen/common/sched_credit2.c
@@
-2063,7
+2063,7
@@
csched2_vcpu_sleep(const struct scheduler *ops, struct vcpu *vc)
update_load(ops, svc->rqd, svc, -1, NOW());
runq_remove(svc);
}
- else
if ( svc->flags & CSFLAG_delayed_runq_add )
+ else
__clear_bit(__CSFLAG_delayed_runq_add, &svc->flags);
}