Re: [PATCH V4 6/6] proc: show MADV_FREE pages info in smaps

2017-02-24 Thread Shaohua Li
On Fri, Feb 24, 2017 at 09:08:30AM -0800, Dave Hansen wrote: > On 02/22/2017 10:50 AM, Shaohua Li wrote: > > @@ -770,6 +774,7 @@ static int show_smap(struct seq_file *m, void *v, int > > is_pid) > >"Private_Dirty: %8lu kB\n" > >"Referenced: %8lu kB\n" > >

Re: [PATCH V4 6/6] proc: show MADV_FREE pages info in smaps

2017-02-24 Thread Dave Hansen
On 02/22/2017 10:50 AM, Shaohua Li wrote: > @@ -770,6 +774,7 @@ static int show_smap(struct seq_file *m, void *v, int > is_pid) > "Private_Dirty: %8lu kB\n" > "Referenced: %8lu kB\n" > "Anonymous: %8lu kB\n" > +"LazyFree:

Re: [PATCH V4 6/6] proc: show MADV_FREE pages info in smaps

2017-02-23 Thread Minchan Kim
On Wed, Feb 22, 2017 at 10:50:44AM -0800, Shaohua Li wrote: > show MADV_FREE pages info of each vma in smaps. The interface is for > diganose or monitoring purpose, userspace could use it to understand > what happens in the application. Since userspace could dirty MADV_FREE > pages without notice f

Re: [PATCH V4 6/6] proc: show MADV_FREE pages info in smaps

2017-02-23 Thread Johannes Weiner
On Wed, Feb 22, 2017 at 10:50:44AM -0800, Shaohua Li wrote: > show MADV_FREE pages info of each vma in smaps. The interface is for > diganose or monitoring purpose, userspace could use it to understand > what happens in the application. Since userspace could dirty MADV_FREE > pages without notice f