From owner-cvs-all@FreeBSD.ORG Fri Sep 21 09:44:58 2007 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D49916A417; Fri, 21 Sep 2007 09:44:58 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from gnome.kiev.sovam.com (gnome.kiev.sovam.com [212.109.32.24]) by mx1.freebsd.org (Postfix) with ESMTP id 3628713C45A; Fri, 21 Sep 2007 09:44:58 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com ([62.64.120.197]) by gnome.kiev.sovam.com with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IYf4D-000FNV-Hx; Fri, 21 Sep 2007 12:44:57 +0300 Received: from [212.82.216.226] (helo=deviant.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IYaGk-000LNt-9C; Fri, 21 Sep 2007 07:37:42 +0300 Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l8L4bXZ8056674; Fri, 21 Sep 2007 07:37:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l8L4bXgY056673; Fri, 21 Sep 2007 07:37:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 21 Sep 2007 07:37:33 +0300 From: Kostik Belousov To: Jeff Roberson Message-ID: <20070921043733.GJ79542@deviant.kiev.zoral.com.ua> References: <200709210410.l8L4ANB5044030@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+FS1wzm/v+2h3Q5" Content-Disposition: inline In-Reply-To: <200709210410.l8L4ANB5044030@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Scanner-Signature: 3b10ce253585130f5293a5b36593fd37 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1500 [September 20 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-Delayed: more then 1h on relay02.kiev.sovam.com Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_fork.c kern_proc.c sched_4bsd.c sched_ule.c src/sys/sys proc.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 09:44:58 -0000 --x+FS1wzm/v+2h3Q5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 21, 2007 at 04:10:23AM +0000, Jeff Roberson wrote: > jeff 2007-09-21 04:10:23 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/kern kern_fork.c kern_proc.c sched_ule.c=20 > sched_4bsd.c=20 > sys/sys proc.h=20 > Log: > - Redefine p_swtime and td_slptime as p_swtick and td_slptick. This > changes the units from seconds to the value of 'ticks' when swapped > in/out. ULE does not have a periodic timer that scans all threads in > the system and as such maintaining a per-second counter is difficult. > - Change computations requiring the unit in seconds to subtract ticks > and divide by hz. This does make the wraparound condition hz times > more frequent but this is still in the range of several months to > years and the adverse effects are minimal. > =20 > Approved by: re > =20 > Revision Changes Path > 1.282 +1 -0 src/sys/kern/kern_fork.c > 1.252 +3 -2 src/sys/kern/kern_proc.c > 1.105 +20 -17 src/sys/kern/sched_4bsd.c > 1.207 +5 -7 src/sys/kern/sched_ule.c > 1.491 +2 -2 src/sys/sys/proc.h It seems that at least the sys/vm/ was missed from the commit. cc -c -O -pipe -march=3Dpentiumpro -std=3Dc99 -g -Wall -Wredundant-decls -W= nested-ex terns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -W= cast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/= usr/bsd/src/sys -I/usr/bsd/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPT= ION_HEADERS -include opt_global.h -fno-common -finline-limit=3D8000 --param= inline-unit-growth=3D100 --param large-function-growth=3D1000 -mno-align-= long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -= mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/bsd/src/sys/vm/vm_glue.c /usr/bsd/src/sys/vm/vm_glue.c: In function 'faultin': /usr/bsd/src/sys/vm/vm_glue.c:639: error: 'struct proc' has no member named= 'p_swtime' /usr/bsd/src/sys/vm/vm_glue.c: In function 'scheduler': /usr/bsd/src/sys/vm/vm_glue.c:700: error: 'struct proc' has no member named= 'p_swtime'=20 /usr/bsd/src/sys/vm/vm_glue.c:700: error: 'struct thread' has no member nam= ed 'td_slptime' =2E... --x+FS1wzm/v+2h3Q5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG80qMC3+MBN1Mb4gRAnjHAKDSx5zY7ZT5x7Xyr2kpz9xgAPBVowCgkr4q 8IkE8d1pYfstjSsZ0WJfGXo= =2xEQ -----END PGP SIGNATURE----- --x+FS1wzm/v+2h3Q5--