Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp426771lqh; Tue, 7 May 2024 03:38:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDshXrIJ9Zpbsm+3lpuEYA+c/jCAlc6m9ZWOcQ1GeGU9Th2S2NMua2idKNAO7RRStIgyZHO2ih/J80mfenwRlOOnTKfxcEeWlrsP34LA== X-Google-Smtp-Source: AGHT+IFGmFcLuKtlMvDXyL4UmMSePueKMRV8vAzi8lgHA6WVC20OqI5nxufbeN6EZGHq1nzfmNiM X-Received: by 2002:a50:c909:0:b0:572:47be:be36 with SMTP id o9-20020a50c909000000b0057247bebe36mr7336000edh.0.1715078308049; Tue, 07 May 2024 03:38:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715078308; cv=pass; d=google.com; s=arc-20160816; b=AVQmm4GVMA67a+SIIYOZ2NtgN6rclqlIxRiPyhaQ3hi8Se+a5Cl9Sex2TjyFs3G2p9 gwIMlAfj8IP9L1v2LGOKAQHCMmxIPkk+mIavJg+ha/PMUhnpM3x+xI7t9j7cq2yRY5+7 JIzrcfn/6L8AjcTwNOp5OjFpOxEbGDoGibKChLGm2TaBdLmb70gEax121T0JfLdjkqUP F9m5ZN1dNrPy7HH7IGXEtLWz9tg+yKUDL8Ol/fECJLXedWis8ub8vEWN3bPLqapPLC2m 6xwDGLho9dz7sU9wWDXNJcDUmjBbNVfSght8b0zJVANu1m/in81ZBL92UJsemGmUisAb QvuA== 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=gpXw7UC0rGVfJh+Xf1FsLb7VTj0aqzY2nPQ1wFIlMaM=; fh=h4j7n2m0qjtzmKVUKgvtTxoYUl+O5nZkq99XL4Or8VE=; b=L69CUQjZ1jSrawFJNrVaYuV8v6IOIBAUQNg62p2Sfk5v4XHuART0gk1L2lLco+mdH2 sK6eabbBl04trirHCQrZvm0pwHvwJ5nGvewFFFW2NKrrsyAJ8nXvEHSZf0kE46+Tj+fA OrwSjxZmF+z5IZxwRl5owSlgZOPJN7fdPsDIQ5u4SkqVmTCzKXI4UiefFMdiyQo9ueN9 DprykLppGUUDnXBwqAZ2bsgMWUqEWOOixtTRdY+Lw7qZfg9hwrk/MBOMSdwbOYIhwi8L 6fBVBs2exzUumqNkvhIxTIMd8RWeQHz/vRCAduQUwm9ku1u9DpJpGCjBt1DTBhJD1Gnq wyhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yshyn.com header.s=uberspace header.b=eGRKrAns; arc=pass (i=1 spf=pass spfdomain=yshyn.com dkim=pass dkdomain=yshyn.com); spf=pass (google.com: domain of linux-kernel+bounces-171109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171109-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w16-20020aa7dcd0000000b00572a6dc493bsi6014835edu.479.2024.05.07.03.38.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 03:38:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@yshyn.com header.s=uberspace header.b=eGRKrAns; arc=pass (i=1 spf=pass spfdomain=yshyn.com dkim=pass dkdomain=yshyn.com); spf=pass (google.com: domain of linux-kernel+bounces-171109-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171109-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C16291F232F8 for ; Tue, 7 May 2024 10:38:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B851814D6F6; Tue, 7 May 2024 10:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yshyn.com header.i=@yshyn.com header.b="eGRKrAns" 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 3EA3013C69A for ; Tue, 7 May 2024 10:38:16 +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=1715078299; cv=none; b=Wh1P96vPD8h0sD4b5gNtFdIK/MWVuvVcfA0IOWuDdotWWb8qftr23Bg1DTNT2W9GIqL0G4bN/3qsdVpIb6MGHyN/46kgBFltoi3CqpOo88me+yk0sEXa5iiEds76eYckG0kkWNXs6qoQIUCTRL9fZ5qHOy0SmhsL6M+x06H5a+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715078299; c=relaxed/simple; bh=C5Q8d7JYtURFJbkMrFTwRw8yPtwQ4hTSCRGnP6zKl9s=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=czlLQwTD9WSSyek23RKwtHua7FW8evkOZ+hLFZtEqoMU+SBnfClmSIw9mnbkCikuXTaTqkA9rxZUtaUDh1Y9qXCsj5vnXiEBHoyk/XJKnGw0bkeHu+Slk6OuXH9CXCDE8dQ0oppZouNaDI0g6ddbCYltimexWgEsupW3x/hY4/A= 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=eGRKrAns; 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 4617 invoked by uid 988); 7 May 2024 10:31:34 -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:31:34 +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] docs: cgroup-v1: Update page cache removal functions Date: Tue, 7 May 2024 12:30:39 +0200 Message-Id: <20240507103038.541462-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.001507) MID_CONTAINS_FROM(1) MIME_GOOD(-0.1) R_MISSING_CHARSET(0.5) X-Rspamd-Score: 2.898492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yshyn.com; s=uberspace; h=from:to:cc:subject:date; bh=C5Q8d7JYtURFJbkMrFTwRw8yPtwQ4hTSCRGnP6zKl9s=; b=eGRKrAnszQmFTpMjqn/A5h3sOPnvpexXMqr5mH+Xbxr5GGA7mBEXY0jQfTjle+2TsalgBkZh0M XPmoMloDmmeavn24pdfuXuQ/ZOX1Hk73CgbRQOSmEzoTw/XzbHWxWDMuZFYMcezmFEHotwHOf1Z/ 2Pa0npQL2oCKEgBmLjI4BIJwEySseZu2ngdSlsVXEtYJ0U2Ja4+O4hEOgtfwfHrp/gvIz/8jGF2g vwtjuqvIrRx1WCYXyjp6FHPWPmaO3vgO2Vtpu3THdw5qrpBbDSz+nnqmN/Rl4fE55aGdrZ0KjjZ+ uRc+tZ1PD9QO2CEkKpaHZ2WilYbTLk0cvt7QbpAQ== 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 --- 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..4386362f2ed8 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_free_folio() and __remove_mapping(). 6. Shmem(tmpfs) Page Cache -- 2.39.2