diff options
| author | Jan Stancek <[email protected]> | 2017-12-01 09:50:28 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2017-12-01 14:55:45 +0000 |
| commit | d9e427f6ab8142d6868eb719e6a7851aafea56b6 (patch) | |
| tree | 1b3ad23a6cab1524eea800de336efc0f6bd9d277 /net/unix/af_unix.c | |
| parent | virtio: release virtio index when fail to device_register (diff) | |
| download | kernel-d9e427f6ab8142d6868eb719e6a7851aafea56b6.tar.gz kernel-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 <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Wei Wang <[email protected]>
Cc: [email protected]
Signed-off-by: Jan Stancek <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
