summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorJan Stancek2017-12-01 10:50:28 +0100
committerMichael S. Tsirkin2017-12-01 15:55:45 +0100
commitd9e427f6ab8142d6868eb719e6a7851aafea56b6 (patch)
tree1b3ad23a6cab1524eea800de336efc0f6bd9d277 /arch/m32r
parentvirtio: release virtio index when fail to device_register (diff)
downloadkernel-qcow2-linux-d9e427f6ab8142d6868eb719e6a7851aafea56b6.tar.gz
kernel-qcow2-linux-d9e427f6ab8142d6868eb719e6a7851aafea56b6.tar.xz
kernel-qcow2-linux-d9e427f6ab8142d6868eb719e6a7851aafea56b6.zip
virtio_balloon: fix increment of vb->num_pfns in fill_balloon()
commit c7cdff0e8647 ("virtio_balloon: fix deadlock on OOM") changed code to increment vb->num_pfns before call to set_page_pfns(), which used to happen only after. This patch fixes boot hang for me on ppc64le KVM guests. Fixes: c7cdff0e8647 ("virtio_balloon: fix deadlock on OOM") Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: Michal Hocko <mhocko@suse.com> Cc: Wei Wang <wei.w.wang@intel.com> Cc: stable@vger.kernel.org Signed-off-by: Jan Stancek <jstancek@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions