vmw_balloon: refactor change size from vmballoon_work
The required change in the balloon size is currently computed in vmballoon_work(), vmballoon_inflate() and vmballoon_deflate(). Refactor it to simplify the next patches. Reviewed-by: NXavier Deguillard <xdeguillard@vmware.com> Signed-off-by: NNadav Amit <namit@vmware.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录