[PATCH v3] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Wanpeng Li
From: Wanpeng Li Commit: 57430218317e ("sched/cputime: Count actually elapsed irq & softirq time") ... triggered a regression: | An i5 laptop, 4 pCPUs, 4vCPUs for one full dynticks guest, there are four | cpu hog processes(for loop) running in the guest, I

[PATCH v3] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Wanpeng Li
From: Wanpeng Li Commit: 57430218317e ("sched/cputime: Count actually elapsed irq & softirq time") ... triggered a regression: | An i5 laptop, 4 pCPUs, 4vCPUs for one full dynticks guest, there are four | cpu hog processes(for loop) running in the guest, I hot-unplug the pCPUs | on

Re: [PATCH v3] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Rik van Riel
On Wed, 2016-08-17 at 10:05 +0800, Wanpeng Li wrote: > This patch fix the regression by limiting the account_other_time() > from  > get_vtime_delta() to avoid underflow, and let other three call sites > (account_other_time() and steal_account_process_time()) account > however  > much steal time

Re: [PATCH v3] sched/cputime: Resync steal time when guest & host lose sync

2016-08-16 Thread Rik van Riel
On Wed, 2016-08-17 at 10:05 +0800, Wanpeng Li wrote: > This patch fix the regression by limiting the account_other_time() > from  > get_vtime_delta() to avoid underflow, and let other three call sites > (account_other_time() and steal_account_process_time()) account > however  > much steal time