[PATCH][plugsched 18/28] Remove private proc entry

From: Con Kolivas
Date: Sat Oct 30 2004 - 10:28:22 EST


Remove private proc entry

sleep_avg is no longer a meaningful value being non linear and scheduler
dependant. Remove it from proc.

Signed-off-by: Con Kolivas <kernel@xxxxxxxxxxx>


Index: linux-2.6.10-rc1-mm1/fs/proc/array.c
===================================================================
--- linux-2.6.10-rc1-mm1.orig/fs/proc/array.c 2004-10-27 22:40:25.587597899 +1000
+++ linux-2.6.10-rc1-mm1/fs/proc/array.c 2004-10-28 00:01:01.722069447 +1000
@@ -162,7 +162,6 @@ static inline char * task_state(struct t
read_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,

Attachment: signature.asc
Description: OpenPGP digital signature