Skip to content

Commit fe9ebb8

Browse files
Xiongwei Songhtejun
authored andcommitted
docs: cgroup-v1: correct the term of Page Cache organization in inode
The radix-tree for Page Cache has been replaced with xarray, see commit eb797a8 ("page cache: Rearrange address_space"), so move "radix-tree" to "xarray". Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 714e08c commit fe9ebb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ are not accounted. We just account pages under usual VM management.
197197

198198
RSS pages are accounted at page_fault unless they've already been accounted
199199
for earlier. A file page will be accounted for as Page Cache when it's
200-
inserted into inode (radix-tree). While it's mapped into the page tables of
200+
inserted into inode (xarray). While it's mapped into the page tables of
201201
processes, duplicate accounting is carefully avoided.
202202

203203
An RSS page is unaccounted when it's fully unmapped. A PageCache page is
204-
unaccounted when it's removed from radix-tree. Even if RSS pages are fully
204+
unaccounted when it's removed from xarray. Even if RSS pages are fully
205205
unmapped (by kswapd), they may exist as SwapCache in the system until they
206206
are really freed. Such SwapCaches are also accounted.
207207
A swapped-in page is accounted after adding into swapcache.

0 commit comments

Comments
 (0)