From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5E5FC28B2F for ; Tue, 11 Mar 2025 19:24:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6346F280003; Tue, 11 Mar 2025 15:24:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5E299280001; Tue, 11 Mar 2025 15:24:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4AB0F280003; Tue, 11 Mar 2025 15:24:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 2F8D2280001 for ; Tue, 11 Mar 2025 15:24:01 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id BC7101605B4 for ; Tue, 11 Mar 2025 19:24:02 +0000 (UTC) X-FDA: 83210245524.14.674CDA6 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf29.hostedemail.com (Postfix) with ESMTP id 07DCF120006 for ; Tue, 11 Mar 2025 19:24:00 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fNWAzyBh; spf=pass (imf29.hostedemail.com: domain of tj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=tj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1741721041; h=from:from:sender:reply-to:subject:subject: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:dkim-signature; bh=pS9aNXMxTZcA1/EQ3rqSfbbjwg2ap0H6cUq40cqZuVY=; b=iv3OzAd2xgRgVtS3t5lTPCEpu6ND25+xm6F48QiYaUTiW/xNHbnU/ujWHmcw42qhNp5zMc UJNidq8gDMik8WxxLfjKvvdFodjRpF33rqsfLXzTSHXh3YvXOT1ugMrQcpB6eUS0ku0ErJ xC0ODhYpa//W6Cd5l6WJHBBEF39of1c= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fNWAzyBh; spf=pass (imf29.hostedemail.com: domain of tj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=tj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1741721041; a=rsa-sha256; cv=none; b=TG2ByBeg2r+nA6OEE0Z4OyigzHyRFwrDIFHZQfI7ZYGi7nCGHYM0pwW6JFF6p/4VhtAWIB n31ninFFUU5h/+m12ORNsG8CV9ZHnkfrGi4OvCaLT3Q41ILOsFoATAW9QBH8jYDnAgP3d2 fWf26lrV9HyX8/+Wxbksuvdwbf/SEkA= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 33A645C5C9B; Tue, 11 Mar 2025 19:21:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 811E0C4CEEA; Tue, 11 Mar 2025 19:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741721039; bh=5mVnh8fjGF8Oy9qr15OGfcozu4fYLmyI3uszL0xmuO8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fNWAzyBhegpIESCOpfUhfzWO0+SAu6ynu9nA6DUlg8WBeqULGPcOe4cN5w1uTmc/w ol4QgnmOPAPOa++rCqD0ehNxbIjO8lV3ep1BSfMPYBE6t9mzLqezDg66k68DCliV6U 9uhl9V8z6tuVSoCDM97UhnHozGzXn5KJ/PSlqlVhbdlQoh4K/CAFmpIfPDSpOp8Z1s lXbpe3fING+9OMnDwOTIjEAhuePf9KpaC18x50wDxB4GeZ9ivHyjCDUTZZk8qk7vkO OLcLWRhSddu2NRHptKZsr9V3fenrsTxkrDtg/Xyos95TkLLAPmfjf3iS8wdQQ8ipM5 49bBC8dpZimrw== Date: Tue, 11 Mar 2025 09:23:58 -1000 From: Tejun Heo To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, Josef Bacik , Waiman Long , Jonathan Corbet , Andrew Morton , Shakeel Butt , Roman Gushchin , Johannes Weiner , Muchun Song , Michal Hocko , Jens Axboe Subject: Re: [PATCH v2 00/11] cgroup v1 deprecation messages Message-ID: References: <20250311123640.530377-1-mkoutny@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250311123640.530377-1-mkoutny@suse.com> X-Rspam-User: X-Rspamd-Queue-Id: 07DCF120006 X-Stat-Signature: hojpz4mrpz9joqmd1ws5fckyobjd6typ X-Rspamd-Server: rspam09 X-HE-Tag: 1741721040-537817 X-HE-Meta: U2FsdGVkX1+coQYnRdu39Qq1Ql9zogQtWpAD3XCWj7fZEtYp2yeX7rzHq8bZC0KEPTGqu7hxM77uaAd9KZRhCRUKAuSMEFI1HmFr1p2nNXiejbdQe79qsQPmtOi1zI1MvRyMEyV44UIywOgbGVtF4J/tLpCnNYZxOqgO8a9gYzix6Bm3q20quHMdnQUL+iSc51DHnSMkSsmfyfVeJRU9vlZnZDm1ZvY/qHzTehgV7lc/09Y4jGkJfvLOcNqUF075KNgBfag4GBLXzTWCRNI4MlEqnBIkalQDLVrjNdAdpbZY0Na5RNojCXKdpjZNtbfSD0ZsgJYl1BUjWXb6qWPGpPbs3dJ2htOysmBEt6YVgXqmcvPreqsGgsGGR5cYEbsZ7IXKdHAanQ8tCklCxzIqiWM20VBSMOwQ3eTahTLY38NFfyvM6+KtqW7eJPVwAoorWWOy5Wi3DLBw2LIi3jhaXkgD2P8wEfUaDLKUn8PO4dr09IExb7X68HleXBR+IkxR5dk785GzvZkGKEp0P8Z/Cxn4DOcDbXkitU/4BL87wpVz7AZvegW8jle9JMWQgXN/FnRkjHTTSzh8cU7btAMp6suwxeB80AjeHo6Sn0u/vIDr3xE0rEm9+pQZcBUQrGF4xWjNLV2DSAKS5GqJjLJyV4XEwa2nEhSjgHLo93n3bbgEUA4kjWjKb/JKEJgkECbS8mjdQ7sNo2nJ+skD1mdailud8EzZtABKJoW9frCrjyif7eYZ62PfxmNQNk9N3m6mVD2vTQp00unW0ZVs4moz9jlfmbrIbDBPnYj93/P9OawXko0NkmNb7C6mMHhmo9Or5Csy44daUPtyPNphid8M99tcv4WrAyjGMNdY5JDGjqjCx13ktvaSJt/nT+otIKflQKrl5ZAwMmZlAcJimrNWZIHlnBF6b2H/dujO9kz0IodwSGe8yQB4SUUoiufR65kLGX880atWU6cy+30+H3i CTn/BwuX XSxVi1J6pDe7b6k76EADqIzeQtgp35p4Re6ENwASmjz7E1Tg4UiEMFj/+jL7bx/t9F2isTEMrFewTCRU2fKHzLa68az49kpVniyYftKQ/NLCeBObgxN+hBMgMvgp/djgpEZx8hCtglQBa0IxKNWcCFe8Q1vSb3WOxRkT1vb1h9y17ccNCAZ6yx1bIa/Y3W6caL/WMjGve3enyrd/RQqPOO+/CA6k3VN1urwf29lhwFkV2N/0= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Tue, Mar 11, 2025 at 01:36:17PM +0100, Michal Koutný wrote: > Memory controller had begun to print warning messages when using some > attributes that do no have a counterpart in its cgroup v2 > implementation. This is informative to users who run (unwittingly) on v1 > or to distros that run v1 (they can learn about such users or prepare > for disabling v1 configs). > > I consider the deprecated files in three categories: > - RE) replacement exists, > - DN) dropped as non-ideal concept (e.g. non-hierarchical resources), > - NE) not evaluated (yet). > > For RE, I added the replacement into the warning message, DN have only a > plain deprecation message and I marked the commits with NE as RFC. > Also I'd be happy if you would point out some forgotten knobs that'd > deserve similar warnings. > > The level of messages is info to avoid too much noise (may be increased > in future when there are fewer users). Some knobs from DN have warn > level. > > The net_cls and net_prio controllers that only exist on v1 hierarchies > have no straightforward action for users (replacement would rely on net > NS or eBPF), so messages for their usage are omitted, although it'd be > good to eventually retire that code in favor of aforementioned. > > At the end are some cleanup patches I encountered en route. Applied to cgroup/for-6.15. Thanks. -- tejun