Skip to content

Commit 0cd43ee

Browse files
Martins3mstsirkin
authored andcommitted
virtio-balloon: correct the comment of virtballoon_migratepage()
After commit 68f2736 ("mm: Convert all PageMovable users to movable_operations"), the execution path has been changed to move_to_new_folio movable_operations->migrate_page balloon_page_migrate balloon_page_migrate->balloon_page_migrate balloon_page_migrate Correct the outdated comment. Signed-off-by: Xueshi Hu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: Xuan Zhuo <[email protected]>
1 parent c695964 commit 0cd43ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/virtio/virtio_balloon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ static void report_free_page_func(struct work_struct *work)
745745
* 2) update the host about the old page removed from vb->pages list;
746746
*
747747
* This function preforms the balloon page migration task.
748-
* Called through balloon_mapping->a_ops->migratepage
748+
* Called through movable_operations->migrate_page
749749
*/
750750
static int virtballoon_migratepage(struct balloon_dev_info *vb_dev_info,
751751
struct page *newpage, struct page *page, enum migrate_mode mode)

0 commit comments

Comments
 (0)