On Fri, Jun 14, 2019 at 11:22:03AM -0700, Song Liu wrote: > In preparation for non-shmem THP, this patch adds two stats and exposes > them in /proc/meminfo > > Signed-off-by: Song Liu <songliubraving@xxxxxx> I think you also need to cover smaps. See my old patch for refernece: https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git/commit/?h=hugeext4/v6&id=e629d1c4f9200c16bd7b4b02e8016d020c0869cb -- Kirill A. Shutemov