Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1331660pxb; Fri, 10 Sep 2021 03:35:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGK5OR8YPbWXKVdY8t1dTmeJ2dI1SvO+gLkWUFD8okVAzADZunsR31dOHZ8FeflbIkRg1W X-Received: by 2002:a05:6602:3404:: with SMTP id n4mr6342530ioz.45.1631270146498; Fri, 10 Sep 2021 03:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631270146; cv=none; d=google.com; s=arc-20160816; b=SaqPwextHRyOmL2rX/VrSvPbVpTZ8qM4h6WQPhc5+xZFo91FF0fe6JHbxWvgTMdSJt qcRZIKfLOBlxyjtGzwZFbxJkpDHhMmgMRwFXd341cfsienhRLSahhfEg05CWLkkQAz4X XVxqxXb8VpfcTzct927BGH1b6g3TXXYMPgnmu4XBw2OV6UeOEcV0f0/mUrF4FpcRh/p3 WEa2NsyX5weTxuVSMis3t3Augagf0cRcXEdxtG1VBaRIoCYVf5InG2vvktj9O04r6/FA srUEdKKdemlXpC3wNPfqepJ8Aq8uxlBJPV1qqeTuhtr/TQhgQMHNzUbTC0l18sEFY2pO E+QA== 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=VuD6HYOFCTA+t/pZ+ukbmTtyDG3QvPABmFJv2yqsIU4=; b=idd2NrBH0R793AAofAkd6Wo0nOI8cJ+xuJie50ymBn3SNYpYZP0lo3ieycjvvTlipf PgbGJIXs/2/ilaOmOBRPZx7RK2YVL7n5OEpkjqovBUV8VEoSoM5z84f2p0MrLJoAfpWT nN4hLmgQeZTyY9ViZ1Bp2F1I6xtLkeyJAkRcZb0CSBMyeOwuaymcjGoO86kUnUIPZCtu sngtYxFAvEWmaYEfvfOfMSmQ2G2/oPPMpQ9yintiCINCYdwR47pjPxMW9v+FooXDS55K Npwj0hZEisTjHLUKZFAUMW3FvqTTPQmoDcyVKHKprE+tEVp8Y4pOCrwGxPmq0YqVlfBL 29mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mMe6RbfG; 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 x6si5167740ilv.42.2021.09.10.03.35.32; Fri, 10 Sep 2021 03:35:46 -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=mMe6RbfG; 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 S232295AbhIJKeU (ORCPT + 99 others); Fri, 10 Sep 2021 06:34:20 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:51734 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232157AbhIJKeT (ORCPT ); Fri, 10 Sep 2021 06:34:19 -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-out2.suse.de (Postfix) with ESMTPS id 88BEE20056; Fri, 10 Sep 2021 10:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1631269987; 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=VuD6HYOFCTA+t/pZ+ukbmTtyDG3QvPABmFJv2yqsIU4=; b=mMe6RbfGZXixrP2ucNxm8af8RpQwXsefvWROdXE9QrJXQ1N8d+PdYmk7IX7odV5t47MMYm qROWOWAEmimRcB8UkU/UoV/PuBnm8MJFn7T2ZUMfimW7SgwWWuxfHy8Af42BcLwXWTmbH3 t9PPGInQY8hUuPUIxeudI2/7po/voNQ= 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 6915413D29; Fri, 10 Sep 2021 10:33:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4PcyGWM0O2GEFQAAMHmgww (envelope-from ); Fri, 10 Sep 2021 10:33:07 +0000 Date: Fri, 10 Sep 2021 12:33:06 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: brookxu , tj@kernel.org Cc: Vipin Sharma , lizefan.x@bytedance.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [RFC PATCH 1/3] misc_cgroup: introduce misc.events and misc_events.local Message-ID: <20210910103306.GA24156@blackbody.suse.cz> References: <988f340462a1a3c62b7dc2c64ceb89a4c0a00552.1631077837.git.brookxu@tencent.com> <20210909143702.GA13761@blackbody.suse.cz> <8259b666-f3a4-6788-880c-38d679414bcb@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <8259b666-f3a4-6788-880c-38d679414bcb@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2021 at 01:20:37PM +0800, brookxu wr= ote: > Yeah, this is more reasonable. But there is still one question, whether we > need to be consistent with other cgroup subsystems, events and events.loc= al > under v1 should not support hierarchy=EF=BC=9F My take is that it's acceptable to present the v2-like files in v1 too for the sake of simplicity since: - this is not used yet, - the v1 is less conventional and - the presence of events.local would cater even to cases with tasks in inner nodes. It'd be good to have Tejun's insight on this too. Michal