Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7473181pxb; Thu, 18 Feb 2021 10:57:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0JniHHfI6Q19UdJK23/YJjIiW83fpJuHUfW3iBdbkyW0MmnFn1OqWg0yT0/TRl657PX80 X-Received: by 2002:aa7:d48c:: with SMTP id b12mr5380523edr.133.1613674639743; Thu, 18 Feb 2021 10:57:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613674639; cv=none; d=google.com; s=arc-20160816; b=0mhLRe54cP/6/EgdEyZynyJrf7BUk1K7RfXWPmcX3XuuwPmZiy+5FidrrNlGgdWLH0 HJ9ql7kcalmlYXofk4o22si56rEW8hTu+wuFyvX/j5A2ZPqZTtxNeM9yEeb+yCnmTz/f 38DVn07KkJJ/FD1ncL7T0GfyB6RTzdt2xkwKLTDqumnvYE9RRXnPfHP5s8D1d+vqkDRv quO2ixY+rksTmR7hec4CVJX+jq0qOP50AmD2LWig0gNKd1rfvZvmWPItm135a9PolSo/ LbMoPaWf/O4chGNzntxiYldhFggFXCD9ICv3SmJMn6vsPzdGe825bQk+PR8S9ysZpsmf b8gg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zVENMey1EdFzZhk4Yon7dEXfrybku0MTAsUKJNMONig=; b=CdwxBfPBCMPTbrQgqThlQQq1PXeyrutxXJMO+sacaxI9A6BsNvgkHvFvm7O4HsG/Cn RXv9erMtkkdoNJ+8HXOjorLn3GiHsLSPwPqI1tmcSOsj/iJYu7dG/eD/52mkbYNtoTxh n5/IBSYgqWOEUqoshOyMjiJJRTug0ShKLO7x8n/u74b+/3fU4wOpSuqb7Xea0XP8tenz M9NqaauCgSAs7subw1EKYsjGSFQSm+qPNAZ6FijrS+vsyfYDJWKLYpY5oET2tvR7FYUu 9zLv0p8AUHlbUZxzKN33Vuq8rIAnMPZhU7/VN5nO9rHpC70F4daqufvKwHaZ7SYuo7rJ sy9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=Y1SWeFTK; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fy13si4304867ejb.62.2021.02.18.10.56.55; Thu, 18 Feb 2021 10:57:19 -0800 (PST) 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=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=Y1SWeFTK; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232085AbhBRS4N (ORCPT + 99 others); Thu, 18 Feb 2021 13:56:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231931AbhBRRH2 (ORCPT ); Thu, 18 Feb 2021 12:07:28 -0500 Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAF60C061788 for ; Thu, 18 Feb 2021 09:06:45 -0800 (PST) Received: by mail-qk1-x72d.google.com with SMTP id 81so2779988qkf.4 for ; Thu, 18 Feb 2021 09:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=zVENMey1EdFzZhk4Yon7dEXfrybku0MTAsUKJNMONig=; b=Y1SWeFTKNyObDh6T0tVdAgoEZMOAylAVj0RaiIh4kAxsIwLKcsBRG7tkJfxs3cHEKu NOWc39l8M1vBqjKsIMnc+AtNj0YWSFBUUDAUFpgpXHuzPzLnk3MRbun/IK0sJH9iZqCi RdKo6WX4ySkyoeKwlC94IFZsf1Ggdowq/47IJqc+GCWUnkGbAfJudf0kZ1qCFSoUNHHv dY/nu1cl5r8HS/JXRG7goGXAtXL1RrdpPQrPCdy4hfiG1WW/Jl8mkMBXUYgonM//jEni tEXmFMLO5cKxRzFHrI9OfkDp/+N6LspjAeUDpjjPIkd3xT5lsvZV4/93GtGUolxXXHfH c9TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=zVENMey1EdFzZhk4Yon7dEXfrybku0MTAsUKJNMONig=; b=lIEmdxlrQCUTFcqE2x3QbzKKtOJIIOOLYrJafsos2TqRuRXwkJSpcX2GMKTF2Kcotn Isl4FrEvi8lA5B7ZPdACQQ/rP334tTF6vdiNCdB1Bfaia6Yxbx2T7eAq4BNE1toun1Vv OLmtPCIKU4fbFVdu1crP6B2Ro1Im8vcuNaipj3QpoL1aS4QJVrj5nZys7XIlRbvEALni /OEoaQ9pVmWHU63IMjsXXaeo9NEPUieLR4FI5AN0GKy83AddE86MdUyRmxJWUc0KQHsQ UfbaZZ6BX3fnbSxXq8Nh+Gb2/8zRzlRdAU3QkQXFGfqfishiN4Osx/rjCAmfaTfgGRJD pCFg== X-Gm-Message-State: AOAM531p22CPlszwaVN09QydWlrX2XF8lDybACCiseBqm+Aesg8wUs4R Mw26lKnMKChxb1JWbAPEkJ1EBQ== X-Received: by 2002:ae9:f309:: with SMTP id p9mr5127370qkg.111.1613668004287; Thu, 18 Feb 2021 09:06:44 -0800 (PST) Received: from localhost ([2620:10d:c091:480::1:b3a9]) by smtp.gmail.com with ESMTPSA id b9sm890037qkj.90.2021.02.18.09.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 09:06:43 -0800 (PST) Date: Thu, 18 Feb 2021 12:06:42 -0500 From: Johannes Weiner To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: Andrew Morton , Tejun Heo , Michal Hocko , Roman Gushchin , Shakeel Butt , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH v3 4/8] cgroup: rstat: support cgroup1 Message-ID: References: <20210209163304.77088-1-hannes@cmpxchg.org> <20210209163304.77088-5-hannes@cmpxchg.org> <20210217174232.GA19239@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2021 at 04:45:11PM +0100, Michal Koutn? wrote: > On Wed, Feb 17, 2021 at 03:52:59PM -0500, Johannes Weiner wrote: > > In this case, we're talking about a relatively small data structure > > and the overhead is per mountpoint. > IIUC, it is per each mountpoint's number of cgroups. But I still accept > the argument above. Furthermore, this can be changed later. Oops, you're right of course. > > The default root group has statically preallocated percpu data before > > and after this patch. See cgroup.c: > I stand corrected, the comment is still valid. > > Therefore, > Reviewed-by: Michal Koutn? Thanks for your reviews, Michal!