diff options
| author | Takuya Yoshikawa <[email protected]> | 2010-11-01 14:36:09 +0900 |
|---|---|---|
| committer | Avi Kivity <[email protected]> | 2011-01-12 11:28:48 +0200 |
| commit | 6f9e5c1702319e048a90e06e31b957fbbcecbe07 (patch) | |
| tree | 335deee0e2351cdde480460200162dc055ef717e /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 515a01279a187415322a80736800a7d6325876ab (diff) | |
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 <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions