diff options
author | Juergen Gross <jgross@suse.com> | 2019-12-12 15:17:50 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2019-12-13 08:39:52 +0100 |
commit | c673ec61ade89bf2f417960f986bc25671762efb (patch) | |
tree | 34416758a6feb4200575f6c17dd42bf221e50e04 /drivers/block/xen-blkback | |
parent | fa2ac657f9783f0891b2935490afe9a7fd29d3fa (diff) | |
download | linux-c673ec61ade89bf2f417960f986bc25671762efb.tar.gz linux-c673ec61ade89bf2f417960f986bc25671762efb.tar.bz2 linux-c673ec61ade89bf2f417960f986bc25671762efb.zip |
xen/balloon: fix ballooned page accounting without hotplug enabled
When CONFIG_XEN_BALLOON_MEMORY_HOTPLUG is not defined
reserve_additional_memory() will set balloon_stats.target_pages to a
wrong value in case there are still some ballooned pages allocated via
alloc_xenballooned_pages().
This will result in balloon_process() no longer be triggered when
ballooned pages are freed in batches.
Reported-by: Nicholas Tsirakis <niko.tsirakis@gmail.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/block/xen-blkback')
0 files changed, 0 insertions, 0 deletions