summaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAneesh Kumar K.V2018-08-13 07:44:57 +0200
committerMichael Ellerman2018-08-13 08:35:05 +0200
commita2dc009afa9ae8b92305be7728676562a104cb40 (patch)
treec323534c9db9b947c7742b226be5d6e78fc3d727 /scripts/patch-kernel
parentMerge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/scottw... (diff)
downloadkernel-qcow2-linux-a2dc009afa9ae8b92305be7728676562a104cb40.tar.gz
kernel-qcow2-linux-a2dc009afa9ae8b92305be7728676562a104cb40.tar.xz
kernel-qcow2-linux-a2dc009afa9ae8b92305be7728676562a104cb40.zip
powerpc/mm/book3s/radix: Add mapping statistics
Add statistics that show how memory is mapped within the kernel linear mapping. This is similar to commit 37cd944c8d8f ("s390/pgtable: add mapping statistics") We don't do this with Hash translation mode. Hash uses one size (mmu_linear_psize) to map the kernel linear mapping and we print the linear psize during boot as below. "Page orders: linear mapping = 24, virtual = 16, io = 16, vmemmap = 24" A sample output looks like: DirectMap4k: 0 kB DirectMap64k: 18432 kB DirectMap2M: 1030144 kB DirectMap1G: 11534336 kB Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions