From 1f7adce49fcea809d87769ea06ff23aef4214acf Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Wed, 2 May 2012 15:04:02 +0300 Subject: [PATCH] KVM: Do not take reference to mm during async #PF commit 62c49cc976af84cb0ffcb5ec07ee88da1a94e222 upstream. 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 Signed-off-by: Gleb Natapov Signed-off-by: Avi Kivity Signed-off-by: Ben Hutchings --- Reading git-format-patch failed