remove sleep-avg stats
PATCH 1/1 remove sleep-avg stats
remove sleep-avg stats
sleep_avg is a non linear value which is only useful for debugging purposes in the development of the interactivity estimator.
Remove sleep_avg reporting from /proc.
Signed-off-by Con Kolivas <[email protected]>
fs/proc/array.c +0 -2
@@ -162,7 +162,6 @@ static inline char * task_state(struct tread_lock (&tasklist_lock); buffer +=sprintf (buffer,"State:\t%s\n" -"SleepAVG:\t%lu%%\n" "Tgid:\t%d\n" "Pid:\t%d\n" "PPid:\t%d\n"
@@ -170,7 +169,6 @@ static inline char * task_state(struct t"Uid:\t%d\t%d\t%d\t%d\n" "Gid:\t%d\t%d\t%d\t%d\n" ,get_task_state (p), - (p->sleep_avg/1024 )*100 /(1020000000 /1024 ), p->tgid, p->pid, p->pid ? p->group_leader->real_parent->tgid :0 , p->pid && p->ptrace ? p->parent->pid : 0,
Quoted 1 line · Con Kolivas
remove sleep-avg stats
actually, i'd like to keep this one some more, _especially_ now that we are likely to testdrive your patchset in -mm :-)
Ingo
Quoted 8 lines · Ingo Molnar
Quoted 1 line · Con Kolivas
remove sleep-avg stats
actually, i'd like to keep this one some more, _especially_ now that we are likely to testdrive your patchset in -mm :-)
Ack.
Con