Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp890368lqh; Sat, 1 Jun 2024 00:07:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPsrrH35OETunMigNwPBVIO/GpNOiImrB1HCc0aWtG9mPeZDNuuxhdCCYIXcKI84PkSeSoJBSr8NkLEea6A2Bl1zpKxmPrS0K+7hNUhQ== X-Google-Smtp-Source: AGHT+IH6a7iwQEuDb3fwPIp9/uJ/e5xZsYTJ9NZwwzW4c/Mn+yXlcKNKKWO+tvtVl5Rlu/A/1Kqe X-Received: by 2002:a17:90b:612:b0:2c1:aa8e:3ca6 with SMTP id 98e67ed59e1d1-2c1dc588b81mr4570764a91.23.1717225638024; Sat, 01 Jun 2024 00:07:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717225638; cv=pass; d=google.com; s=arc-20160816; b=yDP7+ohx0M6Iky5ReOVj2v+Rk8E2KpmSvXZ2vNzmPK3pEeWceNvfgNuUwBslDNBuFa sBUqW2C2TJurSCeCLQn56WWc6I9dDQsW7KR/Z9w3iz4/ygKvXLZu4TbVlFg0mK8eq3EX 47ym0vCH+WvZSoA/3IXJTFXtIS56Vm7Omrd7WD0NxLm4ztqNevH+1gNP/W/ifwEXXNk0 nO0Vjf5iRX2eDEinsb9YbrDOjr7yQeDCljnBrWfZtBgyEfvUhy8d8XcPv5WZXD4eov1a 4VBC0yV6PiGIyLwFjsfpx39Bvg0F4wTdVLFzWzH/X0kon2aoiACbZkhqvEwrToJC4Vcn 0bNA== 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:dkim-signature; bh=pMkC01KRkqAlz+G2uPwzbwHQ0xUHUQLPsXw+O8892Wk=; fh=V6GbPCat9tMLabJCBxD7jX0Vrhw7hVwYdPayKl4sW6w=; b=wnnFRzAxUGqiY69EWqnHd4GIqEnJFKKEHr6IEtU66I/kuQ70/vGg4sQEgwOojjTc4W l/21/P1yVKEapBFFwnO0OPoiDNYuFy6TJfRjnAkbnnHxlTK6P00qDP2O+wOIsAQji6dU V8W7hY04UFeAJaSk/d1UbLz2MEuv1RE5bwZmNQBz/P2k/kAznRoXGxU/tBtfk4mWEkxS NgociLlfCdtI/ee4HHkCzVR0ttp9Eaia70fE/fF1v5zBVQWSPG7ZBeIKFw+79SNayzPY un0eE+0G63alb7hHEhxuNwmg9FzM6BfDIHojRQ70wwqfHh5IOZ8Yx/I6fwDB7keHh+8k NrhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=O3Rxr4is; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-197735-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197735-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1a777af68si3370513a91.47.2024.06.01.00.07.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 00:07:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197735-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=O3Rxr4is; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-197735-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197735-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AA2AEB25664 for ; Sat, 1 Jun 2024 06:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 239EA13AF9; Sat, 1 Jun 2024 06:46:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="O3Rxr4is" Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72ED9D2FA for ; Sat, 1 Jun 2024 06:45:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717224359; cv=none; b=SWB4o9N25nvp2puxrsDMsHG0YhiorL0kkxuvM7rvVgU6jrDVxkF30Uuoob45NqGbFjN3z3HRtzayMQ1DO5GWRIl8ocJYmTTiajtcnYh144P4sTnZU3qT5cVFtPjAcD2mUO1A7yT5kB8UidhQwpDnDX9rM/rAsVE/Hf0GcjIrOYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717224359; c=relaxed/simple; bh=b6Wxekx7D+inUbCRnsc1uCqSE71YHhZvxBeh4cFnZZ4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TbKvbQ1rgP4i/QqB7BwB7DsrNnNfQlfxksTk+ppUqLsULPA70zIzLXZocC3VSDQsunzAFe+dIcEuuTu0ApU79+Eiev4pVwBQUo15kPks1rbYxb+rimyIQ45pmIrcEEmiD5bsugbtIxpxj6zkJu/xWRW1CwPdb5NNsScjvzohP9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=O3Rxr4is; arc=none smtp.client-ip=95.215.58.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: roman.gushchin@linux.dev DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1717224355; h=from:from:reply-to:subject:subject: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=pMkC01KRkqAlz+G2uPwzbwHQ0xUHUQLPsXw+O8892Wk=; b=O3Rxr4isybC7zMC0KERK3MQ6j3QhL+q2ftdW6BlZvG7GxSUf8KwAtzbxo8cXffBz51bmUE IRJ+jRokxGs7Rc2mjtVE3wKXbJdiAbakRoiS/8X2+/CuYxHwVsI9CK5nelxXEtpFe7IDhD P3qXp1A83iDKn3dVwM1i+vc/O3zxE4s= X-Envelope-To: akpm@linux-foundation.org X-Envelope-To: muchun.song@linux.dev X-Envelope-To: hannes@cmpxchg.org X-Envelope-To: mhocko@kernel.org X-Envelope-To: willy@infradead.org X-Envelope-To: linux-mm@kvack.org X-Envelope-To: linux-kernel@vger.kernel.org Date: Fri, 31 May 2024 23:45:46 -0700 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Roman Gushchin Cc: Andrew Morton , Muchun Song , Johannes Weiner , Michal Hocko , Matthew Wilcox , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 06/14] mm: memcg: move legacy memcg event code into memcontrol-v1.c Message-ID: References: <20240528202101.3099300-1-roman.gushchin@linux.dev> <20240528202101.3099300-7-roman.gushchin@linux.dev> 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: <20240528202101.3099300-7-roman.gushchin@linux.dev> X-Migadu-Flow: FLOW_OUT On Tue, May 28, 2024 at 01:20:58PM GMT, Roman Gushchin wrote: > Cgroup v1's memory controller contains a pretty complicated > event notifications mechanism which is not used on cgroup v2. > Let's move the corresponding code into memcontrol-v1.c. > > Please, note, that mem_cgroup_event_ratelimit() remains in > memcontrol.c, otherwise it would require exporting too many > details on memcg stats outside of memcontrol.c. > > Signed-off-by: Roman Gushchin Acked-by: Shakeel Butt