Thread (13 messages) 13 messages, 6 authors, 2021-09-24

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-devicetree, linux-efi, linux-iommu, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, linux-usb, linuxppc-dev, lkml, sparclinux, xen-devel

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help