xen-x86-free_p2m_page-use-memblock_free_ptr-to-free-a-virtual-pointer.patch removed from -mm tree
The patch titled
Subject: xen/x86: free_p2m_page: use memblock_free_ptr() to free a virtual pointer
has been removed from the -mm tree. Its filename was
xen-x86-free_p2m_page-use-memblock_free_ptr-to-free-a-virtual-pointer.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mike Rapoport <[email protected]>
Subject: xen/x86: free_p2m_page: use memblock_free_ptr() to free a virtual pointer
free_p2m_page() wrongly passes a virtual pointer to memblock_free() that treats it as a physical address.
Call memblock_free_ptr() instead that gets a virtual address to free the memory.
Signed-off-by Mike Rapoport <[email protected]>
Reviewed-by Juergen Gross <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Shahab Vahedi <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/x86/xen/p2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/p2m.c renamed from arch/x86/xen/p2m.c~xen-x86-free_p2m_page-use-memblock_free_ptr-to-free-a-virtual-pointer +1 -1
@@ -197,7 +197,7 @@ static void * __ref alloc_p2m_page(void)static void __ref free_p2m_page (void *p) {if (unlikely (!slab_is_available ())) { -memblock_free ((unsigned long )p,PAGE_SIZE ); +memblock_free_ptr (p,PAGE_SIZE );return ; }
_
Patches currently in -mm which might be from [email protected] are