]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit95f5c80050ad723163aa80dc8bffd48ef4afc6d5
tree8ea41807b5039f785d45e01ae11b5ec128a537c1
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
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