lkml.org 
[lkml]   [2004]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: process start time set wrongly at boot for kernel 2.6.9
john stultz wrote:
> On Tue, 2004-10-19 at 17:42, Tim Schmielau wrote:
>
>>On Tue, 19 Oct 2004, john stultz wrote:
>>
>>
>>>On Tue, 2004-10-19 at 11:21, Jerome Borsboom wrote:
>>>
>>>>Starting with kernel 2.6.9 the process start time is set wrongly for
>>>>processes that get started early in the boot process. Below is a dump from
>>>>my 'ps' command. Note the start time for processes 1-12. After process 12
>>>>the start time is set right.
>>>
>>>How reproducible is this? Are the correct and incorrect time values
>>>always off by the same amount?
>>>
>>>Are you running NTP? I'm curious if you are changing your system time
>>>during boot.
>>
>>I'd bet that some process early in the boot adjusts your system time.
>
>
> He claims that's not the case (you weren't CC'ed on his reply, but its
> on lkml). He believes the time changes before NTP starts up. Might be
> something else, but I'm not sure.
>
>
>>Then this is expected behavior. This is why I would have preferred the
>>simple back-out patch for the boot times problem.
>>
>>I'm sorry I fell of the net for so long and didn't stand up for the
>>simpler change in this case. Oh well.
>>
>>I'll probably supply a back-out patch for -mm then, after wading through
>>my multi-megabyte email backlog (sorry John, still need to read your time
>>keeping proposal and all its discussion).
>
>
> I've begun to agree with you about this issue. It seems that until we
> can catch every use of jiffies for time, doing one by one is going to
> cause consistency problems. So I'd support the full backout of the
> do_posix_clock_monotonic_gettime changes to the proc interface.
>
> George, would you protest this?

It seems to me that if we do that we will stop making any changes at all. I.e.
we will not see the rest of the "jiffies for time" code, as it will not "hurt"
any more.

Also, the orgional change was made for a reason...

-g
>
> As for the timeofday overhaul, I've had zero time to work on it
> recently. I hate that I dropped code and then went missing for weeks.
> I'll have to see if I can get a few cycles at home to sync up my current
> tree and send it out.
>
> thanks
> -john
>
>

--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.097 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site