Thread (1 message) 1 message, 1 author, 2019-10-04

Re: [PATCH] Drivers: hv: balloon: Remove dependencies on guest page size

From: Sasha Levin <sashal@kernel.org>
Date: 2019-10-04 15:46:19
Also in: lkml

Possibly related (same subject, not in this thread)

On Wed, Sep 04, 2019 at 11:37:12PM +0000, Michael Kelley wrote:
From: Himadri Pandya <redacted> Sent: Friday, August 16, 2019 9:09 PM
quoted
Hyper-V assumes page size to be 4K. This might not be the case for
ARM64 architecture. Hence use hyper-v specific page size and page
shift definitions to avoid conflicts between different host and guest
page sizes on ARM64.

Also, remove some old and incorrect comments and redefine ballooning
granularities to handle larger page sizes correctly.

Signed-off-by: Himadri Pandya <redacted>
---
 drivers/hv/hv_balloon.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)
Reviewed-by: Michael Kelley <redacted>

Thomas -- can you pick up this patch in the x86/hyperv branch of your
tip tree along with the other patches to fix wrong page size assumptions?
I've queued this for hyperv-next, 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