diff options
author | Juergen Gross <[email protected]> | 2021-10-05 15:34:33 +0200 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2021-10-06 07:45:00 +0200 |
commit | 319933a80fd4f07122466a77f93e5019d71be74c (patch) | |
tree | 8d38777d006804051d157f800ee1844813286b2b /scripts/gdb/linux/utils.py | |
parent | 9c11112c0ec7ec322cd495320c3ab9fa8bdc1bbc (diff) |
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: [email protected]
Fixes: 8480ed9c2bbd56 ("xen/balloon: use a kernel thread instead a workqueue")
Reported-by: Marek Marczykowski-Górecki <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Tested-by: Jason Andryuk <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions