diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 0eaad41f4658f3f4eaaf526078dafa24e1ec0094..35787f907f1290c6982759e084d87c5b601cc6c5 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -289,7 +289,7 @@ static int show_smap(struct seq_file *m, void *v) struct mem_size_stats mss; memset(&mss, 0, sizeof mss); - if (vma->vm_mm) + if (vma->vm_mm && !is_vm_hugetlb_page(vma)) smaps_pgd_range(vma, vma->vm_start, vma->vm_end, &mss); return show_map_internal(m, v, &mss); }