https://github.com/torvalds/linux
Revision 8b5f5a073fda33bbe96b3eb1bffca32010ccaf0e authored by Laura Abbott on 25 February 2015, 22:14:55 UTC, committed by Catalin Marinas on 06 March 2015, 12:04:22 UTC
The set_memory_* functions currently only support module
addresses. The addresses are validated using is_module_addr.
That function is special though and relies on internal state
in the module subsystem to work properly. At the time of
module initialization and calling set_memory_*, it's too early
for is_module_addr to work properly so it always returns
false. Rather than be subject to the whims of the module state,
just bounds check against the module virtual address range.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 13a7a6a
History
Tip revision: 8b5f5a073fda33bbe96b3eb1bffca32010ccaf0e authored by Laura Abbott on 25 February 2015, 22:14:55 UTC
arm64: Don't use is_module_addr in setting page attributes
Tip revision: 8b5f5a0
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-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 297.9 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top