Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp608069pxb; Thu, 9 Sep 2021 08:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuyVBP7QPAh86DWUqJ578tI+sIbLPcBvmdpwp23dr0BSzbntPqhFr9yaEFjRwwoi/gNk70 X-Received: by 2002:aa7:c884:: with SMTP id p4mr3575761eds.203.1631200020805; Thu, 09 Sep 2021 08:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631200020; cv=none; d=google.com; s=arc-20160816; b=cG9LJbaHcVZivc7GY9HdGnklfvVY+ZcFT6km8JGX+URNlSj1POXnkdSykCYC43uJsP b69/z/2KlfYqC0xY4APy1GxT/zi2l3RIliYq376RjRICc72CHoAh8NO4kYVUrpS8MruH 97tN9gpTgfO+STOPgNWYPdE86SnFfNsc/k0y8s+tVpLJ9yPXqURV3Z4tS7xJlqWkrbeT A7Gs6aMF9+txnQWICF0ou2XTVJW1HZLbLw19fniT+Kp5b7n/l5atQ57cIHMSqAJ6MG8Y o6IMEdE57I8cZ4l9SMo4n7FNTycrjYW9E55i0mOEat6DbTaQjJ3H162gb4e8NbrICmxi rVoA== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7YDXHPzZgNhxK+JqlG9HXkSUyEV8IJc2b4TuXsz5yH0=; b=YyYF+Rwcy+Emq1pwoxs1n/LjDDYVobhFwn2xM8LDRaoQPzeFjz4hsM1sgggv9sWm/i 8LQh2tjHoePBY6oovJYeXzjBjKjQZUFaoqOtGf6bNnDgIPsKMzzYO2v9CBtKWDNxbh43 yU8qRt+G3w1rdi6P8m2wAtlTtmovC9M6nHcR0KCR1KrUdxmDJ0IT+aKkL+tPT9d4wMz1 pD4EDJK7jsuFLeiM2ZlD1xFVPCCRs3gjFAc10EEpqRWd7ZD+uVyI+ySkAscaU5m7J+K9 sOQhNTKg6kRkUl9cNRKltq0uZjUZd5JFRrR+pXXhio3azDPDk2uqH7E4cWgIz0IDy794 66uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=kRRhZmQ3; 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 r20si2040692edw.256.2021.09.09.08.06.22; Thu, 09 Sep 2021 08:07:00 -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=kRRhZmQ3; 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 S236667AbhIIPC7 (ORCPT + 99 others); Thu, 9 Sep 2021 11:02:59 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:41744 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236545AbhIIPC6 (ORCPT ); Thu, 9 Sep 2021 11:02:58 -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 D088922334; Thu, 9 Sep 2021 15:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1631199707; 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=7YDXHPzZgNhxK+JqlG9HXkSUyEV8IJc2b4TuXsz5yH0=; b=kRRhZmQ3mqVSek9+0O4cHQ+rYzMVNOxaruVMvb1v75PP9GurRgzsXJuC+mknsmdvE8YkvW Zb3LnQ3XGdB56U8spoEpjD4a2QLYTxaQiq0o27yIjFzfZdz3biJUxxSO3DHXksyCYs62PA HwqjlBP1xSO36QTsp9qKWvwqz6leJmo= 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 B427213C53; Thu, 9 Sep 2021 15:01:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id F1QlK9shOmFYSAAAMHmgww (envelope-from ); Thu, 09 Sep 2021 15:01:47 +0000 Date: Thu, 9 Sep 2021 17:01:46 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: brookxu Cc: Tejun Heo , lizefan.x@bytedance.com, hannes@cmpxchg.org, vipinsh@google.com, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH v2] misc_cgroup: use a counter to count the number of failures Message-ID: <20210909150146.GA18171@blackbody.suse.cz> References: <20210824164423.GA11859@blackbody.suse.cz> <4ed67493-e595-e002-69f9-1f53662ba189@gmail.com> <20210826112954.GD4520@blackbody.suse.cz> <49057879-92a9-958a-ac30-057ceabd1b7f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49057879-92a9-958a-ac30-057ceabd1b7f@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. On Wed, Sep 08, 2021 at 01:29:18PM +0800, brookxu wrote: > I have sentout misc_cgroup events and events.local related patches. > I want to make corresponding changes to pids cgroup by the way. Do > you think it is ok? The pids controller is longer out there, so some changes should be more careful (e.g. I wouldn't drop the log message). Also, you can base it on [1] (there should be just missing the .local/hierarchical event files separation). HTH, Michal [1] https://lore.kernel.org/lkml/20200205134426.10570-1-mkoutny@suse.com/