Thread (3 messages) 3 messages, 3 authors, 2020-01-25

Re: [PATCH V4] x86/Hyper-V: Balloon up according to request page number

From: Sasha Levin <sashal@kernel.org>
Date: 2020-01-25 21:41:45
Also in: lkml, stable

On Tue, Jan 21, 2020 at 04:36:26AM +0000, Michael Kelley wrote:
From: Tianyu Lan <redacted> Sent: Monday, January 20, 2020 7:49 PM
quoted
Current code has assumption that balloon request memory size aligns
with 2MB. But actually Hyper-V doesn't guarantee such alignment. When
balloon driver receives non-aligned balloon request, it produces warning
and balloon up more memory than requested in order to keep 2MB alignment.
Remove the warning and balloon up memory according to actual requested
memory size.

Fixes: f6712238471a ("hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory
block")
Cc: stable@vger.kernel.org
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Tianyu Lan <redacted>
Reviewed-by: Michael Kelley <redacted>
Queued up, thanks!

-- 
Thanks,
Sasha
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help