diff options
Diffstat (limited to 'Documentation/mm/page_migration.rst')
| -rw-r--r-- | Documentation/mm/page_migration.rst | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/Documentation/mm/page_migration.rst b/Documentation/mm/page_migration.rst index 313dce18893e..e35af7805be5 100644 --- a/Documentation/mm/page_migration.rst +++ b/Documentation/mm/page_migration.rst @@ -73,14 +73,13 @@ In kernel use of migrate_pages()     It also prevents the swapper or other scans from encountering     the page. -2. We need to have a function of type new_page_t that can be +2. We need to have a function of type new_folio_t that can be     passed to migrate_pages(). This function should figure out -   how to allocate the correct new page given the old page. +   how to allocate the correct new folio given the old folio.  3. The migrate_pages() function is called which attempts     to do the migration. It will call the function to allocate -   the new page for each page that is considered for -   moving. +   the new folio for each folio that is considered for moving.  How migrate_pages() works  ========================= | 
