public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] de_thread() should update ->real_start_time
@ 2013-06-10 18:33 Oleg Nesterov
  2013-06-10 18:33 ` [PATCH 1/3] de_thread: mt-exec " Oleg Nesterov
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Oleg Nesterov @ 2013-06-10 18:33 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Eric W. Biederman, John Stultz, Tomas Janousek, Tomas Smetana,
	linux-kernel

1/3 is the obvious bugfix, 2 and 3 are minor cleanups

I am wondering, can't we kill task->real_start_time? What if we
simply change copy_process

	-	do_posix_clock_monotonic_gettime(&p->start_time);
	+	get_monotonic_boottime(&p->start_time);

?

Afaics, this will only affect do_acct_process() and bacct_add_tsk(),
but do we really want to exclude the suspended time in this case?


Another user of ->start_time is cgroup.c and it looks wrong... But
the change above should not make any difference.

Oleg.


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

end of thread, other threads:[~2013-06-11 20:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10 18:33 [PATCH 0/3] de_thread() should update ->real_start_time Oleg Nesterov
2013-06-10 18:33 ` [PATCH 1/3] de_thread: mt-exec " Oleg Nesterov
2013-06-10 18:33 ` [PATCH 2/3] uptime_proc_show: use get_monotonic_boottime() Oleg Nesterov
2013-06-10 18:33 ` [PATCH 3/3] do_sysinfo: " Oleg Nesterov
2013-06-10 19:48 ` [PATCH 0/3] de_thread() should update ->real_start_time John Stultz
2013-06-11 17:13   ` Oleg Nesterov
2013-06-11 18:14     ` John Stultz
2013-06-11 20:06       ` Oleg Nesterov
2013-06-10 20:18 ` John Stultz

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