Re: [PATCH v2 -mmotm-2009-12-10-17-19] Fix wrong rss count of smaps

From: KOSAKI Motohiro
Date: Sun Jan 03 2010 - 22:14:09 EST


>
> Long time ago, We regards zero page as file_rss and
> vm_normal_page didn't return NULL in case of zero page
>
> But now, we reinstated ZERO_PAGE and vm_normal_page's implementation
> can return NULL in case of zero page.
>
> Then, RSS and PSS can't be matched in smaps_pte_range.
> This patch fixes it.
>
> Acked-by: Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx>
> Acked-by: Matt Mackall <mpm@xxxxxxxxxxx>
> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> Signed-off-by: Minchan Kim <minchan.kim@xxxxxxxxx>

Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/