[PATCH] possible fix for the runtime going backwards warnings

Kazuaki Oda kaakun at highway.ne.jp
Wed Feb 22 08:47:45 PST 2006


John Baldwin wrote:
> The pagezero ones are truly odd.  calcru() shouldn't be called for kthreads 
> very often (if at all).  I wonder if your tickrate is changing out from under 
> you.  Try editing sys/i386/i386/tsc.c and where it does 'set_cputicker(rdtsc, 
> tsc_freq, 1)' change the last parameter to '0' and see if they go away.
> 

I still get calcru messages too.  And I have noticed that I get these 
messages when I run ps or top command.  When we run ps, 
fill_kinfo_proc_only() is called, and I think calcru() and calccru() 
for kthreads are called in that function.


---------------
Kazuaki Oda


More information about the freebsd-current mailing list