projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c4a946
)
Cleanups to cpu_disable_scheduler().
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 19 Apr 2010 10:30:51 +0000
(11:30 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 19 Apr 2010 10:30:51 +0000
(11:30 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/schedule.c
patch
|
blob
|
history
diff --git
a/xen/common/schedule.c
b/xen/common/schedule.c
index f335f645ec619463db8d4f5c4dc3d9ceb357c61e..3fb5255330ac5b3f99bf8901d815248c3384d0b9 100644
(file)
--- a/
xen/common/schedule.c
+++ b/
xen/common/schedule.c
@@
-370,7
+370,7
@@
void vcpu_force_reschedule(struct vcpu *v)
/*
* This function is used by cpu_hotplug code from stop_machine context.
- * Hence we can avoid needing to take
the
+ * Hence we can avoid needing to take
certain locks.
*/
void cpu_disable_scheduler(void)
{
@@
-382,9
+382,6
@@
void cpu_disable_scheduler(void)
{
for_each_vcpu ( d, v )
{
- if ( is_idle_vcpu(v) )
- continue;
-
if ( (cpus_weight(v->cpu_affinity) == 1) &&
cpu_isset(cpu, v->cpu_affinity) )
{