Re: [PATCH] Hugetlb pages rss accounting is incorrect in /proc//smaps

2017-10-25 Thread Naoya Horiguchi
On Wed, Oct 25, 2017 at 08:55:27AM +0200, Michal Hocko wrote: > [CCing Naoya] > > On Tue 24-10-17 16:56:08, Prakash Sangappa wrote: > > Resident set size(Rss) accounting of hugetlb pages is not done > > currently in /proc//smaps. The pmap command reads rss from > > this file and so it shows Rss to

Re: [PATCH] Hugetlb pages rss accounting is incorrect in /proc//smaps

2017-10-24 Thread Michal Hocko
[CCing Naoya] On Tue 24-10-17 16:56:08, Prakash Sangappa wrote: > Resident set size(Rss) accounting of hugetlb pages is not done > currently in /proc//smaps. The pmap command reads rss from > this file and so it shows Rss to be 0 in pmap -x output for > hugetlb mapped vmas. This patch fixes it. W

[PATCH] Hugetlb pages rss accounting is incorrect in /proc//smaps

2017-10-24 Thread Prakash Sangappa
Resident set size(Rss) accounting of hugetlb pages is not done currently in /proc//smaps. The pmap command reads rss from this file and so it shows Rss to be 0 in pmap -x output for hugetlb mapped vmas. This patch fixes it. Signed-off-by: Prakash Sangappa --- fs/proc/task_mmu.c | 1 + 1 file cha