[PATCH] powerpc/mm: Move page table dump into powerpc subdirectory

Michael Ellerman mpe at ellerman.id.au
Thu Apr 13 23:20:34 AEST 2017


Christophe Leroy <christophe.leroy at c-s.fr> writes:

> Page table dump is a powerpc specific thing, so it should
> appear in powerpc/ subdirectory of debugfs

It's not powerpc specific. x86, arm, arm64 and s390 all have it.

But, I notice we somehow got the name wrong :}

All the other arches call it "kernel_page_tables".

> -	debugfs_file = debugfs_create_file("kernel_pagetables", 0400, NULL,
> -			NULL, &ptdump_fops);

¯\_(ツ)_/¯


So we probably should rename it to match the other arches. I would take
a patch for that.

cheers


More information about the Linuxppc-dev mailing list