diff options
| author | Michael Ellerman <[email protected]> | 2019-03-14 12:54:53 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-04-20 12:02:11 +0000 |
| commit | eea86aa4171d4960f0fcdc99dab358c224d53ffe (patch) | |
| tree | 38e0d193c517da93546adf865cb3a16f9593488e /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/highmem: Change BUG_ON() to WARN_ON() (diff) | |
| download | kernel-eea86aa4171d4960f0fcdc99dab358c224d53ffe.tar.gz kernel-eea86aa4171d4960f0fcdc99dab358c224d53ffe.zip | |
powerpc/mm/64: Document the sizes of/sizes mapped by Pxx_INDEX_SIZE
Add comments describing the size in bytes of the various levels of the
page table tree, and the size of the virtual address space mapped by
each level, to make it clear what the sizes are without having to also
look up other definitions.
The code that calculates the sizes actually uses sizeof(pgd_t) etc.,
so in theory these comments could skew vs the code, but the size of
pgd_t etc. is unlikely to change very often.
Signed-off-by: Michael Ellerman <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
