Thread (1 message) flat view 1 message, 1 author, 2017-12-03

Re: Memory corruption in powerpc guests with virtio_balloon (was Re: [PATCH v3] virtio_balloon: fix deadlock on OOM)

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-12-03 10:04:47
Also in: linux-mm, linuxppc-dev, lkml

"Michael S. Tsirkin" [off-list ref] writes:
On Fri, Dec 01, 2017 at 11:31:08PM +1100, Michael Ellerman wrote:
quoted
"Michael S. Tsirkin" [off-list ref] writes:
quoted
fill_balloon doing memory allocations under balloon_lock
can cause a deadlock when leak_balloon is called from
virtballoon_oom_notify and tries to take same lock.
...
quoted

Somehow this commit seems to be killing powerpc guests.
...
Thanks for the report!
A fix was just posted:
virtio_balloon: fix increment of vb->num_pfns in fill_balloon()

Would appreciate testing.
Yep that fixes it. Thanks.

Tested-by: Michael Ellerman <mpe@ellerman.id.au>

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help