]> git.baikalelectronics.ru Git - kernel.git/commit
arm64:mm: free the useless initial page table
authorzhichang.yuan <zhichang.yuan@linaro.org>
Tue, 9 Dec 2014 07:26:47 +0000 (07:26 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Jan 2015 12:07:28 +0000 (12:07 +0000)
commit76dcd37c454447a131f2898109c5d1140c2ee672
tree3c0d9fc243f9e00ce49985e078a8c641029f0833
parent22ce8c86b6b966a8e79f921d087765cee63b29d5
arm64:mm: free the useless initial page table

For 64K page system, after mapping a PMD section, the corresponding initial
page table is not needed any more. That page can be freed.

Signed-off-by: Zhichang Yuan <zhichang.yuan@linaro.org>
[catalin.marinas@arm.com: added BUG_ON() to catch late memblock freeing]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h
arch/arm64/mm/mmu.c