提交 83d87d16 编写于 作者: L Laurent Vivier 提交者: Avi Kivity

sched: don't clear PF_VCPU in scheduler

KVM clears it by itself now, and for s390 this is plain wrong.
Signed-off-by: NLaurent Vivier <Laurent.Vivier@bull.net>
Acked-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 9da8f4e8
...@@ -3375,7 +3375,6 @@ void account_system_time(struct task_struct *p, int hardirq_offset, ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册