Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2673049ybc; Wed, 20 Nov 2019 18:46:03 -0800 (PST) X-Google-Smtp-Source: APXvYqy3LUVbuhgkfbOcKynSIK4cV2PEriL59BJZVMYX2v+7Fi2Ewsmpg0iDGoVUUOkifqexqC0e X-Received: by 2002:a17:906:258a:: with SMTP id m10mr10110802ejb.304.1574304363471; Wed, 20 Nov 2019 18:46:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574304363; cv=none; d=google.com; s=arc-20160816; b=Y60Sll+BWywTs0ZfkbxxHqlGRJ3F8c5TBpQ/43TSY1ThI8F9SnriI3qnN8yd7lip54 8FGQ25AYhtTHBtnZqyccsiGB64zvKDbge7fSzL54pBIUvJyZJqxF8odVgNq5t6kuAGTQ 5qj+ZXZmuU337XK93TIT0U8m4d8gs6dV5FLCQxZWbZwMHRsTeFu6zf56qack7Dcfbbob b0I2mH2N6fV7dz9ELqqirc7UsFqXjkjKo+rsa9laIgp5iMWfaJnY1va0FFnZ11I6Mqoh XYhR5U5G3q2lPzFAkXDO+HV2UH1ggVg3FQ8EDmzUgFt/lOq7AkX1IOGl3PjKLR1q34xc 2Ttg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZwhZhbwyt3UUAKNgbzIYetmUIPN6NcIiHdXECDKymfU=; b=Jd58aJ5lJJTLpI3Vn8J9C7E/3xGSUaCEG1PYyLY4QONAEuydaZxH8XRyT10CEsXJGr qIxFzIdG9UvIzL9Dan74QyFxYCGv9oy1YZUm4LOJ4X6oEZtCcuNkd7D7Xhc5NMwIKdlD NPu5fwIDmV7M0lfyuIUUjaELg+GNmLXO6aR4jzNOdIgeqTuprjYNX9HGrevP2Oy6BEdH Yt258Bok7trE+0aJ7NV34l15ryzGzESHV/Nzh8tI/wIfpgmgzdX4vdDfNyTVG61Lyq5Y uDc0Q2TNYvvY2EMd+aLmYI7wRC94NcI/IWswL9TdPGzBi05XGRN+JcjYGr3IvMrQrMZl 95GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tJ1gp7hz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g53si1113179edb.313.2019.11.20.18.45.39; Wed, 20 Nov 2019 18:46:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tJ1gp7hz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726270AbfKUCoh (ORCPT + 99 others); Wed, 20 Nov 2019 21:44:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:54150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbfKUCog (ORCPT ); Wed, 20 Nov 2019 21:44:36 -0500 Received: from lenoir.home (lfbn-ncy-1-150-155.w83-194.abo.wanadoo.fr [83.194.232.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D66B02075A; Thu, 21 Nov 2019 02:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574304276; bh=ViOn4xX3fkceu9uxzsTzwd8e9zgSUmFxBQ7qZ3wYGXQ=; h=From:To:Cc:Subject:Date:From; b=tJ1gp7hz9RITa87ooHnfpF39ppKY1N4tVOczDfTzDKxou5gksBZtY4mMGAi8ey/i5 5dACx6tUBhcmlUbHBb8cXEI8q96BqLL6sLGtWwdnr5BedFzii6+LhGGZhoQPYC5eKv 1nv5pylsU+ixqus5HcYBRhaauCPlF1Y2hk2NQUPk= From: Frederic Weisbecker To: Peter Zijlstra , Ingo Molnar Cc: LKML , Frederic Weisbecker , Jacek Anaszewski , Wanpeng Li , "Rafael J . Wysocki" , Benjamin Herrenschmidt , Rik van Riel , Thomas Gleixner , Yauheni Kaliuta , Viresh Kumar , Pavel Machek Subject: [PATCH 0/6] sched/nohz: Make the rest of kcpustat vtime aware v3 Date: Thu, 21 Nov 2019 03:44:24 +0100 Message-Id: <20191121024430.19938-1-frederic@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (For the record, see v2 at https://lore.kernel.org/lkml/20191119232218.4206-1-frederic@kernel.org/ ) This set addresses reviews from Ingo on previous take: * Fix comment nit * Remind in comment about the reschedule IPI that may happen on renice * Constify input * Indent a few blocks of assignments * Use struct kernel_cpustat as an output for kcpustat accessor. It makes things easier and cleaner than the independant variables. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git nohz/kcpustat-v5 HEAD: 8941f0df7da73e1d95f0c0bed0121a14cdb52873 Thanks, Frederic --- Frederic Weisbecker (6): sched/cputime: Support other fields on kcpustat_field() sched/vtime: Bring up complete kcpustat accessor procfs: Use all-in-one vtime aware kcpustat accessor cpufreq: Use vtime aware kcpustat accessors for user time leds: Use all-in-one vtime aware kcpustat accessor rackmeter: Use vtime aware kcpustat accessor drivers/cpufreq/cpufreq.c | 17 +-- drivers/cpufreq/cpufreq_governor.c | 6 +- drivers/leds/trigger/ledtrig-activity.c | 14 ++- drivers/macintosh/rack-meter.c | 7 +- fs/proc/stat.c | 56 +++++----- include/linux/kernel_stat.h | 7 ++ kernel/sched/cputime.c | 190 ++++++++++++++++++++++++++------ 7 files changed, 223 insertions(+), 74 deletions(-)