Messages in this thread | | | From | Wanpeng Li <> | Date | Fri, 30 Jun 2017 09:41:18 +0800 | Subject | Re: [RFC PATCH 0/5] vtime: Fix wrong user and system time accounting |
| |
Hi Luiz,
2017-06-30 1:15 GMT+08:00 Frederic Weisbecker <fweisbec@gmail.com>: > Hi, > > This is a proposition to fix > "[BUG nohz]: wrong user and system time accounting": > http://lkml.kernel.org/r/20170323165512.60945ac6@redhat.com > > 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(-)
| |