Re: [RFC PATCH 0/5] vtime: Fix wrong user and system time accounting

From: Wanpeng Li
Date: Thu Jun 29 2017 - 21:41:56 EST


Hi Luiz,

2017-06-30 1:15 GMT+08:00 Frederic Weisbecker <fweisbec@xxxxxxxxx>:
> Hi,
>
> This is a proposition to fix
> "[BUG nohz]: wrong user and system time accounting":
> http://lkml.kernel.org/r/20170323165512.60945ac6@xxxxxxxxxx
>
> I took Wanpeng Li's last patch and enhanced around it.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
> sched/core
>
> HEAD: 9c7442613755e0ee0fc915ac876d88d4d2c7385e

Could you have a try?

Regards,
Wanpeng Li

>
> Thanks,
> Frederic
> ---
>
> Frederic Weisbecker (4):
> vtime: Remove vtime_account_user()
> sched: Always set vtime_snap_whence after accounting vtime
> sched: Rename vtime fields
> sched: Move vtime task fields to their own struct
>
> Wanpeng Li (1):
> sched: Accumulate vtime on top of nsec clocksource
>
>
> include/linux/init_task.h | 6 +-
> include/linux/sched.h | 29 ++++++---
> include/linux/vtime.h | 9 +--
> kernel/fork.c | 6 +-
> kernel/sched/cputime.c | 158 ++++++++++++++++++++++++++++------------------
> 5 files changed, 123 insertions(+), 85 deletions(-)