On 04/13/2010 10:03 AM, Takuya Yoshikawa wrote:
It's better to limit memory slots to something that can be handled by
everything, then. 2^31 pages is plenty. Return -EINVAL if the slot is
too large.
I agree with that, so we make this patch pending to fix like that?
-- or should make a new patch based on this patch?
We need a new patch to block oversize memory slots. The current patch
can come on top (but now page numbers fit inside an int, so it is just a
cleanup, not a bugfix).
--
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 kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html