]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] Prevent deadlock in page fault handler
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 20 Sep 2005 16:52:13 +0000 (17:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2005 16:52:13 +0000 (17:52 +0100)
commit2aea0d2c1b88fadbc68cb0de43c5d652568fe018
tree1b66816135fad5a97d5ea0862b95341278f4227f
parentd8fcc0c5ba865d45f500099e2e8a10359effb341
[ARM] Prevent deadlock in page fault handler

As per x86, we may deadlock while trying to get the mmap semaphore.
Implement the same fix, which allows (eg) recursive faults to cause
an oops instead of deadlocking.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/fault.c