Files
twx-linux/drivers
Juergen Gross 0bec1ceaf1 xen/balloon: fix cancelled balloon action
commit 319933a80f upstream.

In case a ballooning action is cancelled the new kernel thread handling
the ballooning might end up in a busy loop.

Fix that by handling the cancelled action gracefully.

While at it introduce a short wait for the BP_WAIT case.

Cc: stable@vger.kernel.org
Fixes: 8480ed9c2b ("xen/balloon: use a kernel thread instead a workqueue")
Reported-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Tested-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20211005133433.32008-1-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-13 10:10:50 +02:00
..
…
…
…
…
…
…
…
2021-07-20 16:15:55 +02:00
…
…
…
2021-09-22 11:47:54 +02:00
…
…
…
…
…
…
…
2021-08-26 08:36:46 -04:00
…
…
…
…
…
…
…
…
…
…
2021-10-13 10:10:50 +02:00
…
…
…
…
…