Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp786794pxb; Thu, 9 Sep 2021 12:00:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuEWqIvhWJvZI3Y1vy8Z2qXIiKdGh1NsYtpOmSZgo6NTL07irw23zgAJKR6Mya+Mthr03+ X-Received: by 2002:a17:906:36d6:: with SMTP id b22mr4996624ejc.387.1631214049250; Thu, 09 Sep 2021 12:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631214049; cv=none; d=google.com; s=arc-20160816; b=hQ0n+Ltx/Om0YsWE1xaD6MwqkI6iuVcZT9RGxZ8UGWCivWef8QwWirqK72XshhiCRF qQGOXotX6HRDlkAbTUKoZQW2rLMbZSWftfTYDw3t7Y7XFfjIGrl75YOlUctl5xEO6jEg TgYa0iwae6Y9RjepIyMeMnO4tJ5QFLtviZ2BvWa/rF70ApyNDiByyLBl/eyXVfPQ/CMH U4YmLqRHO9djH2oZ2c9iHdNhJgqT950kDFg5TB/QDbQ6tSBFs9/A/8UfFCSwGCe2MxkE sFNiKDbFbM6EivN7aac30a48P0T5Ft05E0ZZ2A0FLbb37ctrXkdU+KnUPlFe6wWxd50P cllA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7t8ztgYZsndp44kDdVFUqlrz/Zoxo2W/1YXS7ePODV0=; b=l5Yz3ZhBWoZevnB3ifFuB6iRycNAqKLR8VvEgiYUZWAau+HezyDBh84b11g1jOSMnf RvYTV86PzVnK8RxDnvvuRj/qHTF3yNwWoCsOxYsL41cXzhowSTuQJD9K5qEtzxlGp1+B JbT/KPYZRYzI/ckRBIdSj/1D6Is3k+G/irmQkAq0zEmBYK4QdtaYQQgiKeKXyhw3SApI 7agri/WSGRdGqSqw0wvPUv5lB+LaCmDyjVZHR+gZMsZDJOXAolI/tfUnqEBUdzZpItD5 unmj7ULQIFdjLaT3afrLbgCyS4Autj7sjYhe40ohwNTwB1LaFUvDILy+a1NHlbdJlXGr Jm3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=RhFaxjaP; 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 y13si34209edm.398.2021.09.09.12.00.25; Thu, 09 Sep 2021 12:00:49 -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=RhFaxjaP; 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 S1344317AbhIIS5a (ORCPT + 99 others); Thu, 9 Sep 2021 14:57:30 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:45312 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235271AbhIIS53 (ORCPT ); Thu, 9 Sep 2021 14:57:29 -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 64F872233B; Thu, 9 Sep 2021 18:56:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1631213778; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7t8ztgYZsndp44kDdVFUqlrz/Zoxo2W/1YXS7ePODV0=; b=RhFaxjaP0kRFSHZmQkLTUH3usxdlgA4J91/Herg20j4L7sLvgpQ3JuSnllPZKyRxRfc+GE jUQP2aFo5A7rEO5JhhZx+eP5RNM5w37gbXoODJX03b45gvkpVwvKIF75IbQuFknN/IVq0A MbKJUW3joiEwGySf/L0DeqEspo5mdYs= 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 2F7AE13ACF; Thu, 9 Sep 2021 18:56:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8YVSCtJYOmFBLwAAMHmgww (envelope-from ); Thu, 09 Sep 2021 18:56:18 +0000 Date: Thu, 9 Sep 2021 20:56:16 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Vipin Sharma Cc: brookxu , tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [RFC PATCH 3/3] misc_cgroup: remove error log to avoid log flood Message-ID: References: <988f340462a1a3c62b7dc2c64ceb89a4c0a00552.1631077837.git.brookxu@tencent.com> <86e89df640f2b4a65dd77bdbab8152fa8e8f5bf1.1631077837.git.brookxu@tencent.com> <20210909143720.GA14709@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 09:49:56AM -0700, Vipin Sharma wrote: > We are adding two files in this patch series, misc.events and > misc.events.local. I think "fail" should go in misc.events.local and > its name should be changed to "max". I consider the max vs fail orthogonal to local vs hierarchical. I.e. both entries can be in both files: (1) misc.events.local:max number of times the cgroup's misc.max was hit (2) misc.events.local:fail number of times operation failed in the cgroup (3) misc.events:max number of times the cgroup's misc.max was hit in the subtree (4) misc.events:fail number of times operation failed in the subtree Is that too many? Admittedly, I assume (1) and (4) will be the more useful ones. However, I'm afraid overloading "max" as suggested might be (more) confusing. ('subtree' above := self or descendant) Michal