From owner-freebsd-current@FreeBSD.ORG Wed Feb 22 16:47:45 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C2CD16A420; Wed, 22 Feb 2006 16:47:45 +0000 (GMT) (envelope-from kaakun@highway.ne.jp) Received: from mx.highway.ne.jp (pip8.gate01.com [61.122.117.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD6243D49; Wed, 22 Feb 2006 16:47:44 +0000 (GMT) (envelope-from kaakun@highway.ne.jp) Received: from [219.0.96.106] (helo=[192.168.11.18]) by pop11.isp.us-com.jp with esmtp (Mail 4.20) id 1FBx9S-0000Ap-Hb; Thu, 23 Feb 2006 01:47:42 +0900 Message-ID: <43FC951E.2070002@highway.ne.jp> Date: Thu, 23 Feb 2006 01:45:18 +0900 From: Kazuaki Oda User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051211) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <200602211047.06599.jhb@freebsd.org> <20060222023646.GA75290@xor.obsecurity.org> <200602221101.41027.jhb@freebsd.org> In-Reply-To: <200602221101.41027.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Kris Kennaway Subject: Re: [PATCH] possible fix for the runtime going backwards warnings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 16:47:45 -0000 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