[PATCH] arm64: ptdump: Allow dumping user page tables

Will Deacon will at kernel.org
Tue Oct 19 05:09:32 PDT 2021


On Fri, Oct 01, 2021 at 04:56:03PM +0200, Vincent Whitchurch wrote:
> Add a user_page_tables debugfs file (similar to kernel_page_tables) to
> dump out the userspace page tables for the current process.  This
> provides details which are not available via pagemap (such as the memory
> type) and is useful when, for example, debugging ->mmap()
> implementations.
> 
> Signed-off-by: Vincent Whitchurch <vincent.whitchurch at axis.com>
> ---
>  arch/arm64/mm/ptdump.c | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)

How does this serialise with things like task exit?

Will



More information about the linux-arm-kernel mailing list