From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935552AbdAEROF (ORCPT ); Thu, 5 Jan 2017 12:14:05 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34266 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757673AbdAERL4 (ORCPT ); Thu, 5 Jan 2017 12:11:56 -0500 From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Heiko Carstens , Martin Schwidefsky , Tony Luck , Fenghua Yu , Peter Zijlstra , Rik van Riel , Thomas Gleixner , Ingo Molnar , Stanislaw Gruszka , Wanpeng Li , Christian Borntraeger Subject: [PATCH 00/10] vtime: Delay cputime accounting to tick / context switch Date: Thu, 5 Jan 2017 18:11:40 +0100 Message-Id: <1483636310-6557-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 This version is a rebase on top of latest Linus tree which includes the fix 8f2b468aadc ("s390/vtime: correct system time accounting"). Also a small change: I have moved account_system_index_scaled() to s390 in patch "s390/cputime: delayed accounting of system time" because it is the only user of the function. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git vtime/acc-v2 Thanks, Frederic --- Frederic Weisbecker (9): powerpc32: Fix stale scaled stime on context switch ia64: Fix wrong start cputime assignment on task switch cputime: Allow accounting system time using cpustat index cputime: Export account_guest_time powerpc: Prepare accounting structure for cputime flush on tick powerpc: Migrate stolen_time field to accounting structure powerpc/vtime: Accumulate cputime and account only on tick/task switch ia64: Accumulate cputime and account only on tick/task switch vtime: Rename vtime_account_user() to vtime_flush() Martin Schwidefsky (1): s390/cputime: delayed accounting of system time arch/ia64/include/asm/thread_info.h | 6 ++ arch/ia64/kernel/time.c | 66 +++++++++++----- arch/powerpc/include/asm/accounting.h | 14 +++- arch/powerpc/include/asm/paca.h | 1 - arch/powerpc/kernel/asm-offsets.c | 8 +- arch/powerpc/kernel/time.c | 138 +++++++++++++++++++++------------- arch/powerpc/xmon/xmon.c | 8 +- arch/s390/include/asm/lowcore.h | 65 ++++++++-------- arch/s390/include/asm/processor.h | 3 + arch/s390/kernel/vtime.c | 138 ++++++++++++++++++++++------------ include/linux/kernel_stat.h | 5 +- include/linux/vtime.h | 7 +- kernel/sched/cputime.c | 16 ++-- 13 files changed, 302 insertions(+), 173 deletions(-)