From owner-svn-src-head@FreeBSD.ORG Fri Jul 16 08:09:48 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA9CF1065670; Fri, 16 Jul 2010 08:09:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0BA8FC13; Fri, 16 Jul 2010 08:09:47 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o6G89itv091667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Jul 2010 11:09:44 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o6G89iap012105; Fri, 16 Jul 2010 11:09:44 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o6G89ixF012104; Fri, 16 Jul 2010 11:09:44 +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, 16 Jul 2010 11:09:44 +0300 From: Kostik Belousov To: "Bjoern A. Zeeb" Message-ID: <20100716080944.GA2381@deviant.kiev.zoral.com.ua> References: <201007152024.o6FKObhM092035@svn.freebsd.org> <20100716064257.S14969@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RUvhGz2nhX7DIu1B" Content-Disposition: inline In-Reply-To: <20100716064257.S14969@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r210138 - in head/sys: kern sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2010 08:09:49 -0000 --RUvhGz2nhX7DIu1B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 16, 2010 at 06:44:39AM +0000, Bjoern A. Zeeb wrote: > On Thu, 15 Jul 2010, John Baldwin wrote: >=20 > >Author: jhb > >Date: Thu Jul 15 20:24:37 2010 > >New Revision: 210138 > >URL: http://svn.freebsd.org/changeset/base/210138 > > > >Log: > > Retire td_syscalls now that it is no longer needed. > > > >Modified: > > head/sys/kern/kern_thread.c > > head/sys/kern/subr_trap.c > > head/sys/sys/proc.h >=20 > Did you want to leave the field as a placehgolder or add a note > somewhere that people should do a full recompile because the layout > changed? Make depend should do the magic, right ? I was surprised to see that mips/arm did not touched td_syscalls, and I wonder how much other bugs are lurking in their implementation. >=20 >=20 > >Modified: head/sys/sys/proc.h > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > >--- head/sys/sys/proc.h Thu Jul 15 19:52:54 2010 (r210137) > >+++ head/sys/sys/proc.h Thu Jul 15 20:24:37 2010 (r210138) > >@@ -296,7 +296,6 @@ struct thread { > > struct mdthread td_md; /* (k) Any machine-dependent fields.=20 > > */ > > struct td_sched *td_sched; /* (*) Scheduler-specific data. */ > > struct kaudit_record *td_ar; /* (k) Active audit record, if any.=20 > > */ > >- int td_syscalls; /* per-thread syscall count (used by=20 > >NFS :)) */ > > struct lpohead td_lprof[2]; /* (a) lock profiling objects. */ > > struct kdtrace_thread *td_dtrace; /* (*) DTrace-specific data. */ > > int td_errno; /* Error returned by last syscall. */ > > >=20 > --=20 > Bjoern A. Zeeb From August on I will have a life. It's now up to you > to do the maths and count to 64. -- Bondorf, Germany, 14th June 2010 --RUvhGz2nhX7DIu1B Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEUEARECAAYFAkxAE8cACgkQC3+MBN1Mb4gK1wCYuwUHib+490sYpf2+ZF1ywgCo fgCghg5r1cK8QctlFnT6CJysfO3xmyY= =mOqy -----END PGP SIGNATURE----- --RUvhGz2nhX7DIu1B--