Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1605555pxb; Thu, 16 Sep 2021 10:55:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO2ZZ+UWJEWy8HJyyPH3WKsfQwh+EUkRacH4LbgFLRCJGJB/Li/5VUwGeso42DHHdsLETt X-Received: by 2002:a05:6e02:1144:: with SMTP id o4mr4739719ill.264.1631814932752; Thu, 16 Sep 2021 10:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631814932; cv=none; d=google.com; s=arc-20160816; b=XGKKf+KJg7+gF93A6Fa9+iHl97XwYIW3jFe47hZj69oXs33Hk1IpKINVmjcW7wKqBc 1l3OMW+0j+cG38xTUDcSIrFCMiNtcc60uz37iokSLR9KmBG3dPGUWeiP7NXsRSKoC8CN XRfhkfnFKp8bo29RegptFi1aKkNZih51xe6WW0v+AadxZL+KjWo59cjFnBLl3c3beqBy CS6MhC5QzkVZy/OTrD9QKQ2SZALz5iMjRr1aWXiUGvshH6K48vNiEJ7woK9xIMXC6qLO ppftc//F6+E/XZyTM9yucIUqwxsTdl4BNd+ZduK5PM+noNLMVDlkMir7cVDp/I2qOyMf taKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1UXGxl36cCRWagHQx1D/4h9BCgAVpOE3Af+7fYOJUV0=; b=ff6UNupvF9wudsdpvb5J3RxPXrJCxXR9fb92ZQBPCfttzvqWNr2DbTOeOz9pyspCJa 3Ee1pGafADItMfJTUfPOHll06IeR/NJSTqMaXAM+O6rpUqfCQIn7wF8U2uMKB0T/cv+Z OPXUm/enAZ+GBEzB9gTzlyJGfnY61fcccJMqkU1b9po0htfCEycZea6GXdenxdjtiJ6S RvggC/5sWHpLTxI6n8jgOQo567Nz840/KYKwUYn80fjysyDetc2uaf2uCjP+lf8P+BhG a//1afsOT4WSK1OyzG+56z2zxS1soVKFTCIAP2wNjO4s/io/pyqGe6jXWaBFPOfD+nCM n7Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=dLDaSykl; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k35si2855646jac.46.2021.09.16.10.55.21; Thu, 16 Sep 2021 10:55:32 -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=@suse.com header.s=susede1 header.b=dLDaSykl; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243799AbhIPRxF (ORCPT + 99 others); Thu, 16 Sep 2021 13:53:05 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:52544 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350618AbhIPRsz (ORCPT ); Thu, 16 Sep 2021 13:48:55 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4544C2230A; Thu, 16 Sep 2021 17:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1631814453; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1UXGxl36cCRWagHQx1D/4h9BCgAVpOE3Af+7fYOJUV0=; b=dLDaSykl5mJR7jcwRnUhxcauNzcBfc2gCtJt0X6VjDaaQPGiRZ6kqREm42HSHFP7BjyPBz gZBqtJs2KSomO0SiqC7mfpXTbuuui65pkm1+BsbDHWMuPiFQdS+1GL4W0XdPPqfsdZjYah vcqv3ZcEYYJkkff26vT71jIz3uVG/g4= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2386F13D5A; Thu, 16 Sep 2021 17:47:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id X14PCDWDQ2HtbQAAMHmgww (envelope-from ); Thu, 16 Sep 2021 17:47:33 +0000 Date: Thu, 16 Sep 2021 19:47:31 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: brookxu Cc: tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, vipinsh@google.com, corbet@lwn.net, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v3 1/3] misc_cgroup: introduce misc.events to count failures Message-ID: <20210916174731.GB9090@blackbody.suse.cz> References: <3834f917d50a6f19402e179e917ef6a9dde5f64a.1631671936.git.brookxu@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3834f917d50a6f19402e179e917ef6a9dde5f64a.1631671936.git.brookxu@tencent.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 15, 2021 at 10:18:49AM +0800, brookxu wrote: > From: Chunguang Xu > > Introduce misc.events to make it easier for us to understand > the pressure of resources. Currently only the 'max' event is > implemented, which indicates the times the resource is about > to exceeds the max limit. > > Signed-off-by: Chunguang Xu > --- > > v3: remove misc.events.local. > v2: remove cgroup v1 files. > > include/linux/misc_cgroup.h | 5 +++++ > kernel/cgroup/misc.c | 24 ++++++++++++++++++++++++ > 2 files changed, 29 insertions(+) LGTM, Reviewed-by: Michal Koutn?