summaryrefslogtreecommitdiff
path: root/crypto/anubis.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-04-24 13:25:50 +0400
committerAvi Kivity <avi@redhat.com>2011-05-22 16:39:46 +0400
commit781e0743af3c5ba356d55bc60df59f2dded1e938 (patch)
tree549ba079bf78ce53ee93852bd1ae36f810082bc0 /crypto/anubis.c
parent62aaa2f05abd59598f132e6ebad86318291b5be0 (diff)
downloadlinux-781e0743af3c5ba356d55bc60df59f2dded1e938.tar.xz
KVM: MMU: Add unlikely() annotations to walk_addr_generic()
walk_addr_generic() is a hot path and is also hard for the cpu to predict - some of the parameters (fetch_fault in particular) vary wildly from invocation to invocation. Add unlikely() annotations where appropriate; all walk failures are considered unlikely, as are cases where we have to mark the accessed or dirty bit, as they are slow paths both in kvm and on real processors. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'crypto/anubis.c')
0 files changed, 0 insertions, 0 deletions