summaryrefslogtreecommitdiffstats
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorJonathan Lim <jlim@sgi.com>2008-07-25 01:48:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:46 -0700
commit49b5cf34727a6c1be1568ab28e89a2d9a6bf51e0 (patch)
tree29505ad668bfadc67a670ad4ebc5c65823a87413 /sound/sound_core.c
parent7394f0f6c0baab650ea9194cb1be847df646fb57 (diff)
downloadlinux-49b5cf34727a6c1be1568ab28e89a2d9a6bf51e0.tar.bz2
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 <jlim@sgi.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions