Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp427383lqh; Tue, 7 May 2024 03:40:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1egm1Ygh0W1c0nqJVRpD9rGVbneyAxeVUalanYyLvdsak0mwyIFPb56Us8R9RCRqLSQPPfgvkN1EZAq9Nzql1DW6R/PknidOnMFhhKQ== X-Google-Smtp-Source: AGHT+IGnlB5jP3ItUnEXLi02zXgKIiIc0SbLSudDSQm+5Hb4vlf9uEiN+mJRse40UM5VumGsSCgQ X-Received: by 2002:a05:6214:19e4:b0:6a0:a98a:487c with SMTP id q4-20020a05621419e400b006a0a98a487cmr16209468qvc.19.1715078409172; Tue, 07 May 2024 03:40:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715078409; cv=pass; d=google.com; s=arc-20160816; b=WWNsb42kCeU+LmcwHUtrp/LYRxeLDkV2odQgXW0JRanbnzE4+BT3f0u2Gq+J4W6I5O xitw55Mzry2vZ+kcsNjgR8PJme2wPSNjdflZSw03I6wJX3cuquWp85KEQKk7HhDuk0mi dcVY31Mmj2xXBDyy5bKT9Pgx8sjAoE6SP1a2RpkSc/R9OYWNncbS88aAQDwFJzEmq3oB JsWDZjYCnE5oC44o/b/DClx1f4EuQPgWD4EvDD1lfpSKb8I9jxe4queRihvD+uL9+xwY 50Zprnn3b6ZzHg8x/m/mgXIACzgjdh2KNktZ4wZtajXGjCF7bKPaO1hblCOpResCsTMM osTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=dkim-signature:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from; bh=56OKOLN5lwfVNo8IjVMrAoPLyzwnwkdfQVKfVsDEgSs=; fh=h4j7n2m0qjtzmKVUKgvtTxoYUl+O5nZkq99XL4Or8VE=; b=m8xTM+kqcoLIJH8SWN8jvJHNzJafPN/GWVGRVZIPmdKPabBxBM01MBPodGwJDgyheB k0PKHmVQeZotSLyUFs0bCmVyKWOmTLcgM/yKOWnl6jp2KdtlVYAQKIYAeTe8LxQIKeqR ZlvHwUUZTqFn0QkBHGvw0cv3b/37kY5iBKoIR4WwQezENywPUix2qFrFDQcDYfFrt2k5 eKN3NCf5z+bzHuVEs7AH2zu2roV50V9l7OE9QVFXwkc2Vewx87xvw0HlzAlAKc5I51Od f3qsg1s3rStM732JbxkJ9DdhnAwYicJX1s1O0B9/RnFSz63HICRkpmagaZYRc1GEbSKc YdQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yshyn.com header.s=uberspace header.b=tkRxsuVy; arc=pass (i=1 spf=pass spfdomain=yshyn.com dkim=pass dkdomain=yshyn.com); spf=pass (google.com: domain of linux-kernel+bounces-171114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171114-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jz15-20020a0562140e6f00b006a0caef6db3si11494230qvb.525.2024.05.07.03.40.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 03:40:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@yshyn.com header.s=uberspace header.b=tkRxsuVy; arc=pass (i=1 spf=pass spfdomain=yshyn.com dkim=pass dkdomain=yshyn.com); spf=pass (google.com: domain of linux-kernel+bounces-171114-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171114-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C6C901C21B0C for ; Tue, 7 May 2024 10:40:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7792A14F9C1; Tue, 7 May 2024 10:39:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yshyn.com header.i=@yshyn.com header.b="tkRxsuVy" Received: from phoenix.uberspace.de (phoenix.uberspace.de [95.143.172.135]) (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 9BC0A14E2D0 for ; Tue, 7 May 2024 10:39:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.143.172.135 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715078398; cv=none; b=mjSo97Mn4z6JYDQTLqlg7693GdiV/huxgo8SVDU0oLpgWLGr1S5powbLvThDF0KRwcerN1K3pKhBAPoc+0k3RFtkq/xbGTG8ZpKfHd9iXQQUWOhiDT1cB9LvCLIhbTQX0q51htbxWqOgftcWLl/GOkkbauM8W2j00kLrBMwUZTE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715078398; c=relaxed/simple; bh=QNnIOUmGw+/4sKtvKLRny0R9Qjd8tUiqHl1cHAokzNs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=pPKK8t4p1sH5XyjMNZXjo7JpDPYumKJ0yyKFDyiWRr5E0OPBrLF2TUOYrlynCMTAWbsYV7jwNwntUcEfipFJAg2YBQU4Mp0+Uqg6qdmWjN06ZaD15WipUYfQvsdPwesgppOdnHVj7mIhN8vbB2vP6LXgKu1ePL6QQEN05oBOl9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=yshyn.com; spf=pass smtp.mailfrom=yshyn.com; dkim=pass (2048-bit key) header.d=yshyn.com header.i=@yshyn.com header.b=tkRxsuVy; arc=none smtp.client-ip=95.143.172.135 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=yshyn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yshyn.com Received: (qmail 8221 invoked by uid 988); 7 May 2024 10:39:53 -0000 Authentication-Results: phoenix.uberspace.de; auth=pass (plain) Received: from unknown (HELO unkown) (::1) by phoenix.uberspace.de (Haraka/3.0.1) with ESMTPSA; Tue, 07 May 2024 12:39:53 +0200 From: Illia Ostapyshyn To: Tejun Heo , Zefan Li , Johannes Weiner , Jonathan Corbet , Lukas Bulwahn Cc: cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Illia Ostapyshyn Subject: [PATCH v2] docs: cgroup-v1: Update page cache removal functions Date: Tue, 7 May 2024 12:34:27 +0200 Message-Id: <20240507103426.544488-1-illia@yshyn.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Bar: ++ X-Rspamd-Report: SUSPICIOUS_RECIPS(1.5) BAYES_HAM(-0.000492) MID_CONTAINS_FROM(1) MIME_GOOD(-0.1) R_MISSING_CHARSET(0.5) X-Rspamd-Score: 2.899507 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yshyn.com; s=uberspace; h=from:to:cc:subject:date; bh=QNnIOUmGw+/4sKtvKLRny0R9Qjd8tUiqHl1cHAokzNs=; b=tkRxsuVy35OnSL57/lXDwilDdQpvmsMNSOyBf4sDPYWRdUOP6xXPBo/5SA8Ny1M5jmFBhhBAg5 wLEBo8hUTQJGaWTcNRf++3hvEoOJ/RIqCmv9zZMgoXp9Bg0HaoAoLf/J7L7ESXaFcomgnyelqTcS BAU/mmwBImm9lWTJpoXJi6Mrj1Cqnxv5kAj2F8uKa0+uG/+7EszpFwD5329lPvH5F3B/HBVP+r3u HjHT4SN8q/K+vK3icC6YecyYXCwSvU9NsBid1UkJyuo97FdtoScD2TR6aTh9LO6LqUsWbh0dERm4 x4fcKnCGuyvj9V5efTvNuJZXJzkgBwY/5k6vM7tg== Commit 452e9e6992fe ("filemap: Add filemap_remove_folio and __filemap_remove_folio") reimplemented __delete_from_page_cache() as __filemap_remove_folio() and delete_from_page_cache() as filemap_remove_folio(). The compatibility wrappers were finally removed in ece62684dcfb ("hugetlbfs: convert hugetlb_delete_from_page_cache() to use folios") and 6ffcd825e7d0 ("mm: Remove __delete_from_page_cache()"). Update the remaining references to dead functions in the memcg implementation memo. Signed-off-by: Illia Ostapyshyn --- Changes in v2: * filemap_free_folio() was meant to be filemap_remove_folio(). Sorry. Documentation/admin-guide/cgroup-v1/memcg_test.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/cgroup-v1/memcg_test.rst b/Documentation/admin-guide/cgroup-v1/memcg_test.rst index 1f128458ddea..9f8e27355cba 100644 --- a/Documentation/admin-guide/cgroup-v1/memcg_test.rst +++ b/Documentation/admin-guide/cgroup-v1/memcg_test.rst @@ -102,7 +102,7 @@ Under below explanation, we assume CONFIG_SWAP=y. The logic is very clear. (About migration, see below) Note: - __remove_from_page_cache() is called by remove_from_page_cache() + __filemap_remove_folio() is called by filemap_remove_folio() and __remove_mapping(). 6. Shmem(tmpfs) Page Cache -- 2.39.2