Commit 62158261 authored by Illia Ostapyshyn's avatar Illia Ostapyshyn Committed by Tejun Heo

docs: cgroup-v1: Update page cache removal functions

Commit 452e9e69 ("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 ece62684 ("hugetlbfs: convert hugetlb_delete_from_page_cache() to
use folios") and 6ffcd825 ("mm: Remove __delete_from_page_cache()").

Update the remaining references to dead functions in the memcg
implementation memo.
Signed-off-by: default avatarIllia Ostapyshyn <illia@yshyn.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 8f6d24a5
...@@ -102,7 +102,7 @@ Under below explanation, we assume CONFIG_SWAP=y. ...@@ -102,7 +102,7 @@ Under below explanation, we assume CONFIG_SWAP=y.
The logic is very clear. (About migration, see below) The logic is very clear. (About migration, see below)
Note: Note:
__remove_from_page_cache() is called by remove_from_page_cache() __filemap_remove_folio() is called by filemap_remove_folio()
and __remove_mapping(). and __remove_mapping().
6. Shmem(tmpfs) Page Cache 6. Shmem(tmpfs) Page Cache
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment