summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSong Hu <husong@kylinos.cn>2026-08-12 15:57:39 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-08-24 18:43:23 -0700
commit73b5d07990a0e6ea9cdf2c07fa8fbc865d398c1d (patch)
tree1017588c7ea1aa97c6b732f42a76f7ee77608347
parent2a0be246e342e239ef91d28e2658b6bf508cc065 (diff)
downloadlinux-next-73b5d07990a0e6ea9cdf2c07fa8fbc865d398c1d.tar.gz
linux-next-73b5d07990a0e6ea9cdf2c07fa8fbc865d398c1d.zip
Docs/mm: fix outdated "radix tree" in page_migration
Steps 7 and 9 of the migration description still say "radix tree", unlike steps 5 and 11 which already use "i_pages lock". The page cache moved to the XArray at mapping->i_pages long ago. Use "page cache tree" for the two remaining references. Link: https://lore.kernel.org/20260812075739.325441-1-husong@kylinos.cn Signed-off-by: Song Hu <husong@kylinos.cn> Cc: David Hildenbrand <david@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Liam R. Howlett <liam@infradead.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--Documentation/mm/page_migration.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/mm/page_migration.rst b/Documentation/mm/page_migration.rst
index 34602b254aa6..5b8d50308db1 100644
--- a/Documentation/mm/page_migration.rst
+++ b/Documentation/mm/page_migration.rst
@@ -110,13 +110,13 @@ Steps:
6. The refcount of the page is examined and we back out if references remain.
Otherwise, we know that we are the only one referencing this page.
-7. The radix tree is checked and if it does not contain the pointer to this
- page then we back out because someone else modified the radix tree.
+7. The page cache tree is checked and if it does not contain the pointer to this
+ page then we back out because someone else modified the page cache tree.
8. The new page is prepped with some settings from the old page so that
accesses to the new page will discover a page with the correct settings.
-9. The radix tree is changed to point to the new page.
+9. The page cache tree is changed to point to the new page.
10. The reference count of the old page is dropped because the address space
reference is gone. A reference to the new page is established because