Re: [RFC][PATCH] proc: mm: export PTE sizes directly in smaps

From: Dave Hansen
Date: Wed Nov 16 2016 - 18:38:02 EST


On 11/16/2016 11:39 AM, Dan Williams wrote:
>> > @@ -578,6 +582,7 @@ static void smaps_pmd_entry(pmd_t *pmd,
>> > /* pass */;
>> > else
>> > VM_BUG_ON_PAGE(1, page);
>> > + mss->rss_pmd += PAGE_SIZE;
> Should this be "HPAGE_PMD_SIZE"?

Yep, that's a typo. I probably need to resend this and cc linux-mm@ anyway.