From owner-freebsd-current@FreeBSD.ORG Wed Feb 22 13:25:12 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 E990216A420; Wed, 22 Feb 2006 13:25:12 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3742043D48; Wed, 22 Feb 2006 13:25:12 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.4/8.13.4) with ESMTP id k1MDPAoc013403; Wed, 22 Feb 2006 16:25:10 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.4/8.13.4/Submit) id k1MDPA0Y013402; Wed, 22 Feb 2006 16:25:10 +0300 (MSK) (envelope-from ache) Date: Wed, 22 Feb 2006 16:25:09 +0300 From: Andrey Chernov To: Kris Kennaway Message-ID: <20060222132509.GA13060@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Kris Kennaway , John Baldwin , ups@FreeBSD.ORG, current@FreeBSD.ORG References: <200602211047.06599.jhb@freebsd.org> <20060222023646.GA75290@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20060222023646.GA75290@xor.obsecurity.org> User-Agent: Mutt/1.5.11 Cc: ups@FreeBSD.ORG, current@FreeBSD.ORG, John Baldwin 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 13:25:13 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 21, 2006 at 09:36:46PM -0500, Kris Kennaway wrote: > On Tue, Feb 21, 2006 at 10:47:04AM -0500, John Baldwin wrote: > > The latest round of calcru() changes accidentally changed calccru() to = use the=20 > > wrong rusage_ext structure (p->p_rux vs p->p_crux) when calculating usa= ge=20 > > times for children. The patch fixes calccru() to use p->p_crux again. = It=20 > > also moves the ruadd() in exit1() even later in the function so that it= takes=20 > > the dying thread's last time slice into account. Please test it and le= t me=20 > > know if it makes the messages go away (or if it makes things worse!) T= hanks! > >=20 > > http://www.FreeBSD.org/~jhb/patches/calccru.patch >=20 > I think you committed this already, right? >=20 > I'm still getting calcru spam on the 3 SMP machines that I upgraded > with fresh sources: I too (but less than before patch), UP machine: Feb 22 03:37:45 pobrecita kernel: calcru: runtime went backwards from 29254= 2 usec to 292537 usec for pid 29 (pagezero) Feb 22 03:37:45 pobrecita kernel: u 0:0/0 s 38:292542/292537 i 0:0/0 --=20 http://ache.pp.ru/ --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iQCVAwUBQ/xmNeJgpPLZnQjrAQKoAgQA7hyzdBJwqizkulZOMgXst4a8peln3AIP aTBa8c8EC1BNlUfT/cyWzcL9kQrcKEs6fAJpaBzMis6WdzAr4THNAxl4PjB0Ivna Z9asFx0ediESFUrClPG6dWuxJwDthTiQBXpi+ApAa3VAI9P9JQo+hWRuS+FkMvrH yfzuMjIqjTo= =Sh7X -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--