Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: cgroup-v1: Update page cache removal functions

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 <illia@yshyn.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Illia Ostapyshyn and committed by
Tejun Heo
62158261 8f6d24a5

+1 -1
+1 -1
Documentation/admin-guide/cgroup-v1/memcg_test.rst
··· 102 102 The logic is very clear. (About migration, see below) 103 103 104 104 Note: 105 - __remove_from_page_cache() is called by remove_from_page_cache() 105 + __filemap_remove_folio() is called by filemap_remove_folio() 106 106 and __remove_mapping(). 107 107 108 108 6. Shmem(tmpfs) Page Cache