From owner-freebsd-mips@FreeBSD.ORG Tue Jul 27 14:56:30 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CF7D1065673; Tue, 27 Jul 2010 14:56:30 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B91138FC12; Tue, 27 Jul 2010 14:56:29 +0000 (UTC) Received: by fxm13 with SMTP id 13so679790fxm.13 for ; Tue, 27 Jul 2010 07:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=Mtjb1Armyt4QscoMMK/CWrJJQBLkL38+0Wf+ko0EAOk=; b=Mc3lMOqYRoo5doy7g7DkDtunhhg/J1roqu8EB4PEXqcT5y920FkZedbdERl/WMO6n8 UXQ0YJPE8UWgAtDFoA5QioF/LDun4ocmJb1yk/sxUDMCefcckRLrU7SXU3Dk3qkcDPuD C5dbWzZGGijurzL0Qv0Fshe6KMBGkJRWsyzT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=IFmwEq3Cln0ycUp2YQxUR9unyFGnwP1lFhmJnxL3Zi9C9TJFRhowTdveTRdfrxuikO kLjoW650+WA1Qyiz53wlWVNr5Hu8nIDEnTMTGqkTbBq9r1p7HelSuWi8Hq+NWsOSQ3cK CrSHOOV3/kc3t8v2vns6ixb+dgwdD5Jf42sdg= Received: by 10.223.125.196 with SMTP id z4mr8154214far.80.1280242588553; Tue, 27 Jul 2010 07:56:28 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id r5sm1952423faq.32.2010.07.27.07.56.26 (version=SSLv3 cipher=RC4-MD5); Tue, 27 Jul 2010 07:56:27 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C4EF398.1050507@FreeBSD.org> Date: Tue, 27 Jul 2010 17:56:24 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: "Jayachandran C." References: <4C41A248.8090605@FreeBSD.org> <4C41B4CF.6080409@FreeBSD.org> <4C4205CC.6080700@FreeBSD.org> <4C4ED247.80701@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Randall Stewart , Neel Natu , freebsd-mips@freebsd.org Subject: Re: [RFC] Event timers on MIPS X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 14:56:30 -0000 Jayachandran C. wrote: > On Tue, Jul 27, 2010 at 6:04 PM, Alexander Motin wrote: >> Jayachandran C. wrote: >>> Also, with just the count/compare, I get these print on early mutiuser bootup. >>> --- >>> calcru: runtime went backwards from 85936878 usec to 236488 usec for >>> pid 1286 (rpcbind) >>> calcru: runtime went backwards from 7158742 usec to 19700 usec for pid >>> 1285 (nfsiod 0) >>> calcru: runtime went backwards from 111005442 usec to 305474 usec for >>> pid 1257 (syslogd) >>> calcru: runtime went backwards from 10740196 usec to 29555 usec for >>> pid 1048 (devd) >>> -- >>> Did not get much time to investigate, any idea what the cause can be? >> I think it can easily be result of broken tick_ticker(). > > I'm planning to check-in the attached patch for mips/rmi, I think > mips/mips would need something similar. Looks fine. Does it help? -- Alexander Motin