diff options
author | Jan Stancek <jstancek@redhat.com> | 2017-12-01 10:50:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-13 09:27:30 +0200 |
commit | 711b942ae3beb9c39912271eb12e685ac5d1b7aa (patch) | |
tree | efb0c0933ab7b9c8a9e42d27c8094bd45d574e14 /drivers/net/wireless/ath/ath10k/spectral.h | |
parent | 7f42eada5e3fd87ed15efba117e1c792a9fbdd0a (diff) |
virtio_balloon: fix increment of vb->num_pfns in fill_balloon()
commit d9e427f6ab8142d6868eb719e6a7851aafea56b6 upstream.
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>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/spectral.h')
0 files changed, 0 insertions, 0 deletions