From: Ben Hutchings Date: Wed, 25 Feb 2015 00:02:28 +0000 (+0000) Subject: x86: mm/fault: Fix semaphore imbalance X-Git-Tag: v3.2.68~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6749fd110bf44164782df9bba86c0327474446b9;p=pandora-kernel.git x86: mm/fault: Fix semaphore imbalance When backporting commit 33692f27597f ('vm: add VM_FAULT_SIGSEGV handling support') I didn't notice that it depended on a recent change to the locking context of mm_fault_error() (commit 7fb08eca4527, 'x86: mm: move mmap_sem unlock from mm_fault_error() to caller'). That isn't easily applicable to 3.2, so instead make sure we drop mm->mmap_sem on the new branch of mm_fault_error(). Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed