aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/unshare.txt
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>2010-11-01 14:36:09 +0900
committerAvi Kivity <avi@redhat.com>2011-01-12 11:28:48 +0200
commit6f9e5c1702319e048a90e06e31b957fbbcecbe07 (patch)
tree335deee0e2351cdde480460200162dc055ef717e /Documentation/unshare.txt
parentKVM: pre-allocate one more dirty bitmap to avoid vmalloc() (diff)
downloadlinux-dev-6f9e5c1702319e048a90e06e31b957fbbcecbe07.tar.xz
linux-dev-6f9e5c1702319e048a90e06e31b957fbbcecbe07.zip
KVM: use kmalloc() for small dirty bitmaps
Currently we are using vmalloc() for all dirty bitmaps even if they are small enough, say less than K bytes. We use kmalloc() if dirty bitmap size is less than or equal to PAGE_SIZE so that we can avoid vmalloc area usage for VGA. This will also make the logging start/stop faster. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'Documentation/unshare.txt')
0 files changed, 0 insertions, 0 deletions