Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1654794pxb; Fri, 10 Sep 2021 10:33:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywi0pt9jZWR3m/R8+FntVaRSw+UMdtqNUKJJSb9cksBwX2D9xxU9OsETPjqV2P16GwfAMB X-Received: by 2002:a6b:6a14:: with SMTP id x20mr7738614iog.177.1631295201363; Fri, 10 Sep 2021 10:33:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631295201; cv=none; d=google.com; s=arc-20160816; b=XUS5eCKQzvbyPPxl+5zzjP8dqqX2ySt7z9iIIt+YeL7dtDoxsC4Bt8kEq3s+7ixagF D/iwASAg5bBS1T2SYYop3sw6ZSSFyqlqIx4kh9VkajXCdtTJKXrhcPHz2JrcmcDhhQa3 u1zmwGZWXwWZR31UyaPPmyITC4CIT0Ojm/UFLyAHmkZaKqWsYWVo/90jgAC9vXsHdXPs LmOlB8GHD37ZMVEbQIUqdcS4tvaog9N74kSR3MWEtZjhGrKrQ8RECuSr1Oc4rhgpCf/q onMOkIfMlkW8Xi4JhcaMhGKoetWsamZHqcMx3XFNu4zWtEB6HhpBDpMRhZu+KxLhIEG1 zL9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=j4e2VGm4rZT+9uHWwvDnPkLTEAhTR8ODAxNvnYiGuQw=; b=Sx+6Y+1diJyt9WxKZiXu9JWSvwWh38TAoYPIzsk3DYD3m6OcOBaP7QMPG99ZRiLtKa bdwLwze5rT6mCeTWo1CYPrGl0sXr1fb42MmtrYaF0izwB4XcIELANmLIFoSewfjNrfhw 8dRZQG1rT3JIPEVNDFQZFvq/pyE0abXrumAty4f8rczq2l5kcaQDMlny4w+gU/Ce+Njm nuW42B1rde/D22bvlos8iyrAqVludYM2WKvkdzLSAMw35ac5kdK63T1oNaYIcsB9Aea5 aWh84J/pzGpBGL5gLpkxVVOUy6Z2VsVzbkaSHBmgNHB0xj0yrL8QqXeiBufn3nOsnaWN 0ahA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=S+FRcNht; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r131si5261807ior.19.2021.09.10.10.33.08; Fri, 10 Sep 2021 10:33:21 -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=@google.com header.s=20210112 header.b=S+FRcNht; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231171AbhIJRcy (ORCPT + 99 others); Fri, 10 Sep 2021 13:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbhIJRcw (ORCPT ); Fri, 10 Sep 2021 13:32:52 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1BE0C061574 for ; Fri, 10 Sep 2021 10:31:40 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id s3so4356852ljp.11 for ; Fri, 10 Sep 2021 10:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j4e2VGm4rZT+9uHWwvDnPkLTEAhTR8ODAxNvnYiGuQw=; b=S+FRcNht9+4Pr/NtV9V2YjE7h0FhQpqrIe5JtlAODhefHbazOjyRwvpQvlwmcyzu4g 0sVjuV3fYVzTwn+rQjMjzlGV//VbtvsfgZsPGFB6IrGbHKKhMb+mybS7IO0v65yKcaRh TK+MwUWxI2g/bmAC5bWTKkply4ijnNYq9i7W/jEU498T5Iq+ayXfv0Aay5A4vADoCIB+ TMskqhFeYtFPcFdU8c5ZCQHsJJMgtKUdvilz7xSoVnO6YOBSdgkKRcl2OkgXIVB+u0Vb c/EqFmNmYv6+mLrzlUongpTVBH3Qa+18Z56OxVXJw7zRt6clfU5eXBRB1t844WITPHlw Cphw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j4e2VGm4rZT+9uHWwvDnPkLTEAhTR8ODAxNvnYiGuQw=; b=7JvuphNFbgkCw9K1TmINJLsaY1Mk5l1n0H52ehz5J/M6iyXfRYtx8qrpMDwHKekCc7 1A/iRIsj559SXr3o+q46mSJQYmBFdT5uNaSLj27Dv2iZNEUVJHPppeQRGUTqScsKtFYz nOXpBfw0x1ByuMA2u3oXhX/MKdqfGg6R4Qoc9vg/ENKbdiDO8D7LUvVi3dbmtZgRT6Ob 4TJJRjIi0rjJA6m/IAmsrJ8ka0EIjxy+3TSyAnCBCZ91uy6BTF2Lmpx/sNvtzIYig8qi CUeTHPYs8QhouhtR+LfwrsDkbS78uLL+YraFdkYW0HK9QkXcGF6HRl+liJXsI/QNklNA QZmw== X-Gm-Message-State: AOAM533+OTVufAdfwmwGYBS6aKCQr9LGCDFt/xaOPN8rKhNRCTXPnfbI AeHlyEw4ctuJj0FusyN7SFWltr0PknEBdHFlRy6EiD87834= X-Received: by 2002:a2e:858e:: with SMTP id b14mr4992808lji.508.1631295098788; Fri, 10 Sep 2021 10:31:38 -0700 (PDT) MIME-Version: 1.0 References: <86e89df640f2b4a65dd77bdbab8152fa8e8f5bf1.1631077837.git.brookxu@tencent.com> <20210909143720.GA14709@blackbody.suse.cz> <478e986c-bc69-62b8-936e-5b075f9270b4@gmail.com> <20210910092310.GA18084@blackbody.suse.cz> <1679f995-5a6f-11b8-7870-54318db07d0d@gmail.com> <20210910153609.GC24156@blackbody.suse.cz> In-Reply-To: From: Vipin Sharma Date: Fri, 10 Sep 2021 10:31:02 -0700 Message-ID: Subject: Re: [RFC PATCH 3/3] misc_cgroup: remove error log to avoid log flood To: Tejun Heo Cc: =?UTF-8?Q?Michal_Koutn=C3=BD?= , "brookxu.cn" , lizefan.x@bytedance.com, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2021 at 10:19 AM Tejun Heo wrote: > > Hello, > > On Fri, Sep 10, 2021 at 10:16:46AM -0700, Vipin Sharma wrote: > > For now, I think we can just have one file, events.local > > (non-hierarchical) which has %s.max type entries. This will tell us > > which cgroup is under pressure and I believe this is helpful. > > How about just sticking with hierarchical events? Do you see a lot of > downsides with that compared to .local? > Local would have made it easier to identify constrained cgroup and the lesser number of file notify events will be fired. I don't have a strong aversion to hierarchical events only as well if that is more suited for the cgroup v2 style.