Re: [PATCH] kvm mmu: reduce 50% memory usage

From: Avi Kivity
Date: Fri Apr 30 2010 - 14:23:36 EST


On 04/30/2010 05:25 AM, Lai Jiangshan wrote:

It's unrelated to TDP, same issue with shadow. I think the calculation
is correct. For example the 4th spte for a level=2 page will yield
gfn=4*512.
Avi, Marcelo
Thank you very much.

The calculation I used is correct.

Yes. btw, can you update the patch to also correct mmu.txt?

The fault is comes from the FNAME(fetch) when using shadow page.

I have fix it in the patch
"[RFC PATCH] kvm: calculate correct gfn for small host pages which emulates large guest pages"

(It seems that the mail lists is unreachable, did you receive it?)

The lists are down at the moment.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/