diff options
author | Ross Lagerwall <ross.lagerwall@citrix.com> | 2016-12-09 17:10:22 +0000 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2016-12-12 15:22:22 +0100 |
commit | 709613ad2b3c9eaeb2a3e24284b7c8feffc17326 (patch) | |
tree | 8715afd7b68201c7180126ced3b3f4065882c8b5 /mm/slab.c | |
parent | 581d21a2d02a798ee34e56dbfa13f891b3a90c30 (diff) | |
download | op-kernel-dev-709613ad2b3c9eaeb2a3e24284b7c8feffc17326.zip op-kernel-dev-709613ad2b3c9eaeb2a3e24284b7c8feffc17326.tar.gz |
xen/balloon: Only mark a page as managed when it is released
Only mark a page as managed when it is released back to the allocator.
This ensures that the managed page count does not get falsely increased
when a VM is running. Correspondingly change it so that pages are
marked as unmanaged after getting them from the allocator.
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions