]> git.baikalelectronics.ru Git - kernel.git/commit
Use boot based time for process start time and boot time in /proc
authorTomas Janousek <tjanouse@redhat.com>
Mon, 16 Jul 2007 06:39:42 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:41 +0000 (09:05 -0700)
commita3253b12a15354616bdb40b8dd96ed0e666e452b
treec13a647ae93bcf033bddb713c1e117e84698c679
parentbc814e303e812b49321ea3fd0234373fc92f1277
Use boot based time for process start time and boot time in /proc

Commit 86ff8658dde8f0a6d6ea0b65ded132430a5db5dd 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.

[akpm@linux-foundation.org: little cleanup]
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Cc: Tomas Smetana <tsmetana@redhat.com>
Acked-by: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/array.c
fs/proc/proc_misc.c
include/linux/sched.h
kernel/fork.c