HELP needed : Mali and UMP drivers : Rss and Pss pages always 0

From: Pintu Agarwal
Date: Mon Nov 14 2011 - 01:08:09 EST


Dear All,

This is regarding the Mali and UMP drivers for kernel 2.6.36.

The Rss and Pss pages for Mali and ump drivers are always zero.
When I do :
#cat /proc/1936/smaps | grep -A 11 /dev/ump
43698000-43810000 rw-s 0000e000 00:11 6751       /dev/ump
Size:                   1504 kB
Rss:                       0 kB
Pss:                       0 kB
Shared_Clean:        0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:           0 kB
Referenced:              0 kB
Swap:                      0 kB
KernelPageSize:       4 kB
MMUPageSize:         4 kB
----------------------------------------------------------------------
The Rss and Pss pages are always 0KB.

Any help on this will be great.
Anyone who knows about Rss and Pss pages can provide some pointers to debug further.


Thanks, Regards,
Pintu



----- Original Message -----
> From: Pintu Agarwal <pintu_agarwal@xxxxxxxxx>
> To: "linux-mm@xxxxxxxxx" <linux-mm@xxxxxxxxx>; "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>
> Cc:
> Sent: Tuesday, 8 November 2011 8:56 PM
> Subject: HELP : Rss and Pss pages are always 0 for some drivers. Why?
>
> Dear All,
>  
> I have a problem regarding RSS and PSS pages always showing zero for some PID.
>  
> We are using customized kernel2.6.36 (arm with no swap).
>  
> We are having a menu-screen application (current PID 1939)
>  
> When I do cat /proc/1939/smaps we are getting "Rss", "Pss"
> page as always zero for some of the modules  /dev/ump and /dev/mali.
> The output is as follows:-
> cat /proc/1936/smaps | grep -A 11 /dev/ump
> 43698000-43810000 rw-s 0000e000 00:11 6751       /dev/ump
> Size:               1504 kB
> Rss:                   0 kB
> Pss:                   0 kB
> Shared_Clean:          0 kB
> Shared_Dirty:          0 kB
> Private_Clean:         0 kB
> Private_Dirty:         0 kB
> Referenced:            0 kB
> Swap:                  0 kB
> KernelPageSize:        4 kB
> MMUPageSize:           4 kB
> ----------------------------------------------------------------------
>  
> I wanted to understand why Rss and Pss pages information for only /dev/ump
> (similarly for /dev/mali) is not shown correctly by smaps.
> Where could be the problem and where I should debug?
>  
> Any information on this will be a great help.
>  
>  
>  
> Thanks, Regards,
> Pintu Kumar
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
> Don't email: <a href=mailto:"dont@xxxxxxxxx";>
> email@xxxxxxxxx </a>
>
--
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/