Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 16:25:09 +0300
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ups@FreeBSD.ORG, current@FreeBSD.ORG, John Baldwin <jhb@FreeBSD.ORG>
Subject:   Re: [PATCH] possible fix for the runtime going backwards warnings
Message-ID:  <20060222132509.GA13060@nagual.pp.ru>
In-Reply-To: <20060222023646.GA75290@xor.obsecurity.org>
References:  <200602211047.06599.jhb@freebsd.org> <20060222023646.GA75290@xor.obsecurity.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 
> > wrong rusage_ext structure (p->p_rux vs p->p_crux) when calculating usage 
> > times for children.  The patch fixes calccru() to use p->p_crux again.  It 
> > also moves the ruadd() in exit1() even later in the function so that it takes 
> > the dying thread's last time slice into account.  Please test it and let me 
> > know if it makes the messages go away (or if it makes things worse!)  Thanks!
> > 
> > http://www.FreeBSD.org/~jhb/patches/calccru.patch
> 
> I think you committed this already, right?
> 
> 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 292542 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

-- 
http://ache.pp.ru/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iQCVAwUBQ/xmNeJgpPLZnQjrAQKoAgQA7hyzdBJwqizkulZOMgXst4a8peln3AIP
aTBa8c8EC1BNlUfT/cyWzcL9kQrcKEs6fAJpaBzMis6WdzAr4THNAxl4PjB0Ivna
Z9asFx0ediESFUrClPG6dWuxJwDthTiQBXpi+ApAa3VAI9P9JQo+hWRuS+FkMvrH
yfzuMjIqjTo=
=Sh7X
-----END PGP SIGNATURE-----
help

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