Hi, This is a proposition to fix "[BUG nohz]: wrong user and system time accounting": http://lkml.kernel.org/r/20170323165512.60945...@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 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(-)