Wei Wang dd42290679 mm/balloon_compaction: avoid duplicate page removal
A #GP is reported in the guest when requesting balloon inflation via
virtio-balloon. The reason is that the virtio-balloon driver has
removed the page from its internal page list (via balloon_page_pop),
but balloon_page_enqueue_one also calls "list_del"  to do the removal.
This is necessary when it's used from balloon_page_enqueue_list, but
not from balloon_page_enqueue.

Move list_del to balloon_page_enqueue, and update comments accordingly.

Fixes: 418a3ab1e778 (mm/balloon_compaction: List interfaces)
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-07-22 11:19:26 -04:00
..
2019-07-16 19:23:25 -07:00
2019-07-14 19:42:11 -07:00
2019-07-16 19:23:25 -07:00
2019-07-14 19:42:11 -07:00
2019-07-14 19:42:11 -07:00
2019-07-02 14:32:44 -03:00
2019-07-16 19:23:21 -07:00
2018-06-07 17:34:36 -07:00
2019-07-12 11:05:43 -07:00