From: Avi Kivity Date: Mon, 8 Jun 2009 12:55:21 +0000 (+0300) Subject: KVM: Prevent overflow in largepages calculation X-Git-Tag: v2.6.31-rc1~393^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09f8ca74ae6c2d78b2c7f6c0751ed0cbe815a3d9;p=pandora-kernel.git KVM: Prevent overflow in largepages calculation If userspace specifies a memory slot that is larger than 8 petabytes, it could overflow the largepages variable. Cc: stable@kernel.org Signed-off-by: Avi Kivity --- Reading git-diff-tree failed