Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp699210pxb; Thu, 9 Sep 2021 09:59:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNJh1gxUSei4DBEsQLpvqfDDMuA4Ps+V8p6EZyYsX+ys6Xf8xM9p7yAgNRQvC4BrfMBcfO X-Received: by 2002:a17:906:150c:: with SMTP id b12mr4525196ejd.275.1631206751263; Thu, 09 Sep 2021 09:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631206751; cv=none; d=google.com; s=arc-20160816; b=OChUCQy3pX1YkApK7BBqJ17Zo4+2qNSuhsOL/c2yRhQLZJ6B99CxHH3ZvY5AC7dFNp 0Th3ugqk3aqUTmMpirIF/eX6qurnsr8zwIHh6Hd2NdkLn7ssxS9GHX1ejJIZtJ5Pb7wy GTra3DAzqjlraGfJ/IdOUL3x+qTc2mVjIP3OyqQRr3KbFZSH3qhZpJGC2Y8bqKkjow15 XTDoSivXrnJS3N4jgRCxtXMKMRg0csNkOum5vELWHg95/4SJXbJdPkZx1ve9A8igB+2s ODJ9bWewzf8i+3Y+TKLzX0AMGMB8IDqt8ds1iABaSIbgZrYv9EQZdwwNFR6nnQMH0kfy TazQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZVjhQf4Wc5qDwKc6Wxkb4xPFLHy4YamVgNh/i3e/aqg=; b=c1taHfQzW2v5dVfxznUgU36vfHagYciHt9vgsRF3aFGRoA4dyzVJ9X+e16YrW7yvsQ J9Oi/GGy5BePuaUyc8D5d8kQQ1TmgfliJvtoBSoNpw6GdMWz/L5qBO7fgg3+cD14eFwt ejlN2B38re3e6qAbcP4Axq9SqmI/4xs4zu72fqYyFarcjCcFXJ3cp8J7oQN5qOLL2bmf YLp+uG1hXUyOVqLq7msKSTwhNSrxOtVmanQ+fvzTzQL29faBW0C0Tk+xrnASCUf5QDGc 98Bl+3kBMFn/IgJPOlRF2WtiFWKH7FGS/ECXkPKuxKi/B/4jFyu73dWHhqV6JfuRnFFD CYaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=sV1HzMzI; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e1si3303590edl.348.2021.09.09.09.58.44; Thu, 09 Sep 2021 09:59:11 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=sV1HzMzI; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239747AbhIIQ6G (ORCPT + 99 others); Thu, 9 Sep 2021 12:58:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239608AbhIIQ6F (ORCPT ); Thu, 9 Sep 2021 12:58:05 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA61BC061575 for ; Thu, 9 Sep 2021 09:56:55 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id m4so4020796ljq.8 for ; Thu, 09 Sep 2021 09:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZVjhQf4Wc5qDwKc6Wxkb4xPFLHy4YamVgNh/i3e/aqg=; b=sV1HzMzIqQ847QSIIUoHp201jmkdi8+7JMKKQdM8EinRPUqW6MxoJPuy/M2sRh2YX8 xGwcv5MvtoepmTeQz63R00ZU3mkodxx8Vtuf7cefIh7JiddrNc0Yd+HLcMnE0u5OAfR/ fweeDgDPOYX5WlQZwmnM8z7OYcNcHK5+OUWA6PU/YOo3Ef1EPu2B782teb163N0EMh5v mjd6zGLdXtWdZIVYySo5svms0Bzb+9s5hNCnj2sj2n75/Y3AjSmdyyKIMNTBPT1kXSVH /V0DIbMAyvMrgOFxygJGca5bv4qaGEU//VC0F8i/MejvgsFhmMA+lFU74x5dSN7tsYCr da0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZVjhQf4Wc5qDwKc6Wxkb4xPFLHy4YamVgNh/i3e/aqg=; b=vLhmivwnprr0ab349aSu7IyoOsx3Wr0M6viVr5Rq2FRQtUS2IaaRO6cqDxeiI6hTIl NHuoIqd5VOU7s8kheFcTE454ZDpckjS5WGW+c+sy8pMYTQbXw1H6B9/Uh7oPDZc+Af2Q d50NSYIW2DrhELKXDVAiBUSmA9XrpX9Z4H6Vmp6qG3LAR+ZnafA3/utignhIQULBcMtG v2mfTIv3hrB+VCQSFP8LcnaIs/qIe+OnF5Bcy9WDx6cgdBVFbWfcOvyu4q8JaCN/vac3 CdAohhHdfSHYuiXLfL0UjBA8oFIZzVdiyWOTicbAiCYIq3v11UE6Kb22ppBl/V2yyNKn bdkQ== X-Gm-Message-State: AOAM530R58I9hEwWptjAXFWqdIt5Y3lk2RubdGVMHfKuWFwFW4IejXUj D+dLYYy4aWpR/CsbItGvRyeZoeuUPQ14xmkBQvzkMQ== X-Received: by 2002:a2e:858e:: with SMTP id b14mr677223lji.508.1631206613776; Thu, 09 Sep 2021 09:56:53 -0700 (PDT) MIME-Version: 1.0 References: <988f340462a1a3c62b7dc2c64ceb89a4c0a00552.1631077837.git.brookxu@tencent.com> In-Reply-To: <988f340462a1a3c62b7dc2c64ceb89a4c0a00552.1631077837.git.brookxu@tencent.com> From: Vipin Sharma Date: Thu, 9 Sep 2021 09:56:17 -0700 Message-ID: Subject: Re: [RFC PATCH 1/3] misc_cgroup: introduce misc.events and misc_events.local To: brookxu Cc: tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, mkoutny@suse.com, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 7, 2021 at 10:24 PM brookxu wrote: > > From: Chunguang Xu > > Introduce misc.events and misc.events.local to make it easier for > us to understand the pressure of resources. The main idea comes > from mem_cgroup. > > Signed-off-by: Chunguang Xu > --- > include/linux/misc_cgroup.h | 9 +++++++ > kernel/cgroup/misc.c | 50 ++++++++++++++++++++++++++++++++++++- > 2 files changed, 58 insertions(+), 1 deletion(-) Thanks for the changes. Please also update the documentation at Documentation/admin-guide/cgroup-v2.rst for the new changes in the misc cgroup.