From: Oleg Nesterov Date: Mon, 21 Apr 2014 13:25:58 +0000 (+0200) Subject: KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d72d946d0b649b79709b99b9d5cb7269fff8afaa;p=pandora-kernel.git KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute() async_pf_execute() has no reasons to adopt apf->mm, gup(current, mm) should work just fine even if current has another or NULL ->mm. Recently kvm_async_page_present_sync() was added insedie the "use_mm" section, but it seems that it doesn't need current->mm too. Signed-off-by: Oleg Nesterov Reviewed-by: Andrea Arcangeli Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed