Re: [PATCH v1] docs: filesystems: clarify KernelPageSize vs. MMUPageSize in smaps
From: Andi Kleen
Date: Wed Mar 04 2026 - 15:25:12 EST
On Wed, Mar 04, 2026 at 04:56:36PM +0100, David Hildenbrand (Arm) wrote:
> There was recently some confusion around THPs and the interaction with
> KernelPageSize / MMUPageSize. Historically, these entries always
> correspond to the smallest size we could encounter, not any current
> usage of transparent huge pages or larger sizes used by the MMU.
It still seems like a bug to me, only documented now, but seems
I'm in the minority on that.
But anyways if you change this file you should probably remove
the duplicated KernelPageSize/MMUPageSize entries in the example
too. That triped me up the last time.
-Andi