Re: [PATCH 7/7] kvm x86: report 1GB page support to userspace

From: Avi Kivity
Date: Tue Apr 28 2009 - 06:10:29 EST


Joerg Roedel wrote:
If userspace knows that the kernel part supports 1GB pages it can enable
the corresponding cpuid bit so that guests actually use GB pages.

Why not do everything via KVM_GET_SUPPORTED_CPUID2 and virtualized cpuid? We can enable it in the kernel unconditionally.


--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
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/