]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: allow vmalloc regions to be set with set_memory_*
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 27 Jan 2016 09:50:19 +0000 (10:50 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 2 Feb 2016 15:42:15 +0000 (15:42 +0000)
commitfc3d764e01176865a811fe8157cb2603d11957f7
tree8ea41807b5039f785d45e01ae11b5ec128a537c1
parent87769ffbad1a15e849b568d4bb3ecd9e274ee8b0
arm64: allow vmalloc regions to be set with set_memory_*

The range of set_memory_* is currently restricted to the module address
range because of difficulties in breaking down larger block sizes.
vmalloc maps PAGE_SIZE pages so it is safe to use as well. Update the
function ranges and add a comment explaining why the range is restricted
the way it is.

Suggested-by: Laura Abbott <labbott@fedoraproject.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/pageattr.c