Skip to content

Commit 7735348

Browse files
Matthew Wilcox (Oracle)brauner
authored andcommitted
migrate: Remove references to Private2
These comments are now stale; rewrite them. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent fd15ba4 commit 7735348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/migrate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ static int folio_expected_refs(struct address_space *mapping,
472472
* The number of remaining references must be:
473473
* 1 for anonymous folios without a mapping
474474
* 2 for folios with a mapping
475-
* 3 for folios with a mapping and PagePrivate/PagePrivate2 set.
475+
* 3 for folios with a mapping and the private flag set.
476476
*/
477477
static int __folio_migrate_mapping(struct address_space *mapping,
478478
struct folio *newfolio, struct folio *folio, int expected_count)
@@ -786,7 +786,7 @@ static int __migrate_folio(struct address_space *mapping, struct folio *dst,
786786
* @mode: How to migrate the page.
787787
*
788788
* Common logic to directly migrate a single LRU folio suitable for
789-
* folios that do not use PagePrivate/PagePrivate2.
789+
* folios that do not have private data.
790790
*
791791
* Folios are locked upon entry and exit.
792792
*/

0 commit comments

Comments
 (0)