commit | 908e7d7999bcce70ac52e7f390a8f5cbc55948de | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Thu Dec 27 14:44:58 2012 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Jan 07 20:31:35 2013 -0200 |
tree | 8d0a2b246e40d49e583d3ad04dd1d9f363ab1f7a | |
parent | ee04e0cea8b170ae9c8542162091c716de36666b [diff] |
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>