summaryrefslogtreecommitdiff
path: root/arch/m32r/include/asm/spinlock.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-05-02 12:04:02 (GMT)
committerAvi Kivity <avi@redhat.com>2012-05-06 12:00:02 (GMT)
commit62c49cc976af84cb0ffcb5ec07ee88da1a94e222 (patch)
treeca69666e0c8c9854a27dcc1bd64f23a9222e72ce /arch/m32r/include/asm/spinlock.h
parenta4fa16353108431e7cfdfc3ecf683bac21b50755 (diff)
downloadlinux-fsl-qoriq-62c49cc976af84cb0ffcb5ec07ee88da1a94e222.tar.xz
KVM: Do not take reference to mm during async #PF
It turned to be totally unneeded. The reason the code was introduced is so that KVM can prefault swapped in page, but prefault can fail even if mm is pinned since page table can change anyway. KVM handles this situation correctly though and does not inject spurious page faults. Fixes: "INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected" warning while running LTP inside a KVM guest using the recent -next kernel. Reported-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/m32r/include/asm/spinlock.h')
0 files changed, 0 insertions, 0 deletions