Re: [PATCH] proc: task_mmu: show page size in /proc/<pid>/numa_maps

From: Dave Hansen
Date: Mon Dec 22 2014 - 12:59:43 EST


On 12/22/2014 09:25 AM, Rafael Aquini wrote:
> Remaining question here is: should we print out 'pagesize' deliberately
> or conditionally, only to disambiguate cases where page_size != PAGE_SIZE?

I say print it unconditionally. Not to completely overdesign this, but
I do think we should try to at least mirror the terminology that smaps uses:

KernelPageSize: 4 kB
MMUPageSize: 4 kB

So definitely call this kernelpagesize.

It appears that powerpc is the only architecture where there is a
difference, and I'm not sure that this is very common at all these days.
Do we need mmupagesize in numa_maps too?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/