From owner-freebsd-current@FreeBSD.ORG Wed Aug 2 03:34:38 2006 Return-Path: X-Original-To: freebsd-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 8512216A4DD for ; Wed, 2 Aug 2006 03:34:38 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from H43.C18.B96.tor.eicat.ca (H43.C18.B96.tor.eicat.ca [66.96.18.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2415543D45 for ; Wed, 2 Aug 2006 03:34:37 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from [127.0.0.1] (desktop.home.local [172.16.0.200]) by H43.C18.B96.tor.eicat.ca (Postfix) with ESMTP id 752F0114FF; Tue, 1 Aug 2006 23:34:05 -0400 (EDT) Message-ID: <44D01D51.2090409@rogers.com> Date: Tue, 01 Aug 2006 23:34:41 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Michiel Boland References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SpamToaster-Information: This messages has been scanned by SpamToaster http://www.digitalprogression.ca X-SpamToaster: Found to be clean X-SpamToaster-SpamCheck: not spam, SpamAssassin (not cached, score=-2.471, required 3.5, ALL_TRUSTED -1.80, AWL 0.02, BAYES_00 -2.60, DK_POLICY_SIGNSOME 0.00, DNS_FROM_RFC_ABUSE 0.20, DNS_FROM_RFC_POST 1.71) X-SpamToaster-From: mikej@rogers.com X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: calcru: runtime went backwards after resuming from DDB session 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, 02 Aug 2006 03:34:38 -0000 Michiel Boland wrote: > Hi. I keep seeing messages like > > calcru: runtime went backwards from 7521 usec to 5986 usec for pid 819 > (bash) > > (repeated for several other processes) > > each time I resume from a DDB session and then type 'ps x'. Any way to > get my machine to shut up about this? I have tons of these in 6-STABLE, from normal ps/w/top usage, without the use of a debugger. CURRENT however seems to work fine for me, but it seems the changes are too great to MFC, so what i did is i just commented the warnings out from the source code. Look into src/sys/kern/kern_resource.c, and comment out the following statement --- printf("calcru: runtime went backwards from %ju usec " "to %ju usec for pid %d (%s)\n", (uintmax_t)ruxp->rux_tu, (uintmax_t)tu, p->p_pid, p->p_comm); --- recompile kernel.