From: Gleb Natapov Date: Wed, 2 May 2012 12:04:02 +0000 (+0300) Subject: KVM: Do not take reference to mm during async #PF X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f7adce49fcea809d87769ea06ff23aef4214acf;p=pandora-kernel.git 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-diff-tree failed