From patchwork Wed Aug 14 20:28:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shakeel Butt X-Patchwork-Id: 13763927 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 AAFFAC3DA4A for ; Wed, 14 Aug 2024 20:28:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2FF8F6B0082; Wed, 14 Aug 2024 16:28:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2ADF46B0085; Wed, 14 Aug 2024 16:28:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 19D2B6B0088; Wed, 14 Aug 2024 16:28:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id EFAF56B0082 for ; Wed, 14 Aug 2024 16:28:43 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 8EF8614119D for ; Wed, 14 Aug 2024 20:28:43 +0000 (UTC) X-FDA: 82451989326.13.9F97DD9 Received: from out-173.mta1.migadu.com (out-173.mta1.migadu.com [95.215.58.173]) by imf01.hostedemail.com (Postfix) with ESMTP id CABDC40025 for ; Wed, 14 Aug 2024 20:28:40 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=AJfNgRYr; spf=pass (imf01.hostedemail.com: domain of shakeel.butt@linux.dev designates 95.215.58.173 as permitted sender) smtp.mailfrom=shakeel.butt@linux.dev; dmarc=pass (policy=none) header.from=linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1723667249; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=8gT4k+nD+2NAHDmmysXrg4dME6CJs31TJGIKLth2C9I=; b=dNYMYDdzBhLpYoJx2OCl6tDj0jBxS8fFVNiNJLiRnXtwWpU6uetbh9EcSCws3vG7+ZT7uP Unzx1oWUC7VlZGugA0FaQioUehqkGnyLRm7SAIeNlk2ETYW/ksE/DiiJJdOyVqhlDmC7yX TzYJFM7zuV2ujANKfHm/Fhh8K3IUkZc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723667249; a=rsa-sha256; cv=none; b=C3YP4YbdrGqp5to9/DnYZKT/5j2J2NeVCxrAFISvnAeeyDhEZaYZC7ZyAW46+kMFNJdjdg KL1IMVQG/2kjf05WL6cAjwKyl5jYw1FeY5FX5kUgqq99R+cDKHT5SyNeUI7xmkNBuQtGOc M3lemB1gB+bfvFPOrQ+pcJ92LqvgH7c= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=AJfNgRYr; spf=pass (imf01.hostedemail.com: domain of shakeel.butt@linux.dev designates 95.215.58.173 as permitted sender) smtp.mailfrom=shakeel.butt@linux.dev; dmarc=pass (policy=none) header.from=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1723667318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=8gT4k+nD+2NAHDmmysXrg4dME6CJs31TJGIKLth2C9I=; b=AJfNgRYryjyvLTKl8nFxk2llPbLLEUCbVoJ0Bg7PZVSavwWkDL0LoYgAucyExysKC9SObv rztZzgdpsRVbWzlbdQhf3c4VChzNm8G1DVKJ46tDNN/ijscZTmOiEvTfd8ak3X5ig6olV0 cQZuYGhMKOAxwvUuJV6WKJdBWehWelo= From: Shakeel Butt To: Andrew Morton Cc: Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Meta kernel team , cgroups@vger.kernel.org Subject: [PATCH 0/4] memcg: initiate deprecation of v1 features Date: Wed, 14 Aug 2024 13:28:21 -0700 Message-ID: <20240814202825.2694077-1-shakeel.butt@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: CABDC40025 X-Stat-Signature: 69oubuinabiepnhnoeghuj3zwdi77ztp X-HE-Tag: 1723667320-272044 X-HE-Meta: U2FsdGVkX19zVFe8T+8XuhnnFrAEnfrhpo7hZhwvIT9i71Uds4oL74sOgEnOuGj0agt17B7T/Rwwu2ZsMWSmRZrCDpSlk7HLvVLLTyMBl1wviuZay40Q26SRNezXH4UoS4YPurP/LQGEaw293bztn4jO+CElsWkDLXDI44eGrhZAJmJJaOuhtlQQWt/rbMzxTFWK3q1kzX4IumU+IEZ+v9XofEmHnDLmB0lqdWiJLekilyVTNyhDVomONEBW1kfD3I7j+aX9MLjPk5FJvYXBHrjgYIhlEcaavH7x2V06L0H4Caw7cNYHWmDI95dBzGKhNOAjsr1MUlyXK+9MbBRoW6V5FLnrqmGwuz/F1UpvpNELkCYliqeNJHCgFnQQJPcX9c3s2kU58IN6Gm0eUbJ+dDzLibwrnvduI0ZZPFd2iJxQAJ5kYDZuFbR3Ij3KyEDJ2Aof32Jw3qrp0qX7wziE6el3yO9Lvi8qVUGjvPf1AGP/hlEKMYwsMqHGO2ocYCFdStV5/M5bUuASq29rkio2SYxDKPILgdmn0BUlYbXGJaCYCLFd8jnjqWVSbgOvFOA7ZxW8gH1ykEKURKw2FWXd7ZwbOsXsdK+B2p1MjboZ+EuvTribYqJTJElWWcsq+f/6iNvSkikbQ+s5vvM9akpxYgntoLEMEtaFBGhyBKiPV+3wWmRtFPOx+Yat4nk8F+ErWssAzLWaOZvy3LLHvVTgohlbLoJgQGPkdGAmOJNcTnOOHAPS6aY4fCWmh7lJyI1TkUbRZh3YFW9c2Z8Ljzf29elsI4l+LEEZPQHRcZ9UpFjKWGR5eE/+BLdpmUpaHqyBf75BmdRDvjbUQuVwUqSXhwyLqT1Qg2jlMjHerHbtyY8FQS6CsAlpKZ9mcTlAuIgGvK1O8SQdRZgQOdq4gxljgPJz/ReqUA6DwMT+7idyNLfxDiCm0K8UTh0TKKA0L0gZIHx7XFCkbH+2EV4shzo K5Og+H4U mIxWO+Yjl8e4vxMrlzPEqONS4NH7xJeIi/iyK5jepH0IYHcDYZhq+ZSxXniQoTqHolwkyUX9RkTCP207KmWdOMo1gGpmv5Yx4Tc80AKE15GdK8qVxhs3pB5+fHtYup4aOX2YM2m931K+X+8eMtTaNzRddrQOfZ78LxwWiJs4p30ecos4= 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: Let start the deprecation process of the memcg v1 features which we discussed during LSFMMBPF 2024 [1]. For now add the warnings to collect the information on how the current users are using these features. Next we will work on providing better alternatives in v2 (if needed) and fully deprecate these features. Link: https://lwn.net/Articles/974575 [1] Shakeel Butt (4): memcg: initiate deprecation of v1 tcp accounting memcg: initiate deprecation of v1 soft limit memcg: initiate deprecation of oom_control memcg: initiate deprecation of pressure_level .../admin-guide/cgroup-v1/memory.rst | 32 +++++++++++++++---- mm/memcontrol-v1.c | 16 ++++++++++ 2 files changed, 42 insertions(+), 6 deletions(-)