aboutsummaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/cgroup-v1
diff options
context:
space:
mode:
authorGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-06-01 15:13:59 -0400
committerGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-06-29 08:51:05 -0400
commit2bb876b58d593d7f2522ec0f41f20a74fde76822 (patch)
tree717661a21fd0aa89857ba9aa674f401ab6a0d6e1 /Documentation/admin-guide/cgroup-v1
parenthugetlb: Convert huge_add_to_page_cache() to use a folio (diff)
downloadlinux-2bb876b58d593d7f2522ec0f41f20a74fde76822.tar.gz
linux-2bb876b58d593d7f2522ec0f41f20a74fde76822.tar.bz2
linux-2bb876b58d593d7f2522ec0f41f20a74fde76822.zip
filemap: Remove add_to_page_cache() and add_to_page_cache_locked()
These functions have no more users, so delete them. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by: Mike Kravetz <mike.kravetz@oracle.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Diffstat (limited to 'Documentation/admin-guide/cgroup-v1')
-rw-r--r--Documentation/admin-guide/cgroup-v1/memcg_test.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/cgroup-v1/memcg_test.rst b/Documentation/admin-guide/cgroup-v1/memcg_test.rst
index 45b94f7b3beb..a402359abb99 100644
--- a/Documentation/admin-guide/cgroup-v1/memcg_test.rst
+++ b/Documentation/admin-guide/cgroup-v1/memcg_test.rst
@@ -97,7 +97,7 @@ Under below explanation, we assume CONFIG_MEM_RES_CTRL_SWAP=y.
=============
Page Cache is charged at
- - add_to_page_cache_locked().
+ - filemap_add_folio().
The logic is very clear. (About migration, see below)