From patchwork Wed Aug 14 22:00:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shakeel Butt X-Patchwork-Id: 13764176 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 47F1DC3DA4A for ; Wed, 14 Aug 2024 22:00:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CE02B6B009A; Wed, 14 Aug 2024 18:00:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C8F7A6B00A0; Wed, 14 Aug 2024 18:00:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BA50C6B00A4; Wed, 14 Aug 2024 18:00:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 9DFC26B009A for ; Wed, 14 Aug 2024 18:00:29 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 0313DA7EE4 for ; Wed, 14 Aug 2024 22:00:28 +0000 (UTC) X-FDA: 82452220578.29.576E648 Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [95.215.58.174]) by imf28.hostedemail.com (Postfix) with ESMTP id 2E5DDC0017 for ; Wed, 14 Aug 2024 22:00:26 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=ZEahO8ce; spf=pass (imf28.hostedemail.com: domain of shakeel.butt@linux.dev designates 95.215.58.174 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=1723672756; 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=RykrRFaWygVplCfW2DFKnLZ0ZDIXWFKLYuy58Z4lhbY=; b=EEK32z7f0WC8ulWx0n0jKnkgapLaE1tDLhi0n5UK3puri4BLehqJDT+jy1IAmVC3eensmW adptaJnnkCOIHOJz6sJn1oBjtD9pCoaAHs7OPAewneUxGJEM0vCrtkoH31kVilrryAL2Xl ls/2gMgYilEfEsnmrxHNpj5rwGO5vcw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723672756; a=rsa-sha256; cv=none; b=6uhYdwZ2YYAQwns8BK0Rhc8oAh55srKhbQkckKjbm49kBuGdv2cZqKOlueKQyXd7rQADsU Zt0EcIFNidb4LAkjx4II0rKyDeK/yrfHK+5JEX53yBFk2oXSqXaDYIaMeyJ5hDlo3RUQYJ sTLsdFC4rsHpI2rpYqBWF69v7+VOBik= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=ZEahO8ce; spf=pass (imf28.hostedemail.com: domain of shakeel.butt@linux.dev designates 95.215.58.174 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=1723672825; 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=RykrRFaWygVplCfW2DFKnLZ0ZDIXWFKLYuy58Z4lhbY=; b=ZEahO8ce1aa/WeNbU8zA/ORH4wa9+aHg+yIhsqdMFKaR8b5q40Dj9XV+JCY6rNpQyQnswY gRfttltGnLqTpVVcKjowhfCMDeqZB5Ruz4/8DHEOYKGel1XTe+UfQORbGBoQUUoTeDpsL+ nq690nUKpVtlz1ItMcJxvOwpHSPZaDA= From: Shakeel Butt To: Andrew Morton Cc: Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song , "T . J . Mercier" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Meta kernel team , cgroups@vger.kernel.org Subject: [PATCH v2 0/4] memcg: initiate deprecation of v1 features Date: Wed, 14 Aug 2024 15:00:17 -0700 Message-ID: <20240814220021.3208384-1-shakeel.butt@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Rspamd-Queue-Id: 2E5DDC0017 X-Stat-Signature: h5tzhhedz1fsq7qmhurjoq3mu9hxbyod X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1723672826-198679 X-HE-Meta: U2FsdGVkX18OL6Kp/pZ4gdUWvjDUEw5lOU+WWzvHisHB24uoV4TkUoFpMqvIK3ueha7pXCzVJsjrm0QpVs02Hbj/JzanlZpBs21bAmGl5e57Oe6xEv220XIESYBZQspLCCMelUBujGq7CWtdTeHUjDFuJDmWPHjpFq3Tq3uFSNYpg1O909jpznaRNaHPAcgP7PY9lPFsp28VUs1Un83gg+t1Q7HUu7p6mXiALQ/8LjFcWfMeUoob+mjm5TgetKzrNU0GPth8hrvqppVePQsYdXOrH5yjztx+qqkH+BVJmgx2udzGAmSxBrFJeeILQjmXQ+oQ6okX+d5H5PgrvaRsq2IyrHcQPkkaQFnHJF+j+P5lB3Wq5XjRBmxNxAWyMIGRrHqMQs9+ZXCabzb+BoYIqnabZg2RwOEdZZtgoDtBJ90y6ZYSQdKwf30/QLQw1DFV6QkHH4Neh4gZwCRbtrbLnu1yXnYdg3CA824oKKmfU14GPendaYQySWtQb/coJ1gKg1DxTdNy2QXkU79JjqRzjdPtWzqe4qQYg0yLYJsZjgJas2VI21Ev3Xu2GxXn67I5ttqDRMFEKUaPK0P5N3yIQOoKdg7voNqYi8BhRv5Jmo7RgOx26bp2aXNxu5umDn3KYpsxGjjKBRrdUwmGikaYzDrsDi+sRN6yQcxkHyr51x4EWBQKPA21wRoxte/oGpIXirzaB13KNtfxQBnMBqtl31YY19S+i0WCazXYfUHE8zgLJXEGp+iDdTHt8Q4gWlkkmk4I5q+HRKXV9cw9WjzWga5HfUeR0zvNYyL4xj5cjYNSlzIJkPvxfFUpXrT/7MSz9MFQ509Wq8tg/RdusOMpI16DjaxVcMaS7FwPINOan21dD5cXv43GuQOQEqIZOueEUyR7beluZoLRHwvgkPWyp/QZwgUUMld5ZdsnliRoSot6+aLYLG0BpO2/2iHRly74+t7xYq7ZuMU+GlQb+35 6y6XTmrH 0+w+2cA3DYJtzO1TGUCTGvj/apm/J/4agwLpHMYPgYvrSGoeu28SBjl4gApS6Y/ypT4OvUFMmzBVXwrSUWrzrSpEw7MDLdQ077rJ0fvf4zhbV32eqy9oIuVjd+gCG2sR2mJGq7ZPNhzOZeKS/ybritgH1q7bPm+2sb1a8 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 Changes since v1: - Fix build (T.J. Mercier) - Fix documentation .../admin-guide/cgroup-v1/memory.rst | 32 +++++++++++++++---- mm/memcontrol-v1.c | 16 ++++++++++ 2 files changed, 42 insertions(+), 6 deletions(-) Acked-by: Michal Hocko Acked-by: Roman Gushchin