summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorNadav Amit2019-04-25 13:54:45 +0200
committerGreg Kroah-Hartman2019-05-24 20:19:17 +0200
commitae29783d3333b828cdc3f9276e110db1a2f7cc4c (patch)
tree6250bb32892d43d77120091abf972850f76b0202 /drivers/w1
parentvmw_balloon: Add memory shrinker (diff)
downloadkernel-qcow2-linux-ae29783d3333b828cdc3f9276e110db1a2f7cc4c.tar.gz
kernel-qcow2-linux-ae29783d3333b828cdc3f9276e110db1a2f7cc4c.tar.xz
kernel-qcow2-linux-ae29783d3333b828cdc3f9276e110db1a2f7cc4c.zip
vmw_balloon: Split refused pages
The hypervisor might refuse to inflate pages. While the balloon driver handles this scenario correctly, a refusal to inflate a 2MB pages might cause the same page to be allocated again later just for its inflation to be refused again. This wastes energy and time. To avoid this situation, split the 2MB page to 4KB pages, and then try to inflate each one individually. Most of the 4KB pages out of the 2MB should be inflated successfully, and the balloon is likely to prevent the scenario of repeated refused inflation. Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com> Signed-off-by: Nadav Amit <namit@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions