virtio_balloon-stop-calling-page_address-in-free_pages.patch removed from -mm tree
The quilt patch titled
Subject: virtio_balloon: stop calling page_address() in free_pages()
has been removed from the -mm tree. Its filename was
virtio_balloon-stop-calling-page_address-in-free_pages.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Vishal Moola (Oracle)" <[email protected]>
Subject: virtio_balloon: stop calling page_address() in free_pages()
Date: Wed, 3 Sep 2025 11:59:21 -0700
free_pages() should be used when we only have a virtual address. We should call __free_pages() directly on our page instead.
Signed-off-by Vishal Moola (Oracle) <[email protected]>
Cc Albert Ou <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Justin Sanders <[email protected]>
Cc Madhavan Srinivasan <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ritesh Harjani (IBM) <[email protected]>
Cc SeongJae Park <[email protected]>
Cc Will Deacon <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/virtio/virtio_balloon.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
drivers/virtio/virtio_balloon.c renamed from drivers/virtio/virtio_balloon.c~virtio_balloon-stop-calling-page_address-in-free_pages +3 -5
@@ -488,8 +488,7 @@ static unsigned long return_free_pages_t page =balloon_page_pop (&vb->free_page_list);if (!page)break ; -free_pages ((unsigned long )page_address (page), -VIRTIO_BALLOON_HINT_BLOCK_ORDER ); +__free_pages (page,VIRTIO_BALLOON_HINT_BLOCK_ORDER ); } vb->num_free_page_blocks -= num_returned;spin_unlock_irq (&vb->free_page_list_lock);
@@ -719,8 +718,7 @@ static int get_free_page_and_send(structif (vq->num_free >1 ) { err =virtqueue_add_inbuf (vq, &sg,1 , p,GFP_KERNEL );if (unlikely (err)) { -free_pages ((unsigned long )p, -VIRTIO_BALLOON_HINT_BLOCK_ORDER ); +__free_pages (page,VIRTIO_BALLOON_HINT_BLOCK_ORDER );return err; }virtqueue_kick (vq);
@@ -733,7 +731,7 @@ static int get_free_page_and_send(struct* The vq has no available entry to add this page block, so * just free it. */ -free_pages ((unsigned long )p,VIRTIO_BALLOON_HINT_BLOCK_ORDER ); +__free_pages (page,VIRTIO_BALLOON_HINT_BLOCK_ORDER ); }return 0 ;
_
Patches currently in -mm which might be from [email protected] are