Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752924AbdF2RPY (ORCPT ); Thu, 29 Jun 2017 13:15:24 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:35473 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751669AbdF2RPT (ORCPT ); Thu, 29 Jun 2017 13:15:19 -0400 From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Peter Zijlstra , Thomas Gleixner , Luiz Capitulino , Ingo Molnar , Wanpeng Li , Rik van Riel Subject: [RFC PATCH 0/5] vtime: Fix wrong user and system time accounting Date: Thu, 29 Jun 2017 19:15:06 +0200 Message-Id: <1498756511-11714-1-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 951 Lines: 33 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 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(-)