diff options
author | Gleb Natapov | 2012-05-02 15:04:02 +0300 |
---|---|---|
committer | Avi Kivity | 2012-05-06 15:00:02 +0300 |
commit | 62c49cc976af84cb0ffcb5ec07ee88da1a94e222 (patch) | |
tree | ca69666e0c8c9854a27dcc1bd64f23a9222e72ce /lib/zlib_deflate | |
parent | a4fa16353108431e7cfdfc3ecf683bac21b50755 (diff) |
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 'lib/zlib_deflate')
0 files changed, 0 insertions, 0 deletions