https://github.com/torvalds/linux
Revision 0f64b247e63ac8c214efa6725366b42563ab138c authored by Nicolas Pitre on 12 August 2015, 15:45:02 UTC, committed by Russell King on 18 August 2015, 12:59:59 UTC
The mmap semaphore should not be taken when page faults are disabled.
Since pagefault_disable() no longer disables preemption, we now need
to use faulthandler_disabled() in place of in_atomic().

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 09edea4
History
Tip revision: 0f64b247e63ac8c214efa6725366b42563ab138c authored by Nicolas Pitre on 12 August 2015, 15:45:02 UTC
ARM: 8414/1: __copy_to_user_memcpy: fix mmap semaphore usage
Tip revision: 0f64b24
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 313.0 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top