aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DMA-attributes.txt
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>2010-04-12 19:35:35 +0900
committerAvi Kivity <avi@redhat.com>2010-04-20 13:06:55 +0300
commit87bf6e7de1134f48681fd2ce4b7c1ec45458cb6d (patch)
treeae8ce63cecab98c036c0d76422de42cf78e042f4 /Documentation/DMA-attributes.txt
parentKVM: MMU: fix kvm_mmu_zap_page() and its calling path (diff)
downloadlinux-dev-87bf6e7de1134f48681fd2ce4b7c1ec45458cb6d.tar.xz
linux-dev-87bf6e7de1134f48681fd2ce4b7c1ec45458cb6d.zip
KVM: fix the handling of dirty bitmaps to avoid overflows
Int is not long enough to store the size of a dirty bitmap. This patch fixes this problem with the introduction of a wrapper function to calculate the sizes of dirty bitmaps. Note: in mark_page_dirty(), we have to consider the fact that __set_bit() takes the offset as int, not long. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'Documentation/DMA-attributes.txt')
0 files changed, 0 insertions, 0 deletions