Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp57536lqp; Fri, 12 Apr 2024 10:20:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdftMF/YT8uGVKeXuL/yBSpixVaUkxbv5L46rqnImIxsxkzd2id25Kgl6CHCrb9UE+QewliIfFcXwx692dfVlD1wYGUPiKPGZTtfOYSQ== X-Google-Smtp-Source: AGHT+IFtL8g+GRoXELNSusD6DgCMX2y41XHCsiG6ms/ujqwGrPIvj0LJRFAPkY0mFLcicssgKFZG X-Received: by 2002:a17:906:57da:b0:a52:4309:e3e7 with SMTP id u26-20020a17090657da00b00a524309e3e7mr364469ejr.31.1712942449287; Fri, 12 Apr 2024 10:20:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712942449; cv=pass; d=google.com; s=arc-20160816; b=D0Y1ttzw6Jai+SmjeYqlPE+lreRlGw5nX4SXuYPQTW6z+oPUo4YYYxUjHlQJp91Z9l 1a6u8wp0vvWSOhSHj1Q3c97/zIbRGePf3x7FcljwW6P7hCTaYWlXxyIu0PY1B3TQmhHz fAtG0Wa+jA0DYKeSzbTmPlCBgjrrRt/EpEFCCZ2V3NoTrVULAX17/xDryar60Z/3iwls NT+be+Ubi/X2oqjTpNzvR2PPqLZc/hHlXSy0ziR0oUs82A+A4vZ9eWPerkvrR+QWfhTt RQ7Tns/Qo6MKww/VqWO5iHUyg5NOW7KRzazIENwSI7fuLFbnkvw+wmrpfEPHN9PjLoRM wTag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=JJ5C18NZDFm02iL6S1RPc4RabDu1qzQWJrryPnRBtvI=; fh=GfOj/7KNmEyhLmTdFaVTxkEUPN7uuvvTdQ30qRO7aLU=; b=q6P8XE3nzL5cQW+JJP5X2pDuhdH3QXCMaSu3Pmp58V8NRBtpDY4Q9cjOAXmhtXX4S0 3lr0FCA0KAEOnKW9sMaXZou1ffEV8VSHIcRVOOAZvDUdSKZBXLvfateizEYq+81wEy8y cW5PuBmzuOHlrvsMMf+jzd4Np3/tL7V3s8rlHYkmbNest49cN2lUIoF9keLiv2VCA0f9 iDwPhObwz9mhTufAhE479esAxQa8C4uUB4qIDa+uk0X0Al6xCVWem97k4DGANVdK75ay 5TklJ1mZbKH82qS/oIA1WRU7br5EegXDiFiKnwDbuD1Nfdo4dl0RDXujq2dLOKOJfVMk lcYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=brjzMzrj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-143120-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143120-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p14-20020a17090628ce00b00a51b7e1f165si1917297ejd.727.2024.04.12.10.20.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 10:20:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143120-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=brjzMzrj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-143120-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143120-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 04C911F222E3 for ; Fri, 12 Apr 2024 17:20:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C516D14C587; Fri, 12 Apr 2024 17:20:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="brjzMzrj" Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A354A14BFB1; Fri, 12 Apr 2024 17:20:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712942441; cv=none; b=pxpsog50BN6hkTWJSECJc/2hx7U/Gq8whWsMjsL05XOhdHuj8sGglQrBz6TbIdbzfpATn1Niy9G/nP2L80dQfvMvsFZDK8royRxfvARf36U9K6oDm5n5wovUx/++GsvcvBXHdjaFj4wHqYux9Xq56r1EBn2jxSlRIFtVC46fmJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712942441; c=relaxed/simple; bh=a1wk1OqBciJqZ7yBicCOBHEJpruyDLFfrzUJMd6JthQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NOwXZxKsRRnedfcDX3t/2Rl9Lri1bPzCVnBHh49Qb7t5HfYAd6UmDNGAGmgXFK2tQqT85oept52y2PlS3ztwiGHj1YaOBm6HleSU95rs36sklhGaFesqg9HVOP7fNAnWz6nm1eo00cjwwv72MPSTDGhZk359IEfxdEyaYX37qog= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=brjzMzrj; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1e4c4fb6af3so6607715ad.0; Fri, 12 Apr 2024 10:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712942439; x=1713547239; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=JJ5C18NZDFm02iL6S1RPc4RabDu1qzQWJrryPnRBtvI=; b=brjzMzrj0h+srQQ4zuqhWoek8RDyjnfYdkurYkgJPcP3L2bsQNNylU734r3J3LQftY u5eX99dgmSwIWTrU2UudpwqEG46CqXapv/lJmRTqTdbOsmOL6pf2JW6mi9pkPSM7Xkfj Alr7Id3p4Qf3wEdeNkB2WRJmWHEshU4Ps8eLHHD25TCRNGg1vY2a81WjNfZ3N5yA9CF6 O2foPKt6yXfFdKHvcimHHpHZZid/+zj8aOlGP7Io3UAtKFB9gnNDEUMWtEUXbhJQz8kY xuSBXX/bNeS9rO7R8bKzxujyuCjdudVvjQMiPnekLCgfXoOJu9pW4+WhnaoGOI4Kb4Vi 1Xhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712942439; x=1713547239; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JJ5C18NZDFm02iL6S1RPc4RabDu1qzQWJrryPnRBtvI=; b=rWHKycjVq0IKqX6pY8z0A7wHOXskxe9gJJQ0oAeIrecZkZghaDhBQyAzoYGvtIVJbo 4SgyFuLgQZWTvDtNWOhGCLXJL5wtkey7Sl4Fi24g3IdnHJV5I//GUnxUuuWuk+DuGo89 UehVNz1NozyN8j8mk8JnwP0R9tBMVoRQmvl7n4S6+XudL4TZLuBrz2b06LWKF0Hlu8X5 Ko5/+7wnYPXFqi/S+PbTgT7Ycl+ai1s2FssfyACfK4PtHqJu6MIfqvkXoW25ol7X+tAb KGo+cgOfZCMcqB4oGVosWTGFqJAXo7dU3x9VtcJlpbLIFq6EUj/lqeSYUfJ1CXQjxR+N Hl8Q== X-Forwarded-Encrypted: i=1; AJvYcCXRD/kagrTGSu/pQy/3QyvkeusucTTPlTIbZQ7MgUJlC/6LqK3g2dMSebMWALTyKr97eUHY4HNGkcBisERNO28imFXSbggfqTPZO06iOdAqPFPiqkuJZGbv7PVnIevKW8YxyhaVlw== X-Gm-Message-State: AOJu0YwRU89VZxuhcH9zVJc5Z6I/DEr3BJF7GQnx6uSrf16OeFR3QESY HcJQA5R3glGo1hBc9PbQGMhipBK6nW0noXcpG4SiXsGy+2/jb3gj X-Received: by 2002:a17:902:e811:b0:1e3:cb8d:e28f with SMTP id u17-20020a170902e81100b001e3cb8de28fmr8232776plg.31.1712942438893; Fri, 12 Apr 2024 10:20:38 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:a5f4]) by smtp.gmail.com with ESMTPSA id t15-20020a170902e84f00b001e2a0d33fbbsm3220724plg.219.2024.04.12.10.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 10:20:38 -0700 (PDT) Sender: Tejun Heo Date: Fri, 12 Apr 2024 07:20:37 -1000 From: Tejun Heo To: Xiu Jianfeng Cc: lizefan.x@bytedance.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] cgroup: move proc_cgroupstats_show() to cgroup.c Message-ID: References: <20240412025402.780603-1-xiujianfeng@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240412025402.780603-1-xiujianfeng@huaweicloud.com> Hello, On Fri, Apr 12, 2024 at 02:54:02AM +0000, Xiu Jianfeng wrote: > From: Xiu Jianfeng > > Currently proc_cgroupstats_show() is in cgroup-v1.c, however it can be > used for v2 too, so it's better to move it cgroup.c. This isn't all that useful for cgroup2. I'd rather just leave it as-is. Thanks. -- tejun