aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAvi Kivity <[email protected]>2010-01-21 15:31:51 +0200
committerMarcelo Tosatti <[email protected]>2010-03-01 12:36:05 -0300
commit8ae099127668de80e4babba73bb492740ce3a1be (patch)
tree2485d31b421b83edac00161fb32b5ee049655254 /tools/perf/scripts/python
parentf6801dff23bd1902473902194667f4ac1eb6ea26 (diff)
KVM: Optimize kvm_read_cr[04]_bits()
'mask' is always a constant, so we can check whether it includes a bit that might be owned by the guest very cheaply, and avoid the decache call. Saves a few hundred bytes of module text. Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions