Searched hist:"3 e1907d5bf5a1e0b182ee599f92586f0165029e2" (Results 1 – 1 of 1) sorted by relevance
/linux/arch/arm64/include/asm/ |
H A D | memory.h | diff 3e1907d5bf5a1e0b182ee599f92586f0165029e2 Wed Mar 30 16:46:00 CEST 2016 Ard Biesheuvel <ard.biesheuvel@linaro.org> arm64: mm: move vmemmap region right below the linear region
This moves the vmemmap region right below PAGE_OFFSET, aka the start of the linear region, and redefines its size to be a power of two. Due to the placement of PAGE_OFFSET in the middle of the address space, whose size is a power of two as well, this guarantees that virt to page conversions and vice versa can be implemented efficiently, by masking and shifting rather than ordinary arithmetic.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
|