commit | b94742c958f0b97d304d4aecb4603a20ee9a2df3 | [log] [tgz] |
---|---|---|
author | Junaid Shahid <junaids@google.com> | Wed Jun 27 14:59:20 2018 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Aug 06 17:59:02 2018 +0200 |
tree | 98dd56c5f03449587af3c9f34d75e560a78662e1 | |
parent | faff87588d8bfd9e56e9203412f0bb80455da7b9 [diff] |
kvm: x86: Add multi-entry LRU cache for previous CR3s Adds support for storing multiple previous CR3/root_hpa pairs maintained as an LRU cache, so that the lockless CR3 switch path can be used when switching back to any of them. Signed-off-by: Junaid Shahid <junaids@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>