public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][RSDL-mm 2/6] sched: remove sleepavg from proc
@ 2007-03-10  7:25 Con Kolivas
  0 siblings, 0 replies; 2+ messages in thread
From: Con Kolivas @ 2007-03-10  7:25 UTC (permalink / raw)
  To: linux kernel mailing list, ck list, Andrew Morton, Ingo Molnar

From: Con Kolivas <kernel@kolivas.org>

Remove the sleep_avg field from proc output as it will be removed from the
task_struct.

Signed-off-by: Con Kolivas <kernel@kolivas.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/proc/array.c |    2 --
 1 file changed, 2 deletions(-)

Index: linux-2.6.21-rc3-mm2/fs/proc/array.c
===================================================================
--- linux-2.6.21-rc3-mm2.orig/fs/proc/array.c	2007-03-08 22:03:17.000000000 +1100
+++ linux-2.6.21-rc3-mm2/fs/proc/array.c	2007-03-10 13:54:13.000000000 +1100
@@ -171,7 +171,6 @@ static inline char * task_state(struct t
 
 	buffer += sprintf(buffer,
 		"State:\t%s\n"
-		"SleepAVG:\t%lu%%\n"
 		"Tgid:\t%d\n"
 		"Pid:\t%d\n"
 		"PPid:\t%d\n"
@@ -179,7 +178,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,
 	       	pid_alive(p) ? rcu_dereference(p->parent)->tgid : 0,
 		tracer_pid,

-- 
-ck

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH][RSDL-mm 2/6] sched: remove sleepavg from proc
@ 2007-03-16 13:52 Con Kolivas
  0 siblings, 0 replies; 2+ messages in thread
From: Con Kolivas @ 2007-03-16 13:52 UTC (permalink / raw)
  To: linux kernel mailing list, ck list, Andrew Morton, Ingo Molnar

From: Con Kolivas <kernel@kolivas.org>

Remove the sleep_avg field from proc output as it will be removed from the
task_struct.

Signed-off-by: Con Kolivas <kernel@kolivas.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/proc/array.c |    2 --
 1 file changed, 2 deletions(-)

Index: linux-2.6.21-rc3-mm2/fs/proc/array.c
===================================================================
--- linux-2.6.21-rc3-mm2.orig/fs/proc/array.c	2007-03-16 23:27:49.000000000 +1100
+++ linux-2.6.21-rc3-mm2/fs/proc/array.c	2007-03-16 23:27:51.000000000 +1100
@@ -171,7 +171,6 @@ static inline char * task_state(struct t
 
 	buffer += sprintf(buffer,
 		"State:\t%s\n"
-		"SleepAVG:\t%lu%%\n"
 		"Tgid:\t%d\n"
 		"Pid:\t%d\n"
 		"PPid:\t%d\n"
@@ -179,7 +178,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,
 	       	pid_alive(p) ? rcu_dereference(p->parent)->tgid : 0,
 		tracer_pid,

-- 
-ck

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-16 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 13:52 [PATCH][RSDL-mm 2/6] sched: remove sleepavg from proc Con Kolivas
  -- strict thread matches above, loose matches on Subject: below --
2007-03-10  7:25 Con Kolivas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox