Re: [PATCH 2/3] xen/x86: free_p2m_page: use memblock_free_ptr() to free a virtual pointer

From
Juergen Gross <jgross@suse.com>
Date
2021-09-23 08:10:09
Also in
kvm, linux-alpha, linux-arm-kernel, linux-efi, linux-iommu, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, linux-usb, linuxppc-dev, lkml, sparclinux, xen-devel
Reply to
Mike Rapoport, 2021-09-23
On 23.09.21 09:43, Mike Rapoport wrote:
From: Mike Rapoport <redacted>

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 <redacted>
Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

Attachments

Thread (13 messages) 13 messages, 6 authors, last reply 2021-09-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help