diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2022-04-08 07:10:09 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-04-22 16:45:58 +0300 |
commit | 2a2848e7c2fde1c26ff46998ac10f7bf9ca2de04 (patch) | |
tree | 5c339067baa87c4ca1f9e56a62030ee0ba2e29ba /Documentation/arm64 | |
parent | b2d229d4ddb17db541098b83524d901257e93845 (diff) | |
download | linux-2a2848e7c2fde1c26ff46998ac10f7bf9ca2de04.tar.xz |
arm64/mm: Compute PTRS_PER_[PMD|PUD] independently of PTRS_PER_PTE
Possible page table entries (or pointers) on non-zero page table levels are
dependent on a single page size i.e PAGE_SIZE and size required for each
individual page table entry i.e 8 bytes. PTRS_PER_[PMD|PUD] as such are not
related to PTRS_PER_PTE in any manner, as being implied currently. So lets
just make this very explicit and compute these macros independently.
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20220408041009.1259701-1-anshuman.khandual@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions