Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1151286pxb; Thu, 9 Sep 2021 22:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyslzK1AM2JXgPopz/UDtuEem+/b7QqedpSIypbUHkBIZ98Zws+CFXfbuEBDKv9W4TS94l X-Received: by 2002:a17:907:1de0:: with SMTP id og32mr7500813ejc.348.1631251598310; Thu, 09 Sep 2021 22:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631251598; cv=none; d=google.com; s=arc-20160816; b=Uj64hWvKrn1HGkO3py2AB60DDm2RE+Ev/PYXcALgxpjkYluJrWMncNS4FwvUNlVHd0 gRIUeutWiFtruDyD1Py2F6UlvezBNVscgnAtzuKOVA5QiWzLQpXDCfRCD7+khW5HTlAP d27PKorWkGxiuqzE1DnuiGtgtvbL6AZC52lmt/nMS5bDMxuAEPbgQYVNK+nRr+kbsiZl r7vf2TJJ6TW0HbO1Kek3yLQ0q1PKvQ3U6p3XLORgx6X2muwUf4GkGHAzfZYM5Hzb3mYW I4ouuWNA/OMbaaTneNHkBhIvzlH0wx3/AdgWN4IrpHx5wfshUoPelPQz4ICP6cCAD0/K 3DVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=GiAJAArvmremFZL8MuX/lD3wxzrw3bHPueJYOVM9tdo=; b=ipH3HVZwKpZyNneAZqHWuX/bqgQCYj2iUr2xoFZ9VKD8AbCdLGoE7oJNIESDEJPXsO GYvaGFyi80UHmxpC+7jWQwXX8czvD+7AM6wFOprYbYlj2+wFD9kBqLkqj9IuXGRQKLeD ynUney06Laosgor0Quz+Ns8r2mDx9Ril81O2VvNsHwVl3lYnNX+3DEgIYKJ4NkCaq30f bqgiifYK7wQdsd5mXBPJb96SC4ENWhXjoWPGr6xNfxePkqCkKj2QXOKUxR5kwtW0e7bm wuXLJ9WyT4aADn6F/pUc2fmAvlnZBoPdObKRWGdeDhZi0FtScqsjS6TNWLpWMkI3q0Uq PTRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jrzbmewR; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si5497360ede.389.2021.09.09.22.26.14; Thu, 09 Sep 2021 22:26:38 -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=@gmail.com header.s=20210112 header.b=jrzbmewR; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230324AbhIJFXX (ORCPT + 99 others); Fri, 10 Sep 2021 01:23:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbhIJFXW (ORCPT ); Fri, 10 Sep 2021 01:23:22 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54542C061574; Thu, 9 Sep 2021 22:22:12 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id w6so424718pll.3; Thu, 09 Sep 2021 22:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GiAJAArvmremFZL8MuX/lD3wxzrw3bHPueJYOVM9tdo=; b=jrzbmewRWK3TsvZT7rKAi8gViwiR+gddXgVX4IjLbsQmQuaAQNMVFGy/uUDNbnUmo4 Zq454e0VUA1Clh6bXLc9ieMzumfSjFJQn8X8Rha3iG8cYdk8KGcpAM7mnpFm4gHNHs46 gtRGjOtJz1vkEYb+66DTI0J09nT4mPzfMJ/61VL6IJ1C3lIqr1N5Ly0qY4zOgzbcw3hN aBsCvMeb5sNIKkvM1FYBrIPgHEKsP+M59ABRR83/GfiiN2YL5Tm3VHRaNKBS8LtCDrmt g5XOQzzRhinIGe+BWGLGwCA83o2jPNvwx9kZWr8zRfjNe4NdAaOPfOUkclUd6LsCjtnh ypgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GiAJAArvmremFZL8MuX/lD3wxzrw3bHPueJYOVM9tdo=; b=YqDxsX0BJQBr8rgnz1Y0yGnB3KPEygqgdooR9rJMsw/CUTJLVIl/5wl9uGmTV44rx4 JkF8Q1MEjkkeM2atkqu5O5mJKUa6rUTrlc2g09LgBKAiRE0EzgH3coz7a0GGvMlgN4+t gmFMPxt+qQngKj3RRPFEkYJO+1f8vrbZmob0Ok2XkapmIck7OJ6WCUxqFG8ZWd/nzvID ZvKh26+nOj/FNb9wyE3rd9RYJwr8uaWFNCv5NN12tTmUPCnu/jXz8rh3WzvA8z9GgN+5 akUkQNGsYkkjNIAmFrn78AUqZYYqxMdgf7LHqzJQ2sGWcFGja34ecvNK7Ta/H4n73Lma RPrQ== X-Gm-Message-State: AOAM532yudFqmyTGJhO6VzG3eAt2mxdLiIOUtJYuEVXbX+xTsqpH0v5o KWONqjnIh4n4DNqOkyk+YJprXxWl6sg= X-Received: by 2002:a17:90a:4e:: with SMTP id 14mr7565565pjb.180.1631251331700; Thu, 09 Sep 2021 22:22:11 -0700 (PDT) Received: from [192.168.255.10] ([203.205.141.113]) by smtp.gmail.com with ESMTPSA id d18sm3908870pge.65.2021.09.09.22.22.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Sep 2021 22:22:11 -0700 (PDT) Subject: Re: [RFC PATCH 1/3] misc_cgroup: introduce misc.events and misc_events.local To: Vipin Sharma Cc: tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, mkoutny@suse.com, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org References: <988f340462a1a3c62b7dc2c64ceb89a4c0a00552.1631077837.git.brookxu@tencent.com> From: brookxu Message-ID: <2ed98cd6-38bb-100c-9be5-e67f64d8dd62@gmail.com> Date: Fri, 10 Sep 2021 13:21:24 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vipin Sharma wrote on 2021/9/10 12:56 上午: > 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. > All right, thanks.