Re: [Xen-devel] [RFC PATCH 1/5] xen/hap: Increase hap size for more vcpus support

2017-08-28 Thread Lan, Tianyu
On 8/25/2017 5:14 PM, Wei Liu wrote: On Thu, Aug 24, 2017 at 10:52:16PM -0400, Lan Tianyu wrote: This patch is to increase hap size to support more vcpus in single VM. Signed-off-by: Lan Tianyu Can we maybe derive the number of pages needed from the number of vcpus? Yes, we can add check

Re: [Xen-devel] [RFC PATCH 1/5] xen/hap: Increase hap size for more vcpus support

2017-08-25 Thread Wei Liu
On Thu, Aug 24, 2017 at 10:52:16PM -0400, Lan Tianyu wrote: > This patch is to increase hap size to support more vcpus in single VM. > > Signed-off-by: Lan Tianyu Can we maybe derive the number of pages needed from the number of vcpus? Bumping this value unconditionally is going to increase mem

[Xen-devel] [RFC PATCH 1/5] xen/hap: Increase hap size for more vcpus support

2017-08-25 Thread Lan Tianyu
This patch is to increase hap size to support more vcpus in single VM. Signed-off-by: Lan Tianyu --- xen/arch/x86/mm/hap/hap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c index cdc77a9..cb81368 100644 --- a/xen/arch/x8