<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>
<div>I'm away on vacation until next week, so I won't be able to check it out until then.</div><div><br></div><div>Dave</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757">Sent from my Verizon Wireless 4G LTE smartphone</div></div><br><br>-------- Original message --------<br>From: Michael Holzheu <holzheu@linux.vnet.ibm.com> <br>Date: 07/27/2015 10:34 AM (GMT-08:00) <br>To: Dave Anderson <anderson@redhat.com> <br>Cc: "Discussion list for crash utility usage, maintenance and development" <crash-utility@redhat.com> <br>Subject: [Crash-utility] Wrong RSS field in ps <br><br>Hello Dave,<br><br>On s390 (kernel 4.2.0-rc2) the "RSS" field in "ps" is wrong.<br><br>The reason is that in rss_page_types_init() enumerator_value("MM_ANONPAGES",<br>&anonpages) returns zero for "anonpages" and therefore we add MM_FILEPAGES<br>twice instead of adding MM_ANONPAGES.<br><br>Example: Process that allocated 500 MB:<br><br>ps 2152<br> PID PPID CPU TASK ST %MEM VSZ RSS COMM<br> 2152 1061 4 7aff0000 IN 0.0 514024 2236 eat_mem<br><br>crash> print/x ((struct task_struct *) 0x7aff0000)->mm->rss_stat<br>$1 = {<br> count = {{<br> counter = 0x113<br> }, {<br> counter = 0x1f414<br> }, {<br> counter = 0x0<br> }}<br>}<br><br>Any idea why enumerator_value() is not working?<br><br>Michael<br><br>--<br>Crash-utility mailing list<br>Crash-utility@redhat.com<br>https://www.redhat.com/mailman/listinfo/crash-utility<br><br></body></html>