On Tue, 7 Jan 2020, Björn Töpel wrote:
On Sat, 4 Jan 2020 at 02:32, Paul Walmsley [off-list ref] wrote:
quoted
Looks like Palmer's already reviewed it. One additional request: could
you update the VM layout debugging messages in arch/riscv/mm/init.c to
include this new area?
Sure, I'll send that as a follow-up!
Thanks.
Related; Other archs, e.g. arm64, has moved away from dumping the VM
layout (commit 071929dbdd86 ("arm64: Stop printing the virtual memory
layout")), and instead rely on _PTDUMP. Going forward that probably
applies to riscv as well!
For the specific case of the page table dumper: we're waiting for the
generic ptdump patchset to be merged first - hopefully for v5.6. The
RISC-V integration patches against it were posted to the lists back in
October. But, to me, that targets a different use-case than the VM layout
debug print code.
- Paul