summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smp.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-06-08 14:55:21 +0200
committerAvi Kivity <avi@redhat.com>2009-06-10 14:18:16 +0200
commit09f8ca74ae6c2d78b2c7f6c0751ed0cbe815a3d9 (patch)
treefb45101cca1b35798c61fecfc28f590f071f755b /arch/x86/kernel/smp.c
parentKVM: Disable large pages on misaligned memory slots (diff)
downloadlinux-09f8ca74ae6c2d78b2c7f6c0751ed0cbe815a3d9.tar.xz
linux-09f8ca74ae6c2d78b2c7f6c0751ed0cbe815a3d9.zip
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 <avi@redhat.com>
Diffstat (limited to 'arch/x86/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions