From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE990C432BE for ; Mon, 30 Aug 2021 03:22:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ABDEF60F57 for ; Mon, 30 Aug 2021 03:22:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229698AbhH3DXW (ORCPT ); Sun, 29 Aug 2021 23:23:22 -0400 Received: from out30-133.freemail.mail.aliyun.com ([115.124.30.133]:44786 "EHLO out30-133.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhH3DXU (ORCPT ); Sun, 29 Aug 2021 23:23:20 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R481e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=changhuaixin@linux.alibaba.com;NM=1;PH=DS;RN=24;SR=0;TI=SMTPD_---0UmUz4kr_1630293742; Received: from localhost(mailfrom:changhuaixin@linux.alibaba.com fp:SMTPD_---0UmUz4kr_1630293742) by smtp.aliyun-inc.com(127.0.0.1); Mon, 30 Aug 2021 11:22:22 +0800 From: Huaixin Chang To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, anderson@cs.unc.edu, baruah@wustl.edu, bsegall@google.com, changhuaixin@linux.alibaba.com, dietmar.eggemann@arm.com, dtcccc@linux.alibaba.com, juri.lelli@redhat.com, khlebnikov@yandex-team.ru, luca.abeni@santannapisa.it, mgorman@suse.de, mingo@redhat.com, odin@uged.al, odin@ugedal.com, pauld@redhead.com, pjt@google.com, rostedt@goodmis.org, shanpeic@linux.alibaba.com, tj@kernel.org, tommaso.cucinotta@santannapisa.it, vincent.guittot@linaro.org, xiyou.wangcong@gmail.com, daniel.m.jordan@oracle.com Subject: [PATCH 0/2 v2] Add statistics and document for cfs_b burst Date: Mon, 30 Aug 2021 11:22:13 +0800 Message-Id: <20210830032215.16302-1-changhuaixin@linux.alibaba.com> X-Mailer: git-send-email 2.14.4.44.g2045bb6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changelog: v2: - Use burst_time in nanoseconds for cgroup1 interface, and burst_usec in microseconds for cgroup2 interface. - Minor document adjustment. v1 Link: https://lore.kernel.org/lkml/20210816070849.3153-1-changhuaixin@linux.alibaba.com/ Huaixin Chang (2): sched/fair: Add cfs bandwidth burst statistics sched/fair: Add document for burstable CFS bandwidth Documentation/admin-guide/cgroup-v2.rst | 8 ++++ Documentation/scheduler/sched-bwc.rst | 85 +++++++++++++++++++++++++++++---- kernel/sched/core.c | 13 +++-- kernel/sched/fair.c | 9 ++++ kernel/sched/sched.h | 3 ++ 5 files changed, 105 insertions(+), 13 deletions(-) -- 2.14.4.44.g2045bb6