Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751888AbdF3BlU (ORCPT ); Thu, 29 Jun 2017 21:41:20 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36611 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751625AbdF3BlT (ORCPT ); Thu, 29 Jun 2017 21:41:19 -0400 MIME-Version: 1.0 In-Reply-To: <1498756511-11714-1-git-send-email-fweisbec@gmail.com> References: <1498756511-11714-1-git-send-email-fweisbec@gmail.com> From: Wanpeng Li Date: Fri, 30 Jun 2017 09:41:18 +0800 Message-ID: Subject: Re: [RFC PATCH 0/5] vtime: Fix wrong user and system time accounting To: Frederic Weisbecker Cc: LKML , Peter Zijlstra , Thomas Gleixner , Luiz Capitulino , Ingo Molnar , Rik van Riel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 42 Hi Luiz, 2017-06-30 1:15 GMT+08:00 Frederic Weisbecker : > 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(-)