Re: [PATCH v3] virtio-balloon: fix managed page counts when migrating pages between zones

2019-12-11 Thread Michael S. Tsirkin
On Wed, Dec 11, 2019 at 12:11:52PM +0100, David Hildenbrand wrote: > In case we have to migrate a ballon page to a newpage of another zone, the > managed page count of both zones is wrong. Paired with memory offlining > (which will adjust the managed page count), we can trigger kernel crashes >

[PATCH v3] virtio-balloon: fix managed page counts when migrating pages between zones

2019-12-11 Thread David Hildenbrand
In case we have to migrate a ballon page to a newpage of another zone, the managed page count of both zones is wrong. Paired with memory offlining (which will adjust the managed page count), we can trigger kernel crashes and all kinds of different symptoms. One way to reproduce: 1. Start a QEMU