git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cafd665
)
KVM: MMU: Don't read pdptrs with mmu spinlock held in mmu_alloc_roots
author
Avi Kivity
<avi@redhat.com>
Tue, 4 May 2010 09:58:32 +0000
(12:58 +0300)
committer
Avi Kivity
<avi@redhat.com>
Wed, 19 May 2010 08:36:35 +0000
(11:36 +0300)
On svm, kvm_read_pdptr() may require reading guest memory, which can sleep.
Push the spinlock into mmu_alloc_roots(), and only take it after we've read
the pdptr.
Tested-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
No differences found