summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>2014-10-07 17:00:07 -0400
committerDavid Vrabel <david.vrabel@citrix.com>2014-10-23 16:24:01 +0100
commitfd8b79511349efd1f0decea920f61b93acb34a75 (patch)
treeb4091d187db6d6a083bb2d9ffd8ead27030a60ba /arch
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
xen/balloon: Don't continue ballooning when BP_ECANCELED is encountered
Commit 3dcf63677d4e ("xen/balloon: cancel ballooning if adding new memory failed") makes reserve_additional_memory() return BP_ECANCELED when an error is encountered. This error, however, is ignored by the caller (balloon_process()) since it is overwritten by subsequent call to update_schedule(). This results in continuous attempts to add more memory, all of which are likely to fail again. We should stop trying to schedule next iteration of ballooning when the current one has failed. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions