Skip to content

Commit 6215826

Browse files
iostapyshynhtejun
authored andcommitted
docs: cgroup-v1: Update page cache removal functions
Commit 452e9e6 ("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 ece6268 ("hugetlbfs: convert hugetlb_delete_from_page_cache() to use folios") and 6ffcd82 ("mm: Remove __delete_from_page_cache()"). Update the remaining references to dead functions in the memcg implementation memo. Signed-off-by: Illia Ostapyshyn <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 8f6d24a commit 6215826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/admin-guide/cgroup-v1/memcg_test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Under below explanation, we assume CONFIG_SWAP=y.
102102
The logic is very clear. (About migration, see below)
103103

104104
Note:
105-
__remove_from_page_cache() is called by remove_from_page_cache()
105+
__filemap_remove_folio() is called by filemap_remove_folio()
106106
and __remove_mapping().
107107

108108
6. Shmem(tmpfs) Page Cache

0 commit comments

Comments
 (0)