]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: avoid virt_to_page() translation for the zero page
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 30 Mar 2016 14:45:58 +0000 (16:45 +0200)
committerWill Deacon <will.deacon@arm.com>
Thu, 14 Apr 2016 15:31:49 +0000 (16:31 +0100)
commita6a665e459f3cdf26a27056f3915ea2e1c50cf5c
tree943dd62bba7674a41a3ed2177618cca4ee5d4539
parent8c4658f56f6e94bedf93159f0925a5fb1c262c9f
arm64: mm: avoid virt_to_page() translation for the zero page

The zero page is statically allocated, so grab its struct page pointer
without using virt_to_page(), which will be restricted to the linear
mapping later.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/pgtable.h