aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorTakuya Yoshikawa <[email protected]>2015-03-17 16:19:58 +0900
committerMarcelo Tosatti <[email protected]>2015-03-18 22:23:33 -0300
commit58d2930f4ee335ab703d768cb0318331fc1bb62c (patch)
tree8fa1d0537279336dac5e862b2bfe421ee7191a69 /drivers/mtd/lpddr/lpddr_cmds.c
parentfaac2458518e20130664d77b657303758f1aaf5a (diff)
KVM: Eliminate extra function calls in kvm_get_dirty_log_protect()
When all bits in mask are not set, kvm_arch_mmu_enable_log_dirty_pt_masked() has nothing to do. But since it needs to be called from the generic code, it cannot be inlined, and a few function calls, two when PML is enabled, are wasted. Since it is common to see many pages remain clean, e.g. framebuffers can stay calm for a long time, it is worth eliminating this overhead. Signed-off-by: Takuya Yoshikawa <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions