arm64-mm-display-non-present-entries-in-ptdump.patch removed from -mm tree
The patch titled
Subject: arm64: mm: display non-present entries in ptdump
has been removed from the -mm tree. Its filename was
arm64-mm-display-non-present-entries-in-ptdump.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Steven Price <[email protected]>
Subject: arm64: mm: display non-present entries in ptdump
Previously the /sys/kernel/debug/kernel_page_tables file would only show lines for entries present in the page tables. However it is useful to also show non-present entries as this makes the size and level of the holes more visible. This aligns the behaviour with x86 which also shows holes.
---
arch/arm64/mm/dump.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-)
arch/arm64/mm/dump.c renamed from arch/arm64/mm/dump.c~arm64-mm-display-non-present-entries-in-ptdump +13 -12
@@ -270,21 +270,22 @@ static void note_page(struct ptdump_statif (st->current_prot) {note_prot_uxn (st, addr);note_prot_wx (st, addr); -pt_dump_seq_printf (st->seq,"0x%016lx-0x%016lx " , + } + +pt_dump_seq_printf (st->seq,"0x%016lx-0x%016lx " , st->start_address, addr); - delta = (addr - st->start_address) >>10 ; -while (!(delta &1023 ) && unit[1 ]) { - delta >>=10 ; - unit++; - } -pt_dump_seq_printf (st->seq,"%9lu%c %s" , delta, *unit, - pg_level[st->level].name); -if (pg_level[st->level].bits) -dump_prot (st, pg_level[st->level].bits, - pg_level[st->level].num); -pt_dump_seq_puts (st->seq,"\n" ); + delta = (addr - st->start_address) >>10 ; +while (!(delta &1023 ) && unit[1 ]) { + delta >>=10 ; + unit++; } +pt_dump_seq_printf (st->seq,"%9lu%c %s" , delta, *unit, + pg_level[st->level].name); +if (st->current_prot && pg_level[st->level].bits) +dump_prot (st, pg_level[st->level].bits, + pg_level[st->level].num); +pt_dump_seq_puts (st->seq,"\n" );if (addr >= st->marker[1 ].start_address) { st->marker++;
_
Patches currently in -mm which might be from [email protected] are