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

2019-12-10 Thread David Hildenbrand
On 10.12.19 16:24, Michael S. Tsirkin wrote: > On Tue, Dec 10, 2019 at 02:44:38PM +0100, David Hildenbrand wrote: >> On 05.12.19 10:24, 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

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

2019-12-10 Thread Michael S. Tsirkin
On Tue, Dec 10, 2019 at 02:44:38PM +0100, David Hildenbrand wrote: > On 05.12.19 10:24, 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

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

2019-12-10 Thread David Hildenbrand
On 05.12.19 10:24, 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 > and all kinds of

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

2019-12-05 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