diff options
author | Avi Kivity <avi@redhat.com> | 2009-03-29 15:31:25 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-04-22 12:52:09 +0200 |
commit | 99894a799f09cf9e28296bb16e75bd5830fd2c4e (patch) | |
tree | 33fa687fa78b3c8b89d032ca11b89443296449a2 /arch/ia64 | |
parent | Linux 2.6.30-rc3 (diff) | |
download | linux-99894a799f09cf9e28296bb16e75bd5830fd2c4e.tar.xz linux-99894a799f09cf9e28296bb16e75bd5830fd2c4e.zip |
KVM: MMU: Fix off-by-one calculating large page count
The large page initialization code concludes there are two large pages spanned
by a slot covering 1 (small) page starting at gfn 1. This is incorrect, and
also results in incorrect write_count initialization in some cases (base = 1,
npages = 513 for example).
Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions