• Jay Lan's avatar
    [PATCH] csa accounting taskstats update · db5fed26
    Jay Lan authored
    ChangeLog:
       Feedbacks from Andrew Morton:
       - define TS_COMM_LEN to 32
       - change acct_stimexpd field of task_struct to be of
         cputime_t, which is to be used to save the tsk->stime
         of last timer interrupt update.
       - a new Documentation/accounting/taskstats-struct.txt
         to describe fields of taskstats struct.
    
       Feedback from Balbir Singh:
       - keep the stime of a task to be zero when both stime
         and utime are zero as recoreded in task_struct.
    
       Misc:
       - convert accumulated RSS/VM from platform dependent
         pages-ticks to MBytes-usecs in the kernel
    
    Cc: Shailabh Nagar <nagar@watson.ibm.com>
    Cc: Balbir Singh <balbir@in.ibm.com>
    Cc: Jes Sorensen <jes@sgi.com>
    Cc: Chris Sturtivant <csturtiv@sgi.com>
    Cc: Tony Ernst <tee@sgi.com>
    Cc: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    db5fed26
tsacct.c 3.43 KB