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

From: Michael Ellerman
Date: Thu Apr 13 2017 - 09:20:42 EST


Christophe Leroy <christophe.leroy@xxxxxx> 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