diff options
author | Minchan Kim <[email protected]> | 2010-01-08 14:43:10 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-01-11 09:34:07 -0800 |
commit | 7f53a09ed40f08416b3029ada8f02252e7596c18 (patch) | |
tree | 51d2bef1ca3a4667e5b9058b6f2b365edd101ebd /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | d2b34e20c1f431604e0dde910c3ff271c84ed706 (diff) |
smaps: fix wrong rss count
A long time ago we regarded zero page as file_rss and vm_normal_page
doesn't return NULL.
But now, we reinstated ZERO_PAGE and vm_normal_page's implementation can
return NULL in case of zero page. Also we don't count it with file_rss
any more.
Then, RSS and PSS can't be matched. For consistency, Let's ignore zero
page in smaps_pte_range.
Signed-off-by: Minchan Kim <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Acked-by: Matt Mackall <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions