Re: [PATCH] Use boot based time for process start time and boot time in /proc

2007-05-11 Thread Tomas Janousek
Hi, On Fri, May 11, 2007 at 12:51:32PM -0700, Andrew Morton wrote: > On Fri, 11 May 2007 10:45:31 +0200 > Tomas Janousek <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote: > > > Tomas Janousek <[EMAIL PROTECTED]> wrote: > > > > @@ -445,

Re: [PATCH] Use boot based time for process start time and boot time in /proc

2007-05-11 Thread Andrew Morton
On Fri, 11 May 2007 10:45:31 +0200 Tomas Janousek <[EMAIL PROTECTED]> wrote: > Hello, > > On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote: > > Tomas Janousek <[EMAIL PROTECTED]> wrote: > > > @@ -445,12 +445,14 @@ static int show_stat(struct seq_file *p, void *v) > > > unsigned lon

Re: [PATCH] Use boot based time for process start time and boot time in /proc

2007-05-11 Thread Tomas Janousek
Hi, On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote: > On Thu, 10 May 2007 19:10:42 +0200 > Tomas Janousek <[EMAIL PROTECTED]> wrote: > > @@ -918,7 +918,7 @@ struct task_struct { > > unsigned int rt_priority; > > cputime_t utime, stime; > > unsigned long nvcsw, nivcsw; /*

Re: [PATCH] Use boot based time for process start time and boot time in /proc

2007-05-11 Thread Tomas Janousek
Hello, On Thu, May 10, 2007 at 04:40:47PM -0700, Andrew Morton wrote: > Tomas Janousek <[EMAIL PROTECTED]> wrote: > > @@ -445,12 +445,14 @@ static int show_stat(struct seq_file *p, void *v) > > unsigned long jif; > > cputime64_t user, nice, system, idle, iowait, irq, softirq, steal; > >

Re: [PATCH] Use boot based time for process start time and boot time in /proc

2007-05-10 Thread Andrew Morton
On Thu, 10 May 2007 19:10:42 +0200 Tomas Janousek <[EMAIL PROTECTED]> wrote: > Commit 411187fb05cd11676b0979d9fbf3291db69dbce2 caused boot time to move and > process start times to become invalid after suspend. Using boot based time for > those restores the old behaviour and fixes the issue. > >

Re: [PATCH] Use boot based time for process start time and boot time in /proc

2007-05-10 Thread john stultz
On Thu, 2007-05-10 at 19:10 +0200, Tomas Janousek wrote: > Commit 411187fb05cd11676b0979d9fbf3291db69dbce2 caused boot time to move and > process start times to become invalid after suspend. Using boot based time for > those restores the old behaviour and fixes the issue. > > Signed-off-by: Tomas

[PATCH] Use boot based time for process start time and boot time in /proc

2007-05-10 Thread Tomas Janousek
Commit 411187fb05cd11676b0979d9fbf3291db69dbce2 caused boot time to move and process start times to become invalid after suspend. Using boot based time for those restores the old behaviour and fixes the issue. Signed-off-by: Tomas Janousek <[EMAIL PROTECTED]> Cc: Tomas Smetana <[EMAIL PROTECTED]>