summaryrefslogtreecommitdiff
path: root/drivers/iommu/virtio-iommu.c
diff options
context:
space:
mode:
authorWei Wang <wei.w.wang@intel.com>2019-07-18 12:27:20 +0300
committerMichael S. Tsirkin <mst@redhat.com>2019-07-22 18:19:26 +0300
commitdd422906799f240bfd400a5d376aa43f7b89c38a (patch)
tree19f2696f81f32f7e46d3e477086eaaa4defd1c2a /drivers/iommu/virtio-iommu.c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-dd422906799f240bfd400a5d376aa43f7b89c38a.tar.xz
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>
Diffstat (limited to 'drivers/iommu/virtio-iommu.c')
0 files changed, 0 insertions, 0 deletions