Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3276719pxb; Sun, 29 Aug 2021 20:23:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9r8IEgc6cTiMhJSMe/Z/eIVIR/OMpoia64pFZQUiQPUSsp07BRtbhS2XN2CGcJRXLnQDI X-Received: by 2002:a05:6e02:1353:: with SMTP id k19mr14886361ilr.157.1630293805679; Sun, 29 Aug 2021 20:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630293805; cv=none; d=google.com; s=arc-20160816; b=L73ITvnyJaEauCzCxadfhQvuO/Cg/54ivTJvG4K25CK/bbGf+LQOTWSx0y8XyIDPwT fa+cqH3Bs2O43LPf2BWQ2tBBLD4NY1zCd/5Y+V+0Lm5zhJl1CKnIaiDxHeRn2zvOGJXy +jlDgv9UwAKoAcyEIEeLiXDksKhg3sDTkJfwJEoLDgysmTRbolqhYPkG8Xfvp8Ao9tsi p8FYXa5CYAWNzzUaaM4PIIql+XrDeYfHlOAHziGYm5plJcVQg0v1hTm2wX8o0ZURtgEJ CmlYLWAhM8iHgTZvSifFRIjFR3OOeayEiVBeG29s+gL7p7VeUFHhpm/xTc2a4rj/h9C1 f/1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wfF4LBj48wB5MjstXNfAtefCE9acf3moUF5S4nlMc/E=; b=Xagdqq/VhzAt+mj2pUlZCNwdnBUD8knmRqSeMi7kgFySDANJPwc5BXmGSnGwUtySMm 0HkPimywYWVkxQfhj/XWTJPpRWQtGBcMLfUCkuRf6uWWJvO3dZsc8+0JZfo6+tbGnguZ TEz7LKGGSOgPdRMHbfmBDM+ha/EUcUJAZd53bSm+pfC85ADHIaxK1J2BzywEYp33yP/J X5hkKqgP6iKsiCwOdi9vrHe5UpSyiswiHR+NZUht1Hty9F/IV3PBDkg9Akga22pTPqMU ElbcVbgtmqfeL0mBopoIYuLTJ/FyWfXQ+nnL01HVLUZu1ThJI5xWqkpFTcGzxyDIsTO4 /zZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si5025210jav.89.2021.08.29.20.23.13; Sun, 29 Aug 2021 20:23:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229649AbhH3DXU (ORCPT + 99 others); Sun, 29 Aug 2021 23:23:20 -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