Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 01:45:18 +0900
From:      Kazuaki Oda <kaakun@highway.ne.jp>
To:        John Baldwin <jhb@freebsd.org>
Cc:        current@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: [PATCH] possible fix for the runtime going backwards warnings
Message-ID:  <43FC951E.2070002@highway.ne.jp>
In-Reply-To: <200602221101.41027.jhb@freebsd.org>
References:  <200602211047.06599.jhb@freebsd.org>	<20060222023646.GA75290@xor.obsecurity.org> <200602221101.41027.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43FC951E.2070002>