diff options
author | Gleb Natapov <gleb@redhat.com> | 2012-12-27 13:44:58 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-01-07 23:31:35 +0100 |
commit | 908e7d7999bcce70ac52e7f390a8f5cbc55948de (patch) | |
tree | 8d0a2b246e40d49e583d3ad04dd1d9f363ab1f7a /Documentation/virtual | |
parent | KVM: mmu: remove unused trace event (diff) | |
download | linux-908e7d7999bcce70ac52e7f390a8f5cbc55948de.tar.xz linux-908e7d7999bcce70ac52e7f390a8f5cbc55948de.zip |
KVM: MMU: simplify folding of dirty bit into accessed_dirty
MMU code tries to avoid if()s HW is not able to predict reliably by using
bitwise operation to streamline code execution, but in case of a dirty bit
folding this gives us nothing since write_fault is checked right before
the folding code. Lets just piggyback onto the if() to make code more clear.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions