lkml.org 
[lkml]   [2013]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 0/3] de_thread() should update ->real_start_time
From
On Mon, Jun 10, 2013 at 11:33 AM, Oleg Nesterov <oleg@redhat.com> wrote:
> 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);


An additional thought: task_struct covers quite a bit of stuff, so I
don't know if this would be too useful, but we could further change
start_time to be a ktime_t, allowing possible additional space savings
in the task_struct on 64bit systems.

thanks
-john


\
 
 \ /
  Last update: 2013-06-10 22:41    [W:0.100 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site