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) <willy@infradead.org> Link: https://lore.kernel.org/r/20241002040111.1023018-7-willy@infradead.org Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent fd15ba4 commit 7735348

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)