sched: don't clear PF_VCPU in scheduler
KVM clears it by itself now, and for s390 this is plain wrong. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
9da8f4e83a
commit
83d87d1673
@ -3375,7 +3375,6 @@ void account_system_time(struct task_struct *p, int hardirq_offset,
|
|||||||
|
|
||||||
if (p->flags & PF_VCPU) {
|
if (p->flags & PF_VCPU) {
|
||||||
account_guest_time(p, cputime);
|
account_guest_time(p, cputime);
|
||||||
p->flags &= ~PF_VCPU;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user