]> granicus.if.org Git - procps-ng/commit
top: trade Page_size for that newly exposed page_bytes
authorJim Warner <james.warner@comcast.net>
Thu, 17 Jul 2014 17:12:12 +0000 (12:12 -0500)
committerJaromir Capik <jcapik@redhat.com>
Fri, 18 Jul 2014 18:49:57 +0000 (20:49 +0200)
commit9500dc198c6347768a71cdf4a6a2a8d5cba903f3
treef065a207ae1318463ece91bba9a14278bf88c76d
parente4f0b4ebf3eaa1bda9a0315ec7b113c73a510dd4
top: trade Page_size for that newly exposed page_bytes

Might as well use the newly exposed sysinfo.h variable
'page_bytes' rather than our own. Plus, in the process
we can avoid incurring yet one more function call hit.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c