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 <xueshi.hu@smartx.com> Message-Id: <20230813140709.835536-1-xueshi.hu@smartx.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
1 parent c695964 commit 0cd43ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)