summaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-05-04 12:58:32 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-05 11:16:14 -0700
commit01b2090b73c8364b457d4c8d0961db2d1635726a (patch)
tree9a15318ae38a9130b9fab652783709a90f24aaf2 /net/unix/af_unix.c
parent5c8f6e37b6b7ce451bb3fc25a7699c720bbcbbba (diff)
downloadkernel-crypto-01b2090b73c8364b457d4c8d0961db2d1635726a.tar.gz
kernel-crypto-01b2090b73c8364b457d4c8d0961db2d1635726a.tar.xz
kernel-crypto-01b2090b73c8364b457d4c8d0961db2d1635726a.zip
KVM: MMU: Don't read pdptrs with mmu spinlock held in mmu_alloc_roots
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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> (cherry picked from commit 8facbbff071ff2b19268d3732e31badc60471e21)
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions