diff options
author | Juergen Gross <jgross@suse.com> | 2021-10-05 15:34:33 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-10-06 07:45:00 +0200 |
commit | 319933a80fd4f07122466a77f93e5019d71be74c (patch) | |
tree | 8d38777d006804051d157f800ee1844813286b2b /drivers/clocksource | |
parent | xen/x86: adjust data placement (diff) | |
download | linux-319933a80fd4f07122466a77f93e5019d71be74c.tar.xz linux-319933a80fd4f07122466a77f93e5019d71be74c.zip |
xen/balloon: fix cancelled balloon action
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: 8480ed9c2bbd56 ("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>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions