From: Jonathan Lim Date: Fri, 25 Jul 2008 08:48:40 +0000 (-0700) Subject: accounting: account for user time when updating memory integrals X-Git-Tag: v2.6.27-rc1~265 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49b5cf34727a6c1be1568ab28e89a2d9a6bf51e0;p=pandora-kernel.git accounting: account for user time when updating memory integrals Adapt acct_update_integrals() to include user time when calculating the time difference. The units of acct_rss_mem1 and acct_vm_mem1 are also changed from pages-jiffies to pages-usecs to avoid calling jiffies_to_usecs() in xacct_add_tsk() which might overflow. Signed-off-by: Jonathan Lim Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed