From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932409AbdJZR5O (ORCPT ); Thu, 26 Oct 2017 13:57:14 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:45170 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932309AbdJZR5M (ORCPT ); Thu, 26 Oct 2017 13:57:12 -0400 X-Google-Smtp-Source: ABhQp+TLBIthXib8lIXv0bCx+ny83ckDgfir9iR2wryaNB1cpZSAjICIRf9e8hFIGN1F6rJU9ldgtg== Date: Thu, 26 Oct 2017 10:57:08 -0700 From: Tejun Heo To: Li Zefan , Johannes Weiner , Ingo Molnar , Peter Zijlstra , Roman Gushchin Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH cgroup/for-4.15] cgroup, sched: Move basic cpu stats from cgroup.stat to cpu.stat Message-ID: <20171026175708.GG59538@devbig577.frc2.facebook.com> References: <20171023231827.GA8598@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171023231827.GA8598@devbig577.frc2.facebook.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 23, 2017 at 04:18:27PM -0700, Tejun Heo wrote: > The basic cpu stat is currently shown with "cpu." prefix in > cgroup.stat, and the same information is duplicated in cpu.stat when > cpu controller is enabled. This is ugly and not very scalable as we > want to expand the coverage of stat information which is always > available. > > This patch makes cgroup core always create "cpu.stat" file and show > the basic cpu stat there and calls the cpu controller to show the > extra stats when enabled. This ensures that the same information > isn't presented in multiple places and makes future expansion of basic > stats easier. > > Signed-off-by: Tejun Heo Applied to cgroup/for-4.15. Thanks. -- tejun