From owner-cvs-src@FreeBSD.ORG Sun Oct 28 00:26:54 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C18416A41B; Sun, 28 Oct 2007 00:26:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1322013C4C3; Sun, 28 Oct 2007 00:26:54 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9S0QrAH081455; Sun, 28 Oct 2007 00:26:53 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9S0QrDK081454; Sun, 28 Oct 2007 00:26:53 GMT (envelope-from dougb) Message-Id: <200710280026.l9S0QrDK081454@repoman.freebsd.org> From: Doug Barton Date: Sun, 28 Oct 2007 00:26:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/etc/rc.d named X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 00:26:54 -0000 dougb 2007-10-28 00:26:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/rc.d named Log: MFC version 1.27: 1. Determine the location of the rndc* binaries relative to $command 2. Make the stop routine work more like rc.subr's, but try rndc first 3. Allow the rndc.key file to be owned by root OR the named_uid user Approved by: re (kensmith) Revision Changes Path 1.26.2.1 +22 -14 src/etc/rc.d/named From owner-cvs-src@FreeBSD.ORG Sun Oct 28 00:28:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBE1D16A41B; Sun, 28 Oct 2007 00:28:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B33AF13C48A; Sun, 28 Oct 2007 00:28:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9S0SYsO081540; Sun, 28 Oct 2007 00:28:34 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9S0SYBN081539; Sun, 28 Oct 2007 00:28:34 GMT (envelope-from dougb) Message-Id: <200710280028.l9S0SYBN081539@repoman.freebsd.org> From: Doug Barton Date: Sun, 28 Oct 2007 00:28:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/etc/rc.d named X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 00:28:35 -0000 dougb 2007-10-28 00:28:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/rc.d named Log: MFC version 1.27: 1. Determine the location of the rndc* binaries relative to $command 2. Make the stop routine work more like rc.subr's, but try rndc first 3. Allow the rndc.key file to be owned by root OR the named_uid user Revision Changes Path 1.22.2.3 +22 -14 src/etc/rc.d/named From owner-cvs-src@FreeBSD.ORG Sun Oct 28 00:30:18 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7B7716A41B; Sun, 28 Oct 2007 00:30:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8F8CA13C4B2; Sun, 28 Oct 2007 00:30:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9S0UIeW081675; Sun, 28 Oct 2007 00:30:18 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9S0UIvV081674; Sun, 28 Oct 2007 00:30:18 GMT (envelope-from dougb) Message-Id: <200710280030.l9S0UIvV081674@repoman.freebsd.org> From: Doug Barton Date: Sun, 28 Oct 2007 00:30:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/etc/rc.d named X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 00:30:18 -0000 dougb 2007-10-28 00:30:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) etc/rc.d named Log: MFC version 1.27: 1. Determine the location of the rndc* binaries relative to $command 2. Make the stop routine work more like rc.subr's, but try rndc first 3. Allow the rndc.key file to be owned by root OR the named_uid user Revision Changes Path 1.9.2.8 +22 -14 src/etc/rc.d/named From owner-cvs-src@FreeBSD.ORG Sun Oct 28 04:36:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63A6F16A46D; Sun, 28 Oct 2007 04:36:32 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 52FDE13C491; Sun, 28 Oct 2007 04:36:32 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9S4aWdf013520; Sun, 28 Oct 2007 04:36:32 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9S4aWYk013519; Sun, 28 Oct 2007 04:36:32 GMT (envelope-from bmah) Message-Id: <200710280436.l9S4aWYk013519@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 04:36:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 04:36:33 -0000 bmah 2007-10-28 04:36:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: MFCs noted (noticed in RELENG_6 release notes, apparently missing their MFC markers on RELENG_7): snd_envy24(4), snd_envy24ht(4), snd_hda(4), snd_spicds(4), cxgb(4), fdisk(8) -p, etc/rc.d/sendmail alias rebuild change. For some important ports that were upgraded from some older version, match the older version with the version that shipped with 6.2-RELEASE: GNOME, KDE, X.org. Approved by: re (implicitly) Revision Changes Path 1.1068.2.7 +10 -14 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 04:43:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1E2F16A468; Sun, 28 Oct 2007 04:43:29 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9919213C4A5; Sun, 28 Oct 2007 04:43:29 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9S4hTOG013953; Sun, 28 Oct 2007 04:43:29 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9S4hTmS013952; Sun, 28 Oct 2007 04:43:29 GMT (envelope-from bmah) Message-Id: <200710280443.l9S4hTmS013952@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 04:43:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 04:43:31 -0000 bmah 2007-10-28 04:43:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: SA-07:08.openssl, coretemp(4), em(4) 6.6.6, awk 1 May 2007 update, tzdata2007h. Revision Changes Path 1.883.2.85 +21 -3 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 04:55:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C133016A418; Sun, 28 Oct 2007 04:55:58 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 98D2213C4A8; Sun, 28 Oct 2007 04:55:58 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9S4tvlH023439; Sun, 28 Oct 2007 04:55:57 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9S4tvBb023438; Sun, 28 Oct 2007 04:55:57 GMT (envelope-from bmah) Message-Id: <200710280455.l9S4tvBb023438@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 04:55:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 04:55:59 -0000 bmah 2007-10-28 04:55:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: MFCs noted: coretemp(4), awk 1 May 2007 update. Approved by: re (implicitly) Revision Changes Path 1.1068.2.8 +2 -2 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 07:02:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B47016A417; Sun, 28 Oct 2007 07:02:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7480113C49D; Sun, 28 Oct 2007 07:02:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9S72Bhk039915; Sun, 28 Oct 2007 07:02:11 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9S72BBB039914; Sun, 28 Oct 2007 07:02:11 GMT (envelope-from dougb) Message-Id: <200710280702.l9S72BBB039914@repoman.freebsd.org> From: Doug Barton Date: Sun, 28 Oct 2007 07:02:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/games/fortune/datfiles fortunes X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 07:02:11 -0000 dougb 2007-10-28 07:02:11 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: Correct, add or improve attributions for, and add to quotations from "The Wizard of Oz" One duplicate was also removed that wasn't the right quote anyway Revision Changes Path 1.244 +19 -9 src/games/fortune/datfiles/fortunes From owner-cvs-src@FreeBSD.ORG Sun Oct 28 08:54:55 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1545716A46C for ; Sun, 28 Oct 2007 08:54:55 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id 4A79913C491 for ; Sun, 28 Oct 2007 08:54:54 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so1739535fka for ; Sun, 28 Oct 2007 01:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=GDov1hMEFCgzsknK/g8v8DPZT25/1uBMjz9e1leslxw=; b=AwaIuAT9CiW68Fn9NQ0Px8clcHhXJ2ADaBp1FMATh5mHZjZjGN+A/DHoBIX4KtCbtScP2WI9IpL8bvyjNMjAuB7eo6brOdjM6ErhP9xbhbGgyrgCB0kcADxWFKvrbUzQT3xzNs18eJ0zXjlp6+En+sIN3sjFqzcsaNRGP5TJ7n0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dAlM2lG7hGeAoYIIGz0onPE8K0c3dNCnll7D3loHRnLH3m/WtzhZzaeZC93CkID7lrMNJ0xw8qSpzgQY6EiXelioibZwtgRhfJekPp7/MyboL4YAlHlt5DWU3yB2ECCh0mQfzrzqRk3pAjrGAx84/4W/7ndK6ebEc+QUSP1uzA8= Received: by 10.82.175.17 with SMTP id x17mr8631823bue.1193561692719; Sun, 28 Oct 2007 01:54:52 -0700 (PDT) Received: by 10.82.113.14 with HTTP; Sun, 28 Oct 2007 01:54:52 -0700 (PDT) Message-ID: <6eb82e0710280154h68393dcag4e9ba4ac4c219065@mail.gmail.com> Date: Sun, 28 Oct 2007 16:54:52 +0800 From: "Rong-en Fan" To: "Andrey Chernov" , "Scott Long" , "John Baldwin" , src-committers@freebsd.org, d@delphij.net, "Robert Watson" , imp@freebsd.org, cvs-src@freebsd.org In-Reply-To: <20071027092213.GA53271@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <20071025233536.B99770@fledge.watson.org> <472120E8.90504@samsco.org> <200710261144.34645.jhb@freebsd.org> <472217C2.8020800@samsco.org> <6eb82e0710260954m73b3f17bq2c72a4cdb597640e@mail.gmail.com> <6eb82e0710270130o5557efew95f62aef8035d209@mail.gmail.com> <20071027092213.GA53271@nagual.pp.ru> Cc: Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 08:54:55 -0000 On 10/27/07, Andrey Chernov wrote: > On Sat, Oct 27, 2007 at 04:30:30PM +0800, Rong-en Fan wrote: > > On 10/27/07, Rong-en Fan wrote: > > [...] > > > I admit that I really did a very bad abi damage on libc. I have been > > > working on it and > > > removing those inline __* functions in _ctype.h help. It can be upgraded and > > > also downgraded without problems. Without those inline stuffs, > > > buildworld+installworld > > > time difference is less than 60 seconds, which looks good. I will post the > > > patch after some more tests. > > > > > > As for RELENG_7 and HEAD, I'm not 100% sure whether we should restore > > > the compatibility as 1) 7.0 is not released yet, 2) we don't promise > > > anything in > > > HEAD branch. However, if most people think get rid of inline stuffs and > > > have libc compatibility are nice, then we do the same for those two branches. > > > > After some tests, the patch is at > > > > http://people.freebsd.org/~rafan/ctype-abi-fix-6.diff > > > > Let me describe this patch in more details. Fist, we actually > > compile those inline functions as real functions in > > lib/libc/locale/nomacro.c if _EXTERNAL_CTYPE_INLINES_ is defined. > > I make 4 inline functions that use the __mb_sb_limit symbol, > > which break the compatibility, always compiled as real functions. > > I also considered that moving those inlined function in another > > C file, but I think it would make the source codes diverse > > among 6 and 7/8. > > As a small improvement, we can skip __isctype() from this list too and > just hardcode 128 there, i.e.: return (_c < 0 || _c >= 128) ... > since default locale never define anything above 128. Thank you. A new patch is available at http://people.freebsd.org/~rafan/ctype-abi-fix-6-try2.diff Regards, Rong-En Fan From owner-cvs-src@FreeBSD.ORG Sun Oct 28 12:29:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C47C816A418; Sun, 28 Oct 2007 12:29:33 +0000 (UTC) (envelope-from wilko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9CA13C4A8; Sun, 28 Oct 2007 12:29:33 +0000 (UTC) (envelope-from wilko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SCTXRZ074802; Sun, 28 Oct 2007 12:29:33 GMT (envelope-from wilko@repoman.freebsd.org) Received: (from wilko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SCTXKj074801; Sun, 28 Oct 2007 12:29:33 GMT (envelope-from wilko) Message-Id: <200710281229.l9SCTXKj074801@repoman.freebsd.org> From: Wilko Bulte Date: Sun, 28 Oct 2007 12:29:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: CVSROOT access X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 12:29:33 -0000 wilko 2007-10-28 12:29:33 UTC FreeBSD src repository Modified files: . access Log: back home Approved by: core / me Revision Changes Path 1.843 +1 -1 CVSROOT/access From owner-cvs-src@FreeBSD.ORG Sun Oct 28 13:33:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07C9C16A421; Sun, 28 Oct 2007 13:33:26 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D3EDB13C4A8; Sun, 28 Oct 2007 13:33:25 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SDXPp6088009; Sun, 28 Oct 2007 13:33:25 GMT (envelope-from miwi@repoman.freebsd.org) Received: (from miwi@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SDXP4U088008; Sun, 28 Oct 2007 13:33:25 GMT (envelope-from miwi) Message-Id: <200710281333.l9SDXP4U088008@repoman.freebsd.org> From: Martin Wilke Date: Sun, 28 Oct 2007 13:33:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man5 rc.conf.5 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 13:33:26 -0000 miwi 2007-10-28 13:33:25 UTC FreeBSD src repository (doc,ports committer) Modified files: share/man/man5 rc.conf.5 Log: Actually the keyword tells network.subr to launch wpa_supplicant on the selected interface. wpa_supplicant does not only handle WPA authentication but also EAP/LEAP as well as WEP encryption or no encryption at all. The patch clarifies this. PR: 117046 Submitted by: lme Reviewed by: bruffer Approved by: jkois (mentor) Revision Changes Path 1.331 +4 -2 src/share/man/man5/rc.conf.5 From owner-cvs-src@FreeBSD.ORG Sun Oct 28 14:28:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 849AF16A420; Sun, 28 Oct 2007 14:28:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2B613C4B9; Sun, 28 Oct 2007 14:28:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SESYfY091742; Sun, 28 Oct 2007 14:28:34 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SESYUL091741; Sun, 28 Oct 2007 14:28:34 GMT (envelope-from rwatson) Message-Id: <200710281428.l9SESYUL091741@repoman.freebsd.org> From: Robert Watson Date: Sun, 28 Oct 2007 14:28:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/mac_test mac_test.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 14:28:34 -0000 rwatson 2007-10-28 14:28:34 UTC FreeBSD src repository Modified files: sys/security/mac_test mac_test.c Log: Perform explicit label type checks for externalize entry points, rather than a generic initialized test. Obtained from: TrustedBSD Project Revision Changes Path 1.85 +70 -10 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 15:41:14 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC27F16A419; Sun, 28 Oct 2007 15:41:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CC0E613C491; Sun, 28 Oct 2007 15:41:14 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SFfETw098477; Sun, 28 Oct 2007 15:41:14 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SFfEaq098476; Sun, 28 Oct 2007 15:41:14 GMT (envelope-from marius) Message-Id: <200710281541.l9SFfEaq098476@repoman.freebsd.org> From: Marius Strobl Date: Sun, 28 Oct 2007 15:41:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libstand tftp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 15:41:15 -0000 marius 2007-10-28 15:41:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libstand tftp.c Log: - Given that we tell the compiler that struct ip is packed and 32-bit aligned, GCC 4.2.1 also generates code for sendudp() that assumes this alignment. GCC 4.2.1 however doesn't 32-bit align wbuf, causing the loader to crash due to an unaligned access of wbuf in sendudp() when netbooting sparc64. Solve this by specifying wbuf as packed and 32-bit aligned, too. As for lastdata and readudp() this currently is no issue when compiled with GCC 4.2.1, though give lastdata the same treatment as wbuf for consistency and possibility of being affected in the future. - Sprinkle const on a lookup table. Approved by: re (kensmith) Revision Changes Path 1.12.10.1 +4 -4 src/lib/libstand/tftp.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 15:53:37 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9BD216A419; Sun, 28 Oct 2007 15:53:37 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 92FEF13C4AC; Sun, 28 Oct 2007 15:53:37 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from freefall.freebsd.org (yar@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SFrbcg004594; Sun, 28 Oct 2007 15:53:37 GMT (envelope-from yar@freefall.freebsd.org) Received: (from yar@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9SFrbNQ004593; Sun, 28 Oct 2007 15:53:37 GMT (envelope-from yar) Date: Sun, 28 Oct 2007 15:53:37 +0000 From: Yar Tikhiy To: Julian Elischer Message-ID: <20071028155337.GA4165@freefall.freebsd.org> References: <200710260800.l9Q80fee085818@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710260800.l9Q80fee085818@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c src/lib/libkvm kvm_proc.c src/bin/ps extern.h keyword.c print.c ps.c src/sys/kern init_main.c kern_exit.c kern_idle.c kern_intr.c kern_kthread.c kern_shutdown.c kern_thread.c sched_4bsd.c src/sys/sys kthread.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 15:53:37 -0000 On Fri, Oct 26, 2007 at 08:00:41AM +0000, Julian Elischer wrote: > julian 2007-10-26 08:00:41 UTC > > FreeBSD src repository > > Modified files: > usr.bin/top machine.c > lib/libkvm kvm_proc.c > bin/ps extern.h keyword.c print.c ps.c > sys/kern init_main.c kern_exit.c kern_idle.c > kern_intr.c kern_kthread.c > kern_shutdown.c kern_thread.c > sched_4bsd.c > sys/sys kthread.h proc.h > Log: > Introduce a way to make pure kernal threads. > kthread_add() takes the same parameters as the old kthread_create() > plus a pointer to a process structure, and adds a kernel thread > to that process. > > kproc_kthread_add() takes the parameters for kthread_add, > plus a process name and a pointer to a pointer to a process instead of just > a pointer, and if the proc * is NULL, it creates the process to the > specifications required, before adding the thread to it. > > All other old kthread_xxx() calls return, but act on (struct thread *) > instead of (struct proc *). One reason to change the name is so that > any old kernel modules that are lying around and expect kthread_create() > to make a process will not just accidentally link. > > fix top to show kernel threads by their thread name in -SH mode > add a tdnam formatting option to ps to show thread names. > > make all idle threads actual kthreads and put them into their own idled process. > make all interrupt threads kthreads and put them in an interd process > (mainly for aesthetic and accounting reasons) > rename proc 0 to be 'kernel' and it's swapper thread is now 'swapper' > > man page fixes to follow. > > Revision Changes Path > 1.38 +2 -1 src/bin/ps/extern.h > 1.77 +2 -0 src/bin/ps/keyword.c > 1.96 +21 -4 src/bin/ps/print.c > 1.112 +2 -1 src/bin/ps/ps.c > 1.95 +8 -1 src/lib/libkvm/kvm_proc.c > 1.286 +3 -2 src/sys/kern/init_main.c > 1.306 +3 -4 src/sys/kern/kern_exit.c > 1.50 +7 -9 src/sys/kern/kern_idle.c > 1.149 +18 -20 src/sys/kern/kern_intr.c > 1.40 +208 -3 src/sys/kern/kern_kthread.c > 1.185 +22 -0 src/sys/kern/kern_shutdown.c > 1.256 +0 -6 src/sys/kern/kern_thread.c > 1.107 +0 -2 src/sys/kern/sched_4bsd.c > 1.11 +27 -2 src/sys/sys/kthread.h > 1.492 +3 -2 src/sys/sys/proc.h > 1.83 +63 -47 src/usr.bin/top/machine.c FWIW, this commit seems to have broken "time" keyword in ps(1): : yar@behemoth:~$ps -o time : ps: time: keyword not found : ps: no valid keywords; valid keywords: : %cpu %mem acflag acflg args blocked caught comm command cpu cputime emul etime : f flags ignored inblk inblock jid jobc ktrace label lim lockname login logname : lstart lwp majflt minflt msgrcv msgsnd mwchan ni nice nivcsw nlwp nsignals : nsigs nswap nvcsw nwchan oublk oublock paddr pagein pcpu pending pgid pid pmem : ppid pri re rgid rgroup rss rtprio ruid ruser sid sig sigcatch sigignore : sigmask sl start stat state svgid svuid tdev time tdnam tpgid tsid tsiz tt tty : ucomm uid upr uprocp user usrpri vsize vsz wchan xstat I'm unsure why it happened; I can only see that the change to ps/keyword.c is next to the line for "time". Please also note that now the sortedness of the keywords is broken around tdnam. Yar From owner-cvs-src@FreeBSD.ORG Sun Oct 28 15:55:23 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A23516A41A; Sun, 28 Oct 2007 15:55:23 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8759813C491; Sun, 28 Oct 2007 15:55:23 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SFtNM1099372; Sun, 28 Oct 2007 15:55:23 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SFtNkS099371; Sun, 28 Oct 2007 15:55:23 GMT (envelope-from rwatson) Message-Id: <200710281555.l9SFtNkS099371@repoman.freebsd.org> From: Robert Watson Date: Sun, 28 Oct 2007 15:55:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf files src/sys/netatalk aarp.c src/sys/netinet if_ether.c igmp.c src/sys/netinet6 nd6.c src/sys/security/mac mac_atalk.c mac_framework.h mac_inet.c mac_inet6.c mac_internal.h mac_net.c mac_policy.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 15:55:23 -0000 rwatson 2007-10-28 15:55:23 UTC FreeBSD src repository Modified files: sys/conf files sys/netatalk aarp.c sys/netinet if_ether.c igmp.c sys/netinet6 nd6.c sys/security/mac mac_framework.h mac_inet.c mac_internal.h mac_net.c mac_policy.h sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Added files: sys/security/mac mac_atalk.c mac_inet6.c Log: Move towards more explicit support for various network protocol stacks in the TrustedBSD MAC Framework: - Add mac_atalk.c and add explicit entry point mac_netatalk_aarp_send() for AARP packet labeling, rather than using a generic link layer entry point. - Add mac_inet6.c and add explicit entry point mac_netinet6_nd6_send() for ND6 packet labeling, rather than using a generic link layer entry point. - Add expliict entry point mac_netinet_arp_send() for ARP packet labeling, and mac_netinet_igmp_send() for IGMP packet labeling, rather than using a generic link layer entry point. - Remove previous genering link layer entry point, mac_mbuf_create_linklayer() as it is no longer used. - Add implementations of new entry points to various policies, largely by replicating the existing link layer entry point for them; remove old link layer entry point implementation. - Make MAC_IFNET_LOCK(), MAC_IFNET_UNLOCK(), and mac_ifnet_mtx global to the MAC Framework rather than static to mac_net.c as it is now needed outside of mac_net.c. Obtained from: TrustedBSD Project Revision Changes Path 1.1249 +2 -0 src/sys/conf/files 1.44 +2 -2 src/sys/netatalk/aarp.c 1.164 +1 -1 src/sys/netinet/if_ether.c 1.56 +1 -1 src/sys/netinet/igmp.c 1.86 +1 -1 src/sys/netinet6/nd6.c 1.1 +66 -0 src/sys/security/mac/mac_atalk.c (new) 1.93 +7 -2 src/sys/security/mac/mac_framework.h 1.15 +25 -1 src/sys/security/mac/mac_inet.c 1.1 +64 -0 src/sys/security/mac/mac_inet6.c (new) 1.123 +4 -0 src/sys/security/mac/mac_internal.h 1.129 +1 -15 src/sys/security/mac/mac_net.c 1.103 +21 -5 src/sys/security/mac/mac_policy.h 1.114 +48 -12 src/sys/security/mac_biba/mac_biba.c 1.59 +49 -14 src/sys/security/mac_lomac/mac_lomac.c 1.95 +49 -13 src/sys/security/mac_mls/mac_mls.c 1.76 +32 -8 src/sys/security/mac_stub/mac_stub.c 1.86 +48 -12 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 16:13:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03EDD16A46E; Sun, 28 Oct 2007 16:13:39 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D028213C48E; Sun, 28 Oct 2007 16:13:38 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SGDcR9001657; Sun, 28 Oct 2007 16:13:38 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SGDc0P001656; Sun, 28 Oct 2007 16:13:38 GMT (envelope-from marius) Message-Id: <200710281613.l9SGDc0P001656@repoman.freebsd.org> From: Marius Strobl Date: Sun, 28 Oct 2007 16:13:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/pci pci_pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 16:13:39 -0000 marius 2007-10-28 16:13:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/pci pci_pci.c Log: MFC: 1.50 (partial) Let pcib_write_ivar() return 0 instead of ENOENT when setting PCIB_IVAR_BUS. Revision Changes Path 1.37.2.7 +1 -1 src/sys/dev/pci/pci_pci.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 16:24:17 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256AC16A421; Sun, 28 Oct 2007 16:24:17 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1528D13C481; Sun, 28 Oct 2007 16:24:17 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SGOG3L002210; Sun, 28 Oct 2007 16:24:16 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SGOGvx002209; Sun, 28 Oct 2007 16:24:16 GMT (envelope-from thompsa) Message-Id: <200710281624.l9SGOGvx002209@repoman.freebsd.org> From: Andrew Thompson Date: Sun, 28 Oct 2007 16:24:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/net ethernet.h if_bridge.c if_ethersubr.c if_vlan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 16:24:17 -0000 thompsa 2007-10-28 16:24:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net ethernet.h if_bridge.c if_ethersubr.c if_vlan.c Log: MFC ethernet.h r.133, if_bridge.c r1.104, if_ethersubr.c r1.237, if_vlan.c r1.125 The bridging output function puts the mbuf directly on the interfaces send queue so the output network card must support the same tagging mechanism as how the frame was input (prepended Ethernet header tag or stripped HW mflag). Now the vlan Ethernet header is _always_ stripped in ether_input and the mbuf flagged, only only network cards with VLAN_HWTAGGING enabled would properly re-tag any outgoing vlan frames. If the outgoing interface does not support hardware tagging then readd the vlan header to the front of the frame. Move the common vlan encapsulation in to ether_vlanencap(). Approved by: re (kensmith) Revision Changes Path 1.32.2.1 +1 -0 src/sys/net/ethernet.h 1.103.2.2 +17 -1 src/sys/net/if_bridge.c 1.236.2.1 +28 -0 src/sys/net/if_ethersubr.c 1.124.2.1 +1 -28 src/sys/net/if_vlan.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:03:04 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C372616A49A; Sun, 28 Oct 2007 17:03:04 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9A84413C4B0; Sun, 28 Oct 2007 17:03:04 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SH345n014977; Sun, 28 Oct 2007 17:03:04 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SH34SD013782; Sun, 28 Oct 2007 17:03:04 GMT (envelope-from bmah) Message-Id: <200710281703.l9SH34SD013782@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 17:02:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:03:04 -0000 bmah 2007-10-28 17:02:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: SA-07:08.openssl, tzdata2007h, GNOME 2.20.1, KDE 3.5.7. Revision Changes Path 1.761.2.83 +7 -3 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:04:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3ECF16A47C; Sun, 28 Oct 2007 17:04:50 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CBAE613C481; Sun, 28 Oct 2007 17:04:50 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SH4o0L015038; Sun, 28 Oct 2007 17:04:50 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SH4ovt015037; Sun, 28 Oct 2007 17:04:50 GMT (envelope-from bmah) Message-Id: <200710281704.l9SH4ovt015037@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 17:04:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:04:51 -0000 bmah 2007-10-28 17:04:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: tzdata2007h. Revision Changes Path 1.22.2.445 +1 -1 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:06:09 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A4AC16A468 for ; Sun, 28 Oct 2007 17:06:09 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outA.internet-mail-service.net (outA.internet-mail-service.net [216.240.47.224]) by mx1.freebsd.org (Postfix) with ESMTP id D424413C4AC for ; Sun, 28 Oct 2007 17:06:08 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sun, 28 Oct 2007 10:06:08 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id F2F91126831; Sun, 28 Oct 2007 10:06:06 -0700 (PDT) Message-ID: <4724C19C.8050102@elischer.org> Date: Sun, 28 Oct 2007 10:06:36 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Yar Tikhiy References: <200710260800.l9Q80fee085818@repoman.freebsd.org> <20071028155337.GA4165@freefall.freebsd.org> In-Reply-To: <20071028155337.GA4165@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Julian Elischer , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c src/lib/libkvm kvm_proc.c src/bin/ps extern.h keyword.c print.c ps.c src/sys/kern init_main.c kern_exit.c kern_idle.c kern_intr.c kern_kthread.c kern_shutdown.c kern_thread.c sched_4bsd.c src/sys/sys kthread.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:06:09 -0000 Yar Tikhiy wrote: > On Fri, Oct 26, 2007 at 08:00:41AM +0000, Julian Elischer wrote: >> julian 2007-10-26 08:00:41 UTC >> >> FreeBSD src repository >> >> Modified files: >> usr.bin/top machine.c >> lib/libkvm kvm_proc.c >> bin/ps extern.h keyword.c print.c ps.c >> sys/kern init_main.c kern_exit.c kern_idle.c >> kern_intr.c kern_kthread.c >> kern_shutdown.c kern_thread.c >> sched_4bsd.c >> sys/sys kthread.h proc.h >> Log: >> Introduce a way to make pure kernal threads. >> kthread_add() takes the same parameters as the old kthread_create() >> plus a pointer to a process structure, and adds a kernel thread >> to that process. >> >> kproc_kthread_add() takes the parameters for kthread_add, >> plus a process name and a pointer to a pointer to a process instead of just >> a pointer, and if the proc * is NULL, it creates the process to the >> specifications required, before adding the thread to it. >> >> All other old kthread_xxx() calls return, but act on (struct thread *) >> instead of (struct proc *). One reason to change the name is so that >> any old kernel modules that are lying around and expect kthread_create() >> to make a process will not just accidentally link. >> >> fix top to show kernel threads by their thread name in -SH mode >> add a tdnam formatting option to ps to show thread names. >> >> make all idle threads actual kthreads and put them into their own idled process. >> make all interrupt threads kthreads and put them in an interd process >> (mainly for aesthetic and accounting reasons) >> rename proc 0 to be 'kernel' and it's swapper thread is now 'swapper' >> >> man page fixes to follow. >> >> Revision Changes Path >> 1.38 +2 -1 src/bin/ps/extern.h >> 1.77 +2 -0 src/bin/ps/keyword.c >> 1.96 +21 -4 src/bin/ps/print.c >> 1.112 +2 -1 src/bin/ps/ps.c >> 1.95 +8 -1 src/lib/libkvm/kvm_proc.c >> 1.286 +3 -2 src/sys/kern/init_main.c >> 1.306 +3 -4 src/sys/kern/kern_exit.c >> 1.50 +7 -9 src/sys/kern/kern_idle.c >> 1.149 +18 -20 src/sys/kern/kern_intr.c >> 1.40 +208 -3 src/sys/kern/kern_kthread.c >> 1.185 +22 -0 src/sys/kern/kern_shutdown.c >> 1.256 +0 -6 src/sys/kern/kern_thread.c >> 1.107 +0 -2 src/sys/kern/sched_4bsd.c >> 1.11 +27 -2 src/sys/sys/kthread.h >> 1.492 +3 -2 src/sys/sys/proc.h >> 1.83 +63 -47 src/usr.bin/top/machine.c > > FWIW, this commit seems to have broken "time" keyword in ps(1): > > : yar@behemoth:~$ps -o time > : ps: time: keyword not found > : ps: no valid keywords; valid keywords: > : %cpu %mem acflag acflg args blocked caught comm command cpu cputime emul etime > : f flags ignored inblk inblock jid jobc ktrace label lim lockname login logname > : lstart lwp majflt minflt msgrcv msgsnd mwchan ni nice nivcsw nlwp nsignals > : nsigs nswap nvcsw nwchan oublk oublock paddr pagein pcpu pending pgid pid pmem > : ppid pri re rgid rgroup rss rtprio ruid ruser sid sig sigcatch sigignore > : sigmask sl start stat state svgid svuid tdev time tdnam tpgid tsid tsiz tt tty > : ucomm uid upr uprocp user usrpri vsize vsz wchan xstat > > I'm unsure why it happened; I can only see that the change to ps/keyword.c > is next to the line for "time". > > Please also note that now the sortedness of the keywords is broken around tdnam. good point.. I changed tdnam from something else and forgot to re-order it.. > > Yar From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:10:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4735416A420; Sun, 28 Oct 2007 17:10:37 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC4113C48A; Sun, 28 Oct 2007 17:10:37 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHAav6015349; Sun, 28 Oct 2007 17:10:36 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHAahB015348; Sun, 28 Oct 2007 17:10:36 GMT (envelope-from julian) Message-Id: <200710281710.l9SHAahB015348@repoman.freebsd.org> From: Julian Elischer Date: Sun, 28 Oct 2007 17:10:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/ps keyword.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:10:37 -0000 julian 2007-10-28 17:10:36 UTC FreeBSD src repository Modified files: bin/ps keyword.c Log: fix sorting of 'tdnam' keyword in keyword list. Revision Changes Path 1.78 +1 -2 src/bin/ps/keyword.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:11:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E5A716A468; Sun, 28 Oct 2007 17:11:37 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1641913C4A6; Sun, 28 Oct 2007 17:11:37 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHBaEp015589; Sun, 28 Oct 2007 17:11:36 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHBaES015588; Sun, 28 Oct 2007 17:11:36 GMT (envelope-from bmah) Message-Id: <200710281711.l9SHBaES015588@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 17:11:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:11:37 -0000 bmah 2007-10-28 17:11:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: Fix sorting order in Contributed Software section. No content changes. Approved by: re (implicitly) Revision Changes Path 1.1068.2.9 +8 -8 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:12:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D316316A417; Sun, 28 Oct 2007 17:12:48 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C060D13C48E; Sun, 28 Oct 2007 17:12:48 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHCmAW015818; Sun, 28 Oct 2007 17:12:48 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHCmK5015817; Sun, 28 Oct 2007 17:12:48 GMT (envelope-from rwatson) Message-Id: <200710281712.l9SHCmK5015817@repoman.freebsd.org> From: Robert Watson Date: Sun, 28 Oct 2007 17:12:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/contrib/pf/net pf.c src/sys/netinet ip_fw2.c ip_icmp.c src/sys/security/mac mac_framework.h mac_inet.c mac_net.c mac_policy.h src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:12:48 -0000 rwatson 2007-10-28 17:12:48 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/netinet ip_fw2.c ip_icmp.c sys/security/mac mac_framework.h mac_inet.c mac_net.c mac_policy.h sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: Continue to move from generic network entry points in the TrustedBSD MAC Framework by moving from mac_mbuf_create_netlayer() to more specific entry points for specific network services: - mac_netinet_firewall_reply() to be used when replying to in-bound TCP segments in pf and ipfw (etc). - Rename mac_netinet_icmp_reply() to mac_netinet_icmp_replyinplace() and add mac_netinet_icmp_reply(), reflecting that in some cases we overwrite a label in place, but in others we apply the label to a new mbuf. Obtained from: TrustedBSD Project Revision Changes Path 1.50 +1 -1 src/sys/contrib/pf/net/pf.c 1.178 +1 -1 src/sys/netinet/ip_fw2.c 1.120 +2 -2 src/sys/netinet/ip_icmp.c 1.94 +3 -2 src/sys/security/mac/mac_framework.h 1.16 +29 -2 src/sys/security/mac/mac_inet.c 1.130 +0 -11 src/sys/security/mac/mac_net.c 1.104 +9 -5 src/sys/security/mac/mac_policy.h 1.115 +26 -13 src/sys/security/mac_biba/mac_biba.c 1.60 +26 -13 src/sys/security/mac_lomac/mac_lomac.c 1.96 +26 -13 src/sys/security/mac_mls/mac_mls.c 1.77 +22 -12 src/sys/security/mac_stub/mac_stub.c 1.87 +14 -15 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:16:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691FE16A468; Sun, 28 Oct 2007 17:16:25 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC0913C4CB; Sun, 28 Oct 2007 17:16:25 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHGPWF015971; Sun, 28 Oct 2007 17:16:25 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHGOm0015969; Sun, 28 Oct 2007 17:16:24 GMT (envelope-from bmah) Message-Id: <200710281716.l9SHGOm0015969@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 17:16:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:16:25 -0000 bmah 2007-10-28 17:16:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: For a number of contributed software programs that were updated from older versions, update the "older" version to match what shipped in 6.2-RELEASE. Also remove lukemftpd and OpenSSH notes, since those versions already appeared in 6.2-RELEASE. Approved by: re (implicitly) Revision Changes Path 1.1068.2.10 +11 -27 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:31:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89AD416A419; Sun, 28 Oct 2007 17:31:52 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7644913C4B9; Sun, 28 Oct 2007 17:31:52 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHVqiX017126; Sun, 28 Oct 2007 17:31:52 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHVqu8017125; Sun, 28 Oct 2007 17:31:52 GMT (envelope-from marius) Message-Id: <200710281731.l9SHVqu8017125@repoman.freebsd.org> From: Marius Strobl Date: Sun, 28 Oct 2007 17:31:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src UPDATING src/sys/dev/pci pci_user.c src/sys/sys param.h pciio.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:31:52 -0000 marius 2007-10-28 17:31:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . UPDATING sys/dev/pci pci_user.c sys/sys param.h pciio.h Log: MFC: UPDATING 1.511; sys/dev/pci/pci_user.c 1.23, 1.24; sys/sys/param.h 1.312, sys/sys/pciio.h 1.8 Add ABI backwards compatibility to the FreeBSD 4/5/6 versions of the PCIOCGETCONF, PCIOCREAD and PCIOCWRITE IOCTLs, which was broken with the introduction of PCI domain support. As the size of struct pci_conf_io wasn't changed with that commit, this unfortunately requires the ABI of PCIOCGETCONF to be broken again in order to be able to provide backwards compatibility to the old version of that IOCTL. Approved by: re (kensmith) Revision Changes Path 1.507.2.2 +13 -0 src/UPDATING 1.22.2.1 +284 -50 src/sys/dev/pci/pci_user.c 1.308.2.2 +1 -1 src/sys/sys/param.h 1.7.2.1 +1 -1 src/sys/sys/pciio.h From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:46:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91CE316A417; Sun, 28 Oct 2007 17:46:39 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6986513C491; Sun, 28 Oct 2007 17:46:39 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHkdAr018105; Sun, 28 Oct 2007 17:46:39 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHkdih018104; Sun, 28 Oct 2007 17:46:39 GMT (envelope-from sam) Message-Id: <200710281746.l9SHkdih018104@repoman.freebsd.org> From: Sam Leffler Date: Sun, 28 Oct 2007 17:46:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net80211 ieee80211_node.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:46:39 -0000 sam 2007-10-28 17:46:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net80211 ieee80211_node.c Log: MFC 1.87: Close longstanding race dropping inactive stations; grab a reference to the node before starting the work, otherwise the node may go away before a reference is made in ieee80211_send_mgmt. Revision Changes Path 1.48.2.17 +2 -0 src/sys/net80211/ieee80211_node.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:48:22 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CDC216A41A; Sun, 28 Oct 2007 17:48:22 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 41E7113C4B8; Sun, 28 Oct 2007 17:48:22 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHmMsn018181; Sun, 28 Oct 2007 17:48:22 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHmM1G018180; Sun, 28 Oct 2007 17:48:22 GMT (envelope-from sam) Message-Id: <200710281748.l9SHmM1G018180@repoman.freebsd.org> From: Sam Leffler Date: Sun, 28 Oct 2007 17:48:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net80211 ieee80211_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:48:22 -0000 sam 2007-10-28 17:48:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net80211 ieee80211_input.c Log: MFC from 1.110: check xrates is not null before deref Revision Changes Path 1.62.2.27 +3 -0 src/sys/net80211/ieee80211_input.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:48:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ECFA16A418; Sun, 28 Oct 2007 17:48:48 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0E35813C4AA; Sun, 28 Oct 2007 17:48:48 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHmlVX018218; Sun, 28 Oct 2007 17:48:47 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHmldt018217; Sun, 28 Oct 2007 17:48:47 GMT (envelope-from mav) Message-Id: <200710281748.l9SHmldt018217@repoman.freebsd.org> From: Alexander Motin Date: Sun, 28 Oct 2007 17:48:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:48:48 -0000 mav 2007-10-28 17:48:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph netgraph.h ng_base.c ng_socket.c Log: MFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83 Implement new apply callback mechanism to handle item forwarding. When item forwarded, refence counter is incremented, when item processed, counter decremented. When counter reaches zero, apply handler is getting called. It allows to report connect() call status only when it is really completed. Reviewed by: julian Approved by: re (kensmith) Revision Changes Path 1.68.2.1 +37 -5 src/sys/netgraph/netgraph.h 1.135.2.1 +191 -66 src/sys/netgraph/ng_base.c 1.82.2.1 +13 -12 src/sys/netgraph/ng_socket.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:52:08 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B25F816A46E; Sun, 28 Oct 2007 17:52:08 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A1D6F13C4BF; Sun, 28 Oct 2007 17:52:08 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHq8C8018609; Sun, 28 Oct 2007 17:52:08 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHq8si018608; Sun, 28 Oct 2007 17:52:08 GMT (envelope-from mav) Message-Id: <200710281752.l9SHq8si018608@repoman.freebsd.org> From: Alexander Motin Date: Sun, 28 Oct 2007 17:52:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:52:08 -0000 mav 2007-10-28 17:52:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netgraph netgraph.h ng_base.c ng_socket.c Log: MFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83 Implement new apply callback mechanism to handle item forwarding. When item forwarded, refence counter is incremented, when item processed, counter decremented. When counter reaches zero, apply handler is getting called. It allows to report connect() call status only when it is really completed. Reviewed by: julian Approved by: re (kensmith) Revision Changes Path 1.55.2.9 +37 -5 src/sys/netgraph/netgraph.h 1.102.2.13 +191 -66 src/sys/netgraph/ng_base.c 1.67.2.7 +13 -12 src/sys/netgraph/ng_socket.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 17:55:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF19C16A46B; Sun, 28 Oct 2007 17:55:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BC3B813C491; Sun, 28 Oct 2007 17:55:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SHtwkG018920; Sun, 28 Oct 2007 17:55:58 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SHtwvm018919; Sun, 28 Oct 2007 17:55:58 GMT (envelope-from rwatson) Message-Id: <200710281755.l9SHtwvm018919@repoman.freebsd.org> From: Robert Watson Date: Sun, 28 Oct 2007 17:55:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/mac mac_framework.h mac_net.c mac_policy.h src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_stub mac_stub.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 17:55:58 -0000 rwatson 2007-10-28 17:55:57 UTC FreeBSD src repository Modified files: sys/security/mac mac_framework.h mac_net.c mac_policy.h sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: Garbage collect mac_mbuf_create_multicast_encap TrustedBSD MAC Framework entry point, which is no longer required now that we don't support old-style multicast tunnels. This removes the last mbuf object class entry point that isn't init/copy/destroy. Obtained from: TrustedBSD Project Revision Changes Path 1.95 +0 -2 src/sys/security/mac/mac_framework.h 1.131 +0 -15 src/sys/security/mac/mac_net.c 1.105 +0 -5 src/sys/security/mac/mac_policy.h 1.116 +0 -14 src/sys/security/mac_biba/mac_biba.c 1.61 +0 -14 src/sys/security/mac_lomac/mac_lomac.c 1.97 +0 -14 src/sys/security/mac_mls/mac_mls.c 1.78 +0 -9 src/sys/security/mac_stub/mac_stub.c 1.88 +0 -14 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 18:04:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35BD716A418; Sun, 28 Oct 2007 18:04:16 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0D62013C48E; Sun, 28 Oct 2007 18:04:16 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SI4FJG020781; Sun, 28 Oct 2007 18:04:15 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SI4FiZ020780; Sun, 28 Oct 2007 18:04:15 GMT (envelope-from sam) Message-Id: <200710281804.l9SI4FiZ020780@repoman.freebsd.org> From: Sam Leffler Date: Sun, 28 Oct 2007 18:04:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net80211 ieee80211_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 18:04:16 -0000 sam 2007-10-28 18:04:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net80211 ieee80211_input.c Log: MFC from 1.113: correct reason code returned when a sta tries to associate to an ap operating with WPA/RSN but without a WPA/RSN ie Revision Changes Path 1.62.2.28 +1 -1 src/sys/net80211/ieee80211_input.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 18:05:59 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB5CE16A421; Sun, 28 Oct 2007 18:05:59 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B396D13C4E8; Sun, 28 Oct 2007 18:05:59 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SI5x1F020898; Sun, 28 Oct 2007 18:05:59 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SI5xNY020897; Sun, 28 Oct 2007 18:05:59 GMT (envelope-from mav) Message-Id: <200710281805.l9SI5xNY020897@repoman.freebsd.org> From: Alexander Motin Date: Sun, 28 Oct 2007 18:05:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_base.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 18:06:00 -0000 mav 2007-10-28 18:05:59 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Minor debug message fix. Revision Changes Path 1.138 +1 -1 src/sys/netgraph/ng_base.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 18:14:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6465316A41B; Sun, 28 Oct 2007 18:14:58 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3C46F13C480; Sun, 28 Oct 2007 18:14:58 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SIEw5t021533; Sun, 28 Oct 2007 18:14:58 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SIEwOb021532; Sun, 28 Oct 2007 18:14:58 GMT (envelope-from sam) Message-Id: <200710281814.l9SIEwOb021532@repoman.freebsd.org> From: Sam Leffler Date: Sun, 28 Oct 2007 18:14:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/ath if_ath.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 18:14:58 -0000 sam 2007-10-28 18:14:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ath if_ath.c Log: MFC 1.166: make dev.ath.N.ledpin have an immediate effect Revision Changes Path 1.94.2.39 +24 -3 src/sys/dev/ath/if_ath.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 18:33:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D44D16A468; Sun, 28 Oct 2007 18:33:32 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5256B13C4B5; Sun, 28 Oct 2007 18:33:32 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SIXWva022727; Sun, 28 Oct 2007 18:33:32 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SIXWBh022726; Sun, 28 Oct 2007 18:33:32 GMT (envelope-from rwatson) Message-Id: <200710281833.l9SIXWBh022726@repoman.freebsd.org> From: Robert Watson Date: Sun, 28 Oct 2007 18:33:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/mac_test mac_test.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 18:33:32 -0000 rwatson 2007-10-28 18:33:32 UTC FreeBSD src repository Modified files: sys/security/mac_test mac_test.c Log: Add missing mac_test labeling and sleep checks for the syncache. Discussed with: csjp Obtained from: TrustedBSD Project Revision Changes Path 1.89 +48 -0 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 18:42:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AEEE16A419; Sun, 28 Oct 2007 18:42:32 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4C05F13C4A6; Sun, 28 Oct 2007 18:42:32 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 2F7AB4488E; Sun, 28 Oct 2007 14:42:31 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 28 Oct 2007 14:42:31 -0400 X-Sasl-enc: 0b5hVsJ+t3JmRFYae0pC0I4w+XRAQ2UGwFZzsx1R+13j 1193596950 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 7C67D256D5; Sun, 28 Oct 2007 14:42:30 -0400 (EDT) Message-ID: <4724D815.2000402@FreeBSD.org> Date: Sun, 28 Oct 2007 18:42:29 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: Andrew Thompson References: <200710281624.l9SGOGvx002209@repoman.freebsd.org> In-Reply-To: <200710281624.l9SGOGvx002209@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net ethernet.h if_bridge.c if_ethersubr.c if_vlan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 18:42:32 -0000 Andrew Thompson wrote: > If the outgoing interface does not support hardware tagging then readd the vlan > header to the front of the frame. Move the common vlan encapsulation in to > ether_vlanencap(). > Thank you very much for doing this!! BMS From owner-cvs-src@FreeBSD.ORG Sun Oct 28 19:46:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1F4D16A477; Sun, 28 Oct 2007 19:46:31 +0000 (UTC) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A97AC13C4B2; Sun, 28 Oct 2007 19:46:31 +0000 (UTC) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SJkVqV031240; Sun, 28 Oct 2007 19:46:31 GMT (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SJkVZ6031237; Sun, 28 Oct 2007 19:46:31 GMT (envelope-from mlaier) Message-Id: <200710281946.l9SJkVZ6031237@repoman.freebsd.org> From: Max Laier Date: Sun, 28 Oct 2007 19:46:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/contrib/pf/net pf_if.c pf_table.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 19:46:31 -0000 mlaier 2007-10-28 19:46:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/contrib/pf/net pf_if.c pf_table.c Log: MFC: pf_if.c 1.12, pf_table.c 1.9 Properly drop the pf mutex around all copyout (consistency still protected by the sx) and avoid a WITNESS panic. Overlooked during last import. Reported and tested by: Max N. Boyarov Approved by: re (kensmith) Revision Changes Path 1.11.2.1 +8 -0 src/sys/contrib/pf/net/pf_if.c 1.8.2.1 +1 -1 src/sys/contrib/pf/net/pf_table.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 20:07:30 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0668216A418; Sun, 28 Oct 2007 20:07:30 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EAAA313C49D; Sun, 28 Oct 2007 20:07:29 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SK7Tf5033448; Sun, 28 Oct 2007 20:07:29 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SK7TQL033447; Sun, 28 Oct 2007 20:07:29 GMT (envelope-from mtm) Message-Id: <200710282007.l9SK7TQL033447@repoman.freebsd.org> From: Mike Makonnen Date: Sun, 28 Oct 2007 20:07:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/etc/rc.d amd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 20:07:30 -0000 mtm 2007-10-28 20:07:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/rc.d amd Log: MFC: rev. 1.19 and 1.20 The amd_map_program knob can potentially contain a command whose output is then used as an argument to the amd program. This outpu may contain newlines, but the script did not take care to strip those newlines before apending it to rc_flags. Revision 1.72 of rc.subr(8) introduced changes that exposed this problem (specifically putting the final eval'ed command in quotes).[1] Also, for correctness' sake, shell directives appended to the command-line by the script should go into command_args, and not appended directly to rc_flags. Approved by: re (kensmith) Revision Changes Path 1.18.2.1 +3 -2 src/etc/rc.d/amd From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:06:35 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C12C16A418; Sun, 28 Oct 2007 21:06:35 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E901A13C4AC; Sun, 28 Oct 2007 21:06:34 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SL6YsQ046376; Sun, 28 Oct 2007 21:06:34 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SL6YFS046375; Sun, 28 Oct 2007 21:06:34 GMT (envelope-from mtm) Message-Id: <200710282106.l9SL6YFS046375@repoman.freebsd.org> From: Mike Makonnen Date: Sun, 28 Oct 2007 21:06:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.sbin/adduser adduser.8 adduser.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:06:35 -0000 mtm 2007-10-28 21:06:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/adduser adduser.8 adduser.sh Log: MFC: 1.31 Allow adding a user(s) to additional groups in batch mode as well. Submitted by: Eygene Ryabinkin (modulo minor changes) Approved by: re (kensmith) Revision Changes Path 1.59.2.1 +1 -1 src/usr.sbin/adduser/adduser.8 1.30.2.1 +1 -0 src/usr.sbin/adduser/adduser.sh From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:08:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6CC216A41A; Sun, 28 Oct 2007 21:08:34 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id E132C13C48A; Sun, 28 Oct 2007 21:08:33 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id l9SKd7fN046322; Sun, 28 Oct 2007 23:39:07 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id l9SKd62j046321; Sun, 28 Oct 2007 23:39:06 +0300 (MSK) (envelope-from yar) Date: Sun, 28 Oct 2007 23:39:06 +0300 From: Yar Tikhiy To: Julian Elischer Message-ID: <20071028203906.GB27871@comp.chem.msu.su> References: <200710260800.l9Q80fee085818@repoman.freebsd.org> <20071028155337.GA4165@freefall.freebsd.org> <4724C19C.8050102@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4724C19C.8050102@elischer.org> User-Agent: Mutt/1.5.9i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Julian Elischer , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c src/lib/libkvm kvm_proc.c src/bin/ps extern.h keyword.c print.c ps.c src/sys/kern init_main.c kern_exit.c kern_idle.c kern_intr.c kern_kthread.c kern_shutdown.c kern_thread.c sched_4bsd.c src/sys/sys kthread.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:08:34 -0000 On Sun, Oct 28, 2007 at 10:06:36AM -0700, Julian Elischer wrote: > Yar Tikhiy wrote: > >On Fri, Oct 26, 2007 at 08:00:41AM +0000, Julian Elischer wrote: > >>julian 2007-10-26 08:00:41 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> usr.bin/top machine.c > >> lib/libkvm kvm_proc.c > >> bin/ps extern.h keyword.c print.c ps.c > >> sys/kern init_main.c kern_exit.c kern_idle.c > >> kern_intr.c kern_kthread.c > >> kern_shutdown.c kern_thread.c > >> sched_4bsd.c > >> sys/sys kthread.h proc.h > >> Log: > >> Introduce a way to make pure kernal threads. > >> kthread_add() takes the same parameters as the old kthread_create() > >> plus a pointer to a process structure, and adds a kernel thread > >> to that process. > >> > >> kproc_kthread_add() takes the parameters for kthread_add, > >> plus a process name and a pointer to a pointer to a process instead of > >> just > >> a pointer, and if the proc * is NULL, it creates the process to the > >> specifications required, before adding the thread to it. > >> > >> All other old kthread_xxx() calls return, but act on (struct thread *) > >> instead of (struct proc *). One reason to change the name is so that > >> any old kernel modules that are lying around and expect kthread_create() > >> to make a process will not just accidentally link. > >> > >> fix top to show kernel threads by their thread name in -SH mode > >> add a tdnam formatting option to ps to show thread names. > >> > >> make all idle threads actual kthreads and put them into their own idled > >> process. > >> make all interrupt threads kthreads and put them in an interd process > >> (mainly for aesthetic and accounting reasons) > >> rename proc 0 to be 'kernel' and it's swapper thread is now 'swapper' > >> > >> man page fixes to follow. > >> > >> Revision Changes Path > >> 1.38 +2 -1 src/bin/ps/extern.h > >> 1.77 +2 -0 src/bin/ps/keyword.c > >> 1.96 +21 -4 src/bin/ps/print.c > >> 1.112 +2 -1 src/bin/ps/ps.c > >> 1.95 +8 -1 src/lib/libkvm/kvm_proc.c > >> 1.286 +3 -2 src/sys/kern/init_main.c > >> 1.306 +3 -4 src/sys/kern/kern_exit.c > >> 1.50 +7 -9 src/sys/kern/kern_idle.c > >> 1.149 +18 -20 src/sys/kern/kern_intr.c > >> 1.40 +208 -3 src/sys/kern/kern_kthread.c > >> 1.185 +22 -0 src/sys/kern/kern_shutdown.c > >> 1.256 +0 -6 src/sys/kern/kern_thread.c > >> 1.107 +0 -2 src/sys/kern/sched_4bsd.c > >> 1.11 +27 -2 src/sys/sys/kthread.h > >> 1.492 +3 -2 src/sys/sys/proc.h > >> 1.83 +63 -47 src/usr.bin/top/machine.c > > > >FWIW, this commit seems to have broken "time" keyword in ps(1): > > > >: yar@behemoth:~$ps -o time > >: ps: time: keyword not found > >: ps: no valid keywords; valid keywords: > >: %cpu %mem acflag acflg args blocked caught comm command cpu cputime emul > >etime > >: f flags ignored inblk inblock jid jobc ktrace label lim lockname login > >logname > >: lstart lwp majflt minflt msgrcv msgsnd mwchan ni nice nivcsw nlwp > >nsignals > >: nsigs nswap nvcsw nwchan oublk oublock paddr pagein pcpu pending pgid > >pid pmem > >: ppid pri re rgid rgroup rss rtprio ruid ruser sid sig sigcatch sigignore > >: sigmask sl start stat state svgid svuid tdev time tdnam tpgid tsid tsiz > >tt tty > >: ucomm uid upr uprocp user usrpri vsize vsz wchan xstat > > > >I'm unsure why it happened; I can only see that the change to ps/keyword.c > >is next to the line for "time". > > > >Please also note that now the sortedness of the keywords is broken around > >tdnam. > > good point.. I changed tdnam from something else and forgot to re-order it.. Restoring the order has magically fixed the problem with "time". Perhaps a binary search is done over the array or something. Thanks! -- Yar From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:09:46 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8699216A418; Sun, 28 Oct 2007 21:09:46 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5F0FE13C48E; Sun, 28 Oct 2007 21:09:46 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SL9k98048283; Sun, 28 Oct 2007 21:09:46 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SL9k3i048282; Sun, 28 Oct 2007 21:09:46 GMT (envelope-from sam) Message-Id: <200710282109.l9SL9k3i048282@repoman.freebsd.org> From: Sam Leffler Date: Sun, 28 Oct 2007 21:09:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:09:46 -0000 sam 2007-10-28 21:09:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern sched_ule.c Log: MFC 1.215: enable use of ULE on arm Approved by: re (kensmith) Revision Changes Path 1.214.2.1 +1 -1 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:13:20 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B14DC16A417; Sun, 28 Oct 2007 21:13:20 +0000 (UTC) (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 1F18A13C4A3; Sun, 28 Oct 2007 21:13:19 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9SLD9le091262; Mon, 29 Oct 2007 00:13:09 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193605989; bh=OAE9O+sNxlWuBoUCljxo9rO/N0mZQRXTf2XXpbi zEG4=; l=471; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=HV3PU8p0lVyGbZmNViAeNT8gVBOd7LGA2leuwv93 +h9WDp5qXAWhdNQYJqwCjOCXUN/aoNf5WSrp4sQQYLT7D1nT1RymgBEke/36cvEkJGB e5CGqRGeDXOcxtWxbOSijmiUbCKZQm/YbPXrRsz2LdXGpajcVrQOm5CBO26KI9kQ= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9SLD7dE091261; Mon, 29 Oct 2007 00:13:07 +0300 (MSK) (envelope-from ache) Date: Mon, 29 Oct 2007 00:13:06 +0300 From: Andrey Chernov To: Rong-en Fan Message-ID: <20071028211306.GA91223@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Rong-en Fan , Scott Long , John Baldwin , src-committers@FreeBSD.ORG, d@delphij.net, Robert Watson , imp@FreeBSD.ORG, cvs-src@FreeBSD.ORG References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <20071025233536.B99770@fledge.watson.org> <472120E8.90504@samsco.org> <200710261144.34645.jhb@freebsd.org> <472217C2.8020800@samsco.org> <6eb82e0710260954m73b3f17bq2c72a4cdb597640e@mail.gmail.com> <6eb82e0710270130o5557efew95f62aef8035d209@mail.gmail.com> <20071027092213.GA53271@nagual.pp.ru> <6eb82e0710280154h68393dcag4e9ba4ac4c219065@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6eb82e0710280154h68393dcag4e9ba4ac4c219065@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Scott Long , src-committers@FreeBSD.ORG, d@delphij.net, John Baldwin , cvs-src@FreeBSD.ORG, Robert Watson , imp@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:13:20 -0000 On Sun, Oct 28, 2007 at 04:54:52PM +0800, Rong-en Fan wrote: > > As a small improvement, we can skip __isctype() from this list too and > > just hardcode 128 there, i.e.: return (_c < 0 || _c >= 128) ... > > since default locale never define anything above 128. > > Thank you. A new patch is available at > > http://people.freebsd.org/~rafan/ctype-abi-fix-6-try2.diff Looks OK. Please don't forget MFC __isctype changes to 7x too. -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:13:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2CF816A555; Sun, 28 Oct 2007 21:13:23 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 841EC13C465; Sun, 28 Oct 2007 21:13:23 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SLDNqQ048630; Sun, 28 Oct 2007 21:13:23 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SLDNKn048629; Sun, 28 Oct 2007 21:13:23 GMT (envelope-from mtm) Message-Id: <200710282113.l9SLDNKn048629@repoman.freebsd.org> From: Mike Makonnen Date: Sun, 28 Oct 2007 21:13:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/adduser adduser.8 adduser.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:13:25 -0000 mtm 2007-10-28 21:13:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/adduser adduser.8 adduser.sh Log: MFC: 1.31 Allow adding a user(s) to additional groups in batch mode as well. Submitted by: Eygene Ryabinkin (modulo minor changes) Revision Changes Path 1.55.8.2 +1 -1 src/usr.sbin/adduser/adduser.8 1.26.2.4 +1 -0 src/usr.sbin/adduser/adduser.sh From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:23:50 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F75616A417; Sun, 28 Oct 2007 21:23:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1F02A13C4AA; Sun, 28 Oct 2007 21:23:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SLNnXE049348; Sun, 28 Oct 2007 21:23:49 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SLNnOV049347; Sun, 28 Oct 2007 21:23:49 GMT (envelope-from jhb) Message-Id: <200710282123.l9SLNnOV049347@repoman.freebsd.org> From: John Baldwin Date: Sun, 28 Oct 2007 21:23:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 machdep.c nexus.c src/sys/i386/i386 machdep.c src/sys/amd64/include/pc bios.h src/sys/boot/i386/libi386 biosmem.c biossmap.c src/sys/i386/include/pc bios.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:23:50 -0000 jhb 2007-10-28 21:23:49 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c nexus.c sys/i386/i386 machdep.c sys/amd64/include/pc bios.h sys/boot/i386/libi386 biosmem.c biossmap.c sys/i386/include/pc bios.h Log: - Add constants for the different memory types in the SMAP table. - Use the SMAP types and constants from in the boot code rather than duplicating it. Revision Changes Path 1.676 +1 -1 src/sys/amd64/amd64/machdep.c 1.78 +1 -1 src/sys/amd64/amd64/nexus.c 1.20 +8 -2 src/sys/amd64/include/pc/bios.h 1.9 +8 -14 src/sys/boot/i386/libi386/biosmem.c 1.7 +10 -17 src/sys/boot/i386/libi386/biossmap.c 1.659 +1 -1 src/sys/i386/i386/machdep.c 1.19 +8 -2 src/sys/i386/include/pc/bios.h From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:41:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E72516A418; Sun, 28 Oct 2007 21:41:37 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 379FB13C4B0; Sun, 28 Oct 2007 21:41:37 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SLfbwC055665; Sun, 28 Oct 2007 21:41:37 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SLfb47055664; Sun, 28 Oct 2007 21:41:37 GMT (envelope-from bmah) Message-Id: <200710282141.l9SLfb47055664@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 21:41:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:41:37 -0000 bmah 2007-10-28 21:41:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: More RELENG_7 release notes trimmings, removing more notes for features that have already appeared in prior FreeBSD releases. Approved by: re (implicitly) Revision Changes Path 1.1068.2.11 +0 -79 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:44:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B1B516A417; Sun, 28 Oct 2007 21:44:02 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 43D6013C48E; Sun, 28 Oct 2007 21:44:02 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SLi2iZ055930; Sun, 28 Oct 2007 21:44:02 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SLi2El055929; Sun, 28 Oct 2007 21:44:02 GMT (envelope-from bmah) Message-Id: <200710282144.l9SLi2El055929@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sun, 28 Oct 2007 21:44:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:44:02 -0000 bmah 2007-10-28 21:44:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: ng_ppp(4) MPSAFE. Revision Changes Path 1.883.2.86 +2 -0 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Sun Oct 28 21:50:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BE2F16A417; Sun, 28 Oct 2007 21:50:51 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 1629613C4B7; Sun, 28 Oct 2007 21:50:51 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 2104F66983E; Sun, 28 Oct 2007 22:50:50 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pn+Vq0IIrfPG; Sun, 28 Oct 2007 22:50:48 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 98AF38C26A9; Sun, 28 Oct 2007 22:50:48 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l9SLomUx062150; Sun, 28 Oct 2007 22:50:48 +0100 (CET) (envelope-from rdivacky) Date: Sun, 28 Oct 2007 22:50:48 +0100 From: Roman Divacky To: Julian Elischer Message-ID: <20071028215048.GA62120@freebsd.org> References: <200710260800.l9Q80fee085818@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710260800.l9Q80fee085818@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/top machine.c src/lib/libkvm kvm_proc.c src/bin/ps extern.h keyword.c print.c ps.c src/sys/kern init_main.c kern_exit.c kern_idle.c kern_intr.c kern_kthread.c kern_shutdown.c kern_thread.c sched_4bsd.c src/sys/sys kthread.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 21:50:51 -0000 around line 860 it->it_need = 1; thread_lock(td); if (TD_AWAITING_INTR(td)) { CTR3(KTR_INTR, "%s: schedule pid %d (%s)", __func__, p->p_pid, [1] th->th_name); TD_CLR_IWAIT(td); are you sure it's "th" and not "td" ? the "th" does not seem to be mentioned anywhere... roman From owner-cvs-src@FreeBSD.ORG Sun Oct 28 22:08:38 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B95016A418; Sun, 28 Oct 2007 22:08:38 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1520213C49D; Sun, 28 Oct 2007 22:08:38 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SM8bqJ058351; Sun, 28 Oct 2007 22:08:37 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SM8bwC058350; Sun, 28 Oct 2007 22:08:37 GMT (envelope-from marius) Message-Id: <200710282208.l9SM8bwC058350@repoman.freebsd.org> From: Marius Strobl Date: Sun, 28 Oct 2007 22:08:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sparc64/isa isa.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 22:08:38 -0000 marius 2007-10-28 22:08:37 UTC FreeBSD src repository Modified files: sys/sparc64/isa isa.c Log: - Make failure to route a ISA interrupt non fatal. Apparently the Blade 1500/SX1500 boards have inherited the firmware bug of the AX1105 mainboards to not include an interrupt map entry for the parallel port controller (for the AX1105 the heuristic code for E450s probably erroneously kicks in and guesses an interrupt). - Take advantage of bus_generic_setup_intr(9). - Fix some whitespace bugs. Revision Changes Path 1.20 +16 -14 src/sys/sparc64/isa/isa.c From owner-cvs-src@FreeBSD.ORG Sun Oct 28 23:11:57 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E88F316A421; Sun, 28 Oct 2007 23:11:57 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C07B713C481; Sun, 28 Oct 2007 23:11:57 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9SNBv62062983; Sun, 28 Oct 2007 23:11:57 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9SNBvF1062982; Sun, 28 Oct 2007 23:11:57 GMT (envelope-from julian) Message-Id: <200710282311.l9SNBvF1062982@repoman.freebsd.org> From: Julian Elischer Date: Sun, 28 Oct 2007 23:11:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 23:11:58 -0000 julian 2007-10-28 23:11:57 UTC FreeBSD src repository Modified files: sys/kern kern_intr.c Log: Fix typo in code obviously not being compiled on any of my machines. found by: rdivacky@ Revision Changes Path 1.152 +1 -1 src/sys/kern/kern_intr.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 00:01:53 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE85E16A420; Mon, 29 Oct 2007 00:01:53 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id 3955013C4AC; Mon, 29 Oct 2007 00:01:52 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [128.205.32.4] (opus.cse.buffalo.edu [128.205.32.4]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id l9T01a6l016170 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 28 Oct 2007 20:01:36 -0400 (EDT) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: Andrey Chernov In-Reply-To: <20071028211306.GA91223@nagual.pp.ru> References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <20071025233536.B99770@fledge.watson.org> <472120E8.90504@samsco.org> <200710261144.34645.jhb@freebsd.org> <472217C2.8020800@samsco.org> <6eb82e0710260954m73b3f17bq2c72a4cdb597640e@mail.gmail.com> <6eb82e0710270130o5557efew95f62aef8035d209@mail.gmail.com> <20071027092213.GA53271@nagual.pp.ru> <6eb82e0710280154h68393dcag4e9ba4ac4c219065@mail.gmail.com> <20071028211306.GA91223@nagual.pp.ru> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0MIeL6U/BOIFFJ5gMu9K" Organization: U. Buffalo CSE Department Date: Sun, 28 Oct 2007 20:01:35 -0400 Message-Id: <1193616095.18844.19.camel@opus.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1029; Body=0 Fuz1=0 Fuz2=0 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on phoebe.cse.buffalo.edu Cc: Scott Long , src-committers@FreeBSD.org, d@delphij.net, John Baldwin , cvs-src@FreeBSD.org, Rong-en Fan , Robert Watson , imp@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 00:01:53 -0000 --=-0MIeL6U/BOIFFJ5gMu9K Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-10-29 at 00:13 +0300, Andrey Chernov wrote: > On Sun, Oct 28, 2007 at 04:54:52PM +0800, Rong-en Fan wrote: > > > As a small improvement, we can skip __isctype() from this list too an= d > > > just hardcode 128 there, i.e.: return (_c < 0 || _c >=3D 128) ... > > > since default locale never define anything above 128. > >=20 > > Thank you. A new patch is available at > >=20 > > http://people.freebsd.org/~rafan/ctype-abi-fix-6-try2.diff >=20 > Looks OK. Please don't forget MFC __isctype changes to 7x too. >=20 The portmgr@ folks are holding off on HEAD package builds (for packages-8-current) for things to settle out at least in HEAD. Are we in what should be the final state of things for HEAD now or are more tweaks there coming? Thanks. --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-0MIeL6U/BOIFFJ5gMu9K Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHJSLf/G14VSmup/YRAoeTAJ9c5tBpGDTgjTObmsEDKQhcoSU+cwCdFvMk 8setahgVwEZg2ixVgUFOg9Y= =wlCA -----END PGP SIGNATURE----- --=-0MIeL6U/BOIFFJ5gMu9K-- From owner-cvs-src@FreeBSD.ORG Mon Oct 29 00:07:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE27016A420; Mon, 29 Oct 2007 00:07:03 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B2C5913C491; Mon, 29 Oct 2007 00:07:03 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T073H2067268; Mon, 29 Oct 2007 00:07:03 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T073U2067267; Mon, 29 Oct 2007 00:07:03 GMT (envelope-from marcel) Message-Id: <200710290007.l9T073U2067267@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 29 Oct 2007 00:07:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/powerpc/conf GENERIC X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 00:07:04 -0000 marcel 2007-10-29 00:07:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/powerpc/conf GENERIC Log: Unbreak. With DDB removed, KTR can not be used as-is because GEOM wants to save the stack as part of KTR support. Approved by: re (kensmith) Revision Changes Path 1.71.2.2 +0 -5 src/sys/powerpc/conf/GENERIC From owner-cvs-src@FreeBSD.ORG Mon Oct 29 00:08:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7800C16A41B; Mon, 29 Oct 2007 00:08:24 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6906113C465; Mon, 29 Oct 2007 00:08:24 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T08ORs067360; Mon, 29 Oct 2007 00:08:24 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T08Odw067359; Mon, 29 Oct 2007 00:08:24 GMT (envelope-from mtm) Message-Id: <200710290008.l9T08Odw067359@repoman.freebsd.org> From: Mike Makonnen Date: Mon, 29 Oct 2007 00:08:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/route route.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 00:08:24 -0000 mtm 2007-10-29 00:08:24 UTC FreeBSD src repository Modified files: sbin/route route.c Log: Fix an error in bit shifting logic for network addresses. The route command would add incorrect routing entries if network numbers weren't fully "spelled" out according to their class. For example: # route add 128.0/16 (works) # route add 128/16 (doesn't work) # route add 193.0.0/24 (works) # route add 193/24 (doesn't work) Also, rework the way a netmask is deduced from network number if it [netmask] is not specified. Submitted by: Nuno Antunes (mostly) MFC after: 1 week Revision Changes Path 1.82 +24 -20 src/sbin/route/route.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 00:11:40 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E36616A419; Mon, 29 Oct 2007 00:11:40 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7DE13C48D; Mon, 29 Oct 2007 00:11:40 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T0BeHB067799; Mon, 29 Oct 2007 00:11:40 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T0BeW3067798; Mon, 29 Oct 2007 00:11:40 GMT (envelope-from marcel) Message-Id: <200710290011.l9T0BeW3067798@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 29 Oct 2007 00:11:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/geom/part g_part.c g_part.h g_part_apm.c g_part_gpt.c src/sys/sys apm.h gpt.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 00:11:40 -0000 marcel 2007-10-29 00:11:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom/part g_part.c g_part.h g_part_apm.c g_part_gpt.c sys/sys apm.h gpt.h Log: MFC: Add ZFS partition types for APM and GPT and add the "freebsd-zfs" alias. Approved by: re (kensmith) Revision Changes Path 1.9.2.1 +1 -0 src/sys/geom/part/g_part.c 1.3.2.1 +1 -0 src/sys/geom/part/g_part.h 1.3.2.1 +7 -0 src/sys/geom/part/g_part_apm.c 1.3.2.1 +8 -0 src/sys/geom/part/g_part_gpt.c 1.1.2.1 +1 -0 src/sys/sys/apm.h 1.10.2.1 +2 -0 src/sys/sys/gpt.h From owner-cvs-src@FreeBSD.ORG Mon Oct 29 00:31:12 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1672516A418; Mon, 29 Oct 2007 00:31:12 +0000 (UTC) (envelope-from benjsc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E4D1F13C481; Mon, 29 Oct 2007 00:31:11 +0000 (UTC) (envelope-from benjsc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T0VBTl068935; Mon, 29 Oct 2007 00:31:11 GMT (envelope-from benjsc@repoman.freebsd.org) Received: (from benjsc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T0VBEF068933; Mon, 29 Oct 2007 00:31:11 GMT (envelope-from benjsc) Message-Id: <200710290031.l9T0VBEF068933@repoman.freebsd.org> From: Benjamin Close Date: Mon, 29 Oct 2007 00:31:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/misc pci_vendors X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 00:31:12 -0000 benjsc 2007-10-29 00:31:09 UTC FreeBSD src repository Modified files: share/misc pci_vendors Log: Regen: * Hart: rev 652 of pcidevs.txt (2007-09-24) * Boemler: vendors.txt (2007-10-25) Approved by: mlaier (mentor) MFC after: 5 days Revision Changes Path 1.36 +1255 -489 src/share/misc/pci_vendors From owner-cvs-src@FreeBSD.ORG Mon Oct 29 00:31:54 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C725816A421; Mon, 29 Oct 2007 00:31:54 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A22EF13C4B7; Mon, 29 Oct 2007 00:31:54 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T0VsSV069046; Mon, 29 Oct 2007 00:31:54 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T0Vs0u069045; Mon, 29 Oct 2007 00:31:54 GMT (envelope-from imp) Message-Id: <200710290031.l9T0Vs0u069045@repoman.freebsd.org> From: Warner Losh Date: Mon, 29 Oct 2007 00:31:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/include pthread_np.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 00:31:54 -0000 imp 2007-10-29 00:31:54 UTC FreeBSD src repository Modified files: include pthread_np.h Log: Remove 3rd clause and renumber after getting permission from the author (quite some time ago). Revision Changes Path 1.17 +1 -4 src/include/pthread_np.h From owner-cvs-src@FreeBSD.ORG Mon Oct 29 02:06:18 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B701216A419; Mon, 29 Oct 2007 02:06:15 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8C50A13C480; Mon, 29 Oct 2007 02:06:15 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T26Fme085093; Mon, 29 Oct 2007 02:06:15 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T26FTm085092; Mon, 29 Oct 2007 02:06:15 GMT (envelope-from yongari) Message-Id: <200710290206.l9T26FTm085092@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 29 Oct 2007 02:06:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii rgephy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 02:06:19 -0000 yongari 2007-10-29 02:06:15 UTC FreeBSD src repository Modified files: sys/dev/mii rgephy.c Log: o RTL8169S/8110S integrated PHY and RTL8211B are gigabit PHYs so set mii_anegticks to MII_ANEGTICKS_GIGE and use it. Previously it used to MII_ANEGTICKS which may not be enough to wait before retrying autonegotiation process at 1000bps. o Reset autonegotation timer if media option is not IFM_AUTO or we got a valid link. o Announce link loss right after it happends. o Autonegiation is retried every mii_anegticks seconds. o Report link state changes right after setting autonegotiation. Revision Changes Path 1.16 +14 -7 src/sys/dev/mii/rgephy.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 02:17:09 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCE8B16A419; Mon, 29 Oct 2007 02:17:08 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CA11813C48A; Mon, 29 Oct 2007 02:17:07 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T2H7gU085644; Mon, 29 Oct 2007 02:17:07 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T2H7KA085643; Mon, 29 Oct 2007 02:17:07 GMT (envelope-from yongari) Message-Id: <200710290217.l9T2H7KA085643@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 29 Oct 2007 02:17:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii rgephy.c rgephyreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 02:17:09 -0000 yongari 2007-10-29 02:17:07 UTC FreeBSD src repository Modified files: sys/dev/mii rgephy.c rgephyreg.h Log: Add support for RealTek RTL8211B(L) PHY. It's based on the patch made by Michael Eisele and the patch was slightly modified by me. With this change several NVIDIA ethernet controllers(e.g. MCP61) works. RTL8211B(L) is RealTek's new gigabit PHY. The PHY has several features including crossover correction, polarity correction as well as supporting triple speed(10/100/1000bps). Data transfer between MAC and PHY is via RGMII for 1000baseT, MII for 10baseT/100baseTX. Unfortunately, RealTek used the same model number for RTL8211B(L) PHY so there is no way to discriminate between RTL8211B(L) and its predecessors. ATM RTL8211B uses revision number 2 so checking the revision number seems to be only way to identify it. Obtained from: Michael Eisele [1] Tested by: clemens fischer < ino-qc AT spotteswoode DOT de DOT eu DOT org > Revision Changes Path 1.17 +87 -27 src/sys/dev/mii/rgephy.c 1.3 +12 -1 src/sys/dev/mii/rgephyreg.h From owner-cvs-src@FreeBSD.ORG Mon Oct 29 02:18:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37FC316A46C; Mon, 29 Oct 2007 02:18:01 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C08B413C48E; Mon, 29 Oct 2007 02:17:54 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T2HsjZ085714; Mon, 29 Oct 2007 02:17:54 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T2HiWu085696; Mon, 29 Oct 2007 02:17:44 GMT (envelope-from yongari) Message-Id: <200710290217.l9T2HiWu085696@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 29 Oct 2007 02:17:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii miidevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 02:18:03 -0000 yongari 2007-10-29 02:17:44 UTC FreeBSD src repository Modified files: sys/dev/mii miidevs Log: Add a newer RTL8211B(L) PHY. Revision Changes Path 1.47 +2 -2 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Mon Oct 29 03:28:29 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6B7D16A417; Mon, 29 Oct 2007 03:28:29 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9E97C13C465; Mon, 29 Oct 2007 03:28:29 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T3STeu091116; Mon, 29 Oct 2007 03:28:29 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T3STfj091115; Mon, 29 Oct 2007 03:28:29 GMT (envelope-from kientzle) Message-Id: <200710290328.l9T3STfj091115@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 29 Oct 2007 03:28:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 03:28:29 -0000 kientzle 2007-10-29 03:28:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_support_format_tar.c Log: MFC 1.62: Fix reading of files that use pax 'size' attribute to store size. In particular, the pax 'size' attribute is required for any file over 8G. This seems to fix tar -cf - | tar -xf - when there are files over 8G in the heirarchy being copied. Approved by: re (Ken Smith) Revision Changes Path 1.61.2.1 +21 -7 src/lib/libarchive/archive_read_support_format_tar.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 03:29:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EBAC16A49A; Mon, 29 Oct 2007 03:29:22 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A870713C4A6; Mon, 29 Oct 2007 03:29:21 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T3TLSd091157; Mon, 29 Oct 2007 03:29:21 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T3TLgQ091156; Mon, 29 Oct 2007 03:29:21 GMT (envelope-from kientzle) Message-Id: <200710290329.l9T3TLgQ091156@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 29 Oct 2007 03:29:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 03:29:26 -0000 kientzle 2007-10-29 03:29:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_format_tar.c Log: MFC 1.62: Fix reading of files that use pax 'size' attribute to store size. In particular, the pax 'size' attribute is required for any file over 8G. This seems to fix tar -cf - | tar -xf - when there are files over 8G in the heirarchy being copied. Revision Changes Path 1.32.2.9 +21 -7 src/lib/libarchive/archive_read_support_format_tar.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 05:50:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AFB216A417; Mon, 29 Oct 2007 05:50:24 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0133613C48D; Mon, 29 Oct 2007 05:50:24 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T5oNlc009820; Mon, 29 Oct 2007 05:50:23 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T5oNFV009819; Mon, 29 Oct 2007 05:50:23 GMT (envelope-from yongari) Message-Id: <200710290550.l9T5oNFV009819@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 29 Oct 2007 05:50:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii e1000phy.c e1000phyreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 05:50:24 -0000 yongari 2007-10-29 05:50:22 UTC FreeBSD src repository Modified files: sys/dev/mii e1000phy.c e1000phyreg.h Log: Add 88E1116/88E1116R PHY support code that takes the PHY out of power-down mode. PR: kern/114086 MFC after: 3 days Revision Changes Path 1.19 +10 -0 src/sys/dev/mii/e1000phy.c 1.5 +5 -0 src/sys/dev/mii/e1000phyreg.h From owner-cvs-src@FreeBSD.ORG Mon Oct 29 06:18:05 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AC0316A417; Mon, 29 Oct 2007 06:18:05 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 20BE313C465; Mon, 29 Oct 2007 06:18:05 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T6I5Q2012422; Mon, 29 Oct 2007 06:18:05 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T6I4b4012421; Mon, 29 Oct 2007 06:18:04 GMT (envelope-from marcel) Message-Id: <200710290618.l9T6I4b4012421@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 29 Oct 2007 06:18:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sbin/geom/class/part geom_part.c gpart.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 06:18:05 -0000 marcel 2007-10-29 06:18:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/geom/class/part geom_part.c gpart.8 Log: MFC: show command and assorted manpage updates. Approved by: re (kensmith) Revision Changes Path 1.1.2.1 +183 -1 src/sbin/geom/class/part/geom_part.c 1.1.2.1 +22 -5 src/sbin/geom/class/part/gpart.8 From owner-cvs-src@FreeBSD.ORG Mon Oct 29 07:37:08 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8C2116A418; Mon, 29 Oct 2007 07:37:08 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BF1E313C494; Mon, 29 Oct 2007 07:37:08 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9T7b8VL020058; Mon, 29 Oct 2007 07:37:08 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9T7b8Gt020057; Mon, 29 Oct 2007 07:37:08 GMT (envelope-from yar) Message-Id: <200710290737.l9T7b8Gt020057@repoman.freebsd.org> From: Yar Tikhiy Date: Mon, 29 Oct 2007 07:37:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 07:37:09 -0000 yar 2007-10-29 07:37:08 UTC FreeBSD src repository Modified files: etc Makefile Log: Add support for `make -nn' dry runs to this makefile. Basically, it's just a matter of adding a `${_+_}' prefix before each submake invokation. This allows a dry run to proceed down to, but not including, leaf commands. (See for how ${_+_} is set depending on the number of -n flags.) Revision Changes Path 1.364 +16 -16 src/etc/Makefile From owner-cvs-src@FreeBSD.ORG Mon Oct 29 10:30:30 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5042516A417; Mon, 29 Oct 2007 10:30:30 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2383E13C4A7; Mon, 29 Oct 2007 10:30:30 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TAUT8F041691; Mon, 29 Oct 2007 10:30:29 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TAUTjd041690; Mon, 29 Oct 2007 10:30:29 GMT (envelope-from sos) Message-Id: <200710291030.l9TAUTjd041690@repoman.freebsd.org> From: Søren Schmidt Date: Mon, 29 Oct 2007 10:30:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 10:30:30 -0000 sos 2007-10-29 10:30:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-chipset.c ata-pci.c Log: MFC: Fix the signature matching code on AHCI controllers. Approved by: re@ Revision Changes Path 1.202.2.1 +31 -19 src/sys/dev/ata/ata-chipset.c 1.121.2.1 +2 -1 src/sys/dev/ata/ata-pci.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 12:50:29 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7045416A417; Mon, 29 Oct 2007 12:50:29 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 371FE13C48D; Mon, 29 Oct 2007 12:50:29 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TCoTWg060857; Mon, 29 Oct 2007 12:50:29 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TCoTeK060856; Mon, 29 Oct 2007 12:50:29 GMT (envelope-from rrs) Message-Id: <200710291250.l9TCoTeK060856@repoman.freebsd.org> From: Randall Stewart Date: Mon, 29 Oct 2007 12:50:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.bin/netstat sctp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 12:50:29 -0000 rrs 2007-10-29 12:50:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/netstat sctp.c Log: Fix spelling error in netstat output for netstat -s PR: 115641 Approved by: re@freeBSD.org(Ken Smith) Revision Changes Path 1.7.2.1 +48 -48 src/usr.bin/netstat/sctp.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 13:33:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A79DF16A417; Mon, 29 Oct 2007 13:33:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 928F113C465; Mon, 29 Oct 2007 13:33:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TDX6BT064485; Mon, 29 Oct 2007 13:33:06 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TDX6CA064484; Mon, 29 Oct 2007 13:33:06 GMT (envelope-from rwatson) Message-Id: <200710291333.l9TDX6CA064484@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 13:33:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/mac_biba mac_biba.c src/sys/security/mac_bsdextended mac_bsdextended.c src/sys/security/mac_ifoff mac_ifoff.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_partition mac_partition.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 13:33:06 -0000 rwatson 2007-10-29 13:33:06 UTC FreeBSD src repository Modified files: sys/security/mac_biba mac_biba.c sys/security/mac_bsdextended mac_bsdextended.c sys/security/mac_ifoff mac_ifoff.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_partition mac_partition.c sys/security/mac_seeotheruids mac_seeotheruids.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: Resort TrustedBSD MAC Framework policy entry point implementations and declarations to match the object, operation sort order in the framework itself. Obtained from: TrustedBSD Project Revision Changes Path 1.117 +1227 -1219 src/sys/security/mac_biba/mac_biba.c 1.42 +4 -0 src/sys/security/mac_bsdextended/mac_bsdextended.c 1.16 +4 -0 src/sys/security/mac_ifoff/mac_ifoff.c 1.62 +916 -909 src/sys/security/mac_lomac/mac_lomac.c 1.98 +1180 -1173 src/sys/security/mac_mls/mac_mls.c 1.22 +81 -77 src/sys/security/mac_partition/mac_partition.c 1.18 +8 -8 src/sys/security/mac_seeotheruids/mac_seeotheruids.c 1.79 +492 -479 src/sys/security/mac_stub/mac_stub.c 1.90 +1272 -1259 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 14:19:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 523A716A418; Mon, 29 Oct 2007 14:19:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1C84113C4B5; Mon, 29 Oct 2007 14:19:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TEJXnG072991; Mon, 29 Oct 2007 14:19:33 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TEJWC8072990; Mon, 29 Oct 2007 14:19:32 GMT (envelope-from rwatson) Message-Id: <200710291419.l9TEJWC8072990@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 14:19:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 nxge.4 src/sys/dev/nxge if_nxge.c if_nxge.h xge-osdep.h xgell-version.h src/sys/dev/nxge/include build-version.h version.h xge-debug.h xge-defs.h xge-list.h xge-os-pal.h xge-os-template.h xge-queue.h xgehal-channel.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 14:19:33 -0000 rwatson 2007-10-29 14:19:32 UTC FreeBSD src repository Modified files: share/man/man4 nxge.4 sys/dev/nxge if_nxge.c if_nxge.h xge-osdep.h xgell-version.h sys/dev/nxge/include build-version.h version.h xge-debug.h xge-defs.h xge-list.h xge-os-pal.h xge-queue.h xgehal-channel.h xgehal-config.h xgehal-device.h xgehal-driver.h xgehal-event.h xgehal-fifo.h xgehal-mgmt.h xgehal-mgmtaux.h xgehal-mm.h xgehal-regs.h xgehal-ring.h xgehal-stats.h xgehal-types.h xgehal.h sys/dev/nxge/xgehal xge-queue.c xgehal-channel-fp.c xgehal-channel.c xgehal-config.c xgehal-device-fp.c xgehal-device.c xgehal-driver.c xgehal-fifo-fp.c xgehal-fifo.c xgehal-mgmt.c xgehal-mgmtaux.c xgehal-mm.c xgehal-ring-fp.c xgehal-ring.c xgehal-stats.c sys/modules/nxge Makefile tools/tools/nxge Makefile xge_cmn.h xge_info.c xge_info.h xge_log.c xge_log.h Removed files: sys/dev/nxge/include xge-os-template.h Log: Merge Neterion if_nxge driver version 2.0.9.11230 with the following changes: 01 - Enhanced LRO: LRO feature is extended to support multi-buffer mode. Previously, Ethernet frames received in contiguous buffers were offloaded. Now, frames received in multiple non-contiguous buffers can be offloaded, as well. The driver now supports LRO for jumbo frames. 02 - Locks Optimization: The driver code was re-organized to limit the use of locks. Moreover, lock contention was reduced by replacing wait locks with try locks. 03 - Code Optimization: The driver code was re-factored to eliminate some memcpy operations. Fast path loops were optimized. 04 - Tag Creations: Physical Buffer Tags are now optimized based upon frame size. For better performance, Physical Memory Maps are now re-used. 05 - Configuration: Features such as TSO, LRO, and Interrupt Mode can be configured either at load or at run time. Rx buffer mode (mode 1 or mode 2) can be configured at load time through kenv. 06 - Driver Statistics: Run time statistics are enhanced to provide better visibility into the driver performance. 07 - Bug Fixes: The driver contains fixes for the problems discovered and reported since last submission. 08 - MSI support: Added Message Signaled Interrupt feature which currently uses 1 message. 09 Removed feature: Rx 3 buffer mode feature has been removed. Driver now supports 1, 2 and 5 buffer modes of which 2 and 5 buffer modes can be used for header separation. 10 Compiler warning: Fixed compiler warning when compiled for 32 bit system. 11 Copyright notice: Source files are updated with the proper copyright notice. MFC after: 3 days Submitted by: Alicia Pena , Muhammad Shafiq Revision Changes Path 1.4 +9 -4 src/share/man/man4/nxge.4 1.4 +2234 -2123 src/sys/dev/nxge/if_nxge.c 1.2 +255 -129 src/sys/dev/nxge/if_nxge.h 1.2 +2 -2 src/sys/dev/nxge/include/build-version.h 1.2 +6 -14 src/sys/dev/nxge/include/version.h 1.2 +15 -168 src/sys/dev/nxge/include/xge-debug.h 1.2 +56 -64 src/sys/dev/nxge/include/xge-defs.h 1.2 +18 -26 src/sys/dev/nxge/include/xge-list.h 1.2 +35 -48 src/sys/dev/nxge/include/xge-os-pal.h 1.2 +0 -614 src/sys/dev/nxge/include/xge-os-template.h (dead) 1.2 +30 -38 src/sys/dev/nxge/include/xge-queue.h 1.2 +85 -102 src/sys/dev/nxge/include/xgehal-channel.h 1.2 +438 -538 src/sys/dev/nxge/include/xgehal-config.h 1.2 +222 -248 src/sys/dev/nxge/include/xgehal-device.h 1.2 +30 -38 src/sys/dev/nxge/include/xgehal-driver.h 1.2 +10 -18 src/sys/dev/nxge/include/xgehal-event.h 1.2 +68 -72 src/sys/dev/nxge/include/xgehal-fifo.h 1.2 +42 -50 src/sys/dev/nxge/include/xgehal-mgmt.h 1.2 +21 -29 src/sys/dev/nxge/include/xgehal-mgmtaux.h 1.2 +30 -38 src/sys/dev/nxge/include/xgehal-mm.h 1.2 +340 -344 src/sys/dev/nxge/include/xgehal-regs.h 1.2 +128 -136 src/sys/dev/nxge/include/xgehal-ring.h 1.2 +263 -300 src/sys/dev/nxge/include/xgehal-stats.h 1.2 +198 -217 src/sys/dev/nxge/include/xgehal-types.h 1.2 +0 -9 src/sys/dev/nxge/include/xgehal.h 1.2 +303 -276 src/sys/dev/nxge/xge-osdep.h 1.2 +133 -141 src/sys/dev/nxge/xgehal/xge-queue.c 1.2 +124 -129 src/sys/dev/nxge/xgehal/xgehal-channel-fp.c 1.2 +208 -383 src/sys/dev/nxge/xgehal/xgehal-channel.c 1.2 +241 -249 src/sys/dev/nxge/xgehal/xgehal-config.c 1.2 +708 -716 src/sys/dev/nxge/xgehal/xgehal-device-fp.c 1.2 +2975 -2955 src/sys/dev/nxge/xgehal/xgehal-device.c 1.2 +82 -90 src/sys/dev/nxge/xgehal/xgehal-driver.c 1.2 +256 -264 src/sys/dev/nxge/xgehal/xgehal-fifo-fp.c 1.2 +200 -208 src/sys/dev/nxge/xgehal/xgehal-fifo.c 1.2 +493 -501 src/sys/dev/nxge/xgehal/xgehal-mgmt.c 1.2 +809 -817 src/sys/dev/nxge/xgehal/xgehal-mgmtaux.c 1.2 +244 -252 src/sys/dev/nxge/xgehal/xgehal-mm.c 1.2 +362 -370 src/sys/dev/nxge/xgehal/xgehal-ring-fp.c 1.2 +233 -241 src/sys/dev/nxge/xgehal/xgehal-ring.c 1.2 +360 -368 src/sys/dev/nxge/xgehal/xgehal-stats.c 1.2 +1 -9 src/sys/dev/nxge/xgell-version.h 1.2 +4 -7 src/sys/modules/nxge/Makefile 1.2 +0 -0 src/tools/tools/nxge/Makefile 1.2 +49 -46 src/tools/tools/nxge/xge_cmn.h 1.2 +569 -424 src/tools/tools/nxge/xge_info.c 1.2 +30 -34 src/tools/tools/nxge/xge_info.h 1.2 +286 -211 src/tools/tools/nxge/xge_log.c 1.2 +2519 -2500 src/tools/tools/nxge/xge_log.h From owner-cvs-src@FreeBSD.ORG Mon Oct 29 14:55:46 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1C7916A417; Mon, 29 Oct 2007 14:55:46 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A854713C49D; Mon, 29 Oct 2007 14:55:46 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TEtkmq095230; Mon, 29 Oct 2007 14:55:46 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TEtkgf095229; Mon, 29 Oct 2007 14:55:46 GMT (envelope-from brueffer) Message-Id: <200710291455.l9TEtkgf095229@repoman.freebsd.org> From: Christian Brueffer Date: Mon, 29 Oct 2007 14:55:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 nxge.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 14:55:46 -0000 brueffer 2007-10-29 14:55:46 UTC FreeBSD src repository Modified files: share/man/man4 nxge.4 Log: Clean up after the previous commit. Revision Changes Path 1.5 +4 -3 src/share/man/man4/nxge.4 From owner-cvs-src@FreeBSD.ORG Mon Oct 29 15:30:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7CFA16A41A; Mon, 29 Oct 2007 15:30:48 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6266313C481; Mon, 29 Oct 2007 15:30:48 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TFUluW098422; Mon, 29 Oct 2007 15:30:47 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TFUlRm098421; Mon, 29 Oct 2007 15:30:47 GMT (envelope-from rwatson) Message-Id: <200710291530.l9TFUlRm098421@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 15:30:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/mac_test mac_test.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 15:30:51 -0000 rwatson 2007-10-29 15:30:47 UTC FreeBSD src repository Modified files: sys/security/mac_test mac_test.c Log: Canonicalize names of local variables. Add some missing label checks in mac_test. Obtained from: TrustedBSD Project Revision Changes Path 1.91 +66 -66 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 15:46:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EB7B16A4DE for ; Mon, 29 Oct 2007 15:46:02 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33715.mail.mud.yahoo.com (web33715.mail.mud.yahoo.com [68.142.201.212]) by mx1.freebsd.org (Postfix) with SMTP id 1A51013C458 for ; Mon, 29 Oct 2007 15:45:56 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 87970 invoked by uid 60001); 29 Oct 2007 06:45:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=lplGphrzlmTPoV+ti1nAfvO6WGuE57WsGNLzcv6YjVS4mvuw1SzzWyNXO+UpTViy88BW/03QNd304yXnRLKeQc7RXYMGcxMnFggrHbsRZl9yulDWJqRX7Gh9e542wPOQ7l78o2BrQdJw5aH9IuqpmUa7yTL5GVAua+ERxnTOTOI=; X-YMail-OSG: o86vbPoVM1nZwaKOmtXPVlBHXvmtuwD_xyKkWsofB_14VburMX1qFU8cIBWvyje0HKD4WVk5Z4ZTT1qFqHhfa49N7l7NnERZeAFovVQ34.W9EVc- Received: from [212.77.203.38] by web33715.mail.mud.yahoo.com via HTTP; Sun, 28 Oct 2007 23:45:10 PDT X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.134.12 Date: Sun, 28 Oct 2007 23:45:10 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: Pyun YongHyeon , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <252030.87761.qm@web33715.mail.mud.yahoo.com> Cc: Subject: Re: cvs commit: src/sys/dev/mii miidevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 15:46:04 -0000 ----- Original Message ----=0A> From: Pyun YongHyeon = =0A> To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.o= rg=0A> Sent: Monday, October 29, 2007 5:17:44 AM=0A> Subject: cvs commit: s= rc/sys/dev/mii miidevs=0A> =0A> yongari 2007-10-29 02:17:44 UTC=0A> =0A= > FreeBSD src repository=0A> =0A> Modified files:=0A> sys/dev/mii = miidevs =0A> Log:=0A> Add a newer RTL8211B(L) PHY.=0A> =0A> = Revision Changes Path=0A> 1.47 +2 -2 src/sys/dev/mii/miide= vs=0A=0APyun,=0A=0AThank you!=0A=0ACould you please MFC it to RELENG_7 too?= =0A=0A--=0ARegards, =0A-Abdullah Ibn Hamad Al-Marri=0AArab Portal=0Ahttp://= www.WeArab.Net/ =0A=0A=0A=0A=0A___________________________________________= _______=0ADo You Yahoo!?=0ATired of spam? Yahoo! Mail has the best spam pr= otection around =0Ahttp://mail.yahoo.com From owner-cvs-src@FreeBSD.ORG Mon Oct 29 15:46:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346C216A4CF; Mon, 29 Oct 2007 15:46:33 +0000 (UTC) (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 19BD913C44B; Mon, 29 Oct 2007 15:45:57 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9T2gbkL099208; Mon, 29 Oct 2007 05:42:37 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193625757; bh=frLsN2oz/JUO36O8ptBTD7qHPjScSwvPTYSFWXG qX78=; l=1728; h=Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=B2YogdzT2z5UB0vz99Em hQ3wem5FoJ3AQ6ZjjphhXm5sw09PKRYu1K2Zkj1jvR+mz/MAzVnxQrVBh1IbXcRVZa5 InndFqDVfFO/WxIO/AN65/9nANnbANu6Dmk1PACui81RGvHl1t1pA2TKLGZIh3MSKby cny57D4Aqzx7eyMCg= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9T2gaj9099207; Mon, 29 Oct 2007 05:42:36 +0300 (MSK) (envelope-from ache) Date: Mon, 29 Oct 2007 05:42:36 +0300 From: Andrey Chernov To: Ken Smith Message-ID: <20071029024236.GA99115@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Ken Smith , Rong-en Fan , Scott Long , John Baldwin , src-committers@FreeBSD.org, d@delphij.net, Robert Watson , imp@FreeBSD.org, cvs-src@FreeBSD.org References: <20071025233536.B99770@fledge.watson.org> <472120E8.90504@samsco.org> <200710261144.34645.jhb@freebsd.org> <472217C2.8020800@samsco.org> <6eb82e0710260954m73b3f17bq2c72a4cdb597640e@mail.gmail.com> <6eb82e0710270130o5557efew95f62aef8035d209@mail.gmail.com> <20071027092213.GA53271@nagual.pp.ru> <6eb82e0710280154h68393dcag4e9ba4ac4c219065@mail.gmail.com> <20071028211306.GA91223@nagual.pp.ru> <1193616095.18844.19.camel@opus.cse.buffalo.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <1193616095.18844.19.camel@opus.cse.buffalo.edu> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Scott Long , src-committers@FreeBSD.ORG, d@delphij.net, John Baldwin , cvs-src@FreeBSD.ORG, Rong-en Fan , Robert Watson , imp@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 15:46:33 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 28, 2007 at 08:01:35PM -0400, Ken Smith wrote: > On Mon, 2007-10-29 at 00:13 +0300, Andrey Chernov wrote: > > On Sun, Oct 28, 2007 at 04:54:52PM +0800, Rong-en Fan wrote: > > > > As a small improvement, we can skip __isctype() from this list too = and > > > > just hardcode 128 there, i.e.: return (_c < 0 || _c >=3D 128) ... > > > > since default locale never define anything above 128. > > >=20 > > > Thank you. A new patch is available at > > >=20 > > > http://people.freebsd.org/~rafan/ctype-abi-fix-6-try2.diff > >=20 > > Looks OK. Please don't forget MFC __isctype changes to 7x too. > >=20 >=20 > The portmgr@ folks are holding off on HEAD package builds (for > packages-8-current) for things to settle out at least in HEAD. Are we > in what should be the final state of things for HEAD now or are more > tweaks there coming? I think I try my best to make this ctype fix and no more tweaks left. But= =20 please keep in mind that I can't preciously predict related to releases=20 problems, because I have only -current on my machines (so why rafan@ gives= =20 his help). Of course I can't 100% guarantee "no new stuff" thing because=20 some new idea may apears in anytime to improve this thing :) --=20 http://ache.pp.ru/ --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHJUicVg5YK5ZEdN0RAjoqAKCEbATaNw8+fZSklIvyRkYIZc7ItwCfRa/0 HjshaP0k/Idzd+xg5ugIOao= =4E3H -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- From owner-cvs-src@FreeBSD.ORG Mon Oct 29 16:02:23 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1991B16A49C; Mon, 29 Oct 2007 16:02:23 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6575F13C45A; Mon, 29 Oct 2007 16:01:15 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id l9TDHR8q074762; Mon, 29 Oct 2007 06:17:27 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.1/8.14.1/Submit) id l9TDHPsm074761; Mon, 29 Oct 2007 06:17:25 -0700 (PDT) (envelope-from obrien) Date: Mon, 29 Oct 2007 06:17:25 -0700 From: "David O'Brien" To: Kris Kennaway Message-ID: <20071029131725.GA74608@dragon.NUXI.org> References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <200710261141.51639.jhb@freebsd.org> <1193414454.7390.20.camel@opus.cse.buffalo.edu> <200710261224.41369.jhb@freebsd.org> <1193424434.7390.44.camel@opus.cse.buffalo.edu> <20071026203013.GA99714@dragon.NUXI.org> <1193435169.96540.3.camel@neo.cse.buffalo.edu> <20071027210146.GA37660@dragon.NUXI.org> <4723B431.6010507@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4723B431.6010507@FreeBSD.org> X-Operating-System: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Scott Long , src-committers@FreeBSD.org, d@delphij.net, John Baldwin , Andrey Chernov , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, Ken Smith Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 16:02:23 -0000 On Sat, Oct 27, 2007 at 11:57:05PM +0200, Kris Kennaway wrote: > David O'Brien wrote: >> On Fri, Oct 26, 2007 at 05:46:09PM -0400, Ken Smith wrote: >>> On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote: >>>> On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: >>>>> If portmgr@ uses RELENG_6 to base their builds on breaking forward >>>>> compat would mean all consumers of packages-6-stable would also >>>>> need to use RELENG_6. >>>> When did this sease being a requirement? >>>> 'pkg_add -r' certainly enforces this requirement. `pkg_add -r jive' >>>> on 6.2-RELEASE will always pull from the packages-6.2-release/ and >>>> not packages-6-stable/. >>> I thought you could use portupgrade on a 6.2-REL system and have it >>> pull the packages from a packages-6-stable tree. >> This is not the case for 'portupgrade -P[P]': .. [ pkgtools.rb code snipped ] > portupgrade uses the same environment variables that pkg_add does that > allow the user to override the default to packages-6-stable/. Many > users do this. And they could also symlink libc.so.6 to libc.so.7, set PACKAGESITE to specify packages-7-current and 'pkg_add -r'. Many, many things will work fine. But that doesn't mean we guarentee it will work in all cases. Folks are lucky where it works (using X-stable packages on X-release), but its not something we can garentee unless we want -stable to be -stale. -- -- David (obrien@FreeBSD.org) From owner-cvs-src@FreeBSD.ORG Mon Oct 29 16:45:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E064816A421 for ; Mon, 29 Oct 2007 16:45:03 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33713.mail.mud.yahoo.com (web33713.mail.mud.yahoo.com [68.142.201.210]) by mx1.freebsd.org (Postfix) with SMTP id 8D34813C491 for ; Mon, 29 Oct 2007 16:45:02 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 89267 invoked by uid 60001); 29 Oct 2007 14:58:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=r0VM6hDTdZ8Ab4ed5SIEUHvME+NLk3oJnphZ+qpVby2Tj5SDjZkpGZl+uaaTgizk88FBKHNQlArBus1j8dC7JmwlqS+vGbqZ1o4sOlcz5l6nInXnaED8JPdUoQVZIFAPXDecU5tD32cjU3pjXwJm5us9mxSGZ2lZzajvGhHHDvI=; X-YMail-OSG: kGSDc9cVM1mdTLR4l8wG6did3pJeHK3yiFDFPl5iIvoAH0ceTSsybTGBKWxiJ3I4IXRkvLw8TRetwHba42qXsNSDvOi0EOF5cQDWLBD9dPUKGhSOmcc- Received: from [89.211.5.3] by web33713.mail.mud.yahoo.com via HTTP; Mon, 29 Oct 2007 07:58:02 PDT X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.134.12 Date: Mon, 29 Oct 2007 07:58:02 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: =?iso-8859-1?Q?S=F8ren_Schmidt?= , src-committers@FreeBSD.org, cvs-src@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <743606.88886.qm@web33713.mail.mud.yahoo.com> Cc: Subject: Re: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 16:45:04 -0000 ----- Original Message ----=0A> From: S=F8ren Schmidt =0A>= To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org= =0A> Sent: Monday, October 29, 2007 1:30:29 PM=0A> Subject: cvs commit: src= /sys/dev/ata ata-chipset.c ata-pci.c=0A> =0A> sos 2007-10-29 10:30:= 29 UTC=0A> =0A> FreeBSD src repository=0A> =0A> Modified files: = (Branch: RELENG_7)=0A> sys/dev/ata ata-chipset.c ata-pci.c =0A= > Log:=0A> MFC:=0A> Fix the signature matching code on AHCI controlle= rs.=0A> =0A> Approved by: re@=0A> =0A> Revision Changes Path= =0A> 1.202.2.1 +31 -19 src/sys/dev/ata/ata-chipset.c=0A> 1.121.2.1 = +2 -1 src/sys/dev/ata/ata-pci.c=0A=0AThank you!=0A=0AHow about RELENG= _6? }:)=0A =0ARegards, =0A-Abdullah Ibn Hamad Al-Marri=0AArab Portal=0Ahttp= ://www.WeArab.Net/=0A =0A=0A=0A=0A=0A______________________________________= ____________=0ADo You Yahoo!?=0ATired of spam? Yahoo! Mail has the best sp= am protection around =0Ahttp://mail.yahoo.com From owner-cvs-src@FreeBSD.ORG Mon Oct 29 17:38:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A352816A417; Mon, 29 Oct 2007 17:38:13 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp2.yandex.ru (smtp2.yandex.ru [213.180.200.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0171213C4A7; Mon, 29 Oct 2007 17:37:53 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:63976 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S4395624AbXJ2FgG (ORCPT + 2 others); Mon, 29 Oct 2007 08:36:06 +0300 X-Comment: RFC 2476 MSA function at smtp2.yandex.ru logged sender identity as: bu7cher Message-ID: <4725713F.5010409@yandex.ru> Date: Mon, 29 Oct 2007 08:35:59 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: =?KOI8-R?Q?S=F8ren_Schmidt?= References: <200710260857.l9Q8v8HI099233@repoman.freebsd.org> In-Reply-To: <200710260857.l9Q8v8HI099233@repoman.freebsd.org> Content-Type: multipart/mixed; boundary="------------080402060406020200060409" Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 17:38:13 -0000 This is a multi-part message in MIME format. --------------080402060406020200060409 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Søren Schmidt wrote: > Modified files: > sys/dev/ata ata-pci.c > Log: > Fix treating some modern chips (mem mapped) as legacy devices. Hi, Søren. Seems that PCIP_STORAGE_IDE_MASTERDEV, PCIP_STORAGE_IDE_MODEPRIM and PCIP_STORAGE_IDE_MODESEC should be related to the PCIS_STORAGE_IDE subclass. My Marvell 88SE6141 chip have PCIS_STORAGE_SATA subclass and PCIP_STORAGE_SATA_AHCI_1_0|PCIS_STORAGE_OTHER programming interface. And this chip detected as a legacy controller. What you think about the attached patch? -- WBR, Andrey V. Elsukov --------------080402060406020200060409 Content-Type: text/plain; name="ata-pci.c.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ata-pci.c.diff.txt" --- /usr/src/sys/dev/ata/ata-pci.c 2007-10-29 08:01:06.000000000 +0300 +++ ata-pci.c 2007-10-29 08:11:20.000000000 +0300 @@ -59,15 +59,17 @@ int ata_legacy(device_t dev) { - return (((pci_read_config(dev, PCIR_PROGIF, 1)&PCIP_STORAGE_IDE_MASTERDEV)&& - ((pci_read_config(dev, PCIR_PROGIF, 1) & - (PCIP_STORAGE_IDE_MODEPRIM | PCIP_STORAGE_IDE_MODESEC)) != + uint32_t pi, scc; + pi = pci_read_config(dev, PCIR_PROGIF, 1); + scc = pci_read_config(dev, PCIR_SUBCLASS, 1); + return ((scc == PCIS_STORAGE_IDE && (pi & PCIP_STORAGE_IDE_MASTERDEV) && + ((pi & (PCIP_STORAGE_IDE_MODEPRIM | PCIP_STORAGE_IDE_MODESEC)) != (PCIP_STORAGE_IDE_MODEPRIM | PCIP_STORAGE_IDE_MODESEC))) || - (!pci_read_config(dev, PCIR_BAR(0), 4) && - !pci_read_config(dev, PCIR_BAR(1), 4) && - !pci_read_config(dev, PCIR_BAR(2), 4) && - !pci_read_config(dev, PCIR_BAR(3), 4) && - !pci_read_config(dev, PCIR_BAR(5), 4))); + (pci_read_config(dev, PCIR_BAR(0), 4) == 0 && + pci_read_config(dev, PCIR_BAR(1), 4) == 0 && + pci_read_config(dev, PCIR_BAR(2), 4) == 0 && + pci_read_config(dev, PCIR_BAR(3), 4) == 0 && + pci_read_config(dev, PCIR_BAR(5), 4) == 0)); } int --------------080402060406020200060409-- From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:07:49 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EBCA16A420; Mon, 29 Oct 2007 18:07:49 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 06C8A13C48D; Mon, 29 Oct 2007 18:07:49 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TI7mJ4021647; Mon, 29 Oct 2007 18:07:48 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TI7mlD021646; Mon, 29 Oct 2007 18:07:48 GMT (envelope-from rwatson) Message-Id: <200710291807.l9TI7mlD021646@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 18:07:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:07:49 -0000 rwatson 2007-10-29 18:07:48 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_bsm_klib.c Log: Replace use of AU_NULL with 0 when no audit classes are in use; this supports the removal of hard-coded audit class constants in OpenBSM 1.0. All audit classes are now dynamically configured via the audit_class database. Obtained from: TrustedBSD Project Revision Changes Path 1.35 +2 -2 src/sys/security/audit/audit.c 1.8 +2 -2 src/sys/security/audit/audit_bsm_klib.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:09:08 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EB3616A41A; Mon, 29 Oct 2007 18:09:08 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 155D513C4B7; Mon, 29 Oct 2007 18:08:40 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 8AF5C2093; Mon, 29 Oct 2007 13:39:50 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 7841F208F; Mon, 29 Oct 2007 13:39:50 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 16A5A8448E; Mon, 29 Oct 2007 13:39:50 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Yar Tikhiy References: <200710271818.l9RIIwv5041300@repoman.freebsd.org> Date: Mon, 29 Oct 2007 13:39:50 +0100 In-Reply-To: <200710271818.l9RIIwv5041300@repoman.freebsd.org> (Yar Tikhiy's message of "Sat\, 27 Oct 2007 18\:18\:58 +0000 \(UTC\)") Message-ID: <86odeit7qh.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/rescue/rescue Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:09:08 -0000 Yar Tikhiy writes: > o sed(1) as a multi-purpose text filter -- can do grep's job and much m= ore. > o head(1), tail(1), and tee(1) as idiomatic text filters. you add sed (but not grep) because sed can "do grep's job and much more", yet you also add head and tail despite the fact that sed can do their job as well... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:40:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C2C116A420; Mon, 29 Oct 2007 18:40:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A09C13C4B7; Mon, 29 Oct 2007 18:40:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TIeXU5023799; Mon, 29 Oct 2007 18:40:33 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TIeXlc023798; Mon, 29 Oct 2007 18:40:33 GMT (envelope-from rwatson) Message-Id: <200710291840.l9TIeXlc023798@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 18:40:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: TrustedBSD Cc: Subject: cvs commit: src/contrib/openbsm - Imported sources X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:40:33 -0000 rwatson 2007-10-29 18:40:32 UTC FreeBSD src repository src/contrib/openbsm - Imported sources Update of /home/ncvs/src/contrib/openbsm In directory repoman.freebsd.org:/tmp/cvs-serv23690 Log Message: Vendor import TrustedBSD OpenBSM 1.0, with the following change history since the last import: OpenBSM 1.0 - Fix bug in auditreduce(8) which resulted in a memory fault/crash when the user specified an event name with -m. - Remove AU_.* hard-coded audit class constants, as udit classes are now entirely dynamically configured using /etc/security/audit_class. MFC after: 3 days Obtained from: TrustedBSD Project Status: Vendor Tag: TrustedBSD Release Tags: OPENBSM_1_0 U src/contrib/openbsm/HISTORY U src/contrib/openbsm/LICENSE U src/contrib/openbsm/Makefile.am U src/contrib/openbsm/Makefile.in U src/contrib/openbsm/README U src/contrib/openbsm/TODO U src/contrib/openbsm/VERSION U src/contrib/openbsm/aclocal.m4 U src/contrib/openbsm/autogen.sh U src/contrib/openbsm/configure U src/contrib/openbsm/configure.ac U src/contrib/openbsm/bin/Makefile.am U src/contrib/openbsm/bin/Makefile.in U src/contrib/openbsm/bin/audit/Makefile.am U src/contrib/openbsm/bin/audit/Makefile.in U src/contrib/openbsm/bin/audit/audit.8 U src/contrib/openbsm/bin/audit/audit.c U src/contrib/openbsm/bin/auditd/Makefile.am U src/contrib/openbsm/bin/auditd/Makefile.in U src/contrib/openbsm/bin/auditd/audit_warn.c U src/contrib/openbsm/bin/auditd/auditd.8 U src/contrib/openbsm/bin/auditd/auditd.c U src/contrib/openbsm/bin/auditd/auditd.h U src/contrib/openbsm/bin/auditfilterd/Makefile.am U src/contrib/openbsm/bin/auditfilterd/Makefile.in U src/contrib/openbsm/bin/auditfilterd/auditfilterd.8 U src/contrib/openbsm/bin/auditfilterd/auditfilterd.c U src/contrib/openbsm/bin/auditfilterd/auditfilterd.h U src/contrib/openbsm/bin/auditfilterd/auditfilterd_conf.c U src/contrib/openbsm/bin/auditreduce/Makefile.am U src/contrib/openbsm/bin/auditreduce/Makefile.in U src/contrib/openbsm/bin/auditreduce/auditreduce.1 U src/contrib/openbsm/bin/auditreduce/auditreduce.c U src/contrib/openbsm/bin/auditreduce/auditreduce.h U src/contrib/openbsm/bin/praudit/Makefile.am U src/contrib/openbsm/bin/praudit/Makefile.in U src/contrib/openbsm/bin/praudit/praudit.1 U src/contrib/openbsm/bin/praudit/praudit.c U src/contrib/openbsm/bsm/Makefile.am U src/contrib/openbsm/bsm/Makefile.in C src/contrib/openbsm/bsm/audit.h U src/contrib/openbsm/bsm/audit_filter.h U src/contrib/openbsm/bsm/audit_internal.h U src/contrib/openbsm/bsm/audit_kevents.h U src/contrib/openbsm/bsm/audit_record.h U src/contrib/openbsm/bsm/audit_uevents.h U src/contrib/openbsm/bsm/libbsm.h U src/contrib/openbsm/compat/clock_gettime.h U src/contrib/openbsm/compat/endian.h U src/contrib/openbsm/compat/queue.h U src/contrib/openbsm/compat/strlcat.h U src/contrib/openbsm/config/config.guess U src/contrib/openbsm/config/config.h.in U src/contrib/openbsm/config/config.sub U src/contrib/openbsm/config/depcomp U src/contrib/openbsm/config/install-sh U src/contrib/openbsm/config/ltmain.sh U src/contrib/openbsm/config/missing C src/contrib/openbsm/etc/audit_class U src/contrib/openbsm/etc/audit_control C src/contrib/openbsm/etc/audit_event U src/contrib/openbsm/etc/audit_filter U src/contrib/openbsm/etc/audit_user U src/contrib/openbsm/etc/audit_warn U src/contrib/openbsm/libbsm/Makefile.am U src/contrib/openbsm/libbsm/Makefile.in U src/contrib/openbsm/libbsm/au_class.3 U src/contrib/openbsm/libbsm/au_control.3 U src/contrib/openbsm/libbsm/au_event.3 U src/contrib/openbsm/libbsm/au_free_token.3 U src/contrib/openbsm/libbsm/au_io.3 U src/contrib/openbsm/libbsm/au_mask.3 U src/contrib/openbsm/libbsm/au_open.3 U src/contrib/openbsm/libbsm/au_token.3 U src/contrib/openbsm/libbsm/au_user.3 U src/contrib/openbsm/libbsm/audit_submit.3 U src/contrib/openbsm/libbsm/bsm_audit.c U src/contrib/openbsm/libbsm/bsm_class.c U src/contrib/openbsm/libbsm/bsm_control.c U src/contrib/openbsm/libbsm/bsm_event.c U src/contrib/openbsm/libbsm/bsm_flags.c U src/contrib/openbsm/libbsm/bsm_io.c U src/contrib/openbsm/libbsm/bsm_mask.c U src/contrib/openbsm/libbsm/bsm_notify.c U src/contrib/openbsm/libbsm/bsm_token.c U src/contrib/openbsm/libbsm/bsm_user.c U src/contrib/openbsm/libbsm/libbsm.3 U src/contrib/openbsm/libbsm/bsm_wrappers.c U src/contrib/openbsm/man/Makefile.am U src/contrib/openbsm/man/Makefile.in U src/contrib/openbsm/man/audit.2 U src/contrib/openbsm/man/audit.log.5 U src/contrib/openbsm/man/audit_class.5 U src/contrib/openbsm/man/audit_control.5 U src/contrib/openbsm/man/audit_event.5 U src/contrib/openbsm/man/audit_user.5 U src/contrib/openbsm/man/audit_warn.5 U src/contrib/openbsm/man/auditctl.2 U src/contrib/openbsm/man/auditon.2 U src/contrib/openbsm/man/getaudit.2 U src/contrib/openbsm/man/getauid.2 U src/contrib/openbsm/man/setaudit.2 U src/contrib/openbsm/man/setauid.2 U src/contrib/openbsm/modules/Makefile.am U src/contrib/openbsm/modules/Makefile.in U src/contrib/openbsm/modules/auditfilter_noop/Makefile.am U src/contrib/openbsm/modules/auditfilter_noop/Makefile.in U src/contrib/openbsm/modules/auditfilter_noop/auditfilter_noop.c U src/contrib/openbsm/test/Makefile.am U src/contrib/openbsm/test/Makefile.in U src/contrib/openbsm/test/bsm/Makefile.am U src/contrib/openbsm/test/bsm/Makefile.in U src/contrib/openbsm/test/bsm/generate.c U src/contrib/openbsm/test/reference/arg32_record U src/contrib/openbsm/test/reference/arg32_token U src/contrib/openbsm/test/reference/data_record U src/contrib/openbsm/test/reference/data_token U src/contrib/openbsm/test/reference/file_record U src/contrib/openbsm/test/reference/file_token U src/contrib/openbsm/test/reference/header32_token U src/contrib/openbsm/test/reference/in_addr_record U src/contrib/openbsm/test/reference/in_addr_token U src/contrib/openbsm/test/reference/ip_record U src/contrib/openbsm/test/reference/ip_token U src/contrib/openbsm/test/reference/ipc_record U src/contrib/openbsm/test/reference/ipc_token U src/contrib/openbsm/test/reference/iport_record U src/contrib/openbsm/test/reference/iport_token U src/contrib/openbsm/test/reference/opaque_record U src/contrib/openbsm/test/reference/opaque_token U src/contrib/openbsm/test/reference/path_record U src/contrib/openbsm/test/reference/path_token U src/contrib/openbsm/test/reference/process32_record U src/contrib/openbsm/test/reference/process32_token U src/contrib/openbsm/test/reference/process64_record U src/contrib/openbsm/test/reference/process32ex_record-IPv4 U src/contrib/openbsm/test/reference/process32ex_record-IPv6 U src/contrib/openbsm/test/reference/process32ex_token-IPv4 U src/contrib/openbsm/test/reference/process32ex_token-IPv6 U src/contrib/openbsm/test/reference/process64_token U src/contrib/openbsm/test/reference/process64ex_record-IPv4 U src/contrib/openbsm/test/reference/process64ex_record-IPv6 U src/contrib/openbsm/test/reference/process64ex_token-IPv4 U src/contrib/openbsm/test/reference/process64ex_token-IPv6 U src/contrib/openbsm/test/reference/return32_record U src/contrib/openbsm/test/reference/return32_token U src/contrib/openbsm/test/reference/seq_record U src/contrib/openbsm/test/reference/seq_token U src/contrib/openbsm/test/reference/subject32_record U src/contrib/openbsm/test/reference/subject32_token U src/contrib/openbsm/test/reference/subject32ex_record U src/contrib/openbsm/test/reference/subject32ex_token-IPv4 U src/contrib/openbsm/test/reference/subject32ex_token-IPv6 U src/contrib/openbsm/test/reference/text_record U src/contrib/openbsm/test/reference/text_token U src/contrib/openbsm/test/reference/trailer_token U src/contrib/openbsm/test/reference/zonename_record U src/contrib/openbsm/test/reference/zonename_token U src/contrib/openbsm/test/samples/execve-long-args.trail U src/contrib/openbsm/tools/Makefile.am U src/contrib/openbsm/tools/Makefile.in U src/contrib/openbsm/tools/audump.c 3 conflicts created by this import. Use the following command to help the merge: cvs checkout -jTrustedBSD:yesterday -jTrustedBSD src/contrib/openbsm From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:43:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B703B16A418; Mon, 29 Oct 2007 18:43:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7F13513C4AC; Mon, 29 Oct 2007 18:43:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TIh6X1024046; Mon, 29 Oct 2007 18:43:06 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TIh66F024045; Mon, 29 Oct 2007 18:43:06 GMT (envelope-from rwatson) Message-Id: <200710291843.l9TIh66F024045@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 18:43:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/contrib/openbsm/etc audit_class audit_event X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:43:06 -0000 rwatson 2007-10-29 18:43:06 UTC FreeBSD src repository Modified files: contrib/openbsm/etc audit_class audit_event Log: Resolve conflicts from import of OpenBSM 1.0: maintain $FreeBSD$ tags in /etc/security audit configuration files. Revision Changes Path 1.3 +1 -3 src/contrib/openbsm/etc/audit_class 1.9 +8 -2 src/contrib/openbsm/etc/audit_event From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:45:41 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34E9A16A46B; Mon, 29 Oct 2007 18:45:41 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0C11A13C48E; Mon, 29 Oct 2007 18:45:41 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TIje02024219; Mon, 29 Oct 2007 18:45:40 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TIjeQk024218; Mon, 29 Oct 2007 18:45:40 GMT (envelope-from rwatson) Message-Id: <200710291845.l9TIjeQk024218@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 18:45:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/contrib/openbsm/config config.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:45:41 -0000 rwatson 2007-10-29 18:45:40 UTC FreeBSD src repository Modified files: contrib/openbsm/config config.h Log: Regenerate config.h after import of OpenBSM 1.0. Obtained from: TrustedBSD Project Revision Changes Path 1.7 +5 -5 src/contrib/openbsm/config/config.h From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:47:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F0E416A417; Mon, 29 Oct 2007 18:47:26 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2961F13C4A3; Mon, 29 Oct 2007 18:47:26 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TIlQww024902; Mon, 29 Oct 2007 18:47:26 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TIlQ8S024901; Mon, 29 Oct 2007 18:47:26 GMT (envelope-from rwatson) Message-Id: <200710291847.l9TIlQ8S024901@repoman.freebsd.org> From: Robert Watson Date: Mon, 29 Oct 2007 18:47:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/bsm audit.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:47:26 -0000 rwatson 2007-10-29 18:47:26 UTC FreeBSD src repository Modified files: sys/bsm audit.h Log: Merge OpenBSM 1.0 changes to src/sys/bsm: - Remove AU_.* hard-coded audit class constants, as udit classes are now entirely dynamically configured using /etc/security/audit_class. Obtained from: TrustedBSD Project Revision Changes Path 1.10 +1 -39 src/sys/bsm/audit.h From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:47:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FAAE16A567; Mon, 29 Oct 2007 18:47:31 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DE28C13C4B2; Mon, 29 Oct 2007 18:47:27 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TIlRO9024994; Mon, 29 Oct 2007 18:47:27 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TIlRDZ024993; Mon, 29 Oct 2007 18:47:27 GMT (envelope-from ariff) Message-Id: <200710291847.l9TIlRDZ024993@repoman.freebsd.org> From: Ariff Abdullah Date: Mon, 29 Oct 2007 18:47:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/sound/pcm ac97_patch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:47:31 -0000 ariff 2007-10-29 18:47:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sound/pcm ac97_patch.c Log: Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec, automuting internal speakers. Tested by: Frederic Chardon Approved by: re (kensmith) Revision Changes Path 1.10.2.1 +1 -0 src/sys/dev/sound/pcm/ac97_patch.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 18:47:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 536CD16A419; Mon, 29 Oct 2007 18:47:48 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2DB3413C48A; Mon, 29 Oct 2007 18:47:48 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TIlmo8025040; Mon, 29 Oct 2007 18:47:48 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TIlmkU025039; Mon, 29 Oct 2007 18:47:48 GMT (envelope-from ariff) Message-Id: <200710291847.l9TIlmkU025039@repoman.freebsd.org> From: Ariff Abdullah Date: Mon, 29 Oct 2007 18:47:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/sound/pcm ac97.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 18:47:48 -0000 ariff 2007-10-29 18:47:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/sound/pcm ac97.c Log: Remap and virtualize mixer controls for HP nx6110 with AD1981B AC97 codec, unifying master volume control. * Remap "phout" --> SOUND_MIXER_VOLUME (internal speakers) * Virtual "vol" --> { "phout", "ogain" (headphone) } Tested by: Frederic Chardon Approved by: re (kensmith) Revision Changes Path 1.73.2.1 +26 -2 src/sys/dev/sound/pcm/ac97.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 19:06:47 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7997216A476; Mon, 29 Oct 2007 19:06:47 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 53EF813C4B8; Mon, 29 Oct 2007 19:06:47 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TJ6lTN032769; Mon, 29 Oct 2007 19:06:47 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TJ6lMu032768; Mon, 29 Oct 2007 19:06:47 GMT (envelope-from emax) Message-Id: <200710291906.l9TJ6lMu032768@repoman.freebsd.org> From: Maksim Yevmenkin Date: Mon, 29 Oct 2007 19:06:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_rfcomm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 19:06:47 -0000 emax 2007-10-29 19:06:47 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/socket ng_btsocket_rfcomm.c Log: Allow RFCOMM servers to bind to a ''wildcard'' RFCOMM channel zero (0). Actual RFCOMM channel will be assigned after listen(2) call is done on a RFCOMM socket bound to a ''wildcard'' RFCOMM channel zero (0). Address locking issues in ng_btsocket_rfcomm_bind() Submitted by: Heiko Wundram (Beenic) < wundram at beenic dot net > MFC after: 1 week Revision Changes Path 1.27 +53 -31 src/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 19:54:25 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB6A716A419; Mon, 29 Oct 2007 19:54:25 +0000 (UTC) (envelope-from lol@chistydom.ru) Received: from hermes.hw.ru (hermes.hw.ru [80.68.240.91]) by mx1.freebsd.org (Postfix) with ESMTP id 9009313C4A3; Mon, 29 Oct 2007 19:54:24 +0000 (UTC) (envelope-from lol@chistydom.ru) Received: from [80.68.244.40] (account a_popov@rbc.ru [80.68.244.40] verified) by hermes.hw.ru (CommuniGate Pro SMTP 5.0.13) with ESMTPA id 196714776; Mon, 29 Oct 2007 10:23:35 +0300 Message-ID: <47258A13.3060109@chistydom.ru> Date: Mon, 29 Oct 2007 10:21:55 +0300 From: Alexey Popov User-Agent: Thunderbird 2.0.0.6 (X11/20070924) MIME-Version: 1.0 To: Alexander Kabaev References: <200710121709.l9CH9iu7075715__38270.1859264218$1192209730$gmane$org@repoman.freebsd.org> <47203DFE.2070800@chistydom.ru> <20071025081700.63a4d71b@kan.dnsalias.net> In-Reply-To: <20071025081700.63a4d71b@kan.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Paul Saab , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/libi386 Makefile pxe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 19:54:26 -0000 Hi. Alexander Kabaev wrote: >> Paul Saab wrote: >>> ps 2007-10-12 17:09:44 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sys/boot/i386/libi386 Makefile pxe.c >>> Log: >>> Do not attempt to make an NFS rpc call if using tftp >>> >>> PR: kern/91720 >>> Submitted by: Ruben Kerkhof >>> >>> Revision Changes Path >>> 1.43 +7 -0 src/sys/boot/i386/libi386/Makefile >>> 1.23 +2 -0 src/sys/boot/i386/libi386/pxe.c >> Didn't you break feature introduced in rev 1.21 of pxe.c ??? >> === >> Allow kernels loaded by pxeboot, which was compiled with >> LOADER_TFTP_SUPPORT, to stll be able to mount NFS root as prescribed >> by DCHP configuration. Since pxeboot is using TFTP to get to the >> files, pxeboot can not rely on NFS to provide it a root directory >> hande as a side effect. pxeboot has to make RPC mount call itself. >> === > > Paul did break it indeed. I agree it's annoying to wait for RPC calls running PXE loader build with TFTP-only support. But I believe this feature was requested by someone just if it was committed. I think there should be more accurate fix, i.e. #define LOADER_TFTP_ONLY or something like this. With best regards, Alexey Popov From owner-cvs-src@FreeBSD.ORG Mon Oct 29 20:09:05 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E478B16A419; Mon, 29 Oct 2007 20:09:05 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 7EDA913C4BC; Mon, 29 Oct 2007 20:09:03 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47263DE2.3020909@FreeBSD.org> Date: Mon, 29 Oct 2007 21:09:06 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: obrien@FreeBSD.org References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <200710261141.51639.jhb@freebsd.org> <1193414454.7390.20.camel@opus.cse.buffalo.edu> <200710261224.41369.jhb@freebsd.org> <1193424434.7390.44.camel@opus.cse.buffalo.edu> <20071026203013.GA99714@dragon.NUXI.org> <1193435169.96540.3.camel@neo.cse.buffalo.edu> <20071027210146.GA37660@dragon.NUXI.org> <4723B431.6010507@FreeBSD.org> <20071029131725.GA74608@dragon.NUXI.org> In-Reply-To: <20071029131725.GA74608@dragon.NUXI.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Scott Long , src-committers@FreeBSD.org, d@delphij.net, John Baldwin , Andrey Chernov , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, Ken Smith Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 20:09:06 -0000 David O'Brien wrote: > On Sat, Oct 27, 2007 at 11:57:05PM +0200, Kris Kennaway wrote: >> David O'Brien wrote: >>> On Fri, Oct 26, 2007 at 05:46:09PM -0400, Ken Smith wrote: >>>> On Fri, 2007-10-26 at 13:30 -0700, David O'Brien wrote: >>>>> On Fri, Oct 26, 2007 at 02:47:13PM -0400, Ken Smith wrote: >>>>>> If portmgr@ uses RELENG_6 to base their builds on breaking forward >>>>>> compat would mean all consumers of packages-6-stable would also >>>>>> need to use RELENG_6. >>>>> When did this sease being a requirement? >>>>> 'pkg_add -r' certainly enforces this requirement. `pkg_add -r jive' >>>>> on 6.2-RELEASE will always pull from the packages-6.2-release/ and >>>>> not packages-6-stable/. >>>> I thought you could use portupgrade on a 6.2-REL system and have it >>>> pull the packages from a packages-6-stable tree. >>> This is not the case for 'portupgrade -P[P]': > .. > [ pkgtools.rb code snipped ] > >> portupgrade uses the same environment variables that pkg_add does that >> allow the user to override the default to packages-6-stable/. Many >> users do this. > > And they could also symlink libc.so.6 to libc.so.7, set PACKAGESITE to > specify packages-7-current and 'pkg_add -r'. Many, many things will work > fine. But that doesn't mean we guarentee it will work in all cases. > Folks are lucky where it works (using X-stable packages on X-release), > but its not something we can garentee unless we want -stable to be > -stale. Fortunately your concerns are not relevant here since reasonable workarounds exist. Kris From owner-cvs-src@FreeBSD.ORG Mon Oct 29 20:15:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FDD916A468; Mon, 29 Oct 2007 20:15:52 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3B54C13C4C2; Mon, 29 Oct 2007 20:15:52 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TKFqTV038204; Mon, 29 Oct 2007 20:15:52 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TKFq3t038203; Mon, 29 Oct 2007 20:15:52 GMT (envelope-from sam) Message-Id: <200710292015.l9TKFq3t038203@repoman.freebsd.org> From: Sam Leffler Date: Mon, 29 Oct 2007 20:15:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/usb if_zyd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 20:15:52 -0000 sam 2007-10-29 20:15:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb if_zyd.c Log: MFC 1.6: fix an incorrect setting of `retry times' in case of zd1211b Submitted by: Weongyo Jeong Approved by: re (kensmith) Revision Changes Path 1.4.2.1 +1 -1 src/sys/dev/usb/if_zyd.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 20:45:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06A2F16A417; Mon, 29 Oct 2007 20:45:32 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D6E3E13C4B3; Mon, 29 Oct 2007 20:45:31 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TKjVov039854; Mon, 29 Oct 2007 20:45:31 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TKjVu9039853; Mon, 29 Oct 2007 20:45:31 GMT (envelope-from julian) Message-Id: <200710292045.l9TKjVu9039853@repoman.freebsd.org> From: Julian Elischer Date: Mon, 29 Oct 2007 20:45:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 20:45:32 -0000 julian 2007-10-29 20:45:31 UTC FreeBSD src repository Modified files: sys/kern kern_intr.c Log: fix typo in code normally not compiled in. Revision Changes Path 1.153 +1 -1 src/sys/kern/kern_intr.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:01:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 507DE16A46B; Mon, 29 Oct 2007 21:01:48 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 42CCF13C4BB; Mon, 29 Oct 2007 21:01:48 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TL1mGl049562; Mon, 29 Oct 2007 21:01:48 GMT (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TL1mAE049561; Mon, 29 Oct 2007 21:01:48 GMT (envelope-from kris) Message-Id: <200710292101.l9TL1mAE049561@repoman.freebsd.org> From: Kris Kennaway Date: Mon, 29 Oct 2007 21:01:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:01:48 -0000 kris 2007-10-29 21:01:47 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c lib/libkse/thread thr_mutex.c include pthread.h Log: Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. This is also implemented in glibc and is used by a number of existing applications (mysql, firefox, etc). This mutex type is a default mutex with the additional property that it spins briefly when attempting to acquire a contested lock, doing trylock operations in userland before entering the kernel to block if eventually unsuccessful. The expectation is that applications requesting this mutex type know that the mutex is likely to be only held for very brief periods, so it is faster to spin in userland and probably succeed in acquiring the mutex, than to enter the kernel and sleep, only to be woken up almost immediately. This can help significantly in certain cases when pthread mutexes are heavily contended and held for brief durations (such as mysql). Spin up to 200 times before entering the kernel, which represents only a few us on modern CPUs. No performance degradation was observed with this value and it is sufficient to avoid a large performance drop in mysql performance in the heavily contended pthread mutex case. The libkse implementation is a NOP. Reviewed by: jeff MFC after: 3 days Revision Changes Path 1.41 +2 -0 src/include/pthread.h 1.54 +3 -0 src/lib/libkse/thread/thr_mutex.c 1.55 +29 -0 src/lib/libthr/thread/thr_mutex.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:01:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2650116A580; Mon, 29 Oct 2007 21:01:51 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0173413C4AA; Mon, 29 Oct 2007 21:01:51 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TL1oq5049589; Mon, 29 Oct 2007 21:01:50 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TL1oK5049588; Mon, 29 Oct 2007 21:01:50 GMT (envelope-from imp) Message-Id: <200710292101.l9TL1oK5049588@repoman.freebsd.org> From: Warner Losh Date: Mon, 29 Oct 2007 21:01:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/at91 ohci_atmelarm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:01:51 -0000 imp 2007-10-29 21:01:50 UTC FreeBSD src repository Modified files: sys/arm/at91 ohci_atmelarm.c Log: kill commented out line of code. Revision Changes Path 1.4 +0 -1 src/sys/arm/at91/ohci_atmelarm.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:10:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C951316A419; Mon, 29 Oct 2007 21:10:03 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A135C13C4BC; Mon, 29 Oct 2007 21:10:03 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TLA3QR051256; Mon, 29 Oct 2007 21:10:03 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TLA3Dr051255; Mon, 29 Oct 2007 21:10:03 GMT (envelope-from emaste) Message-Id: <200710292110.l9TLA3Dr051255@repoman.freebsd.org> From: Ed Maste Date: Mon, 29 Oct 2007 21:10:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern kern_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:10:04 -0000 emaste 2007-10-29 21:10:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_intr.c Log: MFC to RELENG_6 part of kern_intr.c revision 1.142: - Don't do the interrupt storm protection stuff for software interrupt handlers. Revision Changes Path 1.124.2.8 +2 -1 src/sys/kern/kern_intr.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:11:55 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8BBA16A41A; Mon, 29 Oct 2007 21:11:55 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C26EB13C4A7; Mon, 29 Oct 2007 21:11:55 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TLBttW051561; Mon, 29 Oct 2007 21:11:55 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TLBtvb051560; Mon, 29 Oct 2007 21:11:55 GMT (envelope-from marius) Message-Id: <200710292111.l9TLBtvb051560@repoman.freebsd.org> From: Marius Strobl Date: Mon, 29 Oct 2007 21:11:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii gentbi.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:11:56 -0000 marius 2007-10-29 21:11:55 UTC FreeBSD src repository Modified files: sys/dev/mii gentbi.c Log: - Remove MIIF_NOISOLATE; there's generally no reason to let gentbi(4) set this flag and it was more or less just copied and pasted from another FreeBSD driver while porting this driver from NetBSD, whose gentbi(4) doesn't set MIIF_NOISOLATE either. - Fix spelling in a comment. OK'ed by: yongari MFC after: 3 months Revision Changes Path 1.4 +1 -2 src/sys/dev/mii/gentbi.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:15:59 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88AC616A468 for ; Mon, 29 Oct 2007 21:15:59 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D1B9513C4C2 for ; Mon, 29 Oct 2007 21:15:58 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 29 Oct 2007 20:48:16 -0000 Received: from p54A3ECF4.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.236.244] by mail.gmx.net (mp004) with SMTP; 29 Oct 2007 21:48:16 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX18UuDU1LyYUxNCZiIMVog9/xGf/HJHjf2rRW6UZ8V +epcDLrhSHVeGY Message-ID: <47264710.2000500@gmx.de> Date: Mon, 29 Oct 2007 21:48:16 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: "Andrey A. Chernov" References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> In-Reply-To: <200710272232.l9RMWSbK072082@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:15:59 -0000 Andrey A. Chernov wrote: > ache 2007-10-27 22:32:28 UTC > > FreeBSD src repository > > Modified files: > include _ctype.h > Log: > Micro-optimization of prev. commit, change > (_c < 0 || _c >= 128) to (_c & ~0x7F) > > Revision Changes Path > 1.33 +1 -1 src/include/_ctype.h Actually this is rather a micro-pessimisation. Every compiler worth its money transforms the range check into single unsigned comparison. The latter test on the other hand on x86 gets probably transformed into a test instruction. This instruction has no form with sign extended 8bit immediate, but only with 32bit immediate. This results in a significantly longer opcode (three bytes more) than a single (unsigned)_c > 127, which a sane compiler produces. I suspect some RISC machines need one more instruction for the "micro-optimised" code, too. In theory GCC could transform the _c & ~0x7F back into a (unsigned)_c > 127, but it does not do this (the only compiler I found, which does this transformation, is LLVM). Further IMO it is hard to decipher what _c & ~0x7F is supposed to do. Christoph From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:19:56 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D587416A418; Mon, 29 Oct 2007 21:19:56 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9508313C49D; Mon, 29 Oct 2007 21:19:56 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.1/8.14.1/NETPLEX) with ESMTP id l9TLJUxb010049; Mon, 29 Oct 2007 17:19:30 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.netplex.net [204.213.176.10]); Mon, 29 Oct 2007 17:19:30 -0400 (EDT) Date: Mon, 29 Oct 2007 17:19:30 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kris Kennaway In-Reply-To: <200710292101.l9TL1mAE049561@repoman.freebsd.org> Message-ID: References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:19:56 -0000 On Mon, 29 Oct 2007, Kris Kennaway wrote: > kris 2007-10-29 21:01:47 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_mutex.c > lib/libkse/thread thr_mutex.c > include pthread.h > Log: > Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. This > is also implemented in glibc and is used by a number of existing > applications (mysql, firefox, etc). > > This mutex type is a default mutex with the additional property that > it spins briefly when attempting to acquire a contested lock, doing > trylock operations in userland before entering the kernel to block if > eventually unsuccessful. > > The expectation is that applications requesting this mutex type know > that the mutex is likely to be only held for very brief periods, so it > is faster to spin in userland and probably succeed in acquiring the > mutex, than to enter the kernel and sleep, only to be woken up almost > immediately. This can help significantly in certain cases when > pthread mutexes are heavily contended and held for brief durations > (such as mysql). > > Spin up to 200 times before entering the kernel, which represents only > a few us on modern CPUs. No performance degradation was observed with > this value and it is sufficient to avoid a large performance drop in > mysql performance in the heavily contended pthread mutex case. > > The libkse implementation is a NOP. The libkse implementation already spins for a bit. The default number of spins is 500. I'm not sure that another mutex type is warranted, the default mutex implementation should be adaptive I think. -- DE From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:29:37 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10C1F16A417; Mon, 29 Oct 2007 21:29:37 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id E809413C4B2; Mon, 29 Oct 2007 21:29:34 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <472650BF.5060706@FreeBSD.org> Date: Mon, 29 Oct 2007 22:29:35 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Daniel Eischen References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:29:37 -0000 Daniel Eischen wrote: > On Mon, 29 Oct 2007, Kris Kennaway wrote: > >> kris 2007-10-29 21:01:47 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libthr/thread thr_mutex.c >> lib/libkse/thread thr_mutex.c >> include pthread.h >> Log: >> Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. This >> is also implemented in glibc and is used by a number of existing >> applications (mysql, firefox, etc). >> >> This mutex type is a default mutex with the additional property that >> it spins briefly when attempting to acquire a contested lock, doing >> trylock operations in userland before entering the kernel to block if >> eventually unsuccessful. >> >> The expectation is that applications requesting this mutex type know >> that the mutex is likely to be only held for very brief periods, so it >> is faster to spin in userland and probably succeed in acquiring the >> mutex, than to enter the kernel and sleep, only to be woken up almost >> immediately. This can help significantly in certain cases when >> pthread mutexes are heavily contended and held for brief durations >> (such as mysql). >> >> Spin up to 200 times before entering the kernel, which represents only >> a few us on modern CPUs. No performance degradation was observed with >> this value and it is sufficient to avoid a large performance drop in >> mysql performance in the heavily contended pthread mutex case. >> >> The libkse implementation is a NOP. > > The libkse implementation already spins for a bit. The default > number of spins is 500. OK, cool. > I'm not sure that another mutex type is warranted, the default > mutex implementation should be adaptive I think. The point being that certain existing applications already know about this mutex name and will use it automatically when it exists. I am a bit wary of making this the default type though. The algorithm is a pessimization when the conditions described above are not true. Kris From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:39:04 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 709E716A468; Mon, 29 Oct 2007 21:39:04 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3EB13C4A6; Mon, 29 Oct 2007 21:39:04 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TLd4uj053075; Mon, 29 Oct 2007 21:39:04 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TLd403053074; Mon, 29 Oct 2007 21:39:04 GMT (envelope-from peter) Message-Id: <200710292139.l9TLd403053074@repoman.freebsd.org> From: Peter Wemm Date: Mon, 29 Oct 2007 21:39:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/crypto/heimdal/appl/su Makefile.am su.c src/kerberos5/usr.bin/ksu Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:39:04 -0000 peter 2007-10-29 21:39:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) crypto/heimdal/appl/su Makefile.am su.c kerberos5/usr.bin/ksu Makefile Log: MFC: remove some _FREEFALL_CONFIG hacks. We don't use ksu on the freebsd.org cluster any more. Approved by: re (kensmith) Revision Changes Path 1.2.10.1 +1 -5 src/crypto/heimdal/appl/su/Makefile.am 1.2.10.1 +3 -15 src/crypto/heimdal/appl/su/su.c 1.16.10.1 +1 -4 src/kerberos5/usr.bin/ksu/Makefile From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:43:35 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14B3916A421; Mon, 29 Oct 2007 21:43:35 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 94CE713C447; Mon, 29 Oct 2007 21:43:34 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.1/8.14.1/NETPLEX) with ESMTP id l9TLh2Zr024857; Mon, 29 Oct 2007 17:43:02 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.netplex.net [204.213.176.10]); Mon, 29 Oct 2007 17:43:03 -0400 (EDT) Date: Mon, 29 Oct 2007 17:43:02 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kris Kennaway In-Reply-To: <472650BF.5060706@FreeBSD.org> Message-ID: References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <472650BF.5060706@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:43:35 -0000 On Mon, 29 Oct 2007, Kris Kennaway wrote: > Daniel Eischen wrote: >> >> The libkse implementation already spins for a bit. The default >> number of spins is 500. > > OK, cool. > >> I'm not sure that another mutex type is warranted, the default >> mutex implementation should be adaptive I think. > > The point being that certain existing applications already know about this > mutex name and will use it automatically when it exists. > > I am a bit wary of making this the default type though. The algorithm is a > pessimization when the conditions described above are not true. I agree, and it applies a little to the KSE approach also. Spinning is mostly a hack for not being able to tell in userland if a thread is swapped in/out or is on another CPU. If you solve that problem, then you can make the default mutex adaptive. In KSE, it was a little easier, because we could set a flag in the thread's mailbox to tell the scheduler that it was in a critical region, so no other thread from that process would be run on that KSE until it was out of the critical region. Low-level locks in KSE were always taken while in these critical regions, so if it tried to acquire a lock that was already taken, it knew it must be running on a different KSE (and in theory a different CPU, although binding KSEs to CPUs was never implemented). Even with this approach, libkse still didn't know if the thread was active or swapped out on another CPU. It would have been cool to have the scheduler indicate this with a flag in the thread's mailbox. -- DE From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:47:56 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C00C716A41A; Mon, 29 Oct 2007 21:47:56 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB9E13C4B0; Mon, 29 Oct 2007 21:47:56 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TLluer053680; Mon, 29 Oct 2007 21:47:56 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TLlued053679; Mon, 29 Oct 2007 21:47:56 GMT (envelope-from peter) Message-Id: <200710292147.l9TLlued053679@repoman.freebsd.org> From: Peter Wemm Date: Mon, 29 Oct 2007 21:47:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/crypto/heimdal/appl/su Makefile.am su.c src/kerberos5/usr.bin/ksu Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:47:56 -0000 peter 2007-10-29 21:47:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) crypto/heimdal/appl/su Makefile.am su.c kerberos5/usr.bin/ksu Makefile Log: MFC: remove some no-longer-needed _FREEFALL_CONFIG hacks. Revision Changes Path 1.2.2.1 +1 -5 src/crypto/heimdal/appl/su/Makefile.am 1.2.2.1 +3 -15 src/crypto/heimdal/appl/su/su.c 1.16.2.1 +1 -4 src/kerberos5/usr.bin/ksu/Makefile From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:49:48 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0646D16A41A for ; Mon, 29 Oct 2007 21:49:48 +0000 (UTC) (envelope-from paul.m.saab@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.182]) by mx1.freebsd.org (Postfix) with ESMTP id A16DD13C4B6 for ; Mon, 29 Oct 2007 21:49:47 +0000 (UTC) (envelope-from paul.m.saab@gmail.com) Received: by el-out-1112.google.com with SMTP id s27so465119ele for ; Mon, 29 Oct 2007 14:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=sU7lqnIS9EuniwHDcmQuB00K7W76CPBicsNLIKayL7Y=; b=aZ9MSAuU/qkUfp6kjlnjlBuE31O90K48Bh60+akgukZYxso6Xo+IHNhLkmyMWNYw2oj85ttNCNq1U+uoSniNmGZyoUWcGyMQ3imX9PBCkHCtcFmbxgXkQqLhzNgvo2TPO3K6WkiDKzESc4GAq08BtYV8dK3M5oOzLAkq6S69/uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=E2DaNRptIfKZFeRA89BsF2h7BQtMhfGTdp6UN09So6OlEQCtFuxQcj2nqlisBJqYicvwEtter/8iTcOktvyXuCs7LjNJPSWlronFhhuDKD3hGmGasyJRBZCNNBOPtZdz5ErmeDhvCAOpX0c8jQyFBYzIbv0hp4dectHYPlo8Zrc= Received: by 10.142.241.10 with SMTP id o10mr1525714wfh.1193691212006; Mon, 29 Oct 2007 13:53:32 -0700 (PDT) Received: by 10.142.103.20 with HTTP; Mon, 29 Oct 2007 13:53:31 -0700 (PDT) Message-ID: <5c0ff6a70710291353o681a324dt2309ac6e861fe9b2@mail.gmail.com> Date: Mon, 29 Oct 2007 13:53:31 -0700 From: "Paul Saab" Sender: paul.m.saab@gmail.com To: "Alexander Kabaev" In-Reply-To: <20071025081700.63a4d71b@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710121709.l9CH9iu7075715__38270.1859264218$1192209730$gmane$org@repoman.freebsd.org> <47203DFE.2070800@chistydom.ru> <20071025081700.63a4d71b@kan.dnsalias.net> X-Google-Sender-Auth: 3c44cb51f3e58cd6 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Alexey Popov Subject: Re: cvs commit: src/sys/boot/i386/libi386 Makefile pxe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:49:48 -0000 On 10/25/07, Alexander Kabaev wrote: > On Thu, 25 Oct 2007 10:55:58 +0400 > Alexey Popov wrote: > > > Hi. > > > > Paul Saab wrote: > > > ps 2007-10-12 17:09:44 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/boot/i386/libi386 Makefile pxe.c > > > Log: > > > Do not attempt to make an NFS rpc call if using tftp > > > > > > PR: kern/91720 > > > Submitted by: Ruben Kerkhof > > > > > > Revision Changes Path > > > 1.43 +7 -0 src/sys/boot/i386/libi386/Makefile > > > 1.23 +2 -0 src/sys/boot/i386/libi386/pxe.c > > > > Didn't you break feature introduced in rev 1.21 of pxe.c ??? > > === > > Allow kernels loaded by pxeboot, which was compiled with > > LOADER_TFTP_SUPPORT, to stll be able to mount NFS root as prescribed > > by DCHP configuration. Since pxeboot is using TFTP to get to the > > files, pxeboot can not rely on NFS to provide it a root directory > > hande as a side effect. pxeboot has to make RPC mount call itself. > > === > > > > With best regards, > > Alexey Popov > > Paul did break it indeed. *sigh* .. I had some other people send me numerous emails about this and I didn't bother looking at the previous commit logs. Sorry about that. I'll come up with a solution and commit it soon. I assumed that the individual who pestered me about this had done the research. From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:52:13 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE65C16A420; Mon, 29 Oct 2007 21:52:13 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id E55C613C48D; Mon, 29 Oct 2007 21:52:12 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4726560F.5050804@FreeBSD.org> Date: Mon, 29 Oct 2007 22:52:15 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Daniel Eischen References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <472650BF.5060706@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:52:14 -0000 Daniel Eischen wrote: > On Mon, 29 Oct 2007, Kris Kennaway wrote: > >> Daniel Eischen wrote: >>> >>> The libkse implementation already spins for a bit. The default >>> number of spins is 500. >> >> OK, cool. >> >>> I'm not sure that another mutex type is warranted, the default >>> mutex implementation should be adaptive I think. >> >> The point being that certain existing applications already know about >> this mutex name and will use it automatically when it exists. >> >> I am a bit wary of making this the default type though. The algorithm >> is a pessimization when the conditions described above are not true. > > I agree, and it applies a little to the KSE approach also. > Spinning is mostly a hack for not being able to tell in > userland if a thread is swapped in/out or is on another > CPU. If you solve that problem, then you can make the > default mutex adaptive. Yeah. It looks like Solaris does this. In principle you could do it cheaply with a shared page, I'm not sure what Solaris does. One further optimization that can be done is for umtx to also spin when the mutex holder is running instead of sleeping immediately. Jeff and I hope to look at this. Kris From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:58:54 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4ED316A417; Mon, 29 Oct 2007 21:58:54 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id A459213C48A; Mon, 29 Oct 2007 21:58:54 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.1/8.14.1/NETPLEX) with ESMTP id l9TLwWb5004025; Mon, 29 Oct 2007 17:58:32 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.netplex.net [204.213.176.10]); Mon, 29 Oct 2007 17:58:32 -0400 (EDT) Date: Mon, 29 Oct 2007 17:58:32 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kris Kennaway In-Reply-To: <4726560F.5050804@FreeBSD.org> Message-ID: References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <472650BF.5060706@FreeBSD.org> <4726560F.5050804@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:58:55 -0000 On Mon, 29 Oct 2007, Kris Kennaway wrote: > Daniel Eischen wrote: >> On Mon, 29 Oct 2007, Kris Kennaway wrote: >> >>> Daniel Eischen wrote: >>>> >>>> The libkse implementation already spins for a bit. The default >>>> number of spins is 500. >>> >>> OK, cool. >>> >>>> I'm not sure that another mutex type is warranted, the default >>>> mutex implementation should be adaptive I think. >>> >>> The point being that certain existing applications already know about this >>> mutex name and will use it automatically when it exists. >>> >>> I am a bit wary of making this the default type though. The algorithm is >>> a pessimization when the conditions described above are not true. >> >> I agree, and it applies a little to the KSE approach also. >> Spinning is mostly a hack for not being able to tell in >> userland if a thread is swapped in/out or is on another >> CPU. If you solve that problem, then you can make the >> default mutex adaptive. > > Yeah. It looks like Solaris does this. In principle you could do it cheaply > with a shared page, I'm not sure what Solaris does. I think we should add back the thread mailbox for libthr threads. I was in favor of keeping the mailbox for libthr, and this might be a good use for it. -- DE From owner-cvs-src@FreeBSD.ORG Mon Oct 29 22:06:48 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C47A616A46E; Mon, 29 Oct 2007 22:06:48 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 801F013C4A3; Mon, 29 Oct 2007 22:06:47 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4726597A.6000004@FreeBSD.org> Date: Mon, 29 Oct 2007 23:06:50 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Daniel Eischen References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <472650BF.5060706@FreeBSD.org> <4726560F.5050804@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 22:06:48 -0000 Daniel Eischen wrote: > On Mon, 29 Oct 2007, Kris Kennaway wrote: > >> Daniel Eischen wrote: >>> On Mon, 29 Oct 2007, Kris Kennaway wrote: >>> >>>> Daniel Eischen wrote: >>>>> >>>>> The libkse implementation already spins for a bit. The default >>>>> number of spins is 500. >>>> >>>> OK, cool. >>>> >>>>> I'm not sure that another mutex type is warranted, the default >>>>> mutex implementation should be adaptive I think. >>>> >>>> The point being that certain existing applications already know >>>> about this mutex name and will use it automatically when it exists. >>>> >>>> I am a bit wary of making this the default type though. The >>>> algorithm is a pessimization when the conditions described above are >>>> not true. >>> >>> I agree, and it applies a little to the KSE approach also. >>> Spinning is mostly a hack for not being able to tell in >>> userland if a thread is swapped in/out or is on another >>> CPU. If you solve that problem, then you can make the >>> default mutex adaptive. >> >> Yeah. It looks like Solaris does this. In principle you could do it >> cheaply with a shared page, I'm not sure what Solaris does. > > I think we should add back the thread mailbox for libthr threads. > I was in favor of keeping the mailbox for libthr, and this might > be a good use for it. I am not familiar with that code, can you point me to the change that removed it? Kris From owner-cvs-src@FreeBSD.ORG Mon Oct 29 22:19:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93E3016A417; Mon, 29 Oct 2007 22:19:10 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7043713C4CB; Mon, 29 Oct 2007 22:19:10 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TMJ9TH056492; Mon, 29 Oct 2007 22:19:09 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TMJ95c056491; Mon, 29 Oct 2007 22:19:09 GMT (envelope-from peter) Message-Id: <200710292219.l9TMJ95c056491@repoman.freebsd.org> From: Peter Wemm Date: Mon, 29 Oct 2007 22:19:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/conf DEFAULTS NOTES src/sys/i386/conf DEFAULTS NOTES X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 22:19:10 -0000 peter 2007-10-29 22:19:08 UTC FreeBSD src repository Modified files: sys/amd64/conf DEFAULTS NOTES sys/i386/conf DEFAULTS NOTES Log: Move nvram out of DEFAULTS. There really isn't a lot of justification for consuming the memory. The module works just fine in the unlikely case that this is needed. It can still be compiled into a custom kernel. Revision Changes Path 1.12 +0 -1 src/sys/amd64/conf/DEFAULTS 1.70 +3 -0 src/sys/amd64/conf/NOTES 1.12 +0 -1 src/sys/i386/conf/DEFAULTS 1.1245 +3 -0 src/sys/i386/conf/NOTES From owner-cvs-src@FreeBSD.ORG Mon Oct 29 22:22:18 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5E1C16A469; Mon, 29 Oct 2007 22:22:18 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7C85313C4AC; Mon, 29 Oct 2007 22:22:18 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.1/8.14.1/NETPLEX) with ESMTP id l9TMBT0i011531; Mon, 29 Oct 2007 18:11:29 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.netplex.net [204.213.176.10]); Mon, 29 Oct 2007 18:11:29 -0400 (EDT) Date: Mon, 29 Oct 2007 18:11:29 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Kris Kennaway In-Reply-To: <4726597A.6000004@FreeBSD.org> Message-ID: References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <472650BF.5060706@FreeBSD.org> <4726560F.5050804@FreeBSD.org> <4726597A.6000004@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 22:22:19 -0000 On Mon, 29 Oct 2007, Kris Kennaway wrote: > Daniel Eischen wrote: >> On Mon, 29 Oct 2007, Kris Kennaway wrote: >> >>> Daniel Eischen wrote: >>>> On Mon, 29 Oct 2007, Kris Kennaway wrote: >>>> >>>>> Daniel Eischen wrote: >>>>>> >>>>>> The libkse implementation already spins for a bit. The default >>>>>> number of spins is 500. >>>>> >>>>> OK, cool. >>>>> >>>>>> I'm not sure that another mutex type is warranted, the default >>>>>> mutex implementation should be adaptive I think. >>>>> >>>>> The point being that certain existing applications already know about >>>>> this mutex name and will use it automatically when it exists. >>>>> >>>>> I am a bit wary of making this the default type though. The algorithm >>>>> is a pessimization when the conditions described above are not true. >>>> >>>> I agree, and it applies a little to the KSE approach also. >>>> Spinning is mostly a hack for not being able to tell in >>>> userland if a thread is swapped in/out or is on another >>>> CPU. If you solve that problem, then you can make the >>>> default mutex adaptive. >>> >>> Yeah. It looks like Solaris does this. In principle you could do it >>> cheaply with a shared page, I'm not sure what Solaris does. >> >> I think we should add back the thread mailbox for libthr threads. >> I was in favor of keeping the mailbox for libthr, and this might >> be a good use for it. > > I am not familiar with that code, can you point me to the change that removed > it? This was when David revised libthr, so it never really had a mailbox. libkse has the mailbox, and I would have preferred keeping a similar interface for libthr (specifying it on thr_create(2)). You can look at how it works for KSE as an example. -- DE From owner-cvs-src@FreeBSD.ORG Mon Oct 29 22:26:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B52216A420; Mon, 29 Oct 2007 22:26:39 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0D25213C4B3; Mon, 29 Oct 2007 22:26:39 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TMQbKM057775; Mon, 29 Oct 2007 22:26:37 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TMQb31057774; Mon, 29 Oct 2007 22:26:37 GMT (envelope-from peter) Message-Id: <200710292226.l9TMQb31057774@repoman.freebsd.org> From: Peter Wemm Date: Mon, 29 Oct 2007 22:26:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/amd64/conf NOTES src/sys/amd64/include clock.h src/sys/amd64/isa clock.c src/sys/conf files.amd64 files.i386 src/sys/dev/nvram nvram.c src/sys/i386/conf NOTES src/sys/i386/include clock.h src/sys/i386/isa clock.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 22:26:39 -0000 peter 2007-10-29 22:26:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/conf NOTES sys/amd64/include clock.h sys/amd64/isa clock.c sys/conf files.amd64 files.i386 sys/i386/conf NOTES sys/i386/include clock.h sys/i386/isa clock.c sys/modules Makefile Added files: (Branch: RELENG_7) sys/dev/nvram nvram.c sys/modules/nvram Makefile Log: MFC: split nvram out of isa/clock.c into its own device (default to off). This matches the 6.x and earlier behavior where there is no (marginally useful) /dev/nvram. When it was in isa/clock.c, it was mandatory. Approved by: re (kensmith) Revision Changes Path 1.69.2.1 +3 -0 src/sys/amd64/conf/NOTES 1.54.2.1 +2 -1 src/sys/amd64/include/clock.h 1.234.2.1 +1 -96 src/sys/amd64/isa/clock.c 1.107.2.1 +1 -0 src/sys/conf/files.amd64 1.580.2.1 +1 -0 src/sys/conf/files.i386 1.1.2.1 +159 -0 src/sys/dev/nvram/nvram.c (new) 1.1244.2.1 +3 -0 src/sys/i386/conf/NOTES 1.56.2.1 +2 -1 src/sys/i386/include/clock.h 1.239.2.1 +1 -96 src/sys/i386/isa/clock.c 1.540.2.1 +4 -2 src/sys/modules/Makefile 1.1.2.1 +8 -0 src/sys/modules/nvram/Makefile (new) From owner-cvs-src@FreeBSD.ORG Mon Oct 29 22:53:46 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6349A16A417; Mon, 29 Oct 2007 22:53:46 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4029F13C4A3; Mon, 29 Oct 2007 22:53:46 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9TMrk6Y060682; Mon, 29 Oct 2007 22:53:46 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9TMrkM9060681; Mon, 29 Oct 2007 22:53:46 GMT (envelope-from sam) Message-Id: <200710292253.l9TMrkM9060681@repoman.freebsd.org> From: Sam Leffler Date: Mon, 29 Oct 2007 22:53:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 22:53:46 -0000 sam 2007-10-29 22:53:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin Makefile Log: unbreak build on arm: sade is like sysinstall, it cannot be built on an architecture where libdisk is not supported Revision Changes Path 1.332.2.10 +2 -1 src/usr.sbin/Makefile From owner-cvs-src@FreeBSD.ORG Mon Oct 29 23:42:04 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A44D316A49E for ; Mon, 29 Oct 2007 23:42:04 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outA.internet-mail-service.net (outA.internet-mail-service.net [216.240.47.224]) by mx1.freebsd.org (Postfix) with ESMTP id 8979B13C4AA for ; Mon, 29 Oct 2007 23:42:04 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Mon, 29 Oct 2007 16:14:59 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id 3286B126860; Mon, 29 Oct 2007 16:14:59 -0700 (PDT) Message-ID: <47266992.4020605@elischer.org> Date: Mon, 29 Oct 2007 16:15:30 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Daniel Eischen References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <472650BF.5060706@FreeBSD.org> <4726560F.5050804@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, Kris Kennaway , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 23:42:04 -0000 Daniel Eischen wrote: > On Mon, 29 Oct 2007, Kris Kennaway wrote: > >> Daniel Eischen wrote: >>> On Mon, 29 Oct 2007, Kris Kennaway wrote: >>> >>>> Daniel Eischen wrote: >>>>> >>>>> The libkse implementation already spins for a bit. The default >>>>> number of spins is 500. >>>> >>>> OK, cool. >>>> >>>>> I'm not sure that another mutex type is warranted, the default >>>>> mutex implementation should be adaptive I think. >>>> >>>> The point being that certain existing applications already know >>>> about this mutex name and will use it automatically when it exists. >>>> >>>> I am a bit wary of making this the default type though. The >>>> algorithm is a pessimization when the conditions described above are >>>> not true. >>> >>> I agree, and it applies a little to the KSE approach also. >>> Spinning is mostly a hack for not being able to tell in >>> userland if a thread is swapped in/out or is on another >>> CPU. If you solve that problem, then you can make the >>> default mutex adaptive. >> >> Yeah. It looks like Solaris does this. In principle you could do it >> cheaply with a shared page, I'm not sure what Solaris does. > > I think we should add back the thread mailbox for libthr threads. > I was in favor of keeping the mailbox for libthr, and this might > be a good use for it. I have hopes that we can add a per-thread shared page above the stack. (if asked for) From owner-cvs-src@FreeBSD.ORG Tue Oct 30 00:01:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B64116A417; Tue, 30 Oct 2007 00:01:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 52D2E13C4AA; Tue, 30 Oct 2007 00:01:28 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U01SN6070386; Tue, 30 Oct 2007 00:01:28 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U01STV070385; Tue, 30 Oct 2007 00:01:28 GMT (envelope-from rwatson) Message-Id: <200710300001.l9U01STV070385@repoman.freebsd.org> From: Robert Watson Date: Tue, 30 Oct 2007 00:01:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/mac_test mac_test.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 00:01:28 -0000 rwatson 2007-10-30 00:01:28 UTC FreeBSD src repository Modified files: sys/security/mac_test mac_test.c Log: Implement per-object type consistency checks for labels passed to 'internalize' operations rather than using a single common check. Obtained from: TrustedBSD Project Revision Changes Path 1.92 +65 -20 src/sys/security/mac_test/mac_test.c From owner-cvs-src@FreeBSD.ORG Mon Oct 29 20:28:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E54416A421; Mon, 29 Oct 2007 20:28:52 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 4E41D13C4BD; Mon, 29 Oct 2007 20:28:49 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id BF36BEBABEA; Tue, 30 Oct 2007 04:28:34 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 5IHz--E+HrMv; Tue, 30 Oct 2007 04:28:29 +0800 (CST) Received: from LI-Xins-MacBook.local (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 2C6C4EBAAB4; Tue, 30 Oct 2007 04:28:26 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=NjvZTC3tYBNJzfXoTcmHVOKnE7vaunJ3gqmY8Ck+w+ttzTGRqgjGtfvVk2G3BKAwA 9K8jkcKxa3yojT3xCv6BQ== Message-ID: <47264258.4050206@delphij.net> Date: Mon, 29 Oct 2007 13:28:08 -0700 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Kris Kennaway References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <200710261141.51639.jhb@freebsd.org> <1193414454.7390.20.camel@opus.cse.buffalo.edu> <200710261224.41369.jhb@freebsd.org> <1193424434.7390.44.camel@opus.cse.buffalo.edu> <20071026203013.GA99714@dragon.NUXI.org> <1193435169.96540.3.camel@neo.cse.buffalo.edu> <20071027210146.GA37660@dragon.NUXI.org> <4723B431.6010507@FreeBSD.org> <20071029131725.GA74608@dragon.NUXI.org> <47263DE2.3020909@FreeBSD.org> In-Reply-To: <47263DE2.3020909@FreeBSD.org> X-Enigmail-Version: 0.95.5 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig5ED2D808140C9296F11D4FE1" X-Mailman-Approved-At: Tue, 30 Oct 2007 04:25:48 +0000 Cc: Scott Long , src-committers@FreeBSD.org, d@delphij.net, John Baldwin , Andrey Chernov , obrien@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, Ken Smith Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 20:28:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5ED2D808140C9296F11D4FE1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Guys, Just FYI, rafan@ has posted a latest version of patch, which will hopefully fix the ABI compatibility issue, while retaining ache@'s fixes to utf-8 handling. The drawback is that we will lose some inline macros which could (presumably) give a performance penalty for heavy ctype(3) users, but we can switch to the -CURRENT implementation in the future, without breaking forward compatibility of this version. Basically this means that: With 602113, newly compiled binaries won't work for older RELENG_6 system= s; With 602114 (I think we will use this __FreeBSDversion), newly compiled binaries can work for older RELENG_6 systems including 602113; 602113 binaries can work fine on 602114 systems. I think this is the only possible approach that we can adopt for use right now for RELENG_6, to fulfill the ABI compatibility guidelines without further massive breakage. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig5ED2D808140C9296F11D4FE1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHJkJZOfuToMruuMARCr+WAKCGcw7vYVYyqILFgR7L5bP3bObgTQCePikT KpcmTKc8J1mIWyrSyCf/1pU= =mpp9 -----END PGP SIGNATURE----- --------------enig5ED2D808140C9296F11D4FE1-- From owner-cvs-src@FreeBSD.ORG Tue Oct 30 00:37:36 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48AFB16A418; Tue, 30 Oct 2007 00:37:36 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2564C13C49D; Tue, 30 Oct 2007 00:37:36 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U0ba0u073372; Tue, 30 Oct 2007 00:37:36 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U0bZ2M073371; Tue, 30 Oct 2007 00:37:35 GMT (envelope-from yongari) Message-Id: <200710300037.l9U0bZ2M073371@repoman.freebsd.org> From: Pyun YongHyeon Date: Tue, 30 Oct 2007 00:37:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii rgephy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 00:37:36 -0000 yongari 2007-10-30 00:37:35 UTC FreeBSD src repository Modified files: sys/dev/mii rgephy.c Log: Setting sc->mii_anegticks to MII_ANEGTICKS_GIGE in rgephy_attach() is redundant. mii_phy_add_media() already takes care of that. Pointed out by: marius Revision Changes Path 1.18 +0 -1 src/sys/dev/mii/rgephy.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 00:49:41 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDA0516A418; Tue, 30 Oct 2007 00:49:41 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CA4F113C48E; Tue, 30 Oct 2007 00:49:41 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U0nfOr082636; Tue, 30 Oct 2007 00:49:41 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U0nfvs082635; Tue, 30 Oct 2007 00:49:41 GMT (envelope-from sam) Message-Id: <200710300049.l9U0nfvs082635@repoman.freebsd.org> From: Sam Leffler Date: Tue, 30 Oct 2007 00:49:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 00:49:42 -0000 sam 2007-10-30 00:49:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/nfsclient bootp_subr.c nfs_diskless.c nfs_vfsops.c nfsdiskless.h Log: MFC: consolidate parsing of nfs root mount options in one place and handle all options; this enables things like TCP mounts Revision Changes Path 1.64.2.2 +3 -40 src/sys/nfsclient/bootp_subr.c 1.11.2.3 +66 -9 src/sys/nfsclient/nfs_diskless.c 1.177.2.8 +7 -2 src/sys/nfsclient/nfs_vfsops.c 1.17.2.1 +1 -0 src/sys/nfsclient/nfsdiskless.h From owner-cvs-src@FreeBSD.ORG Tue Oct 30 01:02:20 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ED6C16A49C for ; Tue, 30 Oct 2007 01:02:20 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id EFBB113C481 for ; Tue, 30 Oct 2007 01:02:19 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2355660waf for ; Mon, 29 Oct 2007 18:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=YrHB4XytpVMG2Jrxlq96ZriNG+NpZjFGFoKohftQINI=; b=mWpdEwAxOKmZ1Nk8SnEWbrOUeDOFlHj5jryDdKkM2fENdBcv6ln2RJTEkoFgGC/vy3eQzt3FVf6vnsc++nPGl5ogRYZrRFlpDeL3ZUt5D1+WjzKuA5+LvheCoYm//JxjKrWakSlVymyzWlpIVKd/rIkmYFGHhV0GlqOdBIy7sS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=HMCZi8Mc2vgUzJAK/nuI0qoKyCr7LUZEY4pTUJEg7nkCHuSDlNpecdScueWo6FbbTV/CxQhjkJtAAeXIwdaINnqQL2ipyPeNS3/l6qQvFMlw5vW+T7ryvm10yMrjOcabpfLgDLHCLar+ZJEHtB8sk/QBF/kW4F+jHm1blK9iq2A= Received: by 10.114.202.15 with SMTP id z15mr5712666waf.1193706121109; Mon, 29 Oct 2007 18:02:01 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id n37sm14345482wag.2007.10.29.18.01.55 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Oct 2007 18:01:59 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l9U11ntt038161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Oct 2007 10:01:49 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l9U11mYp038160; Tue, 30 Oct 2007 10:01:48 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 30 Oct 2007 10:01:48 +0900 From: Pyun YongHyeon To: Abdullah Ibn Hamad Al-Marri Message-ID: <20071030010148.GB37693@cdnetworks.co.kr> References: <252030.87761.qm@web33715.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <252030.87761.qm@web33715.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Pyun YongHyeon Subject: Re: cvs commit: src/sys/dev/mii miidevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 01:02:20 -0000 On Sun, Oct 28, 2007 at 11:45:10PM -0700, Abdullah Ibn Hamad Al-Marri wrote: [...] > > Modified files: > > sys/dev/mii miidevs > > Log: > > Add a newer RTL8211B(L) PHY. > > [...] > > Pyun, > > Thank you! > > Could you please MFC it to RELENG_7 too? > Yes, that's plan. Let's see how re says about that. -- Regards, Pyun YongHyeon From owner-cvs-src@FreeBSD.ORG Tue Oct 30 01:30:42 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFDA616A420; Tue, 30 Oct 2007 01:30:42 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E45F813C4B3; Tue, 30 Oct 2007 01:30:42 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U1Ugqm086372; Tue, 30 Oct 2007 01:30:42 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U1Ugtv086371; Tue, 30 Oct 2007 01:30:42 GMT (envelope-from rafan) Message-Id: <200710300130.l9U1Ugtv086371@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 30 Oct 2007 01:30:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 01:30:43 -0000 rafan 2007-10-30 01:30:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) include _ctype.h Log: Restore ctype(3) ABI forward compatibility in 6.x world. This was broken with last ctype(3) single-byte and multi-byte separation for fixing operating on UTF-8 locale. To be specific, we introduced a new symbol in libc. And this symbol is referred via inline functions here. So, you can not run a binary built with this version of libc on an older system. To restore the compatibility, make these functions built as non-inlined form (see lib/libc/nomarco.c) and MFC rev 1.32 which drops the usage of that symbol in question for __isctype(). As this may impact performance, I only intend to fix in 6.x, but not 7 (not yet released) and 8 (it's HEAD). Discussed on: cvs-src Requested by: scottl Reviewed by: ache, delphij Approved by: re (kensmith) Revision Changes Path 1.30.2.2 +20 -1 src/include/_ctype.h From owner-cvs-src@FreeBSD.ORG Tue Oct 30 01:54:46 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C76AE16A419; Tue, 30 Oct 2007 01:54:46 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9F34113C4A5; Tue, 30 Oct 2007 01:54:46 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U1sfjl042815; Tue, 30 Oct 2007 01:54:43 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47268F17.1000106@freebsd.org> Date: Tue, 30 Oct 2007 09:55:35 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070516 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> In-Reply-To: <200710292101.l9TL1mAE049561@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 01:54:46 -0000 Kris Kennaway wrote: > kris 2007-10-29 21:01:47 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_mutex.c > lib/libkse/thread thr_mutex.c > include pthread.h > Log: > Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. This > is also implemented in glibc and is used by a number of existing > applications (mysql, firefox, etc). > > This mutex type is a default mutex with the additional property that > it spins briefly when attempting to acquire a contested lock, doing > trylock operations in userland before entering the kernel to block if > eventually unsuccessful. > > The expectation is that applications requesting this mutex type know > that the mutex is likely to be only held for very brief periods, so it > is faster to spin in userland and probably succeed in acquiring the > mutex, than to enter the kernel and sleep, only to be woken up almost > immediately. This can help significantly in certain cases when > pthread mutexes are heavily contended and held for brief durations > (such as mysql). > > Spin up to 200 times before entering the kernel, which represents only > a few us on modern CPUs. No performance degradation was observed with > this value and it is sufficient to avoid a large performance drop in > mysql performance in the heavily contended pthread mutex case. > > The libkse implementation is a NOP. > > Reviewed by: jeff > MFC after: 3 days > > Revision Changes Path > 1.41 +2 -0 src/include/pthread.h > 1.54 +3 -0 src/lib/libkse/thread/thr_mutex.c > 1.55 +29 -0 src/lib/libthr/thread/thr_mutex.c > I am not sure PTHREAD_MUTEX_ADAPTIVE_NP is a correct solution, in fact I think this is Linux crap, shouldn't PTHREAD_PRIO_PROTECT and PTHREAD_PRIO_INHERIT mutex be adaptivly spinned ? also this commit does not change mutex_self_lock() to handle the PTHREAD_MUTEX_ADAPTIVE_NP, what is the PTHREAD_MUTEX_ADAPTIVE_NP definition when the mutex is already locked by the currect thread ? deadlock or return error code ? The spinning loop is also sub-optimized, it runs every spin loop with bus lock instruction. Regards, David Xu From owner-cvs-src@FreeBSD.ORG Tue Oct 30 02:29:37 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B86E16A469; Tue, 30 Oct 2007 02:29:37 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id B270513C4D1; Tue, 30 Oct 2007 02:29:36 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.1/8.14.1/NETPLEX) with ESMTP id l9U2CSrF016633; Mon, 29 Oct 2007 22:12:29 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.netplex.net [204.213.176.10]); Mon, 29 Oct 2007 22:12:29 -0400 (EDT) Date: Mon, 29 Oct 2007 22:12:28 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: David Xu In-Reply-To: <47268F17.1000106@freebsd.org> Message-ID: References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, Kris Kennaway , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 02:29:37 -0000 On Tue, 30 Oct 2007, David Xu wrote: > Kris Kennaway wrote: >> kris 2007-10-29 21:01:47 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libthr/thread thr_mutex.c lib/libkse/thread thr_mutex.c >> include pthread.h Log: >> Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. This >> is also implemented in glibc and is used by a number of existing >> applications (mysql, firefox, etc). >> This mutex type is a default mutex with the additional property that >> it spins briefly when attempting to acquire a contested lock, doing >> trylock operations in userland before entering the kernel to block if >> eventually unsuccessful. >> The expectation is that applications requesting this mutex type know >> that the mutex is likely to be only held for very brief periods, so it >> is faster to spin in userland and probably succeed in acquiring the >> mutex, than to enter the kernel and sleep, only to be woken up almost >> immediately. This can help significantly in certain cases when >> pthread mutexes are heavily contended and held for brief durations >> (such as mysql). >> Spin up to 200 times before entering the kernel, which represents only >> a few us on modern CPUs. No performance degradation was observed with >> this value and it is sufficient to avoid a large performance drop in >> mysql performance in the heavily contended pthread mutex case. >> The libkse implementation is a NOP. >> Reviewed by: jeff >> MFC after: 3 days >> Revision Changes Path >> 1.41 +2 -0 src/include/pthread.h >> 1.54 +3 -0 src/lib/libkse/thread/thr_mutex.c >> 1.55 +29 -0 src/lib/libthr/thread/thr_mutex.c >> > > I am not sure PTHREAD_MUTEX_ADAPTIVE_NP is a correct solution, in fact > I think this is Linux crap, shouldn't PTHREAD_PRIO_PROTECT and > PTHREAD_PRIO_INHERIT mutex be adaptivly spinned ? > also this commit does not change mutex_self_lock() to handle the > PTHREAD_MUTEX_ADAPTIVE_NP, what is the PTHREAD_MUTEX_ADAPTIVE_NP > definition when the mutex is already locked by the currect thread ? > deadlock or return error code ? I tend to agree with the "Linux crap" comment, but I hesitate to use those words considering the recent sensor framework incident ;-) As I said in previous email, I would rather see our default mutex implementations improved instead of adding new interfaces. If it's really necessary in the short term, perhaps an environment variable that can be set to force all mutexes to be adaptive (and when kern.smp.cpus > 1 perhaps?). -- DE From owner-cvs-src@FreeBSD.ORG Tue Oct 30 02:44:47 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8EDE16A418; Tue, 30 Oct 2007 02:44:47 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9650513C4AA; Tue, 30 Oct 2007 02:44:47 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U2igMF044884; Tue, 30 Oct 2007 02:44:44 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47269AD0.3080906@freebsd.org> Date: Tue, 30 Oct 2007 10:45:36 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070516 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Eischen References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Kris Kennaway , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 02:44:47 -0000 Daniel Eischen wrote: > On Tue, 30 Oct 2007, David Xu wrote: > >> I am not sure PTHREAD_MUTEX_ADAPTIVE_NP is a correct solution, in fact >> I think this is Linux crap, shouldn't PTHREAD_PRIO_PROTECT and >> PTHREAD_PRIO_INHERIT mutex be adaptivly spinned ? >> also this commit does not change mutex_self_lock() to handle the >> PTHREAD_MUTEX_ADAPTIVE_NP, what is the PTHREAD_MUTEX_ADAPTIVE_NP >> definition when the mutex is already locked by the currect thread ? >> deadlock or return error code ? > > > I tend to agree with the "Linux crap" comment, but I hesitate > to use those words considering the recent sensor framework > incident ;-) > Isn't this commit an incident too ? :-) if it is not, then we should retire from FreeBSD now, as two thread library maintainers were bypassed. > As I said in previous email, I would rather see our default > mutex implementations improved instead of adding new interfaces. > If it's really necessary in the short term, perhaps an > environment variable that can be set to force all mutexes > to be adaptive (and when kern.smp.cpus > 1 perhaps?). > Yes, an environment variable is good idea. Regards, David Xu From owner-cvs-src@FreeBSD.ORG Tue Oct 30 02:52:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DEBB16A46B; Tue, 30 Oct 2007 02:52:48 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4849013C491; Tue, 30 Oct 2007 02:52:48 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U2qmuT091840; Tue, 30 Oct 2007 02:52:48 GMT (envelope-from nyan@repoman.freebsd.org) Received: (from nyan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U2qmFK091839; Tue, 30 Oct 2007 02:52:48 GMT (envelope-from nyan) Message-Id: <200710300252.l9U2qmFK091839@repoman.freebsd.org> From: Takahashi Yoshihiro Date: Tue, 30 Oct 2007 02:52:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/modules Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 02:52:48 -0000 nyan 2007-10-30 02:52:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules Makefile Log: MFC: revision 1.546 Disable the coretemp and nvram on pc98. Approved by: re (kensmith) Revision Changes Path 1.540.2.2 +2 -2 src/sys/modules/Makefile From owner-cvs-src@FreeBSD.ORG Tue Oct 30 02:56:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6652616A418; Tue, 30 Oct 2007 02:56:32 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4029213C4C8; Tue, 30 Oct 2007 02:56:32 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U2uWmI091968; Tue, 30 Oct 2007 02:56:32 GMT (envelope-from nyan@repoman.freebsd.org) Received: (from nyan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U2uWYm091967; Tue, 30 Oct 2007 02:56:32 GMT (envelope-from nyan) Message-Id: <200710300256.l9U2uWYm091967@repoman.freebsd.org> From: Takahashi Yoshihiro Date: Tue, 30 Oct 2007 02:56:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/modules Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 02:56:32 -0000 nyan 2007-10-30 02:56:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/modules Makefile Log: MFC: Disable the coretemp on pc98. Revision Changes Path 1.450.2.35 +1 -1 src/sys/modules/Makefile From owner-cvs-src@FreeBSD.ORG Tue Oct 30 03:44:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F229F16A419; Tue, 30 Oct 2007 03:44:10 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C9D4613C4AC; Tue, 30 Oct 2007 03:44:10 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U3iA7L097650; Tue, 30 Oct 2007 03:44:10 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U3iAWx097649; Tue, 30 Oct 2007 03:44:10 GMT (envelope-from kevlo) Message-Id: <200710300344.l9U3iAWx097649@repoman.freebsd.org> From: Kevin Lo Date: Tue, 30 Oct 2007 03:44:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/calendar io.c src/usr.bin/msgs msgs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 03:44:11 -0000 kevlo 2007-10-30 03:44:10 UTC FreeBSD src repository Modified files: usr.bin/calendar io.c usr.bin/msgs msgs.c Log: Never use getenv("HOME") without checking for NULL and non-zero Obtained from: OpenBSD Revision Changes Path 1.22 +4 -1 src/usr.bin/calendar/io.c 1.28 +7 -2 src/usr.bin/msgs/msgs.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 04:44:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C59F16A421; Tue, 30 Oct 2007 04:44:11 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 650E413C4B8; Tue, 30 Oct 2007 04:44:11 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U4iBJi006284; Tue, 30 Oct 2007 04:44:11 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U4iBw5006283; Tue, 30 Oct 2007 04:44:11 GMT (envelope-from rafan) Message-Id: <200710300444.l9U4iBw5006283@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 30 Oct 2007 04:44:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/sys param.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 04:44:11 -0000 rafan 2007-10-30 04:44:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sys param.h Log: - Bump __FreeBSD_version for ctype ABI forward compatibility restored Approved by: re (kensmith) Revision Changes Path 1.244.2.31 +1 -1 src/sys/sys/param.h From owner-cvs-src@FreeBSD.ORG Tue Oct 30 04:45:27 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A6AB16A41B; Tue, 30 Oct 2007 04:45:27 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 534B813C4AA; Tue, 30 Oct 2007 04:45:27 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U4jRfn006409; Tue, 30 Oct 2007 04:45:27 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U4jRiO006408; Tue, 30 Oct 2007 04:45:27 GMT (envelope-from rafan) Message-Id: <200710300445.l9U4jRiO006408@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 30 Oct 2007 04:45:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 04:45:27 -0000 rafan 2007-10-30 04:45:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) include _ctype.h Log: MFC rev. 1.32-1.33 Small improvement for __isctype(): don't use __mb_sb_limit but hardcode 128 here instead, since default locale never define anything above 127 char. Approved by: re (kensmith) Revision Changes Path 1.30.10.2 +1 -1 src/include/_ctype.h From owner-cvs-src@FreeBSD.ORG Tue Oct 30 04:56:38 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1DF616A417 for ; Tue, 30 Oct 2007 04:56:38 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id C5D2913C4B7 for ; Tue, 30 Oct 2007 04:56:38 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2415978waf for ; Mon, 29 Oct 2007 21:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RAsTBKjnsyoGD1z+p7+McJ0RrrAD+7sVWyS6bnKsMJo=; b=H+YN6TV1VFsvbEGANCBtBt+xZbvkA34RZvY2jryqGUY6PStI/SrAtDyfybc01zotZBHqdqoW2RrHxlH34eOne4WqWroa9hy47nmg0dVCkh0x+m76SNNunz/98MmMHl46VQflEo65jNuJLsSoENLsUai1DaQkkm0IXP8r9FYLXsk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FPXZWsRrANV56p6VuEYAIWAV0lMsQG3OXUOCGg3XMyhbyJiXE8mwOXsU/oRHmWPgC/ZtKXI+2jGxjF/z64hB7mY6mkxgyfGrdwM/k94+8QdyBiH4HKebxQ/3vVcu+2D353YcLB7pNcUgPZ+vIEle0g86QuY2nY34RbqQ3W5gTM0= Received: by 10.115.77.1 with SMTP id e1mr5156182wal.1193716842470; Mon, 29 Oct 2007 21:00:42 -0700 (PDT) Received: by 10.114.13.15 with HTTP; Mon, 29 Oct 2007 21:00:42 -0700 (PDT) Message-ID: Date: Mon, 29 Oct 2007 21:00:42 -0700 From: "Kip Macy" To: "David Xu" In-Reply-To: <47269AD0.3080906@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <47269AD0.3080906@freebsd.org> Cc: Daniel Eischen , cvs-src@freebsd.org, Kris Kennaway , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 04:56:39 -0000 On 10/29/07, David Xu wrote: > Daniel Eischen wrote: > > On Tue, 30 Oct 2007, David Xu wrote: > > > >> I am not sure PTHREAD_MUTEX_ADAPTIVE_NP is a correct solution, in fact > >> I think this is Linux crap, shouldn't PTHREAD_PRIO_PROTECT and > >> PTHREAD_PRIO_INHERIT mutex be adaptivly spinned ? > >> also this commit does not change mutex_self_lock() to handle the > >> PTHREAD_MUTEX_ADAPTIVE_NP, what is the PTHREAD_MUTEX_ADAPTIVE_NP > >> definition when the mutex is already locked by the currect thread ? > >> deadlock or return error code ? > > > > > > I tend to agree with the "Linux crap" comment, but I hesitate > > to use those words considering the recent sensor framework > > incident ;-) > > Perhaps. I'm sure Kris would welcome you working more closely with him in his tuning efforts. We should all be thankful both that you're working on libthr and that Kris has put so much time into making FreeBSD a better performing platform. -Kip From owner-cvs-src@FreeBSD.ORG Tue Oct 30 05:03:38 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70E2A16A417; Tue, 30 Oct 2007 05:03:38 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6151813C4BB; Tue, 30 Oct 2007 05:03:38 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U53cOX017346; Tue, 30 Oct 2007 05:03:38 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U53cQZ017345; Tue, 30 Oct 2007 05:03:38 GMT (envelope-from kensmith) Message-Id: <200710300503.l9U53cQZ017345@repoman.freebsd.org> From: Ken Smith Date: Tue, 30 Oct 2007 05:03:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/sysinstall config.c dmenu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 05:03:38 -0000 kensmith 2007-10-30 05:03:38 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall config.c dmenu.c Log: Selecting amd and a few other things in the Networking config section caused a segfault. It turns out that in pre-7.0 systems if you do getenv("amd_enable=YES") it will return the setting of the environment variable "amd_enable" but now it returns NULL. I think I found the places where sysinstall was potentially relying on that old behavior. Fix is to make a copy of the string to be used for the getenv(3) call, look for a '=' character in it, and replace it with '\0' if one is found. Stuck to sysinstall's typical coding standards despite urges to do otherwise. PR: 117642 MFC after: 2 days Revision Changes Path 1.243 +6 -1 src/usr.sbin/sysinstall/config.c 1.48 +8 -4 src/usr.sbin/sysinstall/dmenu.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 05:57:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9068916A41B; Tue, 30 Oct 2007 05:57:37 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC1313C481; Tue, 30 Oct 2007 05:57:37 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U5vbDr020355; Tue, 30 Oct 2007 05:57:37 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U5vbEv020354; Tue, 30 Oct 2007 05:57:37 GMT (envelope-from davidxu) Message-Id: <200710300557.l9U5vbEv020354@repoman.freebsd.org> From: David Xu Date: Tue, 30 Oct 2007 05:57:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_init.c thr_mutex.c thr_private.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 05:57:37 -0000 davidxu 2007-10-30 05:57:37 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_init.c thr_mutex.c thr_private.h Log: Add my recent work of adaptive spin mutex code. Use two environments variable to tune pthread mutex performance: 1. LIBPTHREAD_SPINLOOPS If a pthread mutex is being locked by another thread, this environment variable sets total number of spin loops before the current thread sleeps in kernel, this saves a syscall overhead if the mutex will be unlocked very soon (well written application code). 2. LIBPTHREAD_YIELDLOOPS If a pthread mutex is being locked by other threads, this environment variable sets total number of sched_yield() loops before the currrent thread sleeps in kernel. if a pthread mutex is locked, the current thread gives up cpu, but will not sleep in kernel, this means, current thread does not set contention bit in mutex, but let lock owner to run again if the owner is on kernel's run queue, and when lock owner unlocks the mutex, it does not need to enter kernel and do lots of work to resume mutex waiters, in some cases, this saves lots of syscall overheads for mutex owner. In my practice, sometimes LIBPTHREAD_YIELDLOOPS can massively improve performance than LIBPTHREAD_SPINLOOPS, this depends on application. These two environments are global to all pthread mutex, there is no interface to set them for each pthread mutex, the default values are zero, this means spinning is turned off by default. Revision Changes Path 1.47 +9 -1 src/lib/libthr/thread/thr_init.c 1.56 +37 -45 src/lib/libthr/thread/thr_mutex.c 1.79 +4 -1 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Tue Oct 30 06:44:46 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 2B29E16A46B; Tue, 30 Oct 2007 06:44:46 +0000 (UTC) Date: Tue, 30 Oct 2007 06:44:46 +0000 From: Alexey Dokuchaev To: Christoph Mallon Message-ID: <20071030064446.GC68358@FreeBSD.org> References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <47264710.2000500@gmx.de> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, "Andrey A. Chernov" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 06:44:46 -0000 On Mon, Oct 29, 2007 at 09:48:16PM +0100, Christoph Mallon wrote: > Andrey A. Chernov wrote: > >ache 2007-10-27 22:32:28 UTC > > > > FreeBSD src repository > > > > Modified files: > > include _ctype.h > > Log: > > Micro-optimization of prev. commit, change > > (_c < 0 || _c >= 128) to (_c & ~0x7F) > > > > Revision Changes Path > > 1.33 +1 -1 src/include/_ctype.h > > Further IMO it is hard to decipher what _c & ~0x7F is supposed to do. Seconded. Messing with bits should be avoided when their use masks out the logic behind. Nowadays it's almost always better to trust the compiler to do its optimizing job. ./danfe From owner-cvs-src@FreeBSD.ORG Tue Oct 30 07:36:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8357116A421; Tue, 30 Oct 2007 07:36:07 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id ECB9913C4B5; Tue, 30 Oct 2007 07:36:06 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id l9U7Zfto017212; Tue, 30 Oct 2007 10:35:51 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id l9U7ZBEA017165; Tue, 30 Oct 2007 10:35:11 +0300 (MSK) (envelope-from yar) Date: Tue, 30 Oct 2007 10:35:08 +0300 From: Yar Tikhiy To: Dag-Erling Sm??rgrav Message-ID: <20071030073505.GF27871@comp.chem.msu.su> References: <200710271818.l9RIIwv5041300@repoman.freebsd.org> <86odeit7qh.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86odeit7qh.fsf@ds4.des.no> User-Agent: Mutt/1.5.9i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/rescue/rescue Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 07:36:07 -0000 On Mon, Oct 29, 2007 at 01:39:50PM +0100, Dag-Erling Sm??rgrav wrote: > Yar Tikhiy writes: > > o sed(1) as a multi-purpose text filter -- can do grep's job and much more. > > o head(1), tail(1), and tee(1) as idiomatic text filters. > > you add sed (but not grep) because sed can "do grep's job and much > more", yet you also add head and tail despite the fact that sed can do > their job as well... Sed can't do all things tail can in a straightforward way. And you seem to miss grep in /rescue. :-) -- Yar From owner-cvs-src@FreeBSD.ORG Tue Oct 30 08:22:01 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51B2016A49E; Tue, 30 Oct 2007 08:22:01 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id D634F13C4AC; Tue, 30 Oct 2007 08:21:59 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4726E9AB.4050209@FreeBSD.org> Date: Tue, 30 Oct 2007 09:22:03 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Daniel Eischen References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, David Xu , cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 08:22:01 -0000 Daniel Eischen wrote: > On Tue, 30 Oct 2007, David Xu wrote: > >> Kris Kennaway wrote: >>> kris 2007-10-29 21:01:47 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> lib/libthr/thread thr_mutex.c lib/libkse/thread >>> thr_mutex.c include pthread.h Log: >>> Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. This >>> is also implemented in glibc and is used by a number of existing >>> applications (mysql, firefox, etc). >>> This mutex type is a default mutex with the additional property that >>> it spins briefly when attempting to acquire a contested lock, doing >>> trylock operations in userland before entering the kernel to block if >>> eventually unsuccessful. >>> The expectation is that applications requesting this mutex type know >>> that the mutex is likely to be only held for very brief periods, so it >>> is faster to spin in userland and probably succeed in acquiring the >>> mutex, than to enter the kernel and sleep, only to be woken up almost >>> immediately. This can help significantly in certain cases when >>> pthread mutexes are heavily contended and held for brief durations >>> (such as mysql). >>> Spin up to 200 times before entering the kernel, which represents >>> only >>> a few us on modern CPUs. No performance degradation was observed with >>> this value and it is sufficient to avoid a large performance drop in >>> mysql performance in the heavily contended pthread mutex case. >>> The libkse implementation is a NOP. >>> Reviewed by: jeff >>> MFC after: 3 days >>> Revision Changes Path >>> 1.41 +2 -0 src/include/pthread.h >>> 1.54 +3 -0 src/lib/libkse/thread/thr_mutex.c >>> 1.55 +29 -0 src/lib/libthr/thread/thr_mutex.c >>> >> >> I am not sure PTHREAD_MUTEX_ADAPTIVE_NP is a correct solution, in fact >> I think this is Linux crap, shouldn't PTHREAD_PRIO_PROTECT and >> PTHREAD_PRIO_INHERIT mutex be adaptivly spinned ? Yes, but only if we can do it in a way that does not reduce performance in other cases. As you know, and as I mentioned already to Dan, this is architecturally hard. >> also this commit does not change mutex_self_lock() to handle the >> PTHREAD_MUTEX_ADAPTIVE_NP, what is the PTHREAD_MUTEX_ADAPTIVE_NP >> definition when the mutex is already locked by the currect thread ? >> deadlock or return error code ? As I mentioned in the commit, it is defined to be the same as the default "errorcheck" type in all other aspects than the adaptive spinning. However I see I missed a case: Index: thread/thr_mutex.c =================================================================== RCS file: /home/ncvs/src/lib/libthr/thread/thr_mutex.c,v retrieving revision 1.55 diff -u -r1.55 thr_mutex.c --- thread/thr_mutex.c 29 Oct 2007 21:01:47 -0000 1.55 +++ thread/thr_mutex.c 30 Oct 2007 08:16:18 -0000 @@ -558,6 +558,7 @@ switch (m->m_type) { case PTHREAD_MUTEX_ERRORCHECK: + case PTHREAD_MUTEX_ADAPTIVE_NP: if (abstime) { clock_gettime(CLOCK_REALTIME, &ts1); TIMESPEC_SUB(&ts2, abstime, &ts1); > As I said in previous email, I would rather see our default > mutex implementations improved instead of adding new interfaces. > If it's really necessary in the short term, perhaps an > environment variable that can be set to force all mutexes > to be adaptive (and when kern.smp.cpus > 1 perhaps?). There might be a case for adding that for people who want to experiment, but it's not appropriate as a replacement since it's highly application specific, and the application already knows whether it wants this property or not. It is also often not appropriate to use this behaviour on every mutex used by an application. When arguing about this commit, keep in mind that with this simple change mysql performs 30% better out of the box at high loads (without requiring any patches). That is not something that should be lightly dismissed until you have a better replacement ready. Kris From owner-cvs-src@FreeBSD.ORG Tue Oct 30 08:53:19 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D5E716A420; Tue, 30 Oct 2007 08:53:19 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 074CF13C48D; Tue, 30 Oct 2007 08:53:19 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U8rEUp069730; Tue, 30 Oct 2007 08:53:15 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4726F130.2060709@freebsd.org> Date: Tue, 30 Oct 2007 16:54:08 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070516 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> In-Reply-To: <4726E9AB.4050209@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 08:53:19 -0000 Kris Kennaway wrote: > > Yes, but only if we can do it in a way that does not reduce performance > in other cases. As you know, and as I mentioned already to Dan, this is > architecturally hard. > >>> also this commit does not change mutex_self_lock() to handle the >>> PTHREAD_MUTEX_ADAPTIVE_NP, what is the PTHREAD_MUTEX_ADAPTIVE_NP >>> definition when the mutex is already locked by the currect thread ? >>> deadlock or return error code ? > > > As I mentioned in the commit, it is defined to be the same as the > default "errorcheck" type in all other aspects than the adaptive > spinning. However I see I missed a case: > > Index: thread/thr_mutex.c > =================================================================== > RCS file: /home/ncvs/src/lib/libthr/thread/thr_mutex.c,v > retrieving revision 1.55 > diff -u -r1.55 thr_mutex.c > --- thread/thr_mutex.c 29 Oct 2007 21:01:47 -0000 1.55 > +++ thread/thr_mutex.c 30 Oct 2007 08:16:18 -0000 > @@ -558,6 +558,7 @@ > > switch (m->m_type) { > case PTHREAD_MUTEX_ERRORCHECK: > + case PTHREAD_MUTEX_ADAPTIVE_NP: > if (abstime) { > clock_gettime(CLOCK_REALTIME, &ts1); > TIMESPEC_SUB(&ts2, abstime, &ts1); > >> As I said in previous email, I would rather see our default >> mutex implementations improved instead of adding new interfaces. >> If it's really necessary in the short term, perhaps an >> environment variable that can be set to force all mutexes >> to be adaptive (and when kern.smp.cpus > 1 perhaps?). > > > There might be a case for adding that for people who want to experiment, > but it's not appropriate as a replacement since it's highly application > specific, and the application already knows whether it wants this > property or not. It is also often not appropriate to use this behaviour > on every mutex used by an application. > I do think many application writters do not know what should be done for his mutexes, generic spinning may be OK, but can be turned off. > When arguing about this commit, keep in mind that with this simple > change mysql performs 30% better out of the box at high loads (without > requiring any patches). That is not something that should be lightly > dismissed until you have a better replacement ready. > > Kris > I object adding PTHREAD_MUTEX_ADAPTIVE_NP, because there is no corresponding PTHREAD_ADPATIVE_MUTEX_INITIALIZER, but normal pthread mutex has macro PTHREAD_MUTEX_INITIALIZER, so it is inconsistent, maybe adding pthread_mutexattr_setspin() etcs are better than this hack for our implementation, it is not portable though. I remembered mysql uses this macro to initialize spin mutex, and you indead needs a patch to let it work, in fact spin mutex in libthr is arguable, normally you can use pthread_mutex_trylock() in application to simulate spinning, adding such mutex type it in libthr just simplified it, but it is not portable. Regards, David Xu From owner-cvs-src@FreeBSD.ORG Mon Oct 29 21:39:59 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CA9716A479; Mon, 29 Oct 2007 21:39:59 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9ED13C4B7; Mon, 29 Oct 2007 21:39:51 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47265328.6070507@FreeBSD.org> Date: Mon, 29 Oct 2007 22:39:52 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Andrey Chernov , Ken Smith , Rong-en Fan , Scott Long , John Baldwin , src-committers@FreeBSD.org, d@delphij.net, Robert Watson , imp@FreeBSD.org, cvs-src@FreeBSD.org References: <20071025233536.B99770@fledge.watson.org> <472120E8.90504@samsco.org> <200710261144.34645.jhb@freebsd.org> <472217C2.8020800@samsco.org> <6eb82e0710260954m73b3f17bq2c72a4cdb597640e@mail.gmail.com> <6eb82e0710270130o5557efew95f62aef8035d209@mail.gmail.com> <20071027092213.GA53271@nagual.pp.ru> <6eb82e0710280154h68393dcag4e9ba4ac4c219065@mail.gmail.com> <20071028211306.GA91223@nagual.pp.ru> <1193616095.18844.19.camel@opus.cse.buffalo.edu> <20071029024236.GA99115@nagual.pp.ru> In-Reply-To: <20071029024236.GA99115@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 30 Oct 2007 11:14:13 +0000 Cc: Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:39:59 -0000 Andrey Chernov wrote: > On Sun, Oct 28, 2007 at 08:01:35PM -0400, Ken Smith wrote: >> On Mon, 2007-10-29 at 00:13 +0300, Andrey Chernov wrote: >>> On Sun, Oct 28, 2007 at 04:54:52PM +0800, Rong-en Fan wrote: >>>>> As a small improvement, we can skip __isctype() from this list too and >>>>> just hardcode 128 there, i.e.: return (_c < 0 || _c >= 128) ... >>>>> since default locale never define anything above 128. >>>> Thank you. A new patch is available at >>>> >>>> http://people.freebsd.org/~rafan/ctype-abi-fix-6-try2.diff >>> Looks OK. Please don't forget MFC __isctype changes to 7x too. >>> >> The portmgr@ folks are holding off on HEAD package builds (for >> packages-8-current) for things to settle out at least in HEAD. Are we >> in what should be the final state of things for HEAD now or are more >> tweaks there coming? > > I think I try my best to make this ctype fix and no more tweaks left. But > please keep in mind that I can't preciously predict related to releases > problems, because I have only -current on my machines (so why rafan@ gives > his help). Of course I can't 100% guarantee "no new stuff" thing because > some new idea may apears in anytime to improve this thing :) > Thanks, we'll proceed with 8.0 builds. Kris From owner-cvs-src@FreeBSD.ORG Tue Oct 30 09:22:47 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBD4816A417; Tue, 30 Oct 2007 09:22:47 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 4270F13C480; Tue, 30 Oct 2007 09:22:46 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4726F7E9.2060403@FreeBSD.org> Date: Tue, 30 Oct 2007 10:22:49 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: David Xu References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> In-Reply-To: <4726F130.2060709@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 09:22:48 -0000 David Xu wrote: >>> As I said in previous email, I would rather see our default >>> mutex implementations improved instead of adding new interfaces. >>> If it's really necessary in the short term, perhaps an >>> environment variable that can be set to force all mutexes >>> to be adaptive (and when kern.smp.cpus > 1 perhaps?). >> >> >> There might be a case for adding that for people who want to >> experiment, but it's not appropriate as a replacement since it's >> highly application specific, and the application already knows whether >> it wants this property or not. It is also often not appropriate to >> use this behaviour on every mutex used by an application. >> > > I do think many application writters do not know what should be done for > his mutexes, generic spinning may be OK, but can be turned off. That is a fairly radical change you are proposing. One would expect that this adaptive spinning algorithm *reduces* performance in cases where the mutex is usually held for longer periods of time. If you think this theoretical expectation is wrong, you need to provide some careful measurements supporting that somewhat surprising hypothesis :) >> When arguing about this commit, keep in mind that with this simple >> change mysql performs 30% better out of the box at high loads (without >> requiring any patches). That is not something that should be lightly >> dismissed until you have a better replacement ready. >> >> Kris >> > > I object adding PTHREAD_MUTEX_ADAPTIVE_NP, because there is no > corresponding PTHREAD_ADPATIVE_MUTEX_INITIALIZER, but normal > pthread mutex has macro PTHREAD_MUTEX_INITIALIZER, so it is > inconsistent, maybe adding pthread_mutexattr_setspin() etcs are better > than this hack for our implementation, it is not portable though. There is an PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP, which is again the name that existing applications expect for it. The fact that this interface *already exists* in other operating systems and *is already used* by real applications overrides objections about one name choice vs another. The best you can argue for is to use a different name with a compatibility #define, but I dont see the point of this. > I remembered mysql uses this macro to initialize spin mutex, and you > indead needs a patch to let it work No, with the code I committed mysql detects and uses it out of the box, without requiring any patches. It is easy to measure the resulting 30% performance improvement at high loads ;-) > in fact spin mutex in libthr is > arguable, normally you can use pthread_mutex_trylock() in application to > simulate spinning, adding such mutex type it in libthr just simplified > it, but it is not portable. That is what the "_NP" indicates (although remember that this interface is compatible with glibc). Kris From owner-cvs-src@FreeBSD.ORG Tue Oct 30 09:24:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A11216A420; Tue, 30 Oct 2007 09:24:24 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 22E4A13C48D; Tue, 30 Oct 2007 09:24:24 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U9OOvF054111; Tue, 30 Oct 2007 09:24:24 GMT (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9U9OOLl054110; Tue, 30 Oct 2007 09:24:24 GMT (envelope-from kris) Message-Id: <200710300924.l9U9OOLl054110@repoman.freebsd.org> From: Kris Kennaway Date: Tue, 30 Oct 2007 09:24:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 09:24:24 -0000 kris 2007-10-30 09:24:23 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: Adaptive mutexes should have the same deadlock detection properties that default (errorcheck) mutexes do. Noticed by: davidxu Revision Changes Path 1.57 +1 -0 src/lib/libthr/thread/thr_mutex.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 09:35:11 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48CCA16A477; Tue, 30 Oct 2007 09:35:11 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1891613C491; Tue, 30 Oct 2007 09:35:11 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from [127.0.0.1] (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9U9Z65d071779; Tue, 30 Oct 2007 09:35:08 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4726FB01.4060704@freebsd.org> Date: Tue, 30 Oct 2007 17:36:01 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070516 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> In-Reply-To: <4726F7E9.2060403@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 09:35:11 -0000 Kris Kennaway wrote: >> >> I object adding PTHREAD_MUTEX_ADAPTIVE_NP, because there is no >> corresponding PTHREAD_ADPATIVE_MUTEX_INITIALIZER, but normal >> pthread mutex has macro PTHREAD_MUTEX_INITIALIZER, so it is >> inconsistent, maybe adding pthread_mutexattr_setspin() etcs are better >> than this hack for our implementation, it is not portable though. > > > There is an PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP, which is again the > name that existing applications expect for it. The fact that this > interface *already exists* in other operating systems and *is already > used* by real applications overrides objections about one name choice vs > another. The best you can argue for is to use a different name with a > compatibility #define, but I dont see the point of this. > I didn't find any place in thr_mutex.c that you have set PTHREAD_MUTEX_ADAPTIVE_NP type, or I missed something ? >> I remembered mysql uses this macro to initialize spin mutex, and you >> indead needs a patch to let it work > > > No, with the code I committed mysql detects and uses it out of the box, > without requiring any patches. It is easy to measure the resulting 30% > performance improvement at high loads ;-) > see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. My code even needn't to recompile mysql and improve 40% performance. :-) > > in fact spin mutex in libthr is > >> arguable, normally you can use pthread_mutex_trylock() in application >> to simulate spinning, adding such mutex type it in libthr just simplified >> it, but it is not portable. > > > That is what the "_NP" indicates (although remember that this interface > is compatible with glibc). > > Kris > I am waiting for others, since this is first time we have to add a new mutex type. From owner-cvs-src@FreeBSD.ORG Tue Oct 30 10:14:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA2C16A417; Tue, 30 Oct 2007 10:14:39 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 8289E13C4B6; Tue, 30 Oct 2007 10:14:38 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47270410.2020802@FreeBSD.org> Date: Tue, 30 Oct 2007 11:14:40 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: David Xu References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> <4726FB01.4060704@freebsd.org> In-Reply-To: <4726FB01.4060704@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 10:14:39 -0000 David Xu wrote: > Kris Kennaway wrote: >>> >>> I object adding PTHREAD_MUTEX_ADAPTIVE_NP, because there is no >>> corresponding PTHREAD_ADPATIVE_MUTEX_INITIALIZER, but normal >>> pthread mutex has macro PTHREAD_MUTEX_INITIALIZER, so it is >>> inconsistent, maybe adding pthread_mutexattr_setspin() etcs are better >>> than this hack for our implementation, it is not portable though. >> >> >> There is an PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP, which is again the >> name that existing applications expect for it. The fact that this >> interface *already exists* in other operating systems and *is already >> used* by real applications overrides objections about one name choice >> vs another. The best you can argue for is to use a different name >> with a compatibility #define, but I dont see the point of this. >> > > I didn't find any place in thr_mutex.c that you have set > PTHREAD_MUTEX_ADAPTIVE_NP type, or I missed something ? PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is just in . /* * Static initialization values. */ #define PTHREAD_MUTEX_INITIALIZER NULL #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP NULL #define PTHREAD_COND_INITIALIZER NULL #define PTHREAD_RWLOCK_INITIALIZER NULL >>> I remembered mysql uses this macro to initialize spin mutex, and you >>> indead needs a patch to let it work >> >> >> No, with the code I committed mysql detects and uses it out of the >> box, without requiring any patches. It is easy to measure the >> resulting 30% performance improvement at high loads ;-) >> > see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. The code is already in mysql for use with glibc. It basically does #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP /* * Use PTHREAD_MUTEX_ADAPTIVE_NP for the mutexes we know will benefit * from it */ ... #endif so it just works. > My code even needn't to recompile mysql and improve 40% performance. :-) OK, but that's not good enough. As I have mentioned, you should have serious concerns about performance loss in other cases with an approach that always spins in userland when acquiring any mutex. >> > in fact spin mutex in libthr is >> >>> arguable, normally you can use pthread_mutex_trylock() in application >>> to simulate spinning, adding such mutex type it in libthr just >>> simplified >>> it, but it is not portable. >> >> >> That is what the "_NP" indicates (although remember that this >> interface is compatible with glibc). >> >> Kris >> > I am waiting for others, since this is first time we have to add a new > mutex type. I don't understand what you are saying here. The glibc interface is defined by glibc, so if we want to do something different then either compatibility interfaces are needed (so what was the point of being different other than "NIH"?), or we need to manually patch the applications to do it "our way". Kris From owner-cvs-src@FreeBSD.ORG Tue Oct 30 10:17:12 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E98AB16A468; Tue, 30 Oct 2007 10:17:11 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BBDD513C494; Tue, 30 Oct 2007 10:17:11 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UAHBdH059679; Tue, 30 Oct 2007 10:17:11 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UAHBGR059676; Tue, 30 Oct 2007 10:17:11 GMT (envelope-from remko) Message-Id: <200710301017.l9UAHBGR059676@repoman.freebsd.org> From: Remko Lodder Date: Tue, 30 Oct 2007 10:17:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/pccard pccard_cis_quirks.c pccarddevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 10:17:12 -0000 remko 2007-10-30 10:17:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/pccard pccard_cis_quirks.c pccarddevs Log: MFC pccarddevs v1.130 MFC pccard_cis_quirks.c v1.17 Bring in some new Sierra Wireless drivers running under pccard. (AC710/AC750/AC850/A550/A555/A710/A750) PR: kern/110190 Submitted by: Pascal Vizeli Approved by: imp (mentor) MFC After: 1 week Approved by: re (kensmith) Approved by: imp (mentor) Revision Changes Path 1.16.2.1 +33 -0 src/sys/dev/pccard/pccard_cis_quirks.c 1.129.2.1 +7 -0 src/sys/dev/pccard/pccarddevs From owner-cvs-src@FreeBSD.ORG Tue Oct 30 10:21:05 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB29116A41A; Tue, 30 Oct 2007 10:21:05 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8F85C13C4B0; Tue, 30 Oct 2007 10:21:05 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UAL4Vb059898; Tue, 30 Oct 2007 10:21:04 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UAL4Tn059893; Tue, 30 Oct 2007 10:21:04 GMT (envelope-from remko) Message-Id: <200710301021.l9UAL4Tn059893@repoman.freebsd.org> From: Remko Lodder Date: Tue, 30 Oct 2007 10:21:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/pccard pccard_cis_quirks.c pccarddevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 10:21:05 -0000 remko 2007-10-30 10:21:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/pccard pccard_cis_quirks.c pccarddevs Log: MFC pccarddevs v1.130 MFC pccard_cis_quirks.c v1.17 Bring in some new Sierra Wireless drivers running under pccard. (AC710/AC750/AC850/A550/A555/A710/A750) PR: kern/110190 Submitted by: Pascal Vizeli Approved by: imp (mentor) MFC After: 1 week Approved by: re (kensmith) Approved by: imp (mentor) Revision Changes Path 1.15.2.2 +33 -0 src/sys/dev/pccard/pccard_cis_quirks.c 1.109.2.3 +7 -0 src/sys/dev/pccard/pccarddevs From owner-cvs-src@FreeBSD.ORG Tue Oct 30 11:37:38 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C83D16A417; Tue, 30 Oct 2007 11:37:38 +0000 (UTC) (envelope-from bushman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 128FF13C465; Tue, 30 Oct 2007 11:37:38 +0000 (UTC) (envelope-from bushman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UBbbsP066125; Tue, 30 Oct 2007 11:37:37 GMT (envelope-from bushman@repoman.freebsd.org) Received: (from bushman@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UBbbLQ066124; Tue, 30 Oct 2007 11:37:37 GMT (envelope-from bushman) Message-Id: <200710301137.l9UBbbLQ066124@repoman.freebsd.org> From: Michael Bushkov Date: Tue, 30 Oct 2007 11:37:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src ObsoleteFiles.inc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 11:37:38 -0000 bushman 2007-10-30 11:37:37 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: Adding recently removed etc/cached.conf to the list of obsolete files. Approved by: brooks (mentor) Revision Changes Path 1.116 +1 -0 src/ObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Tue Oct 30 11:40:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7F0C16A41B; Tue, 30 Oct 2007 11:40:26 +0000 (UTC) (envelope-from bushman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9E75713C4BE; Tue, 30 Oct 2007 11:40:26 +0000 (UTC) (envelope-from bushman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UBeQeE066422; Tue, 30 Oct 2007 11:40:26 GMT (envelope-from bushman@repoman.freebsd.org) Received: (from bushman@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UBeQwV066421; Tue, 30 Oct 2007 11:40:26 GMT (envelope-from bushman) Message-Id: <200710301140.l9UBeQwV066421@repoman.freebsd.org> From: Michael Bushkov Date: Tue, 30 Oct 2007 11:40:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src ObsoleteFiles.inc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 11:40:26 -0000 bushman 2007-10-30 11:40:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) . ObsoleteFiles.inc Log: Fast MFC: Adding recently removed etc/cached.conf to the list of obsolete files. Approved by: re (kensmith), brooks (mentor) Revision Changes Path 1.112.2.3 +1 -0 src/ObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Tue Oct 30 13:02:44 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7815016A420; Tue, 30 Oct 2007 13:02:44 +0000 (UTC) (envelope-from bsddiy@126.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5347613C4C6; Tue, 30 Oct 2007 13:02:44 +0000 (UTC) (envelope-from bsddiy@126.com) Received: from alona.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UD2b2X081545; Tue, 30 Oct 2007 13:02:40 GMT (envelope-from bsddiy@126.com) Message-ID: <47272B75.2020805@126.com> Date: Tue, 30 Oct 2007 21:02:45 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.0 (X11/20070613) MIME-Version: 1.0 To: Kris Kennaway References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> <4726FB01.4060704@freebsd.org> <47270410.2020802@FreeBSD.org> In-Reply-To: <47270410.2020802@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, David Xu , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 13:02:44 -0000 Kris Kennaway wrote: > > PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is just in . > > /* > * Static initialization values. > */ > #define PTHREAD_MUTEX_INITIALIZER NULL > #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP NULL > #define PTHREAD_COND_INITIALIZER NULL > #define PTHREAD_RWLOCK_INITIALIZER NULL > >>>> I remembered mysql uses this macro to initialize spin mutex, and you >>>> indead needs a patch to let it work >>> >>> >>> No, with the code I committed mysql detects and uses it out of the >>> box, without requiring any patches. It is easy to measure the >>> resulting 30% performance improvement at high loads ;-) >>> >> see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. > > The code is already in mysql for use with glibc. It basically does > > #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP > /* > * Use PTHREAD_MUTEX_ADAPTIVE_NP for the mutexes we know will benefit > * from it > */ > ... > #endif > > so it just works. > I can not find code in libthr set mutex's member field m_type to PTHREAD_MUTEX_ADAPTIVE_NP by your change, so how can it work as expected ? >> My code even needn't to recompile mysql and improve 40% performance. :-) > > OK, but that's not good enough. As I have mentioned, you should have > serious concerns about performance loss in other cases with an approach > that always spins in userland when acquiring any mutex. > >>> > in fact spin mutex in libthr is >>> >>>> arguable, normally you can use pthread_mutex_trylock() in >>>> application to simulate spinning, adding such mutex type it in >>>> libthr just simplified >>>> it, but it is not portable. >>> >>> >>> That is what the "_NP" indicates (although remember that this >>> interface is compatible with glibc). >>> >>> Kris >>> >> I am waiting for others, since this is first time we have to add a new >> mutex type. > > I don't understand what you are saying here. The glibc interface is > defined by glibc, so if we want to do something different then either > compatibility interfaces are needed (so what was the point of being > different other than "NIH"?), or we need to manually patch the > applications to do it "our way". > > Kris > See above, the code is not working ... From owner-cvs-src@FreeBSD.ORG Tue Oct 30 13:16:48 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5470716A475; Tue, 30 Oct 2007 13:16:48 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3787D13C481; Tue, 30 Oct 2007 13:16:48 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from alona.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UDGeMm081926; Tue, 30 Oct 2007 13:16:42 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47272EC0.1030204@freebsd.org> Date: Tue, 30 Oct 2007 21:16:48 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.0 (X11/20070613) MIME-Version: 1.0 To: Kris Kennaway References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> <4726FB01.4060704@freebsd.org> <47270410.2020802@FreeBSD.org> In-Reply-To: <47270410.2020802@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, David Xu , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 13:16:48 -0000 Kris Kennaway wrote: > > PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is just in . > > /* > * Static initialization values. > */ > #define PTHREAD_MUTEX_INITIALIZER NULL > #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP NULL > #define PTHREAD_COND_INITIALIZER NULL > #define PTHREAD_RWLOCK_INITIALIZER NULL > >>>> I remembered mysql uses this macro to initialize spin mutex, and you >>>> indead needs a patch to let it work >>> >>> >>> No, with the code I committed mysql detects and uses it out of the >>> box, without requiring any patches. It is easy to measure the >>> resulting 30% performance improvement at high loads ;-) >>> >> see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. > > The code is already in mysql for use with glibc. It basically does > > #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP > /* > * Use PTHREAD_MUTEX_ADAPTIVE_NP for the mutexes we know will benefit > * from it > */ > ... > #endif > > so it just works. > I can not find code in libthr setting mutex's member field m_type to PTHREAD_MUTEX_ADAPTIVE_NP by your change, so how can it work as expected ? From owner-cvs-src@FreeBSD.ORG Tue Oct 30 13:17:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F9E116A421; Tue, 30 Oct 2007 13:17:03 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 45FE913C480; Tue, 30 Oct 2007 13:17:03 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UDH3NJ082919; Tue, 30 Oct 2007 13:17:03 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UDH3Au082918; Tue, 30 Oct 2007 13:17:03 GMT (envelope-from csjp) Message-Id: <200710301317.l9UDH3Au082918@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Tue, 30 Oct 2007 13:17:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.bin/id id.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 13:17:03 -0000 csjp 2007-10-30 13:17:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/id id.c Log: MFC revision 1.34 Add support for processing extended (ip6) subject termids Approved by: re@ (kensmith) Revision Changes Path 1.33.2.1 +38 -6 src/usr.bin/id/id.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 13:26:30 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F170716A469; Tue, 30 Oct 2007 13:26:29 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id ADC4613C4A3; Tue, 30 Oct 2007 13:26:29 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [128.205.32.4] (opus.cse.buffalo.edu [128.205.32.4]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id l9UDQAK2021908 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 30 Oct 2007 09:26:10 -0400 (EDT) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: David Xu In-Reply-To: <47272EC0.1030204@freebsd.org> References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> <4726FB01.4060704@freebsd.org> <47270410.2020802@FreeBSD.org> <47272EC0.1030204@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kHHNAJEx+o+huuu0J7Zp" Organization: U. Buffalo CSE Department Date: Tue, 30 Oct 2007 09:26:10 -0400 Message-Id: <1193750770.25313.7.camel@opus.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1029; Body=0 Fuz1=0 Fuz2=0 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on phoebe.cse.buffalo.edu Cc: Daniel Eischen , cvs-src@FreeBSD.org, Kris Kennaway , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 13:26:30 -0000 --=-kHHNAJEx+o+huuu0J7Zp Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-10-30 at 21:16 +0800, David Xu wrote: > Kris Kennaway wrote: > >=20 > > PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is just in . > >=20 > > /* > > * Static initialization values. > > */ > > #define PTHREAD_MUTEX_INITIALIZER NULL > > #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP NULL > > #define PTHREAD_COND_INITIALIZER NULL > > #define PTHREAD_RWLOCK_INITIALIZER NULL > >=20 > >>>> I remembered mysql uses this macro to initialize spin mutex, and you > >>>> indead needs a patch to let it work > >>> > >>> > >>> No, with the code I committed mysql detects and uses it out of the=20 > >>> box, without requiring any patches. It is easy to measure the=20 > >>> resulting 30% performance improvement at high loads ;-) > >>> > >> see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. > >=20 > > The code is already in mysql for use with glibc. It basically does > >=20 > > #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP > > /* > > * Use PTHREAD_MUTEX_ADAPTIVE_NP for the mutexes we know will benefit > > * from it > > */ > > ... > > #endif > >=20 > > so it just works. > >=20 >=20 > I can not find code in libthr setting mutex's member field m_type to > PTHREAD_MUTEX_ADAPTIVE_NP by your change, so how can it work as > expected ? >=20 Wouldn't you expect that it's mysql that's setting the mutex's member field? Something like this chunk of code from mysql perhaps? #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP /* Set mutex type to "fast" a.k.a "adaptive" In this case the thread may steal the mutex from some other thread that is waiting for the same mutex. This will save us some context switches but may cause a thread to 'starve forever' while waiting for the mutex (not likely if the code within the mutex is short). */ pthread_mutexattr_init(&my_fast_mutexattr); pthread_mutexattr_settype(&my_fast_mutexattr, PTHREAD_MUTEX_ADAPTIVE_NP); #endif --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-kHHNAJEx+o+huuu0J7Zp Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHJzDe/G14VSmup/YRAlKyAJ4kyUpYt50vTgSeU91hhPZqx0lFegCfbOJF PeaDIStrTnIGiIJDBVxip88= =K1GU -----END PGP SIGNATURE----- --=-kHHNAJEx+o+huuu0J7Zp-- From owner-cvs-src@FreeBSD.ORG Tue Oct 30 14:09:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3C8616A41B; Tue, 30 Oct 2007 14:09:24 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 92DCE13C4B5; Tue, 30 Oct 2007 14:09:24 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UE9OIQ086947; Tue, 30 Oct 2007 14:09:24 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UE9O1r086946; Tue, 30 Oct 2007 14:09:24 GMT (envelope-from rrs) Message-Id: <200710301409.l9UE9O1r086946@repoman.freebsd.org> From: Randall Stewart Date: Tue, 30 Oct 2007 14:09:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet sctp_constants.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_usrreq.c sctputil.c sctputil.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 14:09:24 -0000 rrs 2007-10-30 14:09:24 UTC FreeBSD src repository Modified files: sys/netinet sctp_constants.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_usrreq.c sctputil.c sctputil.h Log: - Change the Time Wait of vtags value to match the cookie-life - Select a tag gains ability to optionally save new tags off in the timewait system. - When looking up associations do not give back a stcb that is in the about-to-be-freed state, and instead continue looking for other candiates. - New function to query to see if value is in time-wait. - Timewait had a time comparison error that caused very few vtags to actually stay in time-wait. - When setting tags in time-wait, we now use the time requested NOT a fixed constant value. - sstat now gets the proper associd when we do the query. - When we process an association, we expect the tag chosen (if we have one from a cookie) to be in time-wait. Before we would NOT allow the assoc up by checking if its good. In theory this should have caused almost all assoc not to come up except for the time-comparison bug above (this bug was hidden by the time comparison bug :-D). - Don't save tags for nonce values in the time-wait cache since these are used only during cookie collisions and do not matter if they are unique or not. MFC after: 1 week Revision Changes Path 1.34 +2 -3 src/sys/netinet/sctp_constants.h 1.61 +2 -2 src/sys/netinet/sctp_output.c 1.64 +57 -9 src/sys/netinet/sctp_pcb.c 1.32 +3 -1 src/sys/netinet/sctp_pcb.h 1.50 +1 -0 src/sys/netinet/sctp_usrreq.c 1.68 +12 -6 src/sys/netinet/sctputil.c 1.30 +1 -1 src/sys/netinet/sctputil.h From owner-cvs-src@FreeBSD.ORG Tue Oct 30 14:48:14 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6046916A418; Tue, 30 Oct 2007 14:48:14 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3907013C48E; Tue, 30 Oct 2007 14:48:14 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UEmEYI088980; Tue, 30 Oct 2007 14:48:14 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UEmEis088979; Tue, 30 Oct 2007 14:48:14 GMT (envelope-from remko) Message-Id: <200710301448.l9UEmEis088979@repoman.freebsd.org> From: Remko Lodder Date: Tue, 30 Oct 2007 14:48:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/vm phys_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 14:48:14 -0000 remko 2007-10-30 14:48:14 UTC FreeBSD src repository Modified files: sys/vm phys_pager.c Log: Correct a copy and paste'o in phys_pager.c, we are talking about phys here and not about devices. PR: 93755 Approved by: imp (mentor, implicit when re-assigning the ticket to me). Revision Changes Path 1.29 +1 -1 src/sys/vm/phys_pager.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:23:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5903816A46D; Tue, 30 Oct 2007 15:23:28 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 486AB13C481; Tue, 30 Oct 2007 15:23:28 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFNSwD092402; Tue, 30 Oct 2007 15:23:28 GMT (envelope-from darrenr@repoman.freebsd.org) Received: (from darrenr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFNRoM092401; Tue, 30 Oct 2007 15:23:27 GMT (envelope-from darrenr) Message-Id: <200710301523.l9UFNRoM092401@repoman.freebsd.org> From: Darren Reed Date: Tue, 30 Oct 2007 15:23:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/contrib/ipfilter/netinet fil.c ip_auth.c ip_compat.h ip_fil_freebsd.c ip_log.c ip_nat.c ip_state.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:23:28 -0000 darrenr 2007-10-30 15:23:27 UTC FreeBSD src repository Modified files: sys/contrib/ipfilter/netinet fil.c ip_auth.c ip_compat.h ip_fil_freebsd.c ip_log.c ip_nat.c ip_state.c Log: Apply a few changes from ipfilter-current: * Do not hold any locks over calls to copyin/copyout. * Clean up some #ifdefs * fix a possible mbuf leak when NAT fails on policy routed packets PR: 117216 Revision Changes Path 1.54 +4 -4 src/sys/contrib/ipfilter/netinet/fil.c 1.46 +1 -1 src/sys/contrib/ipfilter/netinet/ip_auth.c 1.35 +1 -1 src/sys/contrib/ipfilter/netinet/ip_compat.h 1.8 +7 -6 src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c 1.35 +6 -5 src/sys/contrib/ipfilter/netinet/ip_log.c 1.44 +44 -26 src/sys/contrib/ipfilter/netinet/ip_nat.c 1.41 +6 -1 src/sys/contrib/ipfilter/netinet/ip_state.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:26:22 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FDC916A468; Tue, 30 Oct 2007 15:26:22 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0612F13C4C4; Tue, 30 Oct 2007 15:26:21 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFQLUW092539; Tue, 30 Oct 2007 15:26:21 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFQLXS092538; Tue, 30 Oct 2007 15:26:21 GMT (envelope-from keramida) Message-Id: <200710301526.l9UFQLXS092538@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:26:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/gen valloc.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:26:22 -0000 keramida 2007-10-30 15:26:21 UTC FreeBSD src repository (doc committer) Modified files: lib/libc/gen valloc.3 Log: Remove extraneous .Ef request. MFC after: 3 days Revision Changes Path 1.15 +1 -2 src/lib/libc/gen/valloc.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:27:46 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F14C16A419; Tue, 30 Oct 2007 15:27:46 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 27ADC13C49D; Tue, 30 Oct 2007 15:27:46 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFRkLv092658; Tue, 30 Oct 2007 15:27:46 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFRkw4092657; Tue, 30 Oct 2007 15:27:46 GMT (envelope-from keramida) Message-Id: <200710301527.l9UFRkw4092657@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:27:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/sys minherit.2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:27:46 -0000 keramida 2007-10-30 15:27:46 UTC FreeBSD src repository (doc committer) Modified files: lib/libc/sys minherit.2 Log: The .Fx request doesn't recognize 2.2.0, so use ".Fx 2.2" MFC after: 3 days Revision Changes Path 1.23 +1 -1 src/lib/libc/sys/minherit.2 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:28:43 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A214D16A473; Tue, 30 Oct 2007 15:28:43 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A45013C491; Tue, 30 Oct 2007 15:28:43 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFSh8K092701; Tue, 30 Oct 2007 15:28:43 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFShc0092700; Tue, 30 Oct 2007 15:28:43 GMT (envelope-from keramida) Message-Id: <200710301528.l9UFShc0092700@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:28:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/sys minherit.2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:28:43 -0000 keramida 2007-10-30 15:28:43 UTC FreeBSD src repository (doc committer) Modified files: lib/libc/sys minherit.2 Log: Bump manpage date, missed during the last change. MFC after: 3 days Revision Changes Path 1.24 +1 -1 src/lib/libc/sys/minherit.2 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:31:44 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DB8916A41A; Tue, 30 Oct 2007 15:31:44 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0597913C4A5; Tue, 30 Oct 2007 15:31:44 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFVgjb093020; Tue, 30 Oct 2007 15:31:42 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFVgRY093019; Tue, 30 Oct 2007 15:31:42 GMT (envelope-from keramida) Message-Id: <200710301531.l9UFVgRY093019@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:31:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/net ethers.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:31:44 -0000 keramida 2007-10-30 15:31:42 UTC FreeBSD src repository (doc committer) Modified files: lib/libc/net ethers.3 Log: mdoc fix: remove extraneous empty line. MFC after: 3 days Revision Changes Path 1.25 +1 -2 src/lib/libc/net/ethers.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:36:41 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A50616A417; Tue, 30 Oct 2007 15:36:41 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 423D013C480; Tue, 30 Oct 2007 15:36:41 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFaf8p093230; Tue, 30 Oct 2007 15:36:41 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFafH7093229; Tue, 30 Oct 2007 15:36:41 GMT (envelope-from keramida) Message-Id: <200710301536.l9UFafH7093229@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:36:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/sys sctp_generic_recvmsg.2 sctp_generic_sendmsg.2 sctp_peeloff.2 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:36:41 -0000 keramida 2007-10-30 15:36:40 UTC FreeBSD src repository (doc committer) Modified files: lib/libc/sys sctp_generic_recvmsg.2 sctp_generic_sendmsg.2 sctp_peeloff.2 Log: Remove extraneous empty lines, to fix mdoc warnings. MFC after: 3 days Revision Changes Path 1.3 +1 -2 src/lib/libc/sys/sctp_generic_recvmsg.2 1.3 +1 -3 src/lib/libc/sys/sctp_generic_sendmsg.2 1.3 +1 -2 src/lib/libc/sys/sctp_peeloff.2 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:45:20 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C49C16A417; Tue, 30 Oct 2007 15:45:20 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2463A13C4A3; Tue, 30 Oct 2007 15:45:20 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFjK33093699; Tue, 30 Oct 2007 15:45:20 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFjJFF093698; Tue, 30 Oct 2007 15:45:19 GMT (envelope-from keramida) Message-Id: <200710301545.l9UFjJFF093698@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:45:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libgssapi gss_wrap.3 gss_wrap_size_limit.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:45:20 -0000 keramida 2007-10-30 15:45:19 UTC FreeBSD src repository (doc committer) Modified files: lib/libgssapi gss_wrap.3 gss_wrap_size_limit.3 Log: Remove duplicate (but commented out) .Sh HISTORY section heading and add a missing .El request. MFC after: 3 days Revision Changes Path 1.3 +2 -2 src/lib/libgssapi/gss_wrap.3 1.3 +2 -2 src/lib/libgssapi/gss_wrap_size_limit.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:52:56 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6045316A468; Tue, 30 Oct 2007 15:52:56 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A95D13C4A3; Tue, 30 Oct 2007 15:52:56 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFqu3W094275; Tue, 30 Oct 2007 15:52:56 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFquAf094274; Tue, 30 Oct 2007 15:52:56 GMT (envelope-from keramida) Message-Id: <200710301552.l9UFquAf094274@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:52:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libgssapi gss_accept_sec_context.3 gss_acquire_cred.3 gss_add_oid_set_member.3 gss_canonicalize_name.3 gss_compare_name.3 gss_context_time.3 gss_delete_sec_context.3 gss_display_name.3 gss_display_status.3 gss_duplicate_name.3 gss_export_name.3 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:52:56 -0000 keramida 2007-10-30 15:52:56 UTC FreeBSD src repository (doc committer) Modified files: lib/libgssapi gss_accept_sec_context.3 gss_acquire_cred.3 gss_add_oid_set_member.3 gss_canonicalize_name.3 gss_compare_name.3 gss_context_time.3 gss_delete_sec_context.3 gss_display_name.3 gss_display_status.3 gss_duplicate_name.3 gss_export_name.3 gss_export_sec_context.3 gss_get_mic.3 gss_import_name.3 gss_import_sec_context.3 gss_indicate_mechs.3 gss_init_sec_context.3 gss_inquire_context.3 gss_inquire_cred.3 gss_inquire_names_for_mech.3 gss_process_context_token.3 gss_release_buffer.3 gss_release_cred.3 gss_release_name.3 gss_release_oid_set.3 gss_test_oid_set_member.3 gss_unwrap.3 gss_verify_mic.3 Log: Remove duplicate (but commented out) .Sh HISTORY section heading. It almost "shadows" the ending .El request of a list, which seems to have caused mdoc buglets in some gss_*.3 manpages. MFC after: 3 days Revision Changes Path 1.3 +1 -2 src/lib/libgssapi/gss_accept_sec_context.3 1.3 +1 -2 src/lib/libgssapi/gss_acquire_cred.3 1.3 +1 -2 src/lib/libgssapi/gss_add_oid_set_member.3 1.3 +1 -2 src/lib/libgssapi/gss_canonicalize_name.3 1.3 +1 -2 src/lib/libgssapi/gss_compare_name.3 1.3 +1 -2 src/lib/libgssapi/gss_context_time.3 1.3 +1 -2 src/lib/libgssapi/gss_delete_sec_context.3 1.3 +1 -2 src/lib/libgssapi/gss_display_name.3 1.3 +1 -2 src/lib/libgssapi/gss_display_status.3 1.3 +1 -2 src/lib/libgssapi/gss_duplicate_name.3 1.3 +1 -2 src/lib/libgssapi/gss_export_name.3 1.3 +1 -2 src/lib/libgssapi/gss_export_sec_context.3 1.3 +1 -2 src/lib/libgssapi/gss_get_mic.3 1.3 +1 -2 src/lib/libgssapi/gss_import_name.3 1.3 +1 -2 src/lib/libgssapi/gss_import_sec_context.3 1.3 +1 -2 src/lib/libgssapi/gss_indicate_mechs.3 1.3 +1 -2 src/lib/libgssapi/gss_init_sec_context.3 1.3 +1 -2 src/lib/libgssapi/gss_inquire_context.3 1.3 +1 -2 src/lib/libgssapi/gss_inquire_cred.3 1.3 +1 -2 src/lib/libgssapi/gss_inquire_names_for_mech.3 1.3 +1 -2 src/lib/libgssapi/gss_process_context_token.3 1.3 +1 -2 src/lib/libgssapi/gss_release_buffer.3 1.3 +1 -2 src/lib/libgssapi/gss_release_cred.3 1.3 +1 -2 src/lib/libgssapi/gss_release_name.3 1.3 +1 -2 src/lib/libgssapi/gss_release_oid_set.3 1.3 +1 -2 src/lib/libgssapi/gss_test_oid_set_member.3 1.3 +1 -2 src/lib/libgssapi/gss_unwrap.3 1.3 +1 -2 src/lib/libgssapi/gss_verify_mic.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:55:05 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FCDA16A474; Tue, 30 Oct 2007 15:55:05 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 48DA313C491; Tue, 30 Oct 2007 15:55:05 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFt5qV094386; Tue, 30 Oct 2007 15:55:05 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFt57w094385; Tue, 30 Oct 2007 15:55:05 GMT (envelope-from keramida) Message-Id: <200710301555.l9UFt57w094385@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:55:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libgssapi gss_add_cred.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:55:05 -0000 keramida 2007-10-30 15:55:05 UTC FreeBSD src repository (doc committer) Modified files: lib/libgssapi gss_add_cred.3 Log: Change a .PP request to a valid .Pp mdoc request, and remove an extra (but commented out) .Sh HISTORY section heading. MFC after: 3 days Revision Changes Path 1.3 +2 -3 src/lib/libgssapi/gss_add_cred.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:56:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A53EF16A417; Tue, 30 Oct 2007 15:56:13 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7E26F13C4BF; Tue, 30 Oct 2007 15:56:13 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFuDcs094440; Tue, 30 Oct 2007 15:56:13 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFuD9h094439; Tue, 30 Oct 2007 15:56:13 GMT (envelope-from keramida) Message-Id: <200710301556.l9UFuD9h094439@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:56:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libgssapi gss_create_empty_oid_set.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:56:13 -0000 keramida 2007-10-30 15:56:13 UTC FreeBSD src repository (doc committer) Modified files: lib/libgssapi gss_create_empty_oid_set.3 Log: Change a .PP request to a valid .Pp mdoc request, and remove an extra (but commented out) .Sh HISTORY section heading. MFC after: 3 days Revision Changes Path 1.3 +1 -3 src/lib/libgssapi/gss_create_empty_oid_set.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:58:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C29A416A475; Tue, 30 Oct 2007 15:58:39 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7CB13C4B3; Tue, 30 Oct 2007 15:58:39 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFwdXA094536; Tue, 30 Oct 2007 15:58:39 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFwd8u094535; Tue, 30 Oct 2007 15:58:39 GMT (envelope-from keramida) Message-Id: <200710301558.l9UFwd8u094535@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:58:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libgssapi gss_inquire_cred_by_mech.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:58:39 -0000 keramida 2007-10-30 15:58:39 UTC FreeBSD src repository (doc committer) Modified files: lib/libgssapi gss_inquire_cred_by_mech.3 Log: Remove an extra (commented out) .Sh HISTORY section heading, to avoid the risk of "shadowing" the following .El request, strip eol spaces and delete an empty line to fix mdoc warnings. MFC after: 3 days Revision Changes Path 1.3 +2 -4 src/lib/libgssapi/gss_inquire_cred_by_mech.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 15:59:44 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF4AA16A41A; Tue, 30 Oct 2007 15:59:44 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C442313C4BB; Tue, 30 Oct 2007 15:59:44 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UFxiXv094582; Tue, 30 Oct 2007 15:59:44 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UFxiVG094581; Tue, 30 Oct 2007 15:59:44 GMT (envelope-from keramida) Message-Id: <200710301559.l9UFxiVG094581@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 15:59:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 mac.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 15:59:45 -0000 keramida 2007-10-30 15:59:44 UTC FreeBSD src repository (doc committer) Modified files: share/man/man4 mac.4 Log: mdoc warning fix: Remove a spurious .El request. MFC after: 3 days Revision Changes Path 1.14 +1 -2 src/share/man/man4/mac.4 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 16:02:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24F5316A41B; Tue, 30 Oct 2007 16:02:51 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F1AA913C4B5; Tue, 30 Oct 2007 16:02:50 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UG2oCf094925; Tue, 30 Oct 2007 16:02:50 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UG2ouK094924; Tue, 30 Oct 2007 16:02:50 GMT (envelope-from keramida) Message-Id: <200710301602.l9UG2ouK094924@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 16:02:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 md.4 src/share/man/man5 quota.user.5 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 16:02:51 -0000 keramida 2007-10-30 16:02:50 UTC FreeBSD src repository (doc committer) Modified files: share/man/man4 md.4 share/man/man5 quota.user.5 Log: mdoc warning fixes: Use the correct syntax for .Bl -offset indent MFC after: 3 days Revision Changes Path 1.14 +2 -2 src/share/man/man4/md.4 1.5 +2 -2 src/share/man/man5/quota.user.5 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 16:03:40 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F34D516A46B; Tue, 30 Oct 2007 16:03:39 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C99E113C4BF; Tue, 30 Oct 2007 16:03:39 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UG3dpV096161; Tue, 30 Oct 2007 16:03:39 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UG3dnl096160; Tue, 30 Oct 2007 16:03:39 GMT (envelope-from keramida) Message-Id: <200710301603.l9UG3dnl096160@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 16:03:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man9 uio.9 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 16:03:40 -0000 keramida 2007-10-30 16:03:39 UTC FreeBSD src repository (doc committer) Modified files: share/man/man9 uio.9 Log: mdoc fix: Add missing .El request MFC after: 3 days Revision Changes Path 1.22 +2 -1 src/share/man/man9/uio.9 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 16:04:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D2B516A41B; Tue, 30 Oct 2007 16:04:24 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 15C3413C4BD; Tue, 30 Oct 2007 16:04:24 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UG4NOE096201; Tue, 30 Oct 2007 16:04:23 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UG4N2C096200; Tue, 30 Oct 2007 16:04:23 GMT (envelope-from keramida) Message-Id: <200710301604.l9UG4N2C096200@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 16:04:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/ifmcstat ifmcstat.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 16:04:24 -0000 keramida 2007-10-30 16:04:23 UTC FreeBSD src repository (doc committer) Modified files: usr.sbin/ifmcstat ifmcstat.8 Log: mdoc fix: Add missing .El request MFC after: 3 days Revision Changes Path 1.10 +2 -1 src/usr.sbin/ifmcstat/ifmcstat.8 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 16:05:41 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B50A16A468; Tue, 30 Oct 2007 16:05:41 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 53A8513C49D; Tue, 30 Oct 2007 16:05:41 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UG5fvw096288; Tue, 30 Oct 2007 16:05:41 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UG5fwP096287; Tue, 30 Oct 2007 16:05:41 GMT (envelope-from keramida) Message-Id: <200710301605.l9UG5fwP096287@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 16:05:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libgssapi gss_inquire_mechs_for_name.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 16:05:41 -0000 keramida 2007-10-30 16:05:41 UTC FreeBSD src repository (doc committer) Modified files: lib/libgssapi gss_inquire_mechs_for_name.3 Log: Remove an extra (commented out) .Sh HISTORY section heading, to avoid the risk of "shadowing" the following .El request, and delete an empty line to fix mdoc warnings. MFC after: 3 days Revision Changes Path 1.3 +1 -3 src/lib/libgssapi/gss_inquire_mechs_for_name.3 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 16:06:49 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86C6516A418; Tue, 30 Oct 2007 16:06:48 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5F51513C48E; Tue, 30 Oct 2007 16:06:48 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UG6mQZ096337; Tue, 30 Oct 2007 16:06:48 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UG6mkt096336; Tue, 30 Oct 2007 16:06:48 GMT (envelope-from keramida) Message-Id: <200710301606.l9UG6mkt096336@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 16:06:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/fwcontrol fwcontrol.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 16:06:49 -0000 keramida 2007-10-30 16:06:48 UTC FreeBSD src repository (doc committer) Modified files: usr.sbin/fwcontrol fwcontrol.8 Log: mdoc warning fix: delete spurious empty line. MFC after: 3 days Revision Changes Path 1.19 +1 -2 src/usr.sbin/fwcontrol/fwcontrol.8 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 16:08:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246AA16A47A; Tue, 30 Oct 2007 16:08:07 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EFB8F13C4B8; Tue, 30 Oct 2007 16:08:06 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UG86ge096471; Tue, 30 Oct 2007 16:08:06 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UG86js096470; Tue, 30 Oct 2007 16:08:06 GMT (envelope-from keramida) Message-Id: <200710301608.l9UG86js096470@repoman.freebsd.org> From: Giorgos Keramidas Date: Tue, 30 Oct 2007 16:08:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/fwcontrol fwcontrol.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 16:08:07 -0000 keramida 2007-10-30 16:08:06 UTC FreeBSD src repository (doc committer) Modified files: usr.sbin/fwcontrol fwcontrol.8 Log: Whitespace-only change: trim EOL spaces. Revision Changes Path 1.20 +3 -3 src/usr.sbin/fwcontrol/fwcontrol.8 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 17:49:00 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA2D616A418; Tue, 30 Oct 2007 17:49:00 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8478D13C4B8; Tue, 30 Oct 2007 17:49:00 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UHn0Al011866; Tue, 30 Oct 2007 17:49:00 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UHn0Qe011865; Tue, 30 Oct 2007 17:49:00 GMT (envelope-from ru) Message-Id: <200710301749.l9UHn0Qe011865@repoman.freebsd.org> From: Ruslan Ermilov Date: Tue, 30 Oct 2007 17:49:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/file2c file2c.1 file2c.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 17:49:00 -0000 ru 2007-10-30 17:49:00 UTC FreeBSD src repository Modified files: usr.bin/file2c file2c.1 file2c.c Log: Apply style(9) to usage(), fix markup of the manpage. Revision Changes Path 1.14 +4 -6 src/usr.bin/file2c/file2c.1 1.11 +1 -1 src/usr.bin/file2c/file2c.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 17:53:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB7E016A469; Tue, 30 Oct 2007 17:53:33 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 66F9D13C4CA; Tue, 30 Oct 2007 17:53:31 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47276F9E.7050007@FreeBSD.org> Date: Tue, 30 Oct 2007 18:53:34 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: David Xu References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> <4726FB01.4060704@freebsd.org> <47270410.2020802@FreeBSD.org> <47272B75.2020805@126.com> In-Reply-To: <47272B75.2020805@126.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, David Xu , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 17:53:34 -0000 David Xu wrote: > Kris Kennaway wrote: > >> >> PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is just in . >> >> /* >> * Static initialization values. >> */ >> #define PTHREAD_MUTEX_INITIALIZER NULL >> #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP NULL >> #define PTHREAD_COND_INITIALIZER NULL >> #define PTHREAD_RWLOCK_INITIALIZER NULL >> >>>>> I remembered mysql uses this macro to initialize spin mutex, and you >>>>> indead needs a patch to let it work >>>> >>>> >>>> No, with the code I committed mysql detects and uses it out of the >>>> box, without requiring any patches. It is easy to measure the >>>> resulting 30% performance improvement at high loads ;-) >>>> >>> see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. >> >> The code is already in mysql for use with glibc. It basically does >> >> #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP >> /* >> * Use PTHREAD_MUTEX_ADAPTIVE_NP for the mutexes we know will benefit >> * from it >> */ >> ... >> #endif >> >> so it just works. >> > > I can not find code in libthr set mutex's member field m_type to > PTHREAD_MUTEX_ADAPTIVE_NP by your change, so how can it work as > expected ? mysql does: #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP /* Set mutex type to "fast" a.k.a "adaptive" In this case the thread may steal the mutex from some other thread that is waiting for the same mutex. This will save us some context switches but may cause a thread to 'starve forever' while waiting for the mutex (not likely if the code within the mutex is short). */ pthread_mutexattr_init(&my_fast_mutexattr); pthread_mutexattr_settype(&my_fast_mutexattr, PTHREAD_MUTEX_ADAPTIVE_NP); #endif Kris From owner-cvs-src@FreeBSD.ORG Tue Oct 30 18:00:56 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9443416A41A; Tue, 30 Oct 2007 18:00:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6CA5D13C4B8; Tue, 30 Oct 2007 18:00:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UI0uHK012523; Tue, 30 Oct 2007 18:00:56 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UI0u6e012521; Tue, 30 Oct 2007 18:00:56 GMT (envelope-from jhb) Message-Id: <200710301800.l9UI0u6e012521@repoman.freebsd.org> From: John Baldwin Date: Tue, 30 Oct 2007 18:00:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/amd64/amd64 msi.c src/sys/i386/i386 msi.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 18:00:56 -0000 jhb 2007-10-30 18:00:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 msi.c sys/i386/i386 msi.c Log: MFC: Update copyright attribution. Approved by: re (kensmith) Revision Changes Path 1.6.2.1 +2 -1 src/sys/amd64/amd64/msi.c 1.6.2.1 +2 -1 src/sys/i386/i386/msi.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 18:01:44 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 762EB16A46B; Tue, 30 Oct 2007 18:01:44 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 508FA13C4A8; Tue, 30 Oct 2007 18:01:44 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UI1iur012744; Tue, 30 Oct 2007 18:01:44 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UI1ihw012743; Tue, 30 Oct 2007 18:01:44 GMT (envelope-from jhb) Message-Id: <200710301801.l9UI1ihw012743@repoman.freebsd.org> From: John Baldwin Date: Tue, 30 Oct 2007 18:01:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/amd64/amd64 msi.c src/sys/i386/i386 msi.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 18:01:44 -0000 jhb 2007-10-30 18:01:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/amd64/amd64 msi.c sys/i386/i386 msi.c Log: MFC: Update copyright attribution. Revision Changes Path 1.4.2.4 +2 -1 src/sys/amd64/amd64/msi.c 1.4.2.4 +2 -1 src/sys/i386/i386/msi.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 18:03:50 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D513516A46C; Tue, 30 Oct 2007 18:03:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ADC4C13C4A5; Tue, 30 Oct 2007 18:03:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UI3obp014068; Tue, 30 Oct 2007 18:03:50 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UI3oIt014067; Tue, 30 Oct 2007 18:03:50 GMT (envelope-from jhb) Message-Id: <200710301803.l9UI3oIt014067@repoman.freebsd.org> From: John Baldwin Date: Tue, 30 Oct 2007 18:03:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/net route.c src/sys/netinet6 nd6.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 18:03:51 -0000 jhb 2007-10-30 18:03:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net route.c sys/netinet6 nd6.c Log: MFC: Close a race when trying to lookup a gateway route in rt_check(). Approved by: re (kensmith) Revision Changes Path 1.120.2.1 +3 -1 src/sys/net/route.c 1.83.2.1 +3 -1 src/sys/netinet6/nd6.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 18:07:55 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FA9516A421; Tue, 30 Oct 2007 18:07:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 48DFB13C4C3; Tue, 30 Oct 2007 18:07:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UI7tpx014288; Tue, 30 Oct 2007 18:07:55 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UI7tkK014287; Tue, 30 Oct 2007 18:07:55 GMT (envelope-from jhb) Message-Id: <200710301807.l9UI7tkK014287@repoman.freebsd.org> From: John Baldwin Date: Tue, 30 Oct 2007 18:07:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net route.c src/sys/netinet6 nd6.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 18:07:55 -0000 jhb 2007-10-30 18:07:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net route.c sys/netinet6 nd6.c Log: MFC: Revision 1.117 of route.c as well as the fixes to close a race when trying to lookup a gateway route in rt_check(). Revision Changes Path 1.109.2.4 +8 -0 src/sys/net/route.c 1.48.2.20 +3 -1 src/sys/netinet6/nd6.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 19:23:42 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAB7C16A418; Tue, 30 Oct 2007 19:23:42 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8543313C4B6; Tue, 30 Oct 2007 19:23:42 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UJNg2g020033; Tue, 30 Oct 2007 19:23:42 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UJNglT020032; Tue, 30 Oct 2007 19:23:42 GMT (envelope-from ru) Message-Id: <200710301923.l9UJNglT020032@repoman.freebsd.org> From: Ruslan Ermilov Date: Tue, 30 Oct 2007 19:23:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/lockf lockf.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 19:23:42 -0000 ru 2007-10-30 19:23:42 UTC FreeBSD src repository Modified files: usr.bin/lockf lockf.1 Log: Remove newly acquired hard sentence breaks. Revision Changes Path 1.20 +4 -2 src/usr.bin/lockf/lockf.1 From owner-cvs-src@FreeBSD.ORG Tue Oct 30 20:17:25 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 509DB16A419 for ; Tue, 30 Oct 2007 20:17:25 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id D5BC213C4AC for ; Tue, 30 Oct 2007 20:17:24 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so872539ika for ; Tue, 30 Oct 2007 13:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=1TAKrQeyRTsFJ38eCnTULzG/8qkdefRwa5e1PUJfBz4=; b=Y4OQGBBbhW4+rdpOLQGCnYv5PJIbeu1zJvo/EX5tTaDj1g22u9Fj5kw6f60qBiGLpamu9mygQGkiYlaFmD+Q+7cttJ2sw9yGx6M/RpLaubvSLPcjGdnEPipGiSWwHouKqNDsGbTwbJNbagGDjtruDRqQ1QkAIRNU7PzNJ5bJ0wA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=tKKaok8D8m9Zk5OAS/ESzCkLWYBAnoaKzn1KUW0Rz0HzQ+EL4Wh9+eiue4f9A5nOzX6Kx2vjhOyTL8cOVlsm5wK239AjESmn2brFYEm3AH80Z4tV4px/sLSHw24k/R7nkOl1R6ER/A4Q8z76CR7n8yyd4NQiAqx9X/Egowhh03g= Received: by 10.78.201.10 with SMTP id y10mr3267015huf.1193773870344; Tue, 30 Oct 2007 12:51:10 -0700 (PDT) Received: from epsilon.mshome.net ( [62.169.110.210]) by mx.google.com with ESMTPS id d27sm8382317nfh.2007.10.30.12.51.08 (version=SSLv3 cipher=OTHER); Tue, 30 Oct 2007 12:51:09 -0700 (PDT) Message-Id: <1E8A713E-50C8-4041-869A-CD2762F9E474@fnop.net> From: Rui Paulo To: Takahashi Yoshihiro In-Reply-To: <200710261342.l9QDgIb5029119@repoman.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Tue, 30 Oct 2007 19:51:05 +0000 References: <200710261342.l9QDgIb5029119@repoman.freebsd.org> X-Mailer: Apple Mail (2.912) Sender: Rui Paulo Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/modules Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 20:17:25 -0000 On 26 Oct 2007, at 14:42, Takahashi Yoshihiro wrote: > nyan 2007-10-26 13:42:18 UTC > > FreeBSD src repository > > Modified files: > sys/modules Makefile > Log: > Disable the coretemp and nvram on pc98. > > Revision Changes Path > 1.546 +2 -2 src/sys/modules/Makefile Thanks, I guess I forgot about pc98. Regards. -- Rui Paulo From owner-cvs-src@FreeBSD.ORG Tue Oct 30 20:27:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3749416A469; Tue, 30 Oct 2007 20:27:28 +0000 (UTC) (envelope-from flata@magnesium.net) Received: from toxic.magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.freebsd.org (Postfix) with ESMTP id 1A04913C447; Tue, 30 Oct 2007 20:27:28 +0000 (UTC) (envelope-from flata@magnesium.net) Received: by toxic.magnesium.net (Postfix, from userid 1212) id 4985DDA828; Tue, 30 Oct 2007 12:03:31 -0800 (PST) Date: Tue, 30 Oct 2007 10:03:31 -1000 From: Juli Mallett To: "Andrey A. Chernov" Message-ID: <20071030200331.GA29309@toxic.magnesium.net> References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710272232.l9RMWSbK072082@repoman.freebsd.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 20:27:28 -0000 * "Andrey A. Chernov" [ 2007-10-27 ] [ cvs commit: src/include _ctype.h ] > ache 2007-10-27 22:32:28 UTC > > FreeBSD src repository > > Modified files: > include _ctype.h > Log: > Micro-optimization of prev. commit, change > (_c < 0 || _c >= 128) to (_c & ~0x7F) Isn't that a non-optimization in code and a minor pessimization of readability? Maybe I'm getting rusty, but those seem to result in nearly identical code on i386 with a relatively modern GCC. Did you look at the compiler output for this optimization? Is there a specific expensive instruction you're trying to avoid? For such thoroughyl bit-aligned range checks, you shouldn't even get a branch for the former case. Is there a platform other than i386 I should look at where the previous expression is more clearly pessimized? Or a different compiler than GCC? juli. From owner-cvs-src@FreeBSD.ORG Tue Oct 30 21:43:34 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2B0A16A496 for ; Tue, 30 Oct 2007 21:43:34 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id 5A12113C4B7 for ; Tue, 30 Oct 2007 21:43:34 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so2753441fka for ; Tue, 30 Oct 2007 14:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=rQeeSUOInK7nApnIPEfzH3fJCXmJF8SmyylyhZyumno=; b=uRFJ3sc35oJAcc9MgppulqM32WdiV1SPw/MVU7p0HhNKfwzaqM7MT3zBK7DeHHzgJcogtVtLLCrk6ZKhdIZQFo/6GklD0ZdiFQNgxDWt+mBEXnLX1QNfaFTbk57HaOlVXOTBs5Uk+rDpwA6JcrZmKVhr17xVnK0yiVzCc5Wies0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=KBDQ77HFtCmuXq3NBmEx2ghq3nbehS0g4yqosGJW/angGWb1elj20R/90lAUP0kVPrlPcsBLd3QTXrnoGpxhYd79g6b5z89AFu4vIVURPGJpXN9qestfXikRinnYdSuqCjSxLJNKMLWHet39Yo0RUKe7oX0+w+hDKy+CMXzBlc4= Received: by 10.82.160.19 with SMTP id i19mr14578904bue.1193780611952; Tue, 30 Oct 2007 14:43:31 -0700 (PDT) Received: from epsilon.mshome.net ( [62.169.110.210]) by mx.google.com with ESMTPS id h6sm1098033nfh.2007.10.30.14.43.28 (version=SSLv3 cipher=OTHER); Tue, 30 Oct 2007 14:43:30 -0700 (PDT) Message-Id: <86B7CE81-1A4C-47C8-9A4B-AA6E68C0D799@fnop.net> From: Rui Paulo To: Takahashi Yoshihiro In-Reply-To: <200710261342.l9QDgIb5029119@repoman.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Tue, 30 Oct 2007 21:43:21 +0000 References: <200710261342.l9QDgIb5029119@repoman.freebsd.org> X-Mailer: Apple Mail (2.912) Sender: Rui Paulo Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/modules Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 21:43:35 -0000 On 26 Oct 2007, at 14:42, Takahashi Yoshihiro wrote: > nyan 2007-10-26 13:42:18 UTC > > FreeBSD src repository > > Modified files: > sys/modules Makefile > Log: > Disable the coretemp and nvram on pc98. > > Revision Changes Path > 1.546 +2 -2 src/sys/modules/Makefile Thanks! -- Rui Paulo From owner-cvs-src@FreeBSD.ORG Tue Oct 30 21:57:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D443316A469; Tue, 30 Oct 2007 21:57:58 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7E60E13C4B0; Tue, 30 Oct 2007 21:57:58 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix1-g20.free.fr (Postfix) with ESMTP id 0F0E41D1857A; Tue, 30 Oct 2007 22:26:33 +0100 (CET) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id BEB253F61A5; Tue, 30 Oct 2007 22:26:32 +0100 (CET) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id AE1833F61A0; Tue, 30 Oct 2007 22:26:32 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 9BB959B497; Tue, 30 Oct 2007 21:25:49 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 87A60405B; Tue, 30 Oct 2007 22:25:49 +0100 (CET) Date: Tue, 30 Oct 2007 22:25:49 +0100 From: Jeremie Le Hen To: Doug Barton Message-ID: <20071030212549.GK78526@obiwan.tataz.chchile.org> References: <200710090730.l997UEEF042804@repoman.freebsd.org> <20071010002930.GA91077@dragon.NUXI.org> <20071010183542.GA58383@hub.freebsd.org> <86odf615j2.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d early.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 21:57:58 -0000 Doug, Sorry for the late reply. On Thu, Oct 11, 2007 at 08:58:25AM -0700, Doug Barton wrote: > No one is suggesting removing rc.local, and I would vigorously oppose doing > so. > > As I said in my last message, if users respond to the deprecation warning > with a request not to remove it, we can convert it to being a regular rc.d > script. That way it's only a little dangerous instead of being super > dangerous and potentially fatal. Letting appart the fact that you consider early.sh as a hack, it may still be quite useful as other posts in this thread have shown. What do you think of something like this: /etc/defaults/rc.conf: % inline_early=NO /etc/rc.d/early.sh % if checkyesno inline_early; then % . /etc/rc.early % else % (. /etc/rc.early) % fi Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-cvs-src@FreeBSD.ORG Tue Oct 30 22:09:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D381116A417; Tue, 30 Oct 2007 22:09:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C52ED13C494; Tue, 30 Oct 2007 22:09:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UM9GjO051933; Tue, 30 Oct 2007 22:09:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UM9Gp1051932; Tue, 30 Oct 2007 22:09:16 GMT (envelope-from jhb) Message-Id: <200710302209.l9UM9Gp1051932@repoman.freebsd.org> From: John Baldwin Date: Tue, 30 Oct 2007 22:09:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/pci agp.c agp_ali.c agp_amd.c agp_amd64.c agp_ati.c agp_i810.c agp_intel.c agp_nvidia.c agp_sis.c agp_via.c agppriv.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 22:09:16 -0000 jhb 2007-10-30 22:09:16 UTC FreeBSD src repository Modified files: sys/pci agp.c agp_ali.c agp_amd.c agp_amd64.c agp_ati.c agp_i810.c agp_intel.c agp_nvidia.c agp_sis.c agp_via.c agppriv.h Log: Split agp_generic_detach() up into two routines: agp_free_cdev() destroys /dev/agpgart and agp_free_res() frees resources like the BAR for the aperture. Splitting this up lets chipset-specific detach routines manipulate the aperture during their detach routines without panicing. MFC after: 1 week Reviewed by: anholt Revision Changes Path 1.57 +17 -2 src/sys/pci/agp.c 1.19 +2 -4 src/sys/pci/agp_ali.c 1.24 +2 -4 src/sys/pci/agp_amd.c 1.15 +3 -3 src/sys/pci/agp_amd64.c 1.4 +3 -5 src/sys/pci/agp_ati.c 1.42 +2 -4 src/sys/pci/agp_i810.c 1.35 +2 -4 src/sys/pci/agp_intel.c 1.12 +2 -4 src/sys/pci/agp_nvidia.c 1.21 +2 -4 src/sys/pci/agp_sis.c 1.25 +2 -4 src/sys/pci/agp_via.c 1.7 +2 -0 src/sys/pci/agppriv.h From owner-cvs-src@FreeBSD.ORG Tue Oct 30 22:16:47 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B66716A418; Tue, 30 Oct 2007 22:16:47 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7C03513C4AA; Tue, 30 Oct 2007 22:16:46 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (dialup55.ach.sch.gr [81.186.70.55]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id l9ULxP8K000662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 30 Oct 2007 23:59:35 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l9ULxOCa001708; Tue, 30 Oct 2007 23:59:24 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l9UKAbY0001464; Tue, 30 Oct 2007 22:10:37 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Tue, 30 Oct 2007 22:10:36 +0200 From: Giorgos Keramidas To: Mike Makonnen Message-ID: <20071030201036.GA1413@kobe.laptop> References: <200710290008.l9T08Odw067359@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710290008.l9T08Odw067359@repoman.freebsd.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.142, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.26, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/route route.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 22:16:47 -0000 On 2007-10-29 00:08, Mike Makonnen wrote: > mtm 2007-10-29 00:08:24 UTC > > FreeBSD src repository > > Modified files: > sbin/route route.c > Log: > Fix an error in bit shifting logic for network addresses. The route > command would add incorrect routing entries if network numbers weren't > fully "spelled" out according to their class. For example: > # route add 128.0/16 (works) > # route add 128/16 (doesn't work) > [...] > Submitted by: Nuno Antunes (mostly) > MFC after: 1 week > > Revision Changes Path > 1.82 +24 -20 src/sbin/route/route.c Thank you Mike! Almost identical to the patch I was testing a while back, including better netmask handling parts :-) Nuno has also mentioned that `netstat -rn' gets things wrong; do you have a WIP for that too? Do you need help with testing? From owner-cvs-src@FreeBSD.ORG Tue Oct 30 22:18:09 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2E5916A46E; Tue, 30 Oct 2007 22:18:09 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7EE13C48E; Tue, 30 Oct 2007 22:18:09 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UMI9FA052579; Tue, 30 Oct 2007 22:18:09 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UMI9vd052578; Tue, 30 Oct 2007 22:18:09 GMT (envelope-from njl) Message-Id: <200710302218.l9UMI9vd052578@repoman.freebsd.org> From: Nate Lawson Date: Tue, 30 Oct 2007 22:18:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 22:18:09 -0000 njl 2007-10-30 22:18:09 UTC FreeBSD src repository Modified files: sys/kern kern_cpu.c Log: If we're on an SMP kernel and there is more than 1 CPU, reject any attempts to change the freq before the other CPUs are active. The current code always attempts to change all CPUs to match each other, and the requisite sched_bind() call won't work before APs are launched. Revision Changes Path 1.28 +17 -1 src/sys/kern/kern_cpu.c From owner-cvs-src@FreeBSD.ORG Tue Oct 30 23:22:55 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B887C16A418; Tue, 30 Oct 2007 23:22:55 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id E88FC13C4BB; Tue, 30 Oct 2007 23:22:54 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.1/8.13.8) with ESMTP id l9UM2WHG002280; Tue, 30 Oct 2007 17:02:32 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.1/8.13.8/Submit) id l9UM2Wx3002279; Tue, 30 Oct 2007 17:02:32 -0500 (CDT) (envelope-from brooks) Date: Tue, 30 Oct 2007 17:02:32 -0500 From: Brooks Davis To: Jeremie Le Hen Message-ID: <20071030220232.GA2258@lor.one-eyed-alien.net> References: <200710090730.l997UEEF042804@repoman.freebsd.org> <20071010002930.GA91077@dragon.NUXI.org> <20071010183542.GA58383@hub.freebsd.org> <86odf615j2.fsf@ds4.des.no> <20071030212549.GK78526@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <20071030212549.GK78526@obiwan.tataz.chchile.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 30 Oct 2007 17:02:33 -0500 (CDT) Cc: cvs-src@FreeBSD.org, Doug Barton , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d early.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 23:22:55 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 30, 2007 at 10:25:49PM +0100, Jeremie Le Hen wrote: > Doug, >=20 > Sorry for the late reply. >=20 > On Thu, Oct 11, 2007 at 08:58:25AM -0700, Doug Barton wrote: > > No one is suggesting removing rc.local, and I would vigorously oppose = doing=20 > > so. > >=20 > > As I said in my last message, if users respond to the deprecation warn= ing=20 > > with a request not to remove it, we can convert it to being a regular = rc.d=20 > > script. That way it's only a little dangerous instead of being super= =20 > > dangerous and potentially fatal. >=20 > Letting appart the fact that you consider early.sh as a hack, it may > still be quite useful as other posts in this thread have shown. >=20 > What do you think of something like this: >=20 > /etc/defaults/rc.conf: > % inline_early=3DNO >=20 > /etc/rc.d/early.sh > % if checkyesno inline_early; then > % . /etc/rc.early > % else > % (. /etc/rc.early) > % fi This seems like a decent compromise to me. -- Brooks --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHJ6n4XY6L6fI4GtQRAq1xAJ9vAQyni+iYU4VCo1bsWfdi/X4rFgCfTjIy XKUDSb6pkANXrZ99eacikZ8= =IoHe -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/-- From owner-cvs-src@FreeBSD.ORG Tue Oct 30 23:24:54 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3846216A41A; Tue, 30 Oct 2007 23:24:54 +0000 (UTC) (envelope-from bsddiy@126.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0925613C4B0; Tue, 30 Oct 2007 23:24:54 +0000 (UTC) (envelope-from bsddiy@126.com) Received: from alona.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UNOnda010653; Tue, 30 Oct 2007 23:24:51 GMT (envelope-from bsddiy@126.com) Message-ID: <4727BD4A.7010301@126.com> Date: Wed, 31 Oct 2007 07:24:58 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.0 (X11/20070613) MIME-Version: 1.0 To: Ken Smith References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> <4726FB01.4060704@freebsd.org> <47270410.2020802@FreeBSD.org> <47272EC0.1030204@freebsd.org> <1193750770.25313.7.camel@opus.cse.buffalo.edu> In-Reply-To: <1193750770.25313.7.camel@opus.cse.buffalo.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, Kris Kennaway , cvs-all@FreeBSD.org, Daniel Eischen , David Xu Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 23:24:54 -0000 Ken Smith wrote: > On Tue, 2007-10-30 at 21:16 +0800, David Xu wrote: >> Kris Kennaway wrote: >>> PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is just in . >>> >>> /* >>> * Static initialization values. >>> */ >>> #define PTHREAD_MUTEX_INITIALIZER NULL >>> #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP NULL >>> #define PTHREAD_COND_INITIALIZER NULL >>> #define PTHREAD_RWLOCK_INITIALIZER NULL >>> >>>>>> I remembered mysql uses this macro to initialize spin mutex, and you >>>>>> indead needs a patch to let it work >>>>> >>>>> No, with the code I committed mysql detects and uses it out of the >>>>> box, without requiring any patches. It is easy to measure the >>>>> resulting 30% performance improvement at high loads ;-) >>>>> >>>> see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. >>> The code is already in mysql for use with glibc. It basically does >>> >>> #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP >>> /* >>> * Use PTHREAD_MUTEX_ADAPTIVE_NP for the mutexes we know will benefit >>> * from it >>> */ >>> ... >>> #endif >>> >>> so it just works. >>> >> I can not find code in libthr setting mutex's member field m_type to >> PTHREAD_MUTEX_ADAPTIVE_NP by your change, so how can it work as >> expected ? >> > > Wouldn't you expect that it's mysql that's setting the mutex's member > field? Something like this chunk of code from mysql perhaps? > > #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP > /* > Set mutex type to "fast" a.k.a "adaptive" > > In this case the thread may steal the mutex from some other thread > that is waiting for the same mutex. This will save us some > context switches but may cause a thread to 'starve forever' while > waiting for the mutex (not likely if the code within the mutex is > short). > */ > pthread_mutexattr_init(&my_fast_mutexattr); > pthread_mutexattr_settype(&my_fast_mutexattr, > PTHREAD_MUTEX_ADAPTIVE_NP); > #endif > Yes, I saw the code before. but PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP also can be used as: pthread_mutex_t mymutex = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP; The above line initializes a mutex as adaptive mutex, but our PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is defined as NULL, so obviously it create a confusion from begin, it is wrong. Regards, David Xu From owner-cvs-src@FreeBSD.ORG Tue Oct 30 23:25:05 2007 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC8F316A477; Tue, 30 Oct 2007 23:25:05 +0000 (UTC) (envelope-from bsddiy@126.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BF9FC13C4AC; Tue, 30 Oct 2007 23:25:05 +0000 (UTC) (envelope-from bsddiy@126.com) Received: from alona.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UNP2Yi010668; Tue, 30 Oct 2007 23:25:03 GMT (envelope-from bsddiy@126.com) Message-ID: <4727BD56.2060001@126.com> Date: Wed, 31 Oct 2007 07:25:10 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.0 (X11/20070613) MIME-Version: 1.0 To: Ken Smith References: <200710292101.l9TL1mAE049561@repoman.freebsd.org> <47268F17.1000106@freebsd.org> <4726E9AB.4050209@FreeBSD.org> <4726F130.2060709@freebsd.org> <4726F7E9.2060403@FreeBSD.org> <4726FB01.4060704@freebsd.org> <47270410.2020802@FreeBSD.org> <47272EC0.1030204@freebsd.org> <1193750770.25313.7.camel@opus.cse.buffalo.edu> In-Reply-To: <1193750770.25313.7.camel@opus.cse.buffalo.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, Kris Kennaway , cvs-all@FreeBSD.org, Daniel Eischen , David Xu Subject: Re: cvs commit: src/lib/libthr/thread thr_mutex.c src/lib/libkse/thread thr_mutex.c src/include pthread.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 23:25:06 -0000 Ken Smith wrote: > On Tue, 2007-10-30 at 21:16 +0800, David Xu wrote: >> Kris Kennaway wrote: >>> PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is just in . >>> >>> /* >>> * Static initialization values. >>> */ >>> #define PTHREAD_MUTEX_INITIALIZER NULL >>> #define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP NULL >>> #define PTHREAD_COND_INITIALIZER NULL >>> #define PTHREAD_RWLOCK_INITIALIZER NULL >>> >>>>>> I remembered mysql uses this macro to initialize spin mutex, and you >>>>>> indead needs a patch to let it work >>>>> >>>>> No, with the code I committed mysql detects and uses it out of the >>>>> box, without requiring any patches. It is easy to measure the >>>>> resulting 30% performance improvement at high loads ;-) >>>>> >>>> see above, I didn't see any code set PTHREAD_MUTEX_ADAPTIVE_NP type. >>> The code is already in mysql for use with glibc. It basically does >>> >>> #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP >>> /* >>> * Use PTHREAD_MUTEX_ADAPTIVE_NP for the mutexes we know will benefit >>> * from it >>> */ >>> ... >>> #endif >>> >>> so it just works. >>> >> I can not find code in libthr setting mutex's member field m_type to >> PTHREAD_MUTEX_ADAPTIVE_NP by your change, so how can it work as >> expected ? >> > > Wouldn't you expect that it's mysql that's setting the mutex's member > field? Something like this chunk of code from mysql perhaps? > > #ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP > /* > Set mutex type to "fast" a.k.a "adaptive" > > In this case the thread may steal the mutex from some other thread > that is waiting for the same mutex. This will save us some > context switches but may cause a thread to 'starve forever' while > waiting for the mutex (not likely if the code within the mutex is > short). > */ > pthread_mutexattr_init(&my_fast_mutexattr); > pthread_mutexattr_settype(&my_fast_mutexattr, > PTHREAD_MUTEX_ADAPTIVE_NP); > #endif > Yes, I saw the code before. but PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP also can be used as: pthread_mutex_t mymutex = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP; The above line initializes a mutex as adaptive mutex, but our PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is defined as NULL, so obviously it creates a confusion from begin, it is wrong. Regards, David Xu From owner-cvs-src@FreeBSD.ORG Tue Oct 30 23:34:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 634DB16A468 for ; Tue, 30 Oct 2007 23:34:39 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 0C88813C4C4 for ; Tue, 30 Oct 2007 23:34:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 5485 invoked by uid 399); 30 Oct 2007 23:27:40 -0000 Received: from localhost (HELO ?8.193.43.243?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 30 Oct 2007 23:27:40 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <4727BE08.9070700@FreeBSD.org> Date: Tue, 30 Oct 2007 16:28:08 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Jeremie Le Hen References: <200710090730.l997UEEF042804@repoman.freebsd.org> <20071010002930.GA91077@dragon.NUXI.org> <20071010183542.GA58383@hub.freebsd.org> <86odf615j2.fsf@ds4.des.no> <20071030212549.GK78526@obiwan.tataz.chchile.org> In-Reply-To: <20071030212549.GK78526@obiwan.tataz.chchile.org> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d early.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2007 23:34:39 -0000 Jeremie Le Hen wrote: > Doug, > > Sorry for the late reply. > > On Thu, Oct 11, 2007 at 08:58:25AM -0700, Doug Barton wrote: >> No one is suggesting removing rc.local, and I would vigorously oppose doing >> so. >> >> As I said in my last message, if users respond to the deprecation warning >> with a request not to remove it, we can convert it to being a regular rc.d >> script. That way it's only a little dangerous instead of being super >> dangerous and potentially fatal. > > Letting appart the fact that you consider early.sh as a hack, it may > still be quite useful as other posts in this thread have shown. > > What do you think of something like this: > > /etc/defaults/rc.conf: > % inline_early=NO The whole point of this exercise is to eliminate the .sh suffix so that this script is not sourced into the shell. I haven't seen anyone suggest that the functionality of sourcing it into the shell is what they want to preserve, so I really don't think this is relevant. I've also said on several occasions that if the users object to having it removed based on seeing the warnings that we should change it to just 'early' and remove the deprecation warning. Now can we please stop trying to preserve something before we're sure that it's really something that users want and need? Doug -- This .signature sanitized for your protection From owner-cvs-src@FreeBSD.ORG Wed Oct 31 01:08:57 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C940316A41A; Wed, 31 Oct 2007 01:08:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8A613C4B0; Wed, 31 Oct 2007 01:08:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 2DB9656EB; Wed, 31 Oct 2007 13:49:56 +1300 (NZDT) Date: Wed, 31 Oct 2007 13:49:56 +1300 From: Andrew Thompson To: John Birrell Message-ID: <20071031004956.GA27943@heff.fud.org.nz> References: <200710220413.l9M4D8g3016327@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710220413.l9M4D8g3016327@repoman.freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys kldstat.2 src/sbin/kldstat kldstat.c src/sys/kern kern_linker.c src/sys/sys linker.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 01:08:57 -0000 On Mon, Oct 22, 2007 at 04:12:58AM +0000, John Birrell wrote: > jb 2007-10-22 04:12:57 UTC > > FreeBSD src repository > > Modified files: > lib/libc/sys kldstat.2 > sbin/kldstat kldstat.c > sys/kern kern_linker.c > sys/sys linker.h > Log: > Add the full module path name to the kld_file_stat structure > for kldstat(2). > > This allows libdtrace to determine the exact file from which > a kernel module was loaded without having to guess. > > The kldstat(2) API is versioned with the size of the > kld_file_stat structure, so this change creates version 2. > > Add the pathname to the verbose output of kldstat(8) too. This change didnt actually add to the verbose output of kldstat but is always printed, # kldstat Id Refs Address Size Name 1 13 0xc0400000 940ed4 kernel (/boot/kernel/kernel) 2 1 0xc0d41000 d4f0 if_ipw.ko (/boot/kernel/if_ipw.ko) 3 1 0xc0d4f000 1088c if_iwi.ko (/boot/kernel/if_iwi.ko) 4 1 0xc0d60000 6b2ac acpi.ko (/boot/kernel/acpi.ko) 5 1 0xc56b1000 30000 iwi_bss.ko (/boot/kernel/iwi_bss.ko) I would prefer that it did in fact go under verbose. > > MFC: 3 days > > #include > -__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sbin/kldstat/kldstat.c,v 1.19 2005/09/24 08:20:45 pjd Exp $"); > +__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sbin/kldstat/kldstat.c,v 1.20 2007/10/22 04:12:57 jb Exp $"); > > #include > #include > @@ -60,9 +60,9 @@ static void printfile(int fileid, int ve > if (kldstat(fileid, &stat) < 0) > warn("can't stat file id %d", fileid); > else > - printf("%2d %4d %p %-8jx %s\n", > + printf("%2d %4d %p %-8jx %s (%s)\n", > stat.id, stat.refs, stat.address, (uintmax_t)stat.size, > - stat.name); > + stat.name, stat.pathname); > > if (verbose) { > printf("\tContains modules:\n"); From owner-cvs-src@FreeBSD.ORG Wed Oct 31 01:36:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A08416A41A; Wed, 31 Oct 2007 01:36:07 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 314B613C4B2; Wed, 31 Oct 2007 01:36:07 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V1a7EB078696; Wed, 31 Oct 2007 01:36:07 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V1a7Rr078695; Wed, 31 Oct 2007 01:36:07 GMT (envelope-from thompsa) Message-Id: <200710310136.l9V1a7Rr078695@repoman.freebsd.org> From: Andrew Thompson Date: Wed, 31 Oct 2007 01:36:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/etc network.subr X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 01:36:07 -0000 thompsa 2007-10-31 01:36:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc network.subr Log: MFC r1.180 Do not attempt to load the kernel module when checking if an interface exists. Revision Changes Path 1.164.2.8 +1 -1 src/etc/network.subr From owner-cvs-src@FreeBSD.ORG Wed Oct 31 01:37:14 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 351C816A417; Wed, 31 Oct 2007 01:37:14 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0FEDA13C4A7; Wed, 31 Oct 2007 01:37:14 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V1bDr2078735; Wed, 31 Oct 2007 01:37:13 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V1bD8S078734; Wed, 31 Oct 2007 01:37:13 GMT (envelope-from davidxu) Message-Id: <200710310137.l9V1bD8S078734@repoman.freebsd.org> From: David Xu Date: Wed, 31 Oct 2007 01:37:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 01:37:14 -0000 davidxu 2007-10-31 01:37:13 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: Restore revision 1.55, the kris's adaptive mutex type. Revision Changes Path 1.58 +36 -14 src/lib/libthr/thread/thr_mutex.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 01:44:50 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA4A416A419; Wed, 31 Oct 2007 01:44:50 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8480F13C4A5; Wed, 31 Oct 2007 01:44:50 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V1ioj8079202; Wed, 31 Oct 2007 01:44:50 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V1iomC079201; Wed, 31 Oct 2007 01:44:50 GMT (envelope-from davidxu) Message-Id: <200710310144.l9V1iomC079201@repoman.freebsd.org> From: David Xu Date: Wed, 31 Oct 2007 01:44:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 01:44:50 -0000 davidxu 2007-10-31 01:44:50 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: Don't do adaptive spinning if it is running on UP kernel. Revision Changes Path 1.59 +5 -3 src/lib/libthr/thread/thr_mutex.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 01:50:49 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660FE16A419; Wed, 31 Oct 2007 01:50:49 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 40F7813C4A3; Wed, 31 Oct 2007 01:50:49 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V1ongA079454; Wed, 31 Oct 2007 01:50:49 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V1onmd079453; Wed, 31 Oct 2007 01:50:49 GMT (envelope-from davidxu) Message-Id: <200710310150.l9V1onmd079453@repoman.freebsd.org> From: David Xu Date: Wed, 31 Oct 2007 01:50:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 01:50:49 -0000 davidxu 2007-10-31 01:50:49 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: Avoid doing adaptive spinning for priority protected mutex, current implementation always does lock in kernel. Revision Changes Path 1.60 +5 -2 src/lib/libthr/thread/thr_mutex.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 02:27:30 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B20316A47C; Wed, 31 Oct 2007 02:27:30 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DA93613C48D; Wed, 31 Oct 2007 02:27:29 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V2RT4Q082498; Wed, 31 Oct 2007 02:27:29 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V2RTaG082497; Wed, 31 Oct 2007 02:27:29 GMT (envelope-from alc) Message-Id: <200710310227.l9V2RTaG082497@repoman.freebsd.org> From: Alan Cox Date: Wed, 31 Oct 2007 02:27:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/vm vm_page.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 02:27:30 -0000 alc 2007-10-31 02:27:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm vm_page.c Log: MFC revision 1.358 Change vm_page_cache_transfer() such that it does not transfer pages that would have an offset beyond the end of the target object. Such pages should remain in the source object. Approved by: re (kensmith) Revision Changes Path 1.357.2.1 +20 -10 src/sys/vm/vm_page.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 02:31:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15D8916A479; Wed, 31 Oct 2007 02:31:52 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DFEB013C4A7; Wed, 31 Oct 2007 02:31:51 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V2VpoD082827; Wed, 31 Oct 2007 02:31:51 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V2VpoB082826; Wed, 31 Oct 2007 02:31:51 GMT (envelope-from alc) Message-Id: <200710310231.l9V2VpoB082826@repoman.freebsd.org> From: Alan Cox Date: Wed, 31 Oct 2007 02:31:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 02:31:52 -0000 alc 2007-10-31 02:31:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm vm_map.c Log: MFC revision 1.389 Correct an error in vm_map_sync(), nee vm_map_clean(), that has existed since revision 1.1. Specifically, neither traversal of the vm map checks whether the end of the vm map has been reached. Consequently, the first traversal can wrap around and bogusly return an error. Approved by: re (kensmith) Revision Changes Path 1.388.2.1 +4 -2 src/sys/vm/vm_map.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 03:59:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6FD416A46C; Wed, 31 Oct 2007 03:59:24 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B1C0E13C4A6; Wed, 31 Oct 2007 03:59:24 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V3xOcl094135; Wed, 31 Oct 2007 03:59:24 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V3xONd094134; Wed, 31 Oct 2007 03:59:24 GMT (envelope-from ariff) Message-Id: <200710310359.l9V3xONd094134@repoman.freebsd.org> From: Ariff Abdullah Date: Wed, 31 Oct 2007 03:59:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/sound/pcm ac97_patch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 03:59:24 -0000 ariff 2007-10-31 03:59:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/sound/pcm ac97_patch.c Log: MFC (revision 1.11): Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec, automuting internal speakers. Tested by: Frederic Chardon Revision Changes Path 1.3.2.5 +1 -0 src/sys/dev/sound/pcm/ac97_patch.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 03:59:54 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB6EA16A46D; Wed, 31 Oct 2007 03:59:54 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 76A5213C4B3; Wed, 31 Oct 2007 03:59:54 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-70-66.lns10.adl6.internode.on.net [121.45.70.66]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l9V3Iti8076751 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Oct 2007 13:48:57 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: cvs-all@freebsd.org Date: Wed, 31 Oct 2007 12:48:35 +0930 User-Agent: KMail/1.9.7 References: <200710260901.l9Q917Oc099500@repoman.freebsd.org> In-Reply-To: <200710260901.l9Q917Oc099500@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7150143.Iif5ut1vQB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710311348.47947.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, SXren Schmidt Subject: Re: cvs commit: src/sys/dev/ata ata-chipset.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 03:59:55 -0000 --nextPart7150143.Iif5ut1vQB Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 26 Oct 2007, SXren Schmidt wrote: > sos 2007-10-26 09:01:07 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-chipset.c > Log: > Fix the signature matching code on AHCI controllers. > Add SATA ATAPI support for AHCI controllers. Huzzah! This fixes my JMicron SATA RAID in -current. Thanks heaps. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart7150143.Iif5ut1vQB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHJ/QX5ZPcIHs/zowRAlrOAKCYWJru5wyIN9qWobCGA0+xxU6dPACghOks 9/qvg6FNiZeH8Va00Rri4Lg= =FECT -----END PGP SIGNATURE----- --nextPart7150143.Iif5ut1vQB-- From owner-cvs-src@FreeBSD.ORG Wed Oct 31 04:00:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADEBD16A4E7; Wed, 31 Oct 2007 04:00:10 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B039213C4AA; Wed, 31 Oct 2007 04:00:07 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V407pg094212; Wed, 31 Oct 2007 04:00:07 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V407E0094211; Wed, 31 Oct 2007 04:00:07 GMT (envelope-from ariff) Message-Id: <200710310400.l9V407E0094211@repoman.freebsd.org> From: Ariff Abdullah Date: Wed, 31 Oct 2007 04:00:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/sound/pcm ac97.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 04:00:10 -0000 ariff 2007-10-31 04:00:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/sound/pcm ac97.c Log: MFC (revision 1.74): Remap and virtualize mixer controls for HP nx6110 with AD1981B AC97 codec, unifying master volume control. * Remap "phout" --> SOUND_MIXER_VOLUME (internal speakers) * Virtual "vol" --> { "phout", "ogain" (headphone) } Tested by: Frederic Chardon Revision Changes Path 1.53.2.6 +73 -33 src/sys/dev/sound/pcm/ac97.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 05:00:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89FFA16A419; Wed, 31 Oct 2007 05:00:39 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 793F213C4A6; Wed, 31 Oct 2007 05:00:39 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V50d4p011814; Wed, 31 Oct 2007 05:00:39 GMT (envelope-from darrenr@repoman.freebsd.org) Received: (from darrenr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V50dij011813; Wed, 31 Oct 2007 05:00:39 GMT (envelope-from darrenr) Message-Id: <200710310500.l9V50dij011813@repoman.freebsd.org> From: Darren Reed Date: Wed, 31 Oct 2007 05:00:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/contrib/ipfilter HISTORY Makefile ip_fil.c md5.h radix.c radix_ipf.h src/contrib/ipfilter/BSD Makefile kupgrade src/contrib/ipfilter/iplang Makefile src/contrib/ipfilter/ipsend iptests.c sock.c src/contrib/ipfilter/l4check Makefile l4check.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 05:00:39 -0000 darrenr 2007-10-31 05:00:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/ipfilter HISTORY Makefile ip_fil.c md5.h radix.c radix_ipf.h contrib/ipfilter/BSD Makefile kupgrade contrib/ipfilter/iplang Makefile contrib/ipfilter/ipsend iptests.c sock.c contrib/ipfilter/l4check Makefile l4check.c contrib/ipfilter/lib Makefile alist_new.c ipft_tx.c printnat.c printpacket.c printpool_live.c printstate.c contrib/ipfilter/man ippool.5 contrib/ipfilter/test Makefile dotest nattest test.format contrib/ipfilter/test/expected f11 i21 in1 in6 contrib/ipfilter/test/input f11 l1 contrib/ipfilter/test/regress i21 i3 in1 in6 contrib/ipfilter/tools ipf_y.y ipfstat.c ipmon.c ipnat.c ipnat_y.y lexer.c sys/contrib/ipfilter/netinet fil.c ip_auth.c ip_compat.h ip_fil.h ip_fil_freebsd.c ip_frag.c ip_htable.c ip_log.c ip_lookup.c ip_lookup.h ip_nat.c ip_nat.h ip_pool.c ip_pool.h ip_proxy.c ip_rpcb_pxy.c ip_scan.c ip_state.c ip_state.h ip_sync.c ipl.h mlfk_ipl.c Log: MFC the following: Apply a few changes from ipfilter-current: * Do not hold any locks over calls to copyin/copyout. * Clean up some #ifdefs * fix a possible mbuf leak when NAT fails on policy routed packets PR: 117216 Approved by: re Revision Changes Path 1.1.1.12.2.1 +10 -2 src/contrib/ipfilter/BSD/Makefile 1.1.1.7.2.1 +9 -5 src/contrib/ipfilter/BSD/kupgrade 1.1.1.27.2.1 +99 -1 src/contrib/ipfilter/HISTORY 1.7.2.1 +9 -12 src/contrib/ipfilter/Makefile 1.5.2.1 +7 -4 src/contrib/ipfilter/ip_fil.c 1.1.1.4.10.1 +5 -4 src/contrib/ipfilter/iplang/Makefile 1.13.2.1 +7 -3 src/contrib/ipfilter/ipsend/iptests.c 1.18.2.1 +7 -3 src/contrib/ipfilter/ipsend/sock.c 1.1.1.1.24.1 +1 -1 src/contrib/ipfilter/l4check/Makefile 1.2.10.1 +31 -14 src/contrib/ipfilter/l4check/l4check.c 1.1.1.4.2.1 +1 -7 src/contrib/ipfilter/lib/Makefile 1.1.1.1.2.1 +5 -3 src/contrib/ipfilter/lib/alist_new.c 1.6.2.1 +24 -13 src/contrib/ipfilter/lib/ipft_tx.c 1.4.2.1 +10 -5 src/contrib/ipfilter/lib/printnat.c 1.4.2.1 +3 -3 src/contrib/ipfilter/lib/printpacket.c 1.1.1.1.2.1 +9 -4 src/contrib/ipfilter/lib/printpool_live.c 1.5.2.1 +3 -3 src/contrib/ipfilter/lib/printstate.c 1.2.10.1 +2 -2 src/contrib/ipfilter/man/ippool.5 1.2.10.1 +2 -2 src/contrib/ipfilter/md5.h 1.4.2.1 +7 -1 src/contrib/ipfilter/radix.c 1.4.2.1 +3 -3 src/contrib/ipfilter/radix_ipf.h 1.1.1.16.2.1 +14 -10 src/contrib/ipfilter/test/Makefile 1.1.1.4.2.1 +7 -1 src/contrib/ipfilter/test/dotest 1.1.1.2.24.1 +124 -0 src/contrib/ipfilter/test/expected/f11 1.1.1.1.2.1 +6 -0 src/contrib/ipfilter/test/expected/i21 1.1.1.5.2.1 +1 -0 src/contrib/ipfilter/test/expected/in1 1.1.1.2.2.1 +1 -0 src/contrib/ipfilter/test/expected/in6 1.1.1.3.10.1 +11 -11 src/contrib/ipfilter/test/input/f11 1.1.1.2.10.1 +8 -8 src/contrib/ipfilter/test/input/l1 1.1.1.2.10.1 +8 -1 src/contrib/ipfilter/test/nattest 1.1.1.1.2.1 +1 -0 src/contrib/ipfilter/test/regress/i21 1.1.1.3.10.1 +4 -2 src/contrib/ipfilter/test/regress/i3 1.1.1.4.2.1 +1 -0 src/contrib/ipfilter/test/regress/in1 1.1.1.2.2.1 +1 -0 src/contrib/ipfilter/test/regress/in6 1.1.1.4.2.1 +4 -1 src/contrib/ipfilter/test/test.format 1.6.2.1 +25 -1 src/contrib/ipfilter/tools/ipf_y.y 1.6.2.1 +4 -4 src/contrib/ipfilter/tools/ipfstat.c 1.7.2.1 +33 -4 src/contrib/ipfilter/tools/ipmon.c 1.5.2.1 +63 -4 src/contrib/ipfilter/tools/ipnat.c 1.5.2.1 +2 -1 src/contrib/ipfilter/tools/ipnat_y.y 1.4.2.1 +40 -17 src/contrib/ipfilter/tools/lexer.c 1.52.2.1 +164 -125 src/sys/contrib/ipfilter/netinet/fil.c 1.44.2.1 +19 -19 src/sys/contrib/ipfilter/netinet/ip_auth.c 1.33.2.1 +127 -57 src/sys/contrib/ipfilter/netinet/ip_compat.h 1.35.2.1 +32 -21 src/sys/contrib/ipfilter/netinet/ip_fil.h 1.6.2.1 +136 -149 src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c 1.32.2.1 +9 -9 src/sys/contrib/ipfilter/netinet/ip_frag.c 1.4.2.1 +40 -52 src/sys/contrib/ipfilter/netinet/ip_htable.c 1.33.2.1 +22 -16 src/sys/contrib/ipfilter/netinet/ip_log.c 1.1.1.3.2.1 +43 -7 src/sys/contrib/ipfilter/netinet/ip_lookup.c 1.1.1.3.2.1 +1 -2 src/sys/contrib/ipfilter/netinet/ip_lookup.h 1.42.2.1 +189 -69 src/sys/contrib/ipfilter/netinet/ip_nat.c 1.26.2.1 +7 -3 src/sys/contrib/ipfilter/netinet/ip_nat.h 1.1.1.3.2.1 +36 -49 src/sys/contrib/ipfilter/netinet/ip_pool.c 1.1.1.3.2.1 +2 -2 src/sys/contrib/ipfilter/netinet/ip_pool.h 1.29.2.1 +7 -5 src/sys/contrib/ipfilter/netinet/ip_proxy.c 1.1.1.3.2.1 +1 -1 src/sys/contrib/ipfilter/netinet/ip_rpcb_pxy.c 1.1.1.4.2.1 +4 -2 src/sys/contrib/ipfilter/netinet/ip_scan.c 1.39.2.1 +109 -65 src/sys/contrib/ipfilter/netinet/ip_state.c 1.19.2.1 +5 -7 src/sys/contrib/ipfilter/netinet/ip_state.h 1.5.2.1 +6 -6 src/sys/contrib/ipfilter/netinet/ip_sync.c 1.26.2.1 +5 -5 src/sys/contrib/ipfilter/netinet/ipl.h 1.19.2.1 +11 -2 src/sys/contrib/ipfilter/netinet/mlfk_ipl.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 05:59:18 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4538F16A41A; Wed, 31 Oct 2007 05:59:18 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 202D113C480; Wed, 31 Oct 2007 05:59:18 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V5xI82016029; Wed, 31 Oct 2007 05:59:18 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V5xHvq016028; Wed, 31 Oct 2007 05:59:17 GMT (envelope-from brueffer) Message-Id: <200710310559.l9V5xHvq016028@repoman.freebsd.org> From: Christian Brueffer Date: Wed, 31 Oct 2007 05:59:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/fwcontrol fwcontrol.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 05:59:18 -0000 brueffer 2007-10-31 05:59:17 UTC FreeBSD src repository Modified files: usr.sbin/fwcontrol fwcontrol.8 Log: Remove dublicate .Pp, sort SEE ALSO. Revision Changes Path 1.21 +3 -4 src/usr.sbin/fwcontrol/fwcontrol.8 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 07:18:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9729516A41B; Wed, 31 Oct 2007 07:18:32 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 34BA913C4A3; Wed, 31 Oct 2007 07:18:31 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from [127.0.0.1] (kevlo.org [220.128.136.52]) (authenticated bits=0) by ns.kevlo.org (8.14.1/8.14.1) with ESMTP id l9V5013r020789; Wed, 31 Oct 2007 13:00:01 +0800 (CST) (envelope-from kevlo@FreeBSD.org) From: Kevin Lo To: Warner Losh In-Reply-To: <200710180533.l9I5X6Zf007555@repoman.freebsd.org> References: <200710180533.l9I5X6Zf007555@repoman.freebsd.org> Content-Type: text/plain Date: Wed, 31 Oct 2007 12:59:32 +0800 Message-Id: <1193806772.6435.10.camel@monet> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all Subject: Re: cvs commit: src/sys/arm/arm cpufunc.c cpufunc_asm_arm11.S cpufunc_asm_armv5.S cpufunc_asm_armv5_ec.S identcpu.c src/sys/arm/include cpuconf.h cpufunc.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 07:18:32 -0000 On Thu, 2007-10-18 at 05:33 +0000, Warner Losh wrote: > imp 2007-10-18 05:33:06 UTC > > FreeBSD src repository > > Modified files: > sys/arm/arm cpufunc.c identcpu.c > sys/arm/include cpuconf.h cpufunc.h > Added files: > sys/arm/arm cpufunc_asm_arm11.S cpufunc_asm_armv5.S > cpufunc_asm_armv5_ec.S > Log: > Merge support from p4 (from NetBSD) for arm9e and arm10, arm11 cores. Not > yet connected to the build, but reduces diffs to p4 repo. > > Obtained from: NetBSD Thanks! Kevin From owner-cvs-src@FreeBSD.ORG Wed Oct 31 07:27:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C2F116A421; Wed, 31 Oct 2007 07:27:37 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 161BB13C4B5; Wed, 31 Oct 2007 07:27:32 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V7RVNH023383; Wed, 31 Oct 2007 07:27:31 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V7RVpE023382; Wed, 31 Oct 2007 07:27:31 GMT (envelope-from kevlo) Message-Id: <200710310727.l9V7RVpE023382@repoman.freebsd.org> From: Kevin Lo Date: Wed, 31 Oct 2007 07:27:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/arm cpufunc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 07:27:37 -0000 kevlo 2007-10-31 07:27:31 UTC FreeBSD src repository Modified files: sys/arm/arm cpufunc.c Log: Don't define get_cachetype() for CPU_ARM9E unless it's going to be used. Revision Changes Path 1.20 +1 -1 src/sys/arm/arm/cpufunc.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 07:28:45 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9F4216A420; Wed, 31 Oct 2007 07:28:45 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A3F1813C4A5; Wed, 31 Oct 2007 07:28:45 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V7Sj6Z023440; Wed, 31 Oct 2007 07:28:45 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V7SjPH023439; Wed, 31 Oct 2007 07:28:45 GMT (envelope-from kevlo) Message-Id: <200710310728.l9V7SjPH023439@repoman.freebsd.org> From: Kevin Lo Date: Wed, 31 Oct 2007 07:28:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/conf options.arm X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 07:28:45 -0000 kevlo 2007-10-31 07:28:45 UTC FreeBSD src repository Modified files: sys/conf options.arm Log: Add CPU_ARM9E Revision Changes Path 1.19 +1 -0 src/sys/conf/options.arm From owner-cvs-src@FreeBSD.ORG Wed Oct 31 08:06:22 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 144E616A41B; Wed, 31 Oct 2007 08:06:22 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: from terra.mike.lan (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D92A413C481; Wed, 31 Oct 2007 08:06:08 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: by terra.mike.lan (Postfix, from userid 1000) id ADCA0678B6; Wed, 31 Oct 2007 11:09:47 +0300 (EAT) From: Mike Makonnen To: Giorgos Keramidas In-Reply-To: <20071030201036.GA1413@kobe.laptop> References: <200710290008.l9T08Odw067359@repoman.freebsd.org> <20071030201036.GA1413@kobe.laptop> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 31 Oct 2007 11:09:46 +0300 Message-Id: <1193818186.22773.6.camel@terra> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Cc: cvs-src@freebsd.org, Mike Makonnen , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/route route.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mtm@FreeBSD.Org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 08:06:22 -0000 On Tue, 2007-10-30 at 22:10 +0200, Giorgos Keramidas wrote: > Nuno has also mentioned that `netstat -rn' gets things wrong; do you > have a WIP for that too? Do you need help with testing? Sorry, I haven't seen the discussion. Can you point me to it? Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org From owner-cvs-src@FreeBSD.ORG Wed Oct 31 08:20:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F17116A417; Wed, 31 Oct 2007 08:20:10 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DD07913C491; Wed, 31 Oct 2007 08:20:09 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V8K9HP027304; Wed, 31 Oct 2007 08:20:09 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V8K9E4027303; Wed, 31 Oct 2007 08:20:09 GMT (envelope-from yar) Message-Id: <200710310820.l9V8K9E4027303@repoman.freebsd.org> From: Yar Tikhiy Date: Wed, 31 Oct 2007 08:20:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/make make.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 08:20:10 -0000 yar 2007-10-31 08:20:09 UTC FreeBSD src repository Modified files: usr.bin/make make.1 Log: Give more details on the following topics: o How global, command-line, and environment variables relate. o What peculiarities the -f option has WRT ${MAKEFLAGS}. Revision Changes Path 1.104 +77 -7 src/usr.bin/make/make.1 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 08:42:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AE2016A469; Wed, 31 Oct 2007 08:42:19 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2485213C491; Wed, 31 Oct 2007 08:42:19 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V8gJq3028581; Wed, 31 Oct 2007 08:42:19 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V8gJln028580; Wed, 31 Oct 2007 08:42:19 GMT (envelope-from phk) Message-Id: <200710310842.l9V8gJln028580@repoman.freebsd.org> From: Poul-Henning Kamp Date: Wed, 31 Oct 2007 08:42:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/i386/i386 geode.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 08:42:19 -0000 phk 2007-10-31 08:42:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/i386/i386 geode.c Log: MFC: GeodeLX and advantech watchdogs Soekris NET5501 recognition and /dev/led/error Revision Changes Path 1.5.8.3 +93 -5 src/sys/i386/i386/geode.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 09:26:43 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A105416A417; Wed, 31 Oct 2007 09:26:43 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 926C513C4A6; Wed, 31 Oct 2007 09:26:43 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9V9QhHN041451; Wed, 31 Oct 2007 09:26:43 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9V9Qhi4041450; Wed, 31 Oct 2007 09:26:43 GMT (envelope-from yar) Message-Id: <200710310926.l9V9Qhi4041450@repoman.freebsd.org> From: Yar Tikhiy Date: Wed, 31 Oct 2007 09:26:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src Makefile.inc1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 09:26:43 -0000 yar 2007-10-31 09:26:43 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: Decouple the install tools from the main system as much as possible. I.e., not only copy them to a scratch dir, but also make them use saved copies of libraries and locale files. That gives us several benefits: 1) ABI breakages should no longer affect installworld over the live system. 2) It becomes safe to run installworld while still running the old kernel. However, it can be reasonable to save the old /rescue before that to be able to run the old reboot(8), as the new binaries are rather likely to fail with the old kernel. Anyhow, it's now possible to upgrade a system in a single reboot _reliably_. 3) With a bit of hackery around rtld(8), it becomes possible to do destructive cross-installs, e.g., i386->amd64 over the live system. The only shared item left between the old and new systems is rtld(8), which cannot be run from a saved copy easily because its full pathname is stored in the respective field of each ELF executable. (In theory, that field could be overridden, e.g., from the environment, but this can lead to security issues.) That's why a destructive cross-install isn't possible w/o hackery yet. Fruitful ideas by: ru Reviewed by: ru Tested with: audit(4) Revision Changes Path 1.590 +32 -14 src/Makefile.inc1 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 10:36:27 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3177516A475; Wed, 31 Oct 2007 10:36:27 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA8B13C4A6; Wed, 31 Oct 2007 10:36:26 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id l9VATphK012020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 31 Oct 2007 12:30:00 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l9VATkM9002512; Wed, 31 Oct 2007 12:29:46 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l9VATkqX002511; Wed, 31 Oct 2007 12:29:46 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Wed, 31 Oct 2007 12:29:46 +0200 From: Giorgos Keramidas To: Mike Makonnen Message-ID: <20071031102946.GA1795@kobe.laptop> References: <200710290008.l9T08Odw067359@repoman.freebsd.org> <20071030201036.GA1413@kobe.laptop> <1193818186.22773.6.camel@terra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1193818186.22773.6.camel@terra> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.11, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.29, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sbin/route route.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 10:36:27 -0000 On 2007-10-31 11:09, Mike Makonnen wrote: > On Tue, 2007-10-30 at 22:10 +0200, Giorgos Keramidas wrote: > > Nuno has also mentioned that `netstat -rn' gets things wrong; do you > > have a WIP for that too? Do you need help with testing? > > Sorry, I haven't seen the discussion. Can you point me to it? There's nothing to be sorry about :) The post which spawned the route/netstat discussion was: http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015271.html Nuno mentioned the netstat patch at: http://lists.freebsd.org/pipermail/freebsd-net/2007-September/015368.html From owner-cvs-src@FreeBSD.ORG Wed Oct 31 10:41:54 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67AF316A419; Wed, 31 Oct 2007 10:41:54 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id 009AB13C4B7; Wed, 31 Oct 2007 10:41:53 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c211-30-219-213.carlnfd3.nsw.optusnet.com.au (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9VAf9E2016862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Oct 2007 21:41:15 +1100 Date: Wed, 31 Oct 2007 21:41:13 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: d@delphij.net In-Reply-To: <4720E904.2090704@delphij.net> Message-ID: <20071031205412.U3526@delplex.bde.org> References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <4720B30F.4040903@samsco.org> <20071025151707.GA11398@nagual.pp.ru> <4720E0AF.1010004@samsco.org> <4720E904.2090704@delphij.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Andrey Chernov , Scott Long , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 10:41:54 -0000 On Thu, 25 Oct 2007, LI Xin wrote: > Scott Long wrote: >> Andrey Chernov wrote: >>> On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote: >>>> Andrey A. Chernov wrote: >>>>> ache 2007-10-15 09:51:30 UTC >>>>> FreeBSD src repository >>>>> Modified files: >>>>> lib/libc/locale utf8.c Log: >>>>> Add comment explaining __mb_sb_limit trick here. >>>>> Revision Changes Path >>>>> 1.16 +5 -0 src/lib/libc/locale/utf8.c >>>> When is the ABI damage from this going to be fixed? >>> >>> There is no ABI damage in -current. >> >> Exposing the __mb_sb_limit symbol has instantly created a need >> to have a compat7x package, and is causing many users problems >> during upgrades and normal operations. It may not be a problem >> for you, Andre, but it's a problem for everyone else. Please >> respect this and fix it. > > Well, I think the problem is not exposing a new symbol by itself, but > __mb_sb_limit is being used in _ctype.h, in a form of __inline > functions. Therefore, the change will break new binaries running on > older systems. Personally I think this is acceptable, but maybe we > could have a better way to avoid this, because the binaries are no > longer backward compatible (i.e. you may have trouble running a program > compiled for 6.3-RELEASE on 6.2-RELEASE, if it uses locale bits). I used to think that using inline functions reduced ABI/API problems. Now I know that it increases them. Inline functions may or may not actually be inlined (and they usually won't be if the application is compiled with -O0), so using them gives all the problems of non-inline functions, plus the problems of determining how much of the ABI they expose and making the exposed ABI official. The amount of exposure depends on the user's ${CFLAGS}, so determining it is difficult. It is probably necessary to make all symbols referenced in all inline functions part of the ABI. __mb_sb_limit is extern int, so the ABI breakage was obvious. If it had been a compile-time constant with the usual ${CFLAGS} but not a constant with -O0, of if the constant depended on ${CFLAGS} or changed with __FreeBSD_version, then the problem would have been less obvious. Now the limit is spelled 128, so it really is constant and won't cause problems unless the constant changes. _ctype.h still declares __mb_sb_limit but now doesn't use it. __mb_sb_limit was and is declared as extern in too many files in libc/locale. The extern in _ctype.h probably gives redundant declarations. __mb_sb_limit is still initialized in many files in libc/locale. These initializations now seem to be unused. Some of them are to 256, so why is the constant only 128? __mb_sb_limit is still in Symbol.map. I think this would be needed if __mb_sb_limit were actually used (since although it is now private to the library, it would be part of an inter-library ABI if it were used). Bruce From owner-cvs-src@FreeBSD.ORG Wed Oct 31 11:19:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2114216A46C; Wed, 31 Oct 2007 11:19:33 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1171713C48D; Wed, 31 Oct 2007 11:19:33 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VBJW0J050348; Wed, 31 Oct 2007 11:19:32 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VBJWrP050347; Wed, 31 Oct 2007 11:19:32 GMT (envelope-from yar) Message-Id: <200710311119.l9VBJWrP050347@repoman.freebsd.org> From: Yar Tikhiy Date: Wed, 31 Oct 2007 11:19:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/libexec Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 11:19:33 -0000 yar 2007-10-31 11:19:32 UTC FreeBSD src repository Modified files: libexec Makefile Log: Add a hackish knob to skip rtld, NO_RTLD. In conjunction with src/Makefile.inc1 rev. 1.590, it can allow installing a world cross-built for a different arch over the live system. The procedure is more or less as follows: cp -R /rescue /rescue.old make installkernel TARGET_ARCH=foo make -DNO_RTLD installworld TARGET_ARCH=foo ^^^^^^^^^ PATH=/rescue.old chflags noschg /libexec/ld-elf.so.1 cp /usr/obj/foo/usr/src/libexec/rtld/ld-elf.so.1 /libexec chflags schg /libexec/ld-elf.so.1 reboot Revision Changes Path 1.78 +1 -1 src/libexec/Makefile From owner-cvs-src@FreeBSD.ORG Wed Oct 31 11:53:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A43DC16A421; Wed, 31 Oct 2007 11:53:19 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7B1C713C4AA; Wed, 31 Oct 2007 11:53:19 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VBrIKc053204; Wed, 31 Oct 2007 11:53:18 GMT (envelope-from nyan@repoman.freebsd.org) Received: (from nyan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VBrIVl053203; Wed, 31 Oct 2007 11:53:18 GMT (envelope-from nyan) Message-Id: <200710311153.l9VBrIVl053203@repoman.freebsd.org> From: Takahashi Yoshihiro Date: Wed, 31 Oct 2007 11:53:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/pc98/pc98 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 11:53:19 -0000 nyan 2007-10-31 11:53:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/pc98/pc98 machdep.c Log: MFi386: revision 1.616.2.9 Don't abuse tf_err to pass the faulting virtual address to signal handlers. Revision Changes Path 1.363.2.8 +6 -6 src/sys/pc98/pc98/machdep.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 12:42:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B27916A468; Wed, 31 Oct 2007 12:42:02 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by mx1.freebsd.org (Postfix) with ESMTP id 7EEA313C4D1; Wed, 31 Oct 2007 12:42:01 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c211-30-219-213.carlnfd3.nsw.optusnet.com.au (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9VCf0Hn026876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Oct 2007 23:41:01 +1100 Date: Wed, 31 Oct 2007 23:41:08 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Giorgos Keramidas In-Reply-To: <20071030201036.GA1413@kobe.laptop> Message-ID: <20071031214125.V3526@delplex.bde.org> References: <200710290008.l9T08Odw067359@repoman.freebsd.org> <20071030201036.GA1413@kobe.laptop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Mike Makonnen , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/route route.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 12:42:03 -0000 On Tue, 30 Oct 2007, Giorgos Keramidas wrote: > On 2007-10-29 00:08, Mike Makonnen wrote: >> mtm 2007-10-29 00:08:24 UTC >> >> FreeBSD src repository >> >> Modified files: >> sbin/route route.c >> Log: >> Fix an error in bit shifting logic for network addresses. The route >> command would add incorrect routing entries if network numbers weren't >> fully "spelled" out according to their class. For example: >> # route add 128.0/16 (works) >> # route add 128/16 (doesn't work) Isn't this supposed to be handled by inet_net_pton(3)? >> [...] >> Submitted by: Nuno Antunes (mostly) >> MFC after: 1 week >> >> Revision Changes Path >> 1.82 +24 -20 src/sbin/route/route.c > > Thank you Mike! Almost identical to the patch I was testing a while > back, including better netmask handling parts :-) > > Nuno has also mentioned that `netstat -rn' gets things wrong; do you > have a WIP for that too? Do you need help with testing? I don't know much about this, but noticed some related bugs in netstat going away, which I though was due to the libary being improved. Actually, the problems in netstat are smaller, since it just needs to print addresses in a standard format. It uses inet_ntoa() and inet_ntop(), and these seem to be inferior in most ways to inet_net_*(). In particular, /N is only documented to be handled by inet_net_pton(), and then only for full quad addresses. However, inet_net_pton() seems to do the right thing for shorter addresses (it does the same thing for 128/16 as for 128/16; the result on little-endian machines is 16 bits with value 0x0080; printing this result using inet_net_ntop() gives 128.0/16). OTOH, inet_net_pton() doesn't support hex numbers in dotted-quad format (it only accepts a leading 0x and then wants no dots). The man pages aren't very clear about this. FreeBSD's libc/net/in_addr.c was cleaned up significantly in rev.1.8, but the changes were clobbered by less significant changes in the ISC version. E.g., where 1.8 version uses strtoul() and actually checks for errors, rev.1.7 uses a home-made number parser that silently overflows for large (invalid) numbers, while the current FreeBSD=ISC version is identical with 1.7 except for cosmetic changes and 2 fixes for bugs other than the overflow bugs in the parser. The history is hard to follow because the current version is in a different directory (libc/inet). The inet_net_*() functions are in a different file and don't seem to have ever been changed significantly by FreeBSD. They have the usual home-made number parser with overflow bugs. Their non-support for dotted-hex numbers may be just a bug. A comment in the code says that hex octets are supported, and the man page says that all "parts" of an address may be a number in C format, including hex and octal. The implementation is completely missing support for octal (e.g., 010 is interpreted as decimal 10 by inet_net_ntop() but as decimal 8 by inet_ntop()). However, their man page seems to have been cloned from inet.3, so it might not be authoritative. Bruce From owner-cvs-src@FreeBSD.ORG Wed Oct 31 13:06:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B6B716A41B; Wed, 31 Oct 2007 13:06:19 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3233613C4B0; Wed, 31 Oct 2007 13:06:19 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VD6IDl075718; Wed, 31 Oct 2007 13:06:18 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VD6IOe075717; Wed, 31 Oct 2007 13:06:18 GMT (envelope-from phk) Message-Id: <200710311306.l9VD6IOe075717@repoman.freebsd.org> From: Poul-Henning Kamp Date: Wed, 31 Oct 2007 13:06:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 13:06:19 -0000 phk 2007-10-31 13:06:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ata ata-chipset.c ata-pci.h Log: MFC: recognize AMD GeodeLX companion chip CS5536 Revision Changes Path 1.126.2.21 +1 -0 src/sys/dev/ata/ata-chipset.c 1.49.2.13 +1 -0 src/sys/dev/ata/ata-pci.h From owner-cvs-src@FreeBSD.ORG Wed Oct 31 13:49:20 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADD0616A421; Wed, 31 Oct 2007 13:49:20 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 850D413C481; Wed, 31 Oct 2007 13:49:20 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VDnKl2082024; Wed, 31 Oct 2007 13:49:20 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VDnKqv082023; Wed, 31 Oct 2007 13:49:20 GMT (envelope-from ru) Message-Id: <200710311349.l9VDnKqv082023@repoman.freebsd.org> From: Ruslan Ermilov Date: Wed, 31 Oct 2007 13:49:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/tcpdrop tcpdrop.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 13:49:20 -0000 ru 2007-10-31 13:49:20 UTC FreeBSD src repository Modified files: usr.sbin/tcpdrop tcpdrop.c Log: Normalize usage output. Revision Changes Path 1.3 +4 -2 src/usr.sbin/tcpdrop/tcpdrop.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 14:30:21 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FFBB16A417; Wed, 31 Oct 2007 14:30:21 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1E2DA13C48E; Wed, 31 Oct 2007 14:30:21 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VEULig086637; Wed, 31 Oct 2007 14:30:21 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VEUKEj086636; Wed, 31 Oct 2007 14:30:20 GMT (envelope-from emaste) Message-Id: <200710311430.l9VEUKEj086636@repoman.freebsd.org> From: Ed Maste Date: Wed, 31 Oct 2007 14:30:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sbin/dhclient clparse.c dhclient-script dhclient.c dhclient.conf dhcp.h tables.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 14:30:21 -0000 emaste 2007-10-31 14:30:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/dhclient clparse.c dhclient-script dhclient.c dhclient.conf dhcp.h tables.c Log: MFC to RELENG_6 dhclient RFC3442 support (the classless static route option) dhclient.conf 1.2 Add a $FreeBSD$ tag missing after the original import. Note that this file isn't actually installed; the one in src/etc is. clparse.c 1.3 dhclient-script 1.15 dhclient.c 1.21 dhclient.conf 1.3 dhcp.h 1.3 tables.c 1.4 Implement RFC3442, the Classless Static Route option. The original DHCP specification includes a route option but it supports only class-based routes. RFC3442 adds support for specifying the netmask width for each static route. A variable length encoding is used to minimize the size of this option. PR: bin/99534 Submitted by: Andrey V. Elsukov Reviewed by: brooks dhclient-script 1.16 The minimum size of an RFC3442 destination descriptor is five bytes, so correct test to -ge 5. Without this change an RFC3442 encoded default route would be ignored. Revision Changes Path 1.1.1.1.2.2 +2 -0 src/sbin/dhclient/clparse.c 1.4.2.6 +60 -0 src/sbin/dhclient/dhclient-script 1.6.2.7 +68 -0 src/sbin/dhclient/dhclient.c 1.1.1.1.2.1 +5 -2 src/sbin/dhclient/dhclient.conf 1.2.2.1 +1 -0 src/sbin/dhclient/dhcp.h 1.1.1.1.2.3 +3 -2 src/sbin/dhclient/tables.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 15:23:35 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B91C916A418; Wed, 31 Oct 2007 15:23:35 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id 511C313C4A7; Wed, 31 Oct 2007 15:23:35 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c211-30-219-213.carlnfd3.nsw.optusnet.com.au (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9VFN9NM021306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 02:23:12 +1100 Date: Thu, 1 Nov 2007 02:23:22 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Craig Rodrigues In-Reply-To: <200710271628.l9RGS5Nq024067@repoman.freebsd.org> Message-ID: <20071101014009.Y4166@delplex.bde.org> References: <200710271628.l9RGS5Nq024067@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/nfsclient nfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 15:23:35 -0000 On Sat, 27 Oct 2007, Craig Rodrigues wrote: > rodrigc 2007-10-27 16:28:05 UTC > > FreeBSD src repository > > Modified files: > sys/nfsclient nfs_vfsops.c > Log: > Add the following mount options to the nfs_opts array: > noatime, noexec, suiddir, nosuid, nosymfollow, union, > noclusterr, noclusterw, multilabel, acls, force, update, > async. These options correspond to MOPT_STDOPTS, MOPT_FORCE, MOPT_UPDATE, > and MOPT_ASYNC. > > Currently, mount_nfs converts these "-o" options from strings > to MNT_ flags via getmntopts(), > and passes the flags from userspace to the kernel. > This change will allow us in future to pass these mount options > as strings directly to the kernel via nmount() when doing NFS mounts. Most of these options don't belong here, since nfs doesn't support most of these options. Even fewer of them ever belonged in MOPT_STDOPTS, since some file systems are even less standard than nfs. A copuple of them are actually global, so they actually belong in MOPT_STDOPTS; then they belong in nmount's global options, not here. [I refer to the positive options since having to put the "no" options in options list is bogus]: - atime: client doesn't even support normal setting of atimes (atimes mostly get set accidentally and incorrectly as a side affect of reads on the server (if the server supports atimes)). Most reads are from the cache, as is needed for speed, so most reads don't change the atime, also as needed for speed. nfs does even less to support not setting atimes -- it has no references to MNT_NOATIME, and there is no protocol to push MNT_NOATIME to the server. - exec: probably correct, but currently has no effect since noexec is in nmount's global options list. It probably shouldn't be in the global options list, but that is another bug. It can't quite be a global option since not all file systems support exec; noexec to disable exec for these file systems is harmless nonsense. - suiddir: this is ffs-only, so it having it in MOPT_STDOPTs was a much larger bug than having MOPT_ATIME there. - suid: like exec, except it is our of order in this list. - symfollow: correct, since it is a non-global like exec. This option is implemented entirely at the vfs level, but it is nonsense if the file system doesn't support symlinks. It is nonsense even here if the server's file system doesn't support symlinks. We might want to allow harmless nonsense like this at the global level to avoid having to duplicate options in per-fs list. It would clearly be overkill to require nfs clients disallow harmless options because the server doesn't support them. - union: this one is probably truly global. - clusterr, clusterw: not supported by nfs clients. Clustering (or not) for nfs is mainly decided by servers. Out of order in this list. - multilabel, acls: like suidir (ffs-only) (?). Out of order in this list. - force: not quite a global. All fs's should support this, perhaps as a no-op. Out of order in this list. - update: not quite a global, and already in nmount's global list. - async: correct. Out of order in this list. Hmm, I need this option, and haven't missed it since I use old mount utilities with current kernels. The old utilities support it via it being bogusly in MNT_STDOPTS. Bruce From owner-cvs-src@FreeBSD.ORG Wed Oct 31 15:27:57 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D93416A41B; Wed, 31 Oct 2007 15:27:57 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from spider.deepcore.dk (cpe.atm2-0-70484.0x50a6c9a6.abnxx16.customer.tele.dk [80.166.201.166]) by mx1.freebsd.org (Postfix) with ESMTP id E4BE013C4BE; Wed, 31 Oct 2007 15:27:56 +0000 (UTC) (envelope-from sos@deepcore.dk) Received: from ws.local (ws.deepcore.dk [194.192.25.137]) by spider.deepcore.dk (8.13.8/8.13.8) with ESMTP id l9VFLomp011537; Wed, 31 Oct 2007 16:21:50 +0100 (CET) (envelope-from sos@deepcore.dk) Message-ID: <47289D8E.3010800@deepcore.dk> Date: Wed, 31 Oct 2007 16:21:50 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Abdullah Ibn Hamad Al-Marri References: <743606.88886.qm@web33713.mail.mud.yahoo.com> In-Reply-To: <743606.88886.qm@web33713.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, =?ISO-8859-1?Q?S=F8ren_Schmidt?= Subject: Re: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 15:27:57 -0000 Abdullah Ibn Hamad Al-Marri wrote: > ----- Original Message ---- > =20 >> From: S=F8ren Schmidt >> To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.o= rg >> Sent: Monday, October 29, 2007 1:30:29 PM >> Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.c >> >> sos 2007-10-29 10:30:29 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_7) >> sys/dev/ata ata-chipset.c ata-pci.c=20 >> Log: >> MFC: >> Fix the signature matching code on AHCI controllers. >> =20 >> Approved by: re@ >> =20 >> Revision Changes Path >> 1.202.2.1 +31 -19 src/sys/dev/ata/ata-chipset.c >> 1.121.2.1 +2 -1 src/sys/dev/ata/ata-pci.c >> =20 > > Thank you! > > How about RELENG_6? }:) > =20 Coming when I get a little more time and these changes has settled a bit = (also the ATAPI SATA that comes after this) -S=F8ren From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:05:21 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C08BB16A417; Wed, 31 Oct 2007 16:05:21 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 970DB13C480; Wed, 31 Oct 2007 16:05:21 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VG5LkM094255; Wed, 31 Oct 2007 16:05:21 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VG5LDo094254; Wed, 31 Oct 2007 16:05:21 GMT (envelope-from keramida) Message-Id: <200710311605.l9VG5LDo094254@repoman.freebsd.org> From: Giorgos Keramidas Date: Wed, 31 Oct 2007 16:05:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man5 bluetooth.device.conf.5 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:05:21 -0000 keramida 2007-10-31 16:05:21 UTC FreeBSD src repository (doc committer) Modified files: share/man/man5 bluetooth.device.conf.5 Log: Insert zero-width break points to fix warnigns in nroff output, and reduce whitespace stretching in groff PS output. groff-foo by: ru Revision Changes Path 1.3 +2 -2 src/share/man/man5/bluetooth.device.conf.5 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:07:59 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE6CA16A474; Wed, 31 Oct 2007 16:07:59 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 829FA13C4B0; Wed, 31 Oct 2007 16:07:59 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VG7xFG094362; Wed, 31 Oct 2007 16:07:59 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VG7xQ6094361; Wed, 31 Oct 2007 16:07:59 GMT (envelope-from keramida) Message-Id: <200710311607.l9VG7xQ6094361@repoman.freebsd.org> From: Giorgos Keramidas Date: Wed, 31 Oct 2007 16:07:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 ng_netflow.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:07:59 -0000 keramida 2007-10-31 16:07:58 UTC FreeBSD src repository (doc committer) Modified files: share/man/man4 ng_netflow.4 Log: Insert zero-width break points to fix warnigns in nroff output, and reduce whitespace stretching in groff PS output. groff-foo by: ru Revision Changes Path 1.15 +1 -1 src/share/man/man4/ng_netflow.4 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:10:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D07316A41B; Wed, 31 Oct 2007 16:10:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0410E13C494; Wed, 31 Oct 2007 16:10:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGAC3N094493; Wed, 31 Oct 2007 16:10:12 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGACLx094492; Wed, 31 Oct 2007 16:10:12 GMT (envelope-from jhb) Message-Id: <200710311610.l9VGACLx094492@repoman.freebsd.org> From: John Baldwin Date: Wed, 31 Oct 2007 16:10:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/acpica acpi_pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:10:13 -0000 jhb 2007-10-31 16:10:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpica acpi_pci.c Log: MFC: Don't destroy an ACPI device_t for a PCI device if the ACPI device_t is already attached to a driver. Approved by: re (kensmith) Revision Changes Path 1.31.2.1 +13 -2 src/sys/dev/acpica/acpi_pci.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:11:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11BAB16A468; Wed, 31 Oct 2007 16:11:02 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DCC8813C480; Wed, 31 Oct 2007 16:11:01 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGB1nb094599; Wed, 31 Oct 2007 16:11:01 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGB1hB094598; Wed, 31 Oct 2007 16:11:01 GMT (envelope-from jhb) Message-Id: <200710311611.l9VGB1hB094598@repoman.freebsd.org> From: John Baldwin Date: Wed, 31 Oct 2007 16:11:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/acpica acpi_pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:11:02 -0000 jhb 2007-10-31 16:11:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpica acpi_pci.c Log: MFC: Don't destroy an ACPI device_t for a PCI device if the ACPI device_t is already attached to a driver. Revision Changes Path 1.26.2.4 +13 -2 src/sys/dev/acpica/acpi_pci.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:14:30 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFAEE16A417; Wed, 31 Oct 2007 16:14:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B5F5313C4A7; Wed, 31 Oct 2007 16:14:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGEUpP094821; Wed, 31 Oct 2007 16:14:30 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGEU4a094820; Wed, 31 Oct 2007 16:14:30 GMT (envelope-from jhb) Message-Id: <200710311614.l9VGEU4a094820@repoman.freebsd.org> From: John Baldwin Date: Wed, 31 Oct 2007 16:14:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pciconf cap.c pciconf.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:14:31 -0000 jhb 2007-10-31 16:14:30 UTC FreeBSD src repository Modified files: usr.sbin/pciconf cap.c pciconf.h Log: Update copyright attribution. MFC after: 3 days Revision Changes Path 1.4 +2 -1 src/usr.sbin/pciconf/cap.c 1.2 +2 -1 src/usr.sbin/pciconf/pciconf.h From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:15:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55BA416A468; Wed, 31 Oct 2007 16:15:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2A84913C4BB; Wed, 31 Oct 2007 16:15:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGFYOC094910; Wed, 31 Oct 2007 16:15:34 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGFYwT094909; Wed, 31 Oct 2007 16:15:34 GMT (envelope-from jhb) Message-Id: <200710311615.l9VGFYwT094909@repoman.freebsd.org> From: John Baldwin Date: Wed, 31 Oct 2007 16:15:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.sbin/pciconf cap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:15:34 -0000 jhb 2007-10-31 16:15:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pciconf cap.c Log: MFC: Actually support the new HT capability type from HT 2.00b. Approved by: re (kensmith) Revision Changes Path 1.2.2.1 +3 -0 src/usr.sbin/pciconf/cap.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:16:20 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D69B16A418; Wed, 31 Oct 2007 16:16:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 04AC113C4A6; Wed, 31 Oct 2007 16:16:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGGJ2D094975; Wed, 31 Oct 2007 16:16:19 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGGJgn094974; Wed, 31 Oct 2007 16:16:19 GMT (envelope-from jhb) Message-Id: <200710311616.l9VGGJgn094974@repoman.freebsd.org> From: John Baldwin Date: Wed, 31 Oct 2007 16:16:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/pciconf cap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:16:20 -0000 jhb 2007-10-31 16:16:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/pciconf cap.c Log: MFC: Actually support the new HT capability type from HT 2.00b. Revision Changes Path 1.1.2.3 +3 -0 src/usr.sbin/pciconf/cap.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:17:21 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41BDB16A420; Wed, 31 Oct 2007 16:17:21 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1827713C4B6; Wed, 31 Oct 2007 16:17:21 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGHKpj095050; Wed, 31 Oct 2007 16:17:20 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGHKDt095049; Wed, 31 Oct 2007 16:17:20 GMT (envelope-from emax) Message-Id: <200710311617.l9VGHKDt095049@repoman.freebsd.org> From: Maksim Yevmenkin Date: Wed, 31 Oct 2007 16:17:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph/bluetooth/socket ng_btsocket_l2cap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:17:21 -0000 emax 2007-10-31 16:17:20 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/socket ng_btsocket_l2cap.c Log: Fix locking issue in ng_btsocket_l2cap_ctloutput() Submitted by: Heiko Wundram (Beenic) < wundram at beenic dot net > MFC after: 3 days Revision Changes Path 1.25 +4 -2 src/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:17:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDD3716A5A7; Wed, 31 Oct 2007 16:17:24 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8446813C4BF; Wed, 31 Oct 2007 16:17:24 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGHOrf095077; Wed, 31 Oct 2007 16:17:24 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGHOji095076; Wed, 31 Oct 2007 16:17:24 GMT (envelope-from jhb) Message-Id: <200710311617.l9VGHOji095076@repoman.freebsd.org> From: John Baldwin Date: Wed, 31 Oct 2007 16:17:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.sbin/devinfo devinfo.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:17:25 -0000 jhb 2007-10-31 16:17:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/devinfo devinfo.c Log: MFC: Print IRQs in decimal rather than hex. Approved by: re (kensmith) Revision Changes Path 1.6.2.1 +1 -1 src/usr.sbin/devinfo/devinfo.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:17:41 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC48316A565; Wed, 31 Oct 2007 16:17:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C397D13C48E; Wed, 31 Oct 2007 16:17:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGHfMp095107; Wed, 31 Oct 2007 16:17:41 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGHfXn095106; Wed, 31 Oct 2007 16:17:41 GMT (envelope-from jhb) Message-Id: <200710311617.l9VGHfXn095106@repoman.freebsd.org> From: John Baldwin Date: Wed, 31 Oct 2007 16:17:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/devinfo devinfo.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:17:42 -0000 jhb 2007-10-31 16:17:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/devinfo devinfo.c Log: MFC: Print IRQs in decimal rather than hex. Revision Changes Path 1.5.8.1 +1 -1 src/usr.sbin/devinfo/devinfo.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:42:42 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2525816A41A; Wed, 31 Oct 2007 16:42:42 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 13F4B13C4A8; Wed, 31 Oct 2007 16:42:42 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGgfgv096630; Wed, 31 Oct 2007 16:42:41 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGgfJS096629; Wed, 31 Oct 2007 16:42:41 GMT (envelope-from emax) Message-Id: <200710311642.l9VGgfJS096629@repoman.freebsd.org> From: Maksim Yevmenkin Date: Wed, 31 Oct 2007 16:42:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d ppp X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:42:42 -0000 emax 2007-10-31 16:42:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc/defaults rc.conf etc/rc.d ppp Log: MFC: etc/rc.d/ppp,v1.14 and etc/defaults/rc.conf,v1.319 Teach /etc/rc.d/ppp to start multiple instances of ppp. ppp_profile variable can now contain multiple profiles. Overrides for ppp mode and nat can go into ppp_$profile_mode and ppp_$profile_nat variables respectively. If those are not specified, defaults from ppp_mode and ppp_nat are used. MFC: etc/rc.d/ppp v1.15 Teach /etc/rc.d/ppp how to start/stop individual instances of ppp. This is an extension of previous commit. Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru > Reviewed by: mtm Approved by: re (kensmith) Revision Changes Path 1.318.2.1 +6 -0 src/etc/defaults/rc.conf 1.13.2.1 +77 -10 src/etc/rc.d/ppp From owner-cvs-src@FreeBSD.ORG Wed Oct 31 16:53:44 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8C0E16A4C7; Wed, 31 Oct 2007 16:53:44 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7F89B13C4B2; Wed, 31 Oct 2007 16:53:44 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VGri7a006065; Wed, 31 Oct 2007 16:53:44 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VGriIv006064; Wed, 31 Oct 2007 16:53:44 GMT (envelope-from sam) Message-Id: <200710311653.l9VGriIv006064@repoman.freebsd.org> From: Sam Leffler Date: Wed, 31 Oct 2007 16:53:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/net80211 ieee80211_scan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 16:53:44 -0000 sam 2007-10-31 16:53:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net80211 ieee80211_scan.c Log: MFC 1.4: silence complaint about not loading the wlan_scan_monitor module Approved by: re (gnn) Revision Changes Path 1.3.2.1 +2 -1 src/sys/net80211/ieee80211_scan.c From owner-cvs-src@FreeBSD.ORG Wed Oct 31 17:21:00 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C65F16A418; Wed, 31 Oct 2007 17:21:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B29CD13C4B0; Wed, 31 Oct 2007 17:20:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id l9VHCS1D091102; Wed, 31 Oct 2007 11:12:28 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 31 Oct 2007 11:12:28 -0600 (MDT) Message-Id: <20071031.111228.85322655.imp@bsdimp.com> To: yar@FreeBSD.org From: Warner Losh In-Reply-To: <200710310926.l9V9Qhi4041450@repoman.freebsd.org> References: <200710310926.l9V9Qhi4041450@repoman.freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 17:21:00 -0000 > 3) With a bit of hackery around rtld(8), it becomes possible to do destructive > cross-installs, e.g., i386->amd64 over the live system. > but this can lead to security issues.) That's why a destructive > cross-install isn't possible w/o hackery yet. Does this mean I can now 'sidegrade' my FreeBSD/amd64 box to FreeBSD/i386? or is only the 32-bit -> 64-bit direction supported. Warner From owner-cvs-src@FreeBSD.ORG Wed Oct 31 18:22:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3D616A49E; Wed, 31 Oct 2007 18:22:52 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3B38D13C491; Wed, 31 Oct 2007 18:22:52 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VIMqeV013209; Wed, 31 Oct 2007 18:22:52 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VIMqsv013208; Wed, 31 Oct 2007 18:22:52 GMT (envelope-from mav) Message-Id: <200710311822.l9VIMqsv013208@repoman.freebsd.org> From: Alexander Motin Date: Wed, 31 Oct 2007 18:22:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 ng_car.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 18:22:52 -0000 mav 2007-10-31 18:22:51 UTC FreeBSD src repository Modified files: share/man/man4 ng_car.4 Log: Fix some mistakes. Update my email. Revision Changes Path 1.4 +5 -5 src/share/man/man4/ng_car.4 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 18:33:24 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFB4616A418; Wed, 31 Oct 2007 18:33:24 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B6D0713C481; Wed, 31 Oct 2007 18:33:24 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VIXN8X013836; Wed, 31 Oct 2007 18:33:23 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VIXNYf013835; Wed, 31 Oct 2007 18:33:23 GMT (envelope-from mav) Message-Id: <200710311833.l9VIXNYf013835@repoman.freebsd.org> From: Alexander Motin Date: Wed, 31 Oct 2007 18:33:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 ng_car.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 18:33:25 -0000 mav 2007-10-31 18:33:23 UTC FreeBSD src repository Modified files: share/man/man4 ng_car.4 Log: Fix one more typo. Revision Changes Path 1.5 +2 -2 src/share/man/man4/ng_car.4 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 18:47:04 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB54116A417; Wed, 31 Oct 2007 18:47:04 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A29BD13C480; Wed, 31 Oct 2007 18:47:04 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VIl4PA014495; Wed, 31 Oct 2007 18:47:04 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VIl4xq014494; Wed, 31 Oct 2007 18:47:04 GMT (envelope-from sam) Message-Id: <200710311847.l9VIl4xq014494@repoman.freebsd.org> From: Sam Leffler Date: Wed, 31 Oct 2007 18:47:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/modules Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 18:47:04 -0000 sam 2007-10-31 18:47:04 UTC FreeBSD src repository Modified files: sys/modules Makefile Log: add zyd MFC after: 3 days Revision Changes Path 1.547 +2 -1 src/sys/modules/Makefile From owner-cvs-src@FreeBSD.ORG Wed Oct 31 18:53:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80D5E16A41B; Wed, 31 Oct 2007 18:53:07 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE2313C4A8; Wed, 31 Oct 2007 18:53:07 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VIr7As014949; Wed, 31 Oct 2007 18:53:07 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VIr7fG014948; Wed, 31 Oct 2007 18:53:07 GMT (envelope-from emax) Message-Id: <200710311853.l9VIr7fG014948@repoman.freebsd.org> From: Maksim Yevmenkin Date: Wed, 31 Oct 2007 18:53:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/etc/defaults rc.conf src/etc/rc.d ppp X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 18:53:07 -0000 emax 2007-10-31 18:53:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc/defaults rc.conf etc/rc.d ppp Log: MFC: etc/rc.d/ppp,v1.14 and etc/defaults/rc.conf,v1.319 Teach /etc/rc.d/ppp to start multiple instances of ppp. ppp_profile variable can now contain multiple profiles. Overrides for ppp mode and nat can go into ppp_$profile_mode and ppp_$profile_nat variables respectively. If those are not specified, defaults from ppp_mode and ppp_nat are used. MFC: etc/rc.d/ppp v1.15 Teach /etc/rc.d/ppp how to start/stop individual instances of ppp. This is an extension of previous commit. Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru > Reviewed by: mtm Approved by: re (kensmith) Revision Changes Path 1.252.2.38 +6 -0 src/etc/defaults/rc.conf 1.11.2.4 +77 -10 src/etc/rc.d/ppp From owner-cvs-src@FreeBSD.ORG Wed Oct 31 19:21:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72B7716A41A; Wed, 31 Oct 2007 19:21:52 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 499AC13C4AA; Wed, 31 Oct 2007 19:21:52 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VJLq9q017660; Wed, 31 Oct 2007 19:21:52 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VJLqH1017659; Wed, 31 Oct 2007 19:21:52 GMT (envelope-from rodrigc) Message-Id: <200710311921.l9VJLqH1017659@repoman.freebsd.org> From: Craig Rodrigues Date: Wed, 31 Oct 2007 19:21:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man5 xfs.5 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 19:21:52 -0000 rodrigc 2007-10-31 19:21:52 UTC FreeBSD src repository Modified files: share/man/man5 xfs.5 Log: Add a small note about how "mkfs.xfs -p" can be used to create an XFS file system populated with files. Revision Changes Path 1.2 +11 -1 src/share/man/man5/xfs.5 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 19:26:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6657D16A41B; Wed, 31 Oct 2007 19:26:02 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 387A013C465; Wed, 31 Oct 2007 19:26:02 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VJQ16j017793; Wed, 31 Oct 2007 19:26:01 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VJQ1j5017792; Wed, 31 Oct 2007 19:26:01 GMT (envelope-from ru) Message-Id: <200710311926.l9VJQ1j5017792@repoman.freebsd.org> From: Ruslan Ermilov Date: Wed, 31 Oct 2007 19:26:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/lockf lockf.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 19:26:02 -0000 ru 2007-10-31 19:26:01 UTC FreeBSD src repository Modified files: usr.bin/lockf lockf.1 Log: Also fix a "blank line" issue that sneaked in from rev. 1.19. Submitted by: John Hein Revision Changes Path 1.21 +1 -1 src/usr.bin/lockf/lockf.1 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 19:59:54 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10BAF16A420; Wed, 31 Oct 2007 19:59:54 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D7CA813C465; Wed, 31 Oct 2007 19:59:53 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VJxrcx019415; Wed, 31 Oct 2007 19:59:53 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VJxrvn019414; Wed, 31 Oct 2007 19:59:53 GMT (envelope-from sos) Message-Id: <200710311959.l9VJxrvn019414@repoman.freebsd.org> From: Søren Schmidt Date: Wed, 31 Oct 2007 19:59:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/ata ata-chipset.c atapi-cd.c atapi-cd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 19:59:54 -0000 sos 2007-10-31 19:59:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-chipset.c atapi-cd.c atapi-cd.h Log: MFC: Add SATA ATAPI support for AHCI controllers. Approved by: re@ Revision Changes Path 1.202.2.2 +30 -11 src/sys/dev/ata/ata-chipset.c 1.193.2.1 +22 -25 src/sys/dev/ata/atapi-cd.c 1.46.2.1 +1 -0 src/sys/dev/ata/atapi-cd.h From owner-cvs-src@FreeBSD.ORG Wed Oct 31 21:51:55 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B83516A469; Wed, 31 Oct 2007 21:51:55 +0000 (UTC) (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 DE19613C4B0; Wed, 31 Oct 2007 21:51:51 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VLpK5W090371; Thu, 1 Nov 2007 00:51:20 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193867480; bh=w4NFilRvhToE39/cR8NWt6Jiz73NDS0CLj8ZS62 9AQ4=; l=939; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=jquD8DXpSNMV8q3YbqakDI89I2n0N9z7l3qtC4zU Mh6cJ3vzU/Vg6plioLKw0p+FfGW3jgTHh7NyPpE+b5F9UWO5oyh+edVP1v4EB4E4WOf +FHmGsKtgKKe3tsohYD7OWJbGqfF/+Kzvglaof5FYf+SOpj4ud+vbzOheGzrw1ZY= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VLpJZh090370; Thu, 1 Nov 2007 00:51:19 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 00:51:18 +0300 From: Andrey Chernov To: Bruce Evans Message-ID: <20071031215117.GB89932@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Bruce Evans , d@delphij.net, Scott Long , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <4720B30F.4040903@samsco.org> <20071025151707.GA11398@nagual.pp.ru> <4720E0AF.1010004@samsco.org> <4720E904.2090704@delphij.net> <20071031205412.U3526@delplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071031205412.U3526@delplex.bde.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, Scott Long , src-committers@FreeBSD.ORG, d@delphij.net, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 21:51:55 -0000 On Wed, Oct 31, 2007 at 09:41:13PM +1100, Bruce Evans wrote: > Now the limit is spelled 128, so it really is constant and won't cause > problems unless the constant changes. Only in one particular case, the rest cases still need __mb_sb_limit. > _ctype.h still declares __mb_sb_limit but now doesn't use it. Do you mean 6x _ctype.h? 8x _ctype.h uses it. > __mb_sb_limit is still initialized in many files in libc/locale. These > initializations now seem to be unused. Some of them are to 256, so why > is the constant only 128? As I already say, there is 3 cases left where it is non-constant. > __mb_sb_limit is still in Symbol.map. I think this would be needed if > __mb_sb_limit were actually used (since although it is now private to > the library, it would be part of an inter-library ABI if it were used). It is actually used (for __sbmaskrune, __sbtoupper and __sbtolower). -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:12:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F57D16A419; Wed, 31 Oct 2007 22:12:16 +0000 (UTC) (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 5557213C491; Wed, 31 Oct 2007 22:12:15 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VLtRo1090461; Thu, 1 Nov 2007 00:55:27 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193867727; bh=r/7FVgg7uI3TWg0fghGR1r21Xjz3EB/xqifgaml OUMo=; l=2275; h=Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=Wq0eDX1xULVo4mmKQOu4 a+trARmapJrGtEnv1pGnPpsSzMGKPNWpXtyGnsGOSPV+OPd3umDTlawzRLN4vnU9tFc stc5r5JMWEBGSb8NoC3rrA7W3BQB0i2j+pD61+EM8712N4nSlwwgkeOzXnTRltfPNvs D2HXmyTfkZVGPk0Ck= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VLtRvG090460; Thu, 1 Nov 2007 00:55:27 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 00:55:26 +0300 From: Andrey Chernov To: Juli Mallett Message-ID: <20071031215526.GC89932@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071030200331.GA29309@toxic.magnesium.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:12:16 -0000 On Tue, Oct 30, 2007 at 10:03:31AM -1000, Juli Mallett wrote: > * "Andrey A. Chernov" [ 2007-10-27 ] > [ cvs commit: src/include _ctype.h ] > > ache 2007-10-27 22:32:28 UTC > > > > FreeBSD src repository > > > > Modified files: > > include _ctype.h > > Log: > > Micro-optimization of prev. commit, change > > (_c < 0 || _c >= 128) to (_c & ~0x7F) > > Isn't that a non-optimization in code and a minor pessimization of readability? > Maybe I'm getting rusty, but those seem to result in nearly identical code on > i386 with a relatively modern GCC. Did you look at the compiler output for this > optimization? Is there a specific expensive instruction you're trying to avoid? > For such thoroughyl bit-aligned range checks, you shouldn't even get a branch > for the former case. Is there a platform other than i386 I should look at where > the previous expression is more clearly pessimized? Or a different compiler > than GCC? For ones who doubts there two tests compiled with -O2. As you may see the result is almost identical (andl vs cmpl): -------------------- a.c -------------------- main () { int c; return (c & ~0x7f) ? 0 : c * 2; } -------------------- a.s -------------------- .file "a.c" .text .p2align 4,,15 .globl main .type main, @function main: leal 4(%esp), %ecx andl $-16, %esp pushl -4(%ecx) movl %eax, %edx andl $-128, %edx addl %eax, %eax cmpl $1, %edx sbbl %edx, %edx pushl %ebp andl %edx, %eax movl %esp, %ebp pushl %ecx popl %ecx popl %ebp leal -4(%ecx), %esp ret .size main, .-main .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" -------------------- a1.c -------------------- main () { int c; return (c < 0 || c >= 128) ? 0 : c * 2; } -------------------- a1.s -------------------- .file "a1.c" .text .p2align 4,,15 .globl main .type main, @function main: leal 4(%esp), %ecx andl $-16, %esp pushl -4(%ecx) addl %eax, %eax cmpl $128, %eax sbbl %edx, %edx andl %edx, %eax pushl %ebp movl %esp, %ebp pushl %ecx popl %ecx popl %ebp leal -4(%ecx), %esp ret .size main, .-main .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:29:27 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C0EF16A418; Wed, 31 Oct 2007 22:29:27 +0000 (UTC) (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 11FAF13C4A7; Wed, 31 Oct 2007 22:29:26 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VMJaQe090856; Thu, 1 Nov 2007 01:19:36 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193869177; bh=ww3aC6MAyGQbPV+ft0eWc7FbDSPluzBN/vSWGx+ 0ZeE=; l=1901; h=Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=R7LdFKFcsfhCwHQ69RIk NQZyIVCXSPWITg/8+1PQIzqWnSpKRlSQ8cbGeoVQw8wnHQGIUWTaVXxUB0weO3LMGiG FBL3ymYWc0FwRQUy/t/krJtZYemZbKTyXkWo87b2lvK7RSzehk1aBNV1kKR6Iro6wSG YKLD/SwmBhMccgYvM= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VMJa0a090855; Thu, 1 Nov 2007 01:19:36 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 01:19:35 +0300 From: Andrey Chernov To: Christoph Mallon Message-ID: <20071031221934.GA90781@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Christoph Mallon , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47264710.2000500@gmx.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:29:27 -0000 On Mon, Oct 29, 2007 at 09:48:16PM +0100, Christoph Mallon wrote: > Andrey A. Chernov wrote: >> ache 2007-10-27 22:32:28 UTC >> FreeBSD src repository >> Modified files: >> include _ctype.h Log: >> Micro-optimization of prev. commit, change >> (_c < 0 || _c >= 128) to (_c & ~0x7F) >> Revision Changes Path >> 1.33 +1 -1 src/include/_ctype.h > > Actually this is rather a micro-pessimisation. Every compiler worth its > money transforms the range check into single unsigned comparison. The > latter test on the other hand on x86 gets probably transformed into a test > instruction. This instruction has no form with sign extended 8bit > immediate, but only with 32bit immediate. This results in a significantly > longer opcode (three bytes more) than a single (unsigned)_c > 127, which a > sane compiler produces. I suspect some RISC machines need one more > instruction for the "micro-optimised" code, too. > In theory GCC could transform the _c & ~0x7F back into a (unsigned)_c > > 127, but it does not do this (the only compiler I found, which does this > transformation, is LLVM). > Further IMO it is hard to decipher what _c & ~0x7F is supposed to do. 1. My variant is compiler optimization level independent. F.e. without optimization completely there is no range check transform you talk about at all and very long asm code is generated. I also mean the case where gcc optimization bug was avoided, removing optimization (like compiling large part of Xorg server recently), using non-gcc compilers etc. cases. 2. _c & ~0x7F comes right from is{w}ascii() so there is no such enormously big problems to decifer. I just want to keep all ctype in style. 3. I see no "longer opcode (three bytes more)" you talk about in my tests (andl vs cmpl was there, no testl). -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:29:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFDDE16A420; Wed, 31 Oct 2007 22:29:28 +0000 (UTC) (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 4216913C4AC; Wed, 31 Oct 2007 22:29:28 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VMNgc0090894; Thu, 1 Nov 2007 01:23:42 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193869422; bh=24P2qltQCgHIdRPT17iuX0FkTtEgQsSHw9apIk5 qV8Y=; l=1121; h=Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=FJpeQwT9XMXtvhJeXn4H j2foMt4zU+9V3yxNRxlBDdQ/Q6gsGG7XHF0Wrd9bMHD5j411ef3pcmtUoFTqYBZOCUa bfaKirinoSZg6PckFSd5SZBoz1W6Io0WkttqTpykBW74mKjFNPUFuOb4C7zQpB70XBZ c3eNUYc7UTwegvGwM= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VMNfZU090893; Thu, 1 Nov 2007 01:23:41 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 01:23:41 +0300 From: Andrey Chernov To: Alexey Dokuchaev Message-ID: <20071031222341.GB90781@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Alexey Dokuchaev , Christoph Mallon , cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> <20071030064446.GC68358@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071030064446.GC68358@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, Christoph Mallon , src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:29:28 -0000 On Tue, Oct 30, 2007 at 06:44:46AM +0000, Alexey Dokuchaev wrote: > On Mon, Oct 29, 2007 at 09:48:16PM +0100, Christoph Mallon wrote: > > Andrey A. Chernov wrote: > > >ache 2007-10-27 22:32:28 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > include _ctype.h > > > Log: > > > Micro-optimization of prev. commit, change > > > (_c < 0 || _c >= 128) to (_c & ~0x7F) > > > > > > Revision Changes Path > > > 1.33 +1 -1 src/include/_ctype.h > > > > Further IMO it is hard to decipher what _c & ~0x7F is supposed to do. > > Seconded. Messing with bits should be avoided when their use masks out > the logic behind. Nowadays it's almost always better to trust the > compiler to do its optimizing job. I just want to keep all ctype in style, and it comes from is{w}ascii(). Do you want rewrite is{w}ascii() to non-optimized case? Note that non-optimized case generate very long code when no optimization used in compiler which may happens in some cases (like avoiding gcc optimization bugs etc.) -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:30:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF7E216A41A; Wed, 31 Oct 2007 22:30:34 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx03.syd.optusnet.com.au (fallbackmx03.syd.optusnet.com.au [211.29.133.136]) by mx1.freebsd.org (Postfix) with ESMTP id 55FE613C494; Wed, 31 Oct 2007 22:30:34 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by fallbackmx03.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id l9VGOhN7007806; Thu, 1 Nov 2007 03:24:43 +1100 Received: from c211-30-219-213.carlnfd3.nsw.optusnet.com.au (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9VGNf3L022470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 03:23:42 +1100 Date: Thu, 1 Nov 2007 03:23:56 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Christoph Mallon In-Reply-To: <47264710.2000500@gmx.de> Message-ID: <20071101024451.T4289@delplex.bde.org> References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, "Andrey A. Chernov" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:30:34 -0000 On Mon, 29 Oct 2007, Christoph Mallon wrote: > Andrey A. Chernov wrote: >> ache 2007-10-27 22:32:28 UTC >> >> FreeBSD src repository >> >> Modified files: >> include _ctype.h Log: >> Micro-optimization of prev. commit, change >> (_c < 0 || _c >= 128) to (_c & ~0x7F) >> Revision Changes Path >> 1.33 +1 -1 src/include/_ctype.h > > Actually this is rather a micro-pessimisation. Every compiler worth its money > transforms the range check into single unsigned comparison. The latter test > on the other hand on x86 gets probably transformed into a test instruction. > This instruction has no form with sign extended 8bit immediate, but only with > 32bit immediate. This results in a significantly longer opcode (three bytes > more) than a single (unsigned)_c > 127, which a sane compiler produces. I > suspect some RISC machines need one more instruction for the > "micro-optimised" code, too. > In theory GCC could transform the _c & ~0x7F back into a (unsigned)_c > 127, > but it does not do this (the only compiler I found, which does this > transformation, is LLVM). > Further IMO it is hard to decipher what _c & ~0x7F is supposed to do. Indeed. In fact, one of the cleanups/optimizations in rev.1.5 and 1.6 by ache and me was to get rid of the mask. There was already a check for _c < 0, so the mask cost even more. The top limit was 256 instead of 128, so the point about 8bit immediates didn't apply, but I don't know of any machines where the mask is faster (didn't look hard :-). OTOH, _c is often a char or a u_char (it is declared as mumble_rune_t, but the functions are inline so the compiler can see the original type. If _c is u_char and u_char is uint8_t, then (_c < 0 || c >= 256) is always false, so the compiler should generate no code for it. The top limit of 256 was preferred so that this optimization is possible. A top limit of 128 doesn't work so well. I would have worried about the 1's complement case. I think a mask without a check for _c < 0 is plain broken in the 1's complement case, but this case is too hard to think about -- just do a range comparison which will always work, and let the compiler reduce it using 2's complement or 1's complement tricks if possible, but since 1's complement machines are rare, write the code so that it is easier for the compiler to optimize in the 2's complement case. Pipelining might make the old optimizations in ctype uninteresting. Maybe everything is almost free except for the table lookup (although that is cached, it will sometimes miss). I haven't timed this lately. Bruce From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:33:49 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: by hub.freebsd.org (Postfix, from userid 1033) id 34E3916A46B; Wed, 31 Oct 2007 22:33:49 +0000 (UTC) Date: Wed, 31 Oct 2007 22:33:49 +0000 From: Alexey Dokuchaev To: Andrey Chernov , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20071031223349.GA552@FreeBSD.org> References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20071031215526.GC89932@nagual.pp.ru> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:33:49 -0000 On Thu, Nov 01, 2007 at 12:55:26AM +0300, Andrey Chernov wrote: > On Tue, Oct 30, 2007 at 10:03:31AM -1000, Juli Mallett wrote: > > * "Andrey A. Chernov" [ 2007-10-27 ] > > [ cvs commit: src/include _ctype.h ] > > > ache 2007-10-27 22:32:28 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > include _ctype.h > > > Log: > > > Micro-optimization of prev. commit, change > > > (_c < 0 || _c >= 128) to (_c & ~0x7F) > > > > Isn't that a non-optimization in code and a minor pessimization of readability? > > Maybe I'm getting rusty, but those seem to result in nearly identical code on > > i386 with a relatively modern GCC. Did you look at the compiler output for this > > optimization? Is there a specific expensive instruction you're trying to avoid? > > For such thoroughyl bit-aligned range checks, you shouldn't even get a branch > > for the former case. Is there a platform other than i386 I should look at where > > the previous expression is more clearly pessimized? Or a different compiler > > than GCC? > > For ones who doubts there two tests compiled with -O2. As you may see the > result is almost identical (andl vs cmpl): Q.E.D. How about to restore original, more reader-friendly version then? ./danfe From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:35:12 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C3C16A417; Wed, 31 Oct 2007 22:35:12 +0000 (UTC) (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 42FF913C48D; Wed, 31 Oct 2007 22:35:11 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VMYkQ4091051; Thu, 1 Nov 2007 01:34:46 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193870086; bh=3oucKTPbakYA6QRUnpBP3JXJtaL9IeF0nNvw3wl UafA=; l=586; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=bJeqzp6H+TgOak/1XTwa4Y+TfsJw35doYOd1P59p 3UzEehKooVRfdPHnWog0SXAhK8Mz2n1+xPJJ2eUX4SenmWFaujZKp9AJ06rg9fQkCII snkHxFKMECm8LTDK6Uyt3SP2kuEXHyehHJrUryTlBO68DRfBhEFJsMPUHZazm8sc= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VMYkFl091050; Thu, 1 Nov 2007 01:34:46 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 01:34:46 +0300 From: Andrey Chernov To: Juli Mallett Message-ID: <20071031223446.GA90994@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071030200331.GA29309@toxic.magnesium.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:35:12 -0000 On Tue, Oct 30, 2007 at 10:03:31AM -1000, Juli Mallett wrote: > Is there a specific expensive instruction you're trying to avoid? > For such thoroughyl bit-aligned range checks, you shouldn't even get a branch > for the former case. Is there a platform other than i386 I should look at where > the previous expression is more clearly pessimized? Or a different compiler > than GCC? Besides optimizing the case when no optimization used in compiler for some reason, the next reason is to keep ctype in its style, i.e. ressemble isascii() there. -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:37:09 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C26D616A420; Wed, 31 Oct 2007 22:37:09 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id 8693213C49D; Wed, 31 Oct 2007 22:37:09 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.1/8.14.1) with ESMTP id l9VL6NF0091550; Wed, 31 Oct 2007 16:06:23 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Wed, 31 Oct 2007 16:06:23 -0500 (CDT) From: "Sean C. Farley" To: SXren Schmidt In-Reply-To: <200710311959.l9VJxrvn019414@repoman.freebsd.org> Message-ID: References: <200710311959.l9VJxrvn019414@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.farley.org Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-chipset.c atapi-cd.c atapi-cd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:37:09 -0000 On Wed, 31 Oct 2007, SXren Schmidt wrote: > sos 2007-10-31 19:59:53 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/dev/ata ata-chipset.c atapi-cd.c atapi-cd.h > Log: > MFC: > Add SATA ATAPI support for AHCI controllers. > > Approved by: re@ > > Revision Changes Path > 1.202.2.2 +30 -11 src/sys/dev/ata/ata-chipset.c > 1.193.2.1 +22 -25 src/sys/dev/ata/atapi-cd.c > 1.46.2.1 +1 -0 src/sys/dev/ata/atapi-cd.h Thank you! Sean -- scf@FreeBSD.org From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:38:12 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60A8016A418; Wed, 31 Oct 2007 22:38:12 +0000 (UTC) (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 CEB8A13C4AA; Wed, 31 Oct 2007 22:38:11 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VMbRFi091089; Thu, 1 Nov 2007 01:37:27 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193870247; bh=cKJiBK9XZlnFTOg37b9IKjXl+xO47cb6+tbtOgO Q3BQ=; l=577; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=g6VtzOh31gFqPUddff2pPMq61/EFoVP8MWc9SBC/ IiTGtTO8VRt/rUv2B2xWFiiwpL6lnvu1iermMa8Rwo34DnUgXNAav0gJdt6OEqNJdkf YUugs21vavFqExzzkSXQHMm00QLyMKZBfUKIPe7mL6mNc8in1ExP06FwBSgoC1hw= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VMbRRw091088; Thu, 1 Nov 2007 01:37:27 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 01:37:27 +0300 From: Andrey Chernov To: Alexey Dokuchaev Message-ID: <20071031223727.GB90994@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Alexey Dokuchaev , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <20071031223349.GA552@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071031223349.GA552@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Juli Mallett , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:38:12 -0000 On Wed, Oct 31, 2007 at 10:33:49PM +0000, Alexey Dokuchaev wrote: > > For ones who doubts there two tests compiled with -O2. As you may see the > > result is almost identical (andl vs cmpl): > > Q.E.D. How about to restore original, more reader-friendly version then? 1. Reader-friendly version generates long code when absolutely no optimization used in compiler (for some reason f.e. to avoid optimization bugs). 2. It also breaks common style ctype using for is{w}ascii(). If revert this, is{w}ascii() should be rewritted too. -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:40:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9DD916A419; Wed, 31 Oct 2007 22:40:10 +0000 (UTC) (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 241EF13C48E; Wed, 31 Oct 2007 22:40:09 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VMdB9l091140; Thu, 1 Nov 2007 01:39:11 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193870351; bh=yIh+LekTwSshce3kkehTCTAr7duG4N9/MpA1v/S /M/4=; l=901; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=diwIT/20dq+2zf6mJ/bcHCKf1tOYTbh9suagG5o5 sP6wQ3OMt1gNljVbWneyDoQnBSHyJeEIt5ag1RI36C4kj1+mG3sZnGGWdm3wD44n/kR uYZOO9kuKUQ50LY1cC9qxxHfxx4ayJstShSzreoUmmMjPuFrpYp5/dfb49GoKQ08= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VMdBLI091139; Thu, 1 Nov 2007 01:39:11 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 01:39:11 +0300 From: Andrey Chernov To: Bruce Evans Message-ID: <20071031223911.GC90994@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Bruce Evans , Christoph Mallon , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> <20071101024451.T4289@delplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071101024451.T4289@delplex.bde.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, Christoph Mallon , src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:40:10 -0000 On Thu, Nov 01, 2007 at 03:23:56AM +1100, Bruce Evans wrote: > In fact, one of the cleanups/optimizations in rev.1.5 and 1.6 by ache > and me was to get rid of the mask. There was already a check for _c > < 0, so the mask cost even more. The top limit was 256 instead of > 128, so the point about 8bit immediates didn't apply, but I don't know > of any machines where the mask is faster (didn't look hard :-). OTOH, > _c is often a char or a u_char (it is declared as mumble_rune_t, but > the functions are inline so the compiler can see the original type. > If _c is u_char and u_char is uint8_t, then (_c < 0 || c >= 256) is > always false, so the compiler should generate no code for it. The top > limit of 256 was preferred so that this optimization is possible. A > top limit of 128 doesn't work so well. Please see the tests posted in this thread. -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:43:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B41E316A468; Wed, 31 Oct 2007 22:43:02 +0000 (UTC) (envelope-from flata@magnesium.net) Received: from toxic.magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.freebsd.org (Postfix) with ESMTP id 5ACC013C48E; Wed, 31 Oct 2007 22:43:02 +0000 (UTC) (envelope-from flata@magnesium.net) Received: by toxic.magnesium.net (Postfix, from userid 1212) id 1C3ADDA8CF; Wed, 31 Oct 2007 14:43:13 -0800 (PST) Date: Wed, 31 Oct 2007 12:43:13 -1000 From: Juli Mallett To: Andrey Chernov , Alexey Dokuchaev , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20071031224313.GA18285@toxic.magnesium.net> References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <20071031223349.GA552@FreeBSD.org> <20071031223727.GB90994@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071031223727.GB90994@nagual.pp.ru> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:43:02 -0000 * Andrey Chernov [ 2007-10-31 ] [ Re: cvs commit: src/include _ctype.h ] > On Wed, Oct 31, 2007 at 10:33:49PM +0000, Alexey Dokuchaev wrote: > > > For ones who doubts there two tests compiled with -O2. As you may see the > > > result is almost identical (andl vs cmpl): > > > > Q.E.D. How about to restore original, more reader-friendly version then? > > 1. Reader-friendly version generates long code when absolutely no > optimization used in compiler (for some reason f.e. to avoid optimization > bugs). So if someone is trying to avoid compiler optimization bugs we should subject them to human optimization bugs instead? :) > 2. It also breaks common style ctype using for is{w}ascii(). If revert > this, is{w}ascii() should be rewritted too. That seems reasonable. From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:49:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3421416A420; Wed, 31 Oct 2007 22:49:10 +0000 (UTC) (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 9C5B413C4B2; Wed, 31 Oct 2007 22:49:09 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VMmKTC091322; Thu, 1 Nov 2007 01:48:20 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193870900; bh=Vw5whkwvO3QfGd/s1nOcqYXJCHXgLXi5/6H40FJ q0AQ=; l=921; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=UILqfmQiVwjO42kyXfAI2Ne7EZJVBo03HPG9FO4A Coh0vBpNcSmbkPSTp18bEWDK1FoOihlrRIa0XILuUAdP8GKNiHEbcOrbGVt4pKWExE1 0jVBm0jwiie4pgnFOCUUlUlDc4AlM2E0sk2I9A0XIJC0zxe/e2E7K5BnWJHF3fBQ= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VMmK75091321; Thu, 1 Nov 2007 01:48:20 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 01:48:19 +0300 From: Andrey Chernov To: Juli Mallett Message-ID: <20071031224818.GA91246@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Juli Mallett , Alexey Dokuchaev , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <20071031223349.GA552@FreeBSD.org> <20071031223727.GB90994@nagual.pp.ru> <20071031224313.GA18285@toxic.magnesium.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071031224313.GA18285@toxic.magnesium.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, Alexey Dokuchaev , src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:49:10 -0000 On Wed, Oct 31, 2007 at 12:43:13PM -1000, Juli Mallett wrote: > > 1. Reader-friendly version generates long code when absolutely no > > optimization used in compiler (for some reason f.e. to avoid optimization > > bugs). > > So if someone is trying to avoid compiler optimization bugs we should subject > them to human optimization bugs instead? :) Not sure I understand your motto. There is no human optimization bugs, just attempt to save what we can to save when no optimization (or another non-smart compiler) is used. > > 2. It also breaks common style ctype using for is{w}ascii(). If revert > > this, is{w}ascii() should be rewritted too. > > That seems reasonable. Well, I don't want to fight here. If there general consensus that we should prefer human-readable code for __isctype(), isascii() and iswascii() in trade for some edge cases, let it be so. -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Wed Oct 31 22:52:53 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95C4E16A420; Wed, 31 Oct 2007 22:52:52 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC8D13C491; Wed, 31 Oct 2007 22:52:52 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VMqqNa041452; Wed, 31 Oct 2007 22:52:52 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VMqqV9041451; Wed, 31 Oct 2007 22:52:52 GMT (envelope-from mav) Message-Id: <200710312252.l9VMqqV9041451@repoman.freebsd.org> From: Alexander Motin Date: Wed, 31 Oct 2007 22:52:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/share/man/man4 ng_car.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 22:52:53 -0000 mav 2007-10-31 22:52:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ng_car.4 Log: MFC rev 1.4,1.5 Fix some mistakes. Update my email. Approved by: re (gnn) Revision Changes Path 1.3.2.1 +7 -7 src/share/man/man4/ng_car.4 From owner-cvs-src@FreeBSD.ORG Wed Oct 31 23:03:01 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A54DD16A418; Wed, 31 Oct 2007 23:03:01 +0000 (UTC) (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 1AD3613C4A7; Wed, 31 Oct 2007 23:03:00 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9VMx843091446; Thu, 1 Nov 2007 01:59:08 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193871548; bh=v0YuqWLNaE1EoEjz0FHn9GzRjmYVYP4JMBRrKuw qveM=; l=715; h=Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To:User-Agent; b=DOVsNOUa9t0nXN ZO++NQxobbvpOY9TOfnB/xfvo4PncBCf1oPt6iw6q+J+DqxPHhweRKyecEN7l28NzSJ cpWvVzidmtoMI6SQGyaG1nUHzMHBEI4KvBYYz3F+l0/0POfGj7ebsONLyJwiITsQeCH +5wH32LqHkj1dUI7Ehd79yQ= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9VMx8wP091445; Thu, 1 Nov 2007 01:59:08 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 01:59:08 +0300 From: Andrey Chernov To: Juli Mallett , Alexey Dokuchaev , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20071031225908.GA91412@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Juli Mallett , Alexey Dokuchaev , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <20071031223349.GA552@FreeBSD.org> <20071031223727.GB90994@nagual.pp.ru> <20071031224313.GA18285@toxic.magnesium.net> <20071031224818.GA91246@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20071031224818.GA91246@nagual.pp.ru> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 23:03:01 -0000 On Thu, Nov 01, 2007 at 01:48:19AM +0300, Andrey Chernov wrote: > > > 2. It also breaks common style ctype using for is{w}ascii(). If rever= t=20 > > > this, is{w}ascii() should be rewritted too. > >=20 > > That seems reasonable. >=20 > Well, I don't want to fight here. If there general consensus that we=20 > should prefer human-readable code for __isctype(), isascii() and=20 > iswascii() in trade for some edge cases, let it be so. =46rom second thoght, is{w}ascii() are macros and rewritting them cause=20 things like (arg++) be evaluated twice, so it is better to not touch it.=20 So I don't see the point why __isctype() so special to not looks like=20 isascii() --=20 http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Thu Nov 1 01:52:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CD8B16A417 for ; Thu, 1 Nov 2007 01:52:31 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 716A513C4A3 for ; Thu, 1 Nov 2007 01:52:30 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 01 Nov 2007 01:52:14 -0000 Received: from p54A3EA53.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.234.83] by mail.gmx.net (mp049) with SMTP; 01 Nov 2007 02:52:14 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX19vGjseBUxvSg8y5/DFAfSAwxFzHnKkm0ZAESs0FD G3UP/oGtyqIrTz Message-ID: <4729314D.1090709@gmx.de> Date: Thu, 01 Nov 2007 02:52:13 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: Andrey Chernov , Christoph Mallon , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> <20071031221934.GA90781@nagual.pp.ru> In-Reply-To: <20071031221934.GA90781@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 01:52:31 -0000 Andrey Chernov wrote: > On Mon, Oct 29, 2007 at 09:48:16PM +0100, Christoph Mallon wrote: >> Andrey A. Chernov wrote: >>> ache 2007-10-27 22:32:28 UTC >>> FreeBSD src repository >>> Modified files: >>> include _ctype.h Log: >>> Micro-optimization of prev. commit, change >>> (_c < 0 || _c >= 128) to (_c & ~0x7F) >>> Revision Changes Path >>> 1.33 +1 -1 src/include/_ctype.h >> Actually this is rather a micro-pessimisation. Every compiler worth its >> money transforms the range check into single unsigned comparison. The >> latter test on the other hand on x86 gets probably transformed into a test >> instruction. This instruction has no form with sign extended 8bit >> immediate, but only with 32bit immediate. This results in a significantly >> longer opcode (three bytes more) than a single (unsigned)_c > 127, which a >> sane compiler produces. I suspect some RISC machines need one more >> instruction for the "micro-optimised" code, too. >> In theory GCC could transform the _c & ~0x7F back into a (unsigned)_c > >> 127, but it does not do this (the only compiler I found, which does this >> transformation, is LLVM). >> Further IMO it is hard to decipher what _c & ~0x7F is supposed to do. > > 1. My variant is compiler optimization level independent. F.e. without > optimization completely there is no range check transform you talk about > at all and very long asm code is generated. I also mean the case where gcc > optimization bug was avoided, removing optimization (like compiling large > part of Xorg server recently), using non-gcc compilers etc. cases. Compiling without any optimisations makes the code slow for a zillion other reasons (no load/store optimisations, constant folding, common subexpression elimination, if-conversion, partial redundant expression elimination, strength reduction, reassociation, code placement, and many more), so a not transformed range check is really not of any concern. > 2. _c & ~0x7F comes right from is{w}ascii() so there is no such enormously > big problems to decifer. I just want to keep all ctype in style. Repeating cryptic code does not make it better, IMO. > 3. I see no "longer opcode (three bytes more)" you talk about in my tests > (andl vs cmpl was there, no testl). See the reply to the mail with your code example. Christoph From owner-cvs-src@FreeBSD.ORG Thu Nov 1 01:56:42 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB73216A421 for ; Thu, 1 Nov 2007 01:56:42 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 13F2313C465 for ; Thu, 1 Nov 2007 01:56:41 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 01 Nov 2007 01:56:24 -0000 Received: from p54A3EA53.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.234.83] by mail.gmx.net (mp029) with SMTP; 01 Nov 2007 02:56:24 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX185RcZYx5Q5xU26PBEPT8GnsvGAPmYtIQHtMxwnsm UmvcmjZqYHzetr Message-ID: <47293247.7060009@gmx.de> Date: Thu, 01 Nov 2007 02:56:23 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: Andrey Chernov , Bruce Evans , Christoph Mallon , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> <20071101024451.T4289@delplex.bde.org> <20071031223911.GC90994@nagual.pp.ru> In-Reply-To: <20071031223911.GC90994@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 01:56:42 -0000 Andrey Chernov wrote: > On Thu, Nov 01, 2007 at 03:23:56AM +1100, Bruce Evans wrote: >> In fact, one of the cleanups/optimizations in rev.1.5 and 1.6 by ache >> and me was to get rid of the mask. There was already a check for _c >> < 0, so the mask cost even more. The top limit was 256 instead of >> 128, so the point about 8bit immediates didn't apply, but I don't know >> of any machines where the mask is faster (didn't look hard :-). OTOH, >> _c is often a char or a u_char (it is declared as mumble_rune_t, but >> the functions are inline so the compiler can see the original type. >> If _c is u_char and u_char is uint8_t, then (_c < 0 || c >= 256) is >> always false, so the compiler should generate no code for it. The top >> limit of 256 was preferred so that this optimization is possible. A >> top limit of 128 doesn't work so well. > > Please see the tests posted in this thread. Please see my remarks on the tests. Christoph From owner-cvs-src@FreeBSD.ORG Thu Nov 1 02:02:47 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65CC316A417 for ; Thu, 1 Nov 2007 02:02:47 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id B0FA013C4CB for ; Thu, 1 Nov 2007 02:02:46 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 01 Nov 2007 01:55:40 -0000 Received: from p54A3EA53.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.234.83] by mail.gmx.net (mp001) with SMTP; 01 Nov 2007 02:55:40 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1+de3Z3qyWdr07/t7V43JD+xnR8PTRgHtNmYQnH+p L2Y5mecwG8v8/P Message-ID: <4729321B.8030809@gmx.de> Date: Thu, 01 Nov 2007 02:55:39 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: Andrey Chernov , Alexey Dokuchaev , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <20071031223349.GA552@FreeBSD.org> <20071031223727.GB90994@nagual.pp.ru> In-Reply-To: <20071031223727.GB90994@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 02:02:47 -0000 Andrey Chernov wrote: > On Wed, Oct 31, 2007 at 10:33:49PM +0000, Alexey Dokuchaev wrote: >>> For ones who doubts there two tests compiled with -O2. As you may see the >>> result is almost identical (andl vs cmpl): >> Q.E.D. How about to restore original, more reader-friendly version then? > > 1. Reader-friendly version generates long code when absolutely no > optimization used in compiler (for some reason f.e. to avoid optimization > bugs). Code with "absolutely no optimization" is slow for many other reasons. > 2. It also breaks common style ctype using for is{w}ascii(). If revert > this, is{w}ascii() should be rewritted too. I think, the latter is a good suggestion. Christoph From owner-cvs-src@FreeBSD.ORG Thu Nov 1 02:39:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A844716A418; Thu, 1 Nov 2007 02:39:07 +0000 (UTC) (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 23DAF13C48E; Thu, 1 Nov 2007 02:39:06 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id lA12c4cx094532; Thu, 1 Nov 2007 05:38:04 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193884685; bh=BlCWuN/m0MaFMiTCysjcEs9MbL65JtYSGMelunI Ibys=; l=520; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=i1tKzmDJjTWhjGAHhBsetQ8diOYFopKeyZ94xVys vPHufVlkzpfAXxC5sOC72cQG4+xoUlkC00/FyNzxCSWw2kZSFKbEDUIfskbShM5rmAl vSkIbIXcr/IfnspI+QE/XiYpSTeCrB5dbdbXykaZ3RW/c4cr/BbwXVgCjr6221Io= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id lA12c4LH094531; Thu, 1 Nov 2007 05:38:04 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 05:38:03 +0300 From: Andrey Chernov To: Christoph Mallon Message-ID: <20071101023803.GA94332@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Christoph Mallon , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <47292F79.9030102@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47292F79.9030102@gmx.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Juli Mallett , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 02:39:07 -0000 On Thu, Nov 01, 2007 at 02:44:25AM +0100, Christoph Mallon wrote: > Also the example is still unrealistic: You usually don't multiply chars by > two. Lets try something more realistic: an ASCII filter > > int filter_ascii0(int c) > { > return c < 0 || c >= 128 ? '?' : c; > } > > int filter_ascii1(int c) > { > return c & ~0x7F ? '?' : c; > } We don't need that reaslistic examples, we need only what __isctype() does, and it just returns 0 or 1, not 'c'. -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Thu Nov 1 02:45:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00CAB16A41A for ; Thu, 1 Nov 2007 02:45:11 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 0AFD913C4A3 for ; Thu, 1 Nov 2007 02:45:09 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 01 Nov 2007 01:44:26 -0000 Received: from p54A3EA53.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.234.83] by mail.gmx.net (mp002) with SMTP; 01 Nov 2007 02:44:26 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1+SDMY1IVGSZMzfozpV2QYSfOuVO69/YAAoya07sF zrI3CzXttmOh6c Message-ID: <47292F79.9030102@gmx.de> Date: Thu, 01 Nov 2007 02:44:25 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: Andrey Chernov , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> In-Reply-To: <20071031215526.GC89932@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 02:45:11 -0000 Andrey Chernov wrote: > On Tue, Oct 30, 2007 at 10:03:31AM -1000, Juli Mallett wrote: >> * "Andrey A. Chernov" [ 2007-10-27 ] >> [ cvs commit: src/include _ctype.h ] >>> ache 2007-10-27 22:32:28 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> include _ctype.h >>> Log: >>> Micro-optimization of prev. commit, change >>> (_c < 0 || _c >= 128) to (_c & ~0x7F) >> Isn't that a non-optimization in code and a minor pessimization of readability? >> Maybe I'm getting rusty, but those seem to result in nearly identical code on >> i386 with a relatively modern GCC. Did you look at the compiler output for this >> optimization? Is there a specific expensive instruction you're trying to avoid? >> For such thoroughyl bit-aligned range checks, you shouldn't even get a branch >> for the former case. Is there a platform other than i386 I should look at where >> the previous expression is more clearly pessimized? Or a different compiler >> than GCC? > > For ones who doubts there two tests compiled with -O2. As you may see the > result is almost identical (andl vs cmpl): > -------------------- a.c -------------------- > main () { > > int c; > > return (c & ~0x7f) ? 0 : c * 2; > } > -------------------- a.s -------------------- > .file "a.c" > .text > .p2align 4,,15 > .globl main > .type main, @function > main: > leal 4(%esp), %ecx > andl $-16, %esp > pushl -4(%ecx) > movl %eax, %edx > andl $-128, %edx > addl %eax, %eax > cmpl $1, %edx > sbbl %edx, %edx > pushl %ebp > andl %edx, %eax > movl %esp, %ebp > pushl %ecx > popl %ecx > popl %ebp > leal -4(%ecx), %esp > ret > .size main, .-main > .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" > -------------------- a1.c -------------------- > main () { > > int c; > > return (c < 0 || c >= 128) ? 0 : c * 2; > > > } > -------------------- a1.s -------------------- > .file "a1.c" > .text > .p2align 4,,15 > .globl main > .type main, @function > main: > leal 4(%esp), %ecx > andl $-16, %esp > pushl -4(%ecx) > addl %eax, %eax > cmpl $128, %eax > sbbl %edx, %edx > andl %edx, %eax > pushl %ebp > movl %esp, %ebp > pushl %ecx > popl %ecx > popl %ebp > leal -4(%ecx), %esp > ret > .size main, .-main > .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" Your example is invalid. The value of c is undefined in this function and you see random garbage as result (for example in the code snippet you see the c * 2 (addl %eax, %eax) and after that is the cmpl, which uses %eax, too). In fact it would be perfectly legal for the compiler to always return 0, call abort(), or let demons fly out of your nose. Also the example is still unrealistic: You usually don't multiply chars by two. Lets try something more realistic: an ASCII filter int filter_ascii0(int c) { return c < 0 || c >= 128 ? '?' : c; } int filter_ascii1(int c) { return c & ~0x7F ? '?' : c; } Especially mind that c is not dead after the condition. Even if your example did not used an undefined value, the value of c is dead after the test, which is unlikely for typical string handling code. And now the compiled code (GCC 3.4.6 with -O2 -march=athlon-xp -fomit-frame-pointer - I used these switches to get more compact code. It has no influence on the condition test.): 00000000 : 0: 8b 54 24 04 mov 0x4(%esp),%edx 4: b8 3f 00 00 00 mov $0x3f,%eax 9: 83 fa 7f cmp $0x7f,%edx c: 0f 46 c2 cmovbe %edx,%eax f: c3 ret 00000010 : 10: 8b 54 24 04 mov 0x4(%esp),%edx 14: b8 3f 00 00 00 mov $0x3f,%eax 19: f7 c2 80 ff ff ff test $0xffffff80,%edx 1f: 0f 44 c2 cmove %edx,%eax 22: c3 ret You see there is a test instruction used in filter_ascii1, because the value in %edx does not die at the test, but is used again in the cmove. Christoph From owner-cvs-src@FreeBSD.ORG Thu Nov 1 03:06:42 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF7BF16A417; Thu, 1 Nov 2007 03:06:42 +0000 (UTC) (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 F400513C48E; Thu, 1 Nov 2007 03:06:41 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id lA1367eS095044; Thu, 1 Nov 2007 06:06:07 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193886367; bh=Qtlk6pSvcvI6lG5k8hYAQ7eg5qPoUbV5qrIzD31 ZpBE=; l=488; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=o5xLdRkWALDKVACfz64yR6KkyYF2EE8nAP2/NulL 1ICT87Tj6/FBgLhmS80p5Fe/+SLm937UY3wIcj2VnFc1e9RQA8gNbBZAF28STHT7N8N asLJb2LyUuZQTsNR+SuGs2ot3aOJ2qtdItkW9nFUpnUwq/nnmq1U1q9vAOJWZuKM= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id lA1367m9095043; Thu, 1 Nov 2007 06:06:07 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 06:06:06 +0300 From: Andrey Chernov To: Christoph Mallon Message-ID: <20071101030606.GA94947@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Christoph Mallon , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <47264710.2000500@gmx.de> <20071031221934.GA90781@nagual.pp.ru> <4729314D.1090709@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4729314D.1090709@gmx.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 03:06:43 -0000 On Thu, Nov 01, 2007 at 02:52:13AM +0100, Christoph Mallon wrote: >> 2. _c & ~0x7F comes right from is{w}ascii() so there is no such enormously >> big problems to decifer. I just want to keep all ctype in style. > > Repeating cryptic code does not make it better, IMO. This issue is completely non-essential and can stay in its any form, but seems to produce lots of noise and tires me. See new subj. 'non-functional backout for review' in current@ -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Thu Nov 1 03:18:03 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDF6316A41B; Thu, 1 Nov 2007 03:18:03 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B175613C480; Thu, 1 Nov 2007 03:18:03 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA13I3Gx075487; Thu, 1 Nov 2007 03:18:03 GMT (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA13I39X075486; Thu, 1 Nov 2007 03:18:03 GMT (envelope-from ache) Message-Id: <200711010318.lA13I39X075486@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Thu, 1 Nov 2007 03:18:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 03:18:04 -0000 ache 2007-11-01 03:18:03 UTC FreeBSD src repository Modified files: include _ctype.h Log: Back out not human readable optimization in prev. commit which shown to generate 3bytes longer opcode. Revision Changes Path 1.34 +1 -1 src/include/_ctype.h From owner-cvs-src@FreeBSD.ORG Thu Nov 1 03:31:59 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A64E916A417; Thu, 1 Nov 2007 03:31:59 +0000 (UTC) (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 1D34E13C4B8; Thu, 1 Nov 2007 03:31:58 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id lA13Jo6B095252; Thu, 1 Nov 2007 06:19:50 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193887191; bh=B2yl0KKY2V0lfl8UkzJXGhEC1WBRgc7af/9LXlD P8jo=; l=952; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=M7lMhcwQ/d1ewf7Ec0iFLnJcXW5Nf8y6dgVC3mTP S9SzJ4RqIbQQfgrBzsv/tKBsITF4DvC4zFZ1Bk2Y5fpJ1fhmV7wGpk5b82Fn7GinT+0 fAQ3jzB0E/90u+q3PcOVE0Ca2A2kL87kw4x+ZUZKpAbmS9Jaqyje/uxgqhQHyzyk= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id lA13Jo7Z095251; Thu, 1 Nov 2007 06:19:50 +0300 (MSK) (envelope-from ache) Date: Thu, 1 Nov 2007 06:19:50 +0300 From: Andrey Chernov To: Christoph Mallon Message-ID: <20071101031950.GB95201@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Christoph Mallon , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <47292F79.9030102@gmx.de> <20071101023803.GA94332@nagual.pp.ru> <472942BF.1080807@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <472942BF.1080807@gmx.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Juli Mallett , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 03:31:59 -0000 On Thu, Nov 01, 2007 at 04:06:39AM +0100, Christoph Mallon wrote: > Andrey Chernov wrote: >> On Thu, Nov 01, 2007 at 02:44:25AM +0100, Christoph Mallon wrote: >>> Also the example is still unrealistic: You usually don't multiply chars >>> by two. Lets try something more realistic: an ASCII filter >>> >>> int filter_ascii0(int c) >>> { >>> return c < 0 || c >= 128 ? '?' : c; >>> } >>> >>> int filter_ascii1(int c) >>> { >>> return c & ~0x7F ? '?' : c; >>> } >> We don't need that reaslistic examples, we need only what __isctype() >> does, and it just returns 0 or 1, not 'c'. > > Sorry, I don't understand what you want to tell me. I showed, that your > example is invalid (because of undefined behaviour) and unrealistic, > therefore I provided a better example on how this condition is used. But, > of course, let's look at __isctype() in both variants: Just backed out. -- http://ache.pp.ru/ From owner-cvs-src@FreeBSD.ORG Thu Nov 1 04:26:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7055116A417; Thu, 1 Nov 2007 04:26:34 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4FB13C4A5; Thu, 1 Nov 2007 04:26:34 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA14QYOx082875; Thu, 1 Nov 2007 04:26:34 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA14QYWD082874; Thu, 1 Nov 2007 04:26:34 GMT (envelope-from yongari) Message-Id: <200711010426.lA14QYWD082874@repoman.freebsd.org> From: Pyun YongHyeon Date: Thu, 1 Nov 2007 04:26:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/mii e1000phy.c e1000phyreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 04:26:34 -0000 yongari 2007-11-01 04:26:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii e1000phy.c e1000phyreg.h Log: MFC e1000phy.c rev 1.19, e1000phyreg.h rev. 1.5 to RELENG_7 Add 88E1116/88E1116R PHY support code that takes the PHY out of power-down mode. Approved by: re (kensmith) Revision Changes Path 1.18.2.1 +10 -0 src/sys/dev/mii/e1000phy.c 1.4.2.1 +5 -0 src/sys/dev/mii/e1000phyreg.h From owner-cvs-src@FreeBSD.ORG Thu Nov 1 04:27:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B5A616A477; Thu, 1 Nov 2007 04:27:31 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2815113C4AA; Thu, 1 Nov 2007 04:27:31 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA14RVsY082950; Thu, 1 Nov 2007 04:27:31 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA14RVtm082949; Thu, 1 Nov 2007 04:27:31 GMT (envelope-from yongari) Message-Id: <200711010427.lA14RVtm082949@repoman.freebsd.org> From: Pyun YongHyeon Date: Thu, 1 Nov 2007 04:27:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/mii e1000phy.c e1000phyreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 04:27:31 -0000 yongari 2007-11-01 04:27:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii e1000phy.c e1000phyreg.h Log: MFC e1000phy.c rev 1.19, e1000phyreg.h rev. 1.5 to RELENG_6 Add 88E1116/88E1116R PHY support code that takes the PHY out of power-down mode. Revision Changes Path 1.14.2.3 +10 -0 src/sys/dev/mii/e1000phy.c 1.3.2.2 +5 -0 src/sys/dev/mii/e1000phyreg.h From owner-cvs-src@FreeBSD.ORG Thu Nov 1 05:53:54 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 055E616A420 for ; Thu, 1 Nov 2007 05:53:54 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 6284813C4B0 for ; Thu, 1 Nov 2007 05:53:53 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 01 Nov 2007 03:06:40 -0000 Received: from p54A3EA53.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.234.83] by mail.gmx.net (mp040) with SMTP; 01 Nov 2007 04:06:40 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1/1v412n1n12+xBU8UnuV9fLZ7Ew05M0djm38I4i8 3uNYCMz87L7vNv Message-ID: <472942BF.1080807@gmx.de> Date: Thu, 01 Nov 2007 04:06:39 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: Andrey Chernov , Christoph Mallon , Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <47292F79.9030102@gmx.de> <20071101023803.GA94332@nagual.pp.ru> In-Reply-To: <20071101023803.GA94332@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 05:53:54 -0000 Andrey Chernov wrote: > On Thu, Nov 01, 2007 at 02:44:25AM +0100, Christoph Mallon wrote: >> Also the example is still unrealistic: You usually don't multiply chars by >> two. Lets try something more realistic: an ASCII filter >> >> int filter_ascii0(int c) >> { >> return c < 0 || c >= 128 ? '?' : c; >> } >> >> int filter_ascii1(int c) >> { >> return c & ~0x7F ? '?' : c; >> } > > We don't need that reaslistic examples, we need only what __isctype() > does, and it just returns 0 or 1, not 'c'. Sorry, I don't understand what you want to tell me. I showed, that your example is invalid (because of undefined behaviour) and unrealistic, therefore I provided a better example on how this condition is used. But, of course, let's look at __isctype() in both variants: #include <_ctype.h> int my__isctype0(__ct_rune_t _c, unsigned long _f) { return (_c & ~0x7F) ? 0 : !!(_DefaultRuneLocale.__runetype[_c] & _f); } int my__isctype1(__ct_rune_t _c, unsigned long _f) { return (_c < 0 || _c >= 128) ? 0 : !!(_DefaultRuneLocale.__runetype[_c] & _f); } 00000000 : 0: 8b 4c 24 04 mov 0x4(%esp),%ecx 4: 31 d2 xor %edx,%edx 6: f7 c1 80 ff ff ff test $0xffffff80,%ecx c: 75 13 jne 21 e: 8b 44 24 08 mov 0x8(%esp),%eax 12: 85 04 8d 34 00 00 00 test %eax,0x34(,%ecx,4) 19: b8 01 00 00 00 mov $0x1,%eax 1e: 0f 45 d0 cmovne %eax,%edx 21: 89 d0 mov %edx,%eax 23: c3 ret 24: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 2a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 00000030 : 30: 8b 4c 24 04 mov 0x4(%esp),%ecx 34: 31 d2 xor %edx,%edx 36: 83 f9 7f cmp $0x7f,%ecx 39: 77 13 ja 4e 3b: 8b 44 24 08 mov 0x8(%esp),%eax 3f: 85 04 8d 34 00 00 00 test %eax,0x34(,%ecx,4) 46: b8 01 00 00 00 mov $0x1,%eax 4b: 0f 45 d0 cmovne %eax,%edx 4e: 89 d0 mov %edx,%eax 50: c3 ret Here, again, the value of _c does not die at the condition, so a test instruction is used, which results in the expected difference of three bytes. Christoph From owner-cvs-src@FreeBSD.ORG Thu Nov 1 08:58:30 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C1F116A419; Thu, 1 Nov 2007 08:58:30 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACFC13C48E; Thu, 1 Nov 2007 08:58:30 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA18wTNR021033; Thu, 1 Nov 2007 08:58:29 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA18wT6b021032; Thu, 1 Nov 2007 08:58:29 GMT (envelope-from pjd) Message-Id: <200711010858.lA18wT6b021032@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 1 Nov 2007 08:58:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/opensolaris/kern opensolaris_vfs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 08:58:30 -0000 pjd 2007-11-01 08:58:29 UTC FreeBSD src repository Modified files: sys/compat/opensolaris/kern opensolaris_vfs.c Log: - Move crfree() outside MNT_ILOCK()/MNT_IUNLOCK() to eliminate a LOR: 1st 0xc4cea568 struct mount mtx (struct mount mtx) @ /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_vfs.c:209 2nd 0xc3ee9010 sleep mtxpool (sleep mtxpool) @ /usr/src/sys/kern/kern_resource.c:1266 - Move crdup() outside MNT_ILOCK()/MNT_IUNLOCK(), as it can sleep. Reported by: Olli Hauer MFC after: 3 days Revision Changes Path 1.7 +7 -3 src/sys/compat/opensolaris/kern/opensolaris_vfs.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 09:49:46 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B83D16A417; Thu, 1 Nov 2007 09:49:46 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4BC7D13C4A5; Thu, 1 Nov 2007 09:49:46 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA19nkNg027886; Thu, 1 Nov 2007 09:49:46 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA19nkZr027885; Thu, 1 Nov 2007 09:49:46 GMT (envelope-from ru) Message-Id: <200711010949.lA19nkZr027885@repoman.freebsd.org> From: Ruslan Ermilov Date: Thu, 1 Nov 2007 09:49:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/mv mv.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 09:49:46 -0000 ru 2007-11-01 09:49:46 UTC FreeBSD src repository Modified files: bin/mv mv.1 Log: Bump document date on behalf of previous revision. Revision Changes Path 1.30 +1 -1 src/bin/mv/mv.1 From owner-cvs-src@FreeBSD.ORG Thu Nov 1 10:01:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418EF16A417; Thu, 1 Nov 2007 10:01:16 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1DF0113C4BC; Thu, 1 Nov 2007 10:01:16 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1A1Gnt028840; Thu, 1 Nov 2007 10:01:16 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1A1GCw028839; Thu, 1 Nov 2007 10:01:16 GMT (envelope-from kevlo) Message-Id: <200711011001.lA1A1GCw028839@repoman.freebsd.org> From: Kevin Lo Date: Thu, 1 Nov 2007 10:01:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/include cpuconf.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 10:01:16 -0000 kevlo 2007-11-01 10:01:15 UTC FreeBSD src repository Modified files: sys/arm/include cpuconf.h Log: __CPU_XSCALE_PXA2XX -> CPU_XSCALE_PXA2X0 Revision Changes Path 1.12 +1 -1 src/sys/arm/include/cpuconf.h From owner-cvs-src@FreeBSD.ORG Thu Nov 1 11:04:21 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6E0716A417; Thu, 1 Nov 2007 11:04:21 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 86A4513C4B2; Thu, 1 Nov 2007 11:04:21 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1B4LR8036011; Thu, 1 Nov 2007 11:04:21 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1B4LeH036010; Thu, 1 Nov 2007 11:04:21 GMT (envelope-from pjd) Message-Id: <200711011104.lA1B4LeH036010@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 1 Nov 2007 11:04:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zvol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 11:04:21 -0000 pjd 2007-11-01 11:04:21 UTC FreeBSD src repository Modified files: sys/contrib/opensolaris/uts/common/fs/zfs zvol.c Log: Call zil_commit() (if ZIL is not disabled) after every non-read request (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is that Solaris calls it only for sync requests, but we can't say in GEOM is the request is sync or async, so we do it for every request. MFC after: 1 week Revision Changes Path 1.4 +11 -11 src/sys/contrib/opensolaris/uts/common/fs/zfs/zvol.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 11:19:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C40516A417; Thu, 1 Nov 2007 11:19:58 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id B094413C4BD; Thu, 1 Nov 2007 11:19:57 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id lA1BJE3N070610; Thu, 1 Nov 2007 14:19:14 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id lA1BJDYH070609; Thu, 1 Nov 2007 14:19:13 +0300 (MSK) (envelope-from yar) Date: Thu, 1 Nov 2007 14:19:13 +0300 From: Yar Tikhiy To: Warner Losh Message-ID: <20071101111913.GB69930@comp.chem.msu.su> References: <200710310926.l9V9Qhi4041450@repoman.freebsd.org> <20071031.111228.85322655.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071031.111228.85322655.imp@bsdimp.com> User-Agent: Mutt/1.5.9i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 11:19:58 -0000 On Wed, Oct 31, 2007 at 11:12:28AM -0600, Warner Losh wrote: > > 3) With a bit of hackery around rtld(8), it becomes possible to do destructive > > cross-installs, e.g., i386->amd64 over the live system. > > but this can lead to security issues.) That's why a destructive > > cross-install isn't possible w/o hackery yet. > > Does this mean I can now 'sidegrade' my FreeBSD/amd64 box to > FreeBSD/i386? or is only the 32-bit -> 64-bit direction supported. It should work between any arch'es because the installworld is to be run with the old kernel and no tools from the new system should run during it. The i386->amd64 route just looked the most attractive and important to brag about in the commit message. :-) -- Yar From owner-cvs-src@FreeBSD.ORG Thu Nov 1 11:32:44 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32C316A41A; Thu, 1 Nov 2007 11:32:44 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2102513C4A8; Thu, 1 Nov 2007 11:32:43 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id E34CA2098; Thu, 1 Nov 2007 12:32:11 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 5FAA02095; Thu, 1 Nov 2007 12:32:11 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 3D13784479; Thu, 1 Nov 2007 12:32:11 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Pawel Jakub Dawidek References: <200711011104.lA1B4LeH036010@repoman.freebsd.org> Date: Thu, 01 Nov 2007 12:32:11 +0100 In-Reply-To: <200711011104.lA1B4LeH036010@repoman.freebsd.org> (Pawel Jakub Dawidek's message of "Thu\, 1 Nov 2007 11\:04\:21 +0000 \(UTC\)") Message-ID: <867il2w69w.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zvol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 11:32:44 -0000 Pawel Jakub Dawidek writes: > Log: > Call zil_commit() (if ZIL is not disabled) after every non-read request > (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is > that Solaris calls it only for sync requests, but we can't say in GEOM > is the request is sync or async, so we do it for every request. Perhaps that is something that should be fixed in GEOM... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Thu Nov 1 12:33:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CD7116A419; Thu, 1 Nov 2007 12:33:52 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx01.syd.optusnet.com.au (fallbackmx01.syd.optusnet.com.au [211.29.132.93]) by mx1.freebsd.org (Postfix) with ESMTP id 659E913C4BC; Thu, 1 Nov 2007 12:33:49 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by fallbackmx01.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id l9VGtNg1012380; Thu, 1 Nov 2007 03:55:23 +1100 Received: from c211-30-219-213.carlnfd3.nsw.optusnet.com.au (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l9VGs3hU022786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 03:54:04 +1100 Date: Thu, 1 Nov 2007 03:54:17 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Bruce Evans In-Reply-To: <20071031205412.U3526@delplex.bde.org> Message-ID: <20071101034838.H4676@delplex.bde.org> References: <200710150951.l9F9pUm7026506@repoman.freebsd.org> <4720B30F.4040903@samsco.org> <20071025151707.GA11398@nagual.pp.ru> <4720E0AF.1010004@samsco.org> <4720E904.2090704@delphij.net> <20071031205412.U3526@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Scott Long , src-committers@FreeBSD.org, d@delphij.net, Andrey Chernov , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 12:33:52 -0000 On Wed, 31 Oct 2007, Bruce Evans wrote: > __mb_sb_limit is extern int, so the ABI breakage was obvious. If it > had been a compile-time constant with the usual ${CFLAGS} but not a > constant with -O0, of if the constant depended on ${CFLAGS} or changed > with __FreeBSD_version, then the problem would have been less obvious. > > Now the limit is spelled 128, so it really is constant and won't cause > problems unless the constant changes. > > _ctype.h still declares __mb_sb_limit but now doesn't use it. > ... Oops, I didn't realize at first that you only changed it to 128 in one place. Changing it in only one place (which affects little more than isdigit()) hardly seems worth it. It leaves the ABI problem, and the optimization is tiny. Bruce From owner-cvs-src@FreeBSD.ORG Thu Nov 1 13:07:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EAEB16A417; Thu, 1 Nov 2007 13:07:28 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9264F13C4A6; Thu, 1 Nov 2007 13:07:28 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1D7Snf054475; Thu, 1 Nov 2007 13:07:28 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1D7SNF054474; Thu, 1 Nov 2007 13:07:28 GMT (envelope-from kensmith) Message-Id: <200711011307.lA1D7SNF054474@repoman.freebsd.org> From: Ken Smith Date: Thu, 1 Nov 2007 13:07:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.sbin/sysinstall config.c dmenu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 13:07:28 -0000 kensmith 2007-11-01 13:07:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/sysinstall config.c dmenu.c Log: MFC v1.243 of config.c and v1.48 of dmenu.c - fixes needed because sysinstall had made bad assumptions about the behavior of getenv(3) and the new getenv(3) doesn't behave the same as the old one did if you call it with getenv("amd_enable=YES"). It was noted during review that the use of strdup(3) here is wrong and should be checked for NULL. It's worth noting that's what I meant when I said I conformed to sysinstall's style despite urges to do otherwise in the original commit. sysinstall is in desperate need of some major rototilling (or being thrown out...). Approved by: re (rwatson) Revision Changes Path 1.242.2.1 +6 -1 src/usr.sbin/sysinstall/config.c 1.47.2.1 +8 -4 src/usr.sbin/sysinstall/dmenu.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 14:09:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A81C16A417; Thu, 1 Nov 2007 14:09:07 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6C42913C4BB; Thu, 1 Nov 2007 14:09:07 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1E97B3063330; Thu, 1 Nov 2007 14:09:07 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1E97Uq063329; Thu, 1 Nov 2007 14:09:07 GMT (envelope-from rodrigc) Message-Id: <200711011409.lA1E97Uq063329@repoman.freebsd.org> From: Craig Rodrigues Date: Thu, 1 Nov 2007 14:09:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/kern vfs_mount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 14:09:07 -0000 rodrigc 2007-11-01 14:09:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern vfs_mount.c Log: MFC: 1.267 In nmount(), if MNT_ROOT is in the mount flags, filter it out instead of returning an error. (1) This makes the behavior consistent with mount(2). (2) This makes update mounts on the root file system work properly. (3) The explicit checks for MNT_ROOTFS in src/sbin/fsck_ffs/main.c and src/usr.sbin/mountd/mountd.c which were put in to eliminate errors during update mounts on the root file system can be removed. The only place were MNT_ROOTFS can be validly set is inside the kernel, i.e. with vfs_mountroot_try(). Approved by: re (gnn) Revision Changes Path 1.265.2.1 +13 -4 src/sys/kern/vfs_mount.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 14:20:38 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28B4116A41B; Thu, 1 Nov 2007 14:20:38 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 021A513C4B0; Thu, 1 Nov 2007 14:20:38 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1EKbK3064794; Thu, 1 Nov 2007 14:20:37 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1EKbpN064793; Thu, 1 Nov 2007 14:20:37 GMT (envelope-from rodrigc) Message-Id: <200711011420.lA1EKbpN064793@repoman.freebsd.org> From: Craig Rodrigues Date: Thu, 1 Nov 2007 14:20:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/share/man/man5 xfs.5 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 14:20:38 -0000 rodrigc 2007-11-01 14:20:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man5 xfs.5 Log: MFC 1.2 Add a small note about how "mkfs.xfs -p" can be used to create an XFS file system populated with files. Approved by: re (gnn) Revision Changes Path 1.1.2.1 +11 -1 src/share/man/man5/xfs.5 From owner-cvs-src@FreeBSD.ORG Thu Nov 1 14:21:21 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6234016A417; Thu, 1 Nov 2007 14:21:21 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx01.syd.optusnet.com.au (fallbackmx01.syd.optusnet.com.au [211.29.132.93]) by mx1.freebsd.org (Postfix) with ESMTP id 1C59A13C4B6; Thu, 1 Nov 2007 14:21:19 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by fallbackmx01.syd.optusnet.com.au (8.12.11.20060308/8.12.11) with ESMTP id lA1AZN5V026377; Thu, 1 Nov 2007 21:35:23 +1100 Received: from besplex.bde.org (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id lA1AYHar021619 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 21:34:19 +1100 Date: Thu, 1 Nov 2007 21:34:17 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Christoph Mallon In-Reply-To: <47292F79.9030102@gmx.de> Message-ID: <20071101204931.C94960@besplex.bde.org> References: <200710272232.l9RMWSbK072082@repoman.freebsd.org> <20071030200331.GA29309@toxic.magnesium.net> <20071031215526.GC89932@nagual.pp.ru> <47292F79.9030102@gmx.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Andrey Chernov , src-committers@FreeBSD.org, Juli Mallett , cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/include _ctype.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 14:21:21 -0000 On Thu, 1 Nov 2007, Christoph Mallon wrote: > Andrey Chernov wrote: >> On Tue, Oct 30, 2007 at 10:03:31AM -1000, Juli Mallett wrote: >>> * "Andrey A. Chernov" [ 2007-10-27 ] >>> [ cvs commit: src/include _ctype.h ] >>>> ache 2007-10-27 22:32:28 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> include _ctype.h Log: >>>> Micro-optimization of prev. commit, change >>>> (_c < 0 || _c >= 128) to (_c & ~0x7F) >>> Isn't that a non-optimization in code and a minor pessimization of >>> readability? >> ... >> For ones who doubts there two tests compiled with -O2. As you may see the >> result is almost identical (andl vs cmpl): We never doubted that it was a small negative or non-optimization :-). Look closer and you will see that the andl version takes 2 extra instructions, since both versions are smart enough to avoid a branch, and for this they need the result of the condition code generated by the andl or cmpl, and the cmpl generates the desired condition code directly while 2 more instructions are needed after the andl. >> -------------------- a.c -------------------- >> main () { >> >> int c; >> >> return (c & ~0x7f) ? 0 : c * 2; >> } This example has many flaws as pointed out by Cristoph: - c is uninitialized - the result depends on c in a way that is quite different than the table lookup for ctype. The above expression happens to be more optimizable. >> -------------------- a.s -------------------- >> .file "a.c" >> .text >> .p2align 4,,15 >> .globl main >> .type main, @function >> main: >> leal 4(%esp), %ecx >> andl $-16, %esp >> pushl -4(%ecx) >> movl %eax, %edx <--- extra instruction since andl clobbers a register. Normally, testl should be used to avoid this clobber. >> andl $-128, %edx <--- this sets %edx to something and also sets the condition codes, but not like we want >> addl %eax, %eax <--- c * 2 >> cmpl $1, %edx <--- this sets the condition codes like we want >> sbbl %edx, %edx <--- turn condition codes into a mask in %edx: mask = 0xffffffff if the result should be c *2 and mask = 0 if the result should be 0 >> pushl %ebp >> andl %edx, %eax <--- result = (c * 2) & mask >> movl %esp, %ebp <--- why is it bothering to set up a frame this late? >> pushl %ecx >> popl %ecx >> popl %ebp >> leal -4(%ecx), %esp >> ret >> .size main, .-main >> .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" >> -------------------- a1.c -------------------- >> main () { >> >> int c; >> >> return (c < 0 || c >= 128) ? 0 : c * 2; >> >> >> } >> -------------------- a1.s -------------------- >> .file "a1.c" >> .text >> .p2align 4,,15 >> .globl main >> .type main, @function >> main: >> leal 4(%esp), %ecx >> andl $-16, %esp >> pushl -4(%ecx) >> addl %eax, %eax >> cmpl $128, %eax <--- cmpl puts result in condition codes directly where we want it >> sbbl %edx, %edx <--- same masking stuff ... >> andl %edx, %eax >> pushl %ebp >> movl %esp, %ebp >> pushl %ecx >> popl %ecx >> popl %ebp >> leal -4(%ecx), %esp >> ret >> .size main, .-main >> .ident "GCC: (GNU) 4.2.1 20070719 [FreeBSD]" > > Your example is invalid. The value of c is undefined in this function and you > see random garbage as result (for example in the code snippet you see the c * > 2 (addl %eax, %eax) and after that is the cmpl, which uses %eax, too). In > fact it would be perfectly legal for the compiler to always return 0, call > abort(), or let demons fly out of your nose. However, the uninitialized c = %eax seems to be transformed correctly in both cases. The first case even preserves %eax from the andl. > > Also the example is still unrealistic: You usually don't multiply chars by > two. Lets try something more realistic: an ASCII filter Indeed. Bruce From owner-cvs-src@FreeBSD.ORG Thu Nov 1 16:08:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 521DA16A469; Thu, 1 Nov 2007 16:08:26 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 28C1913C4A6; Thu, 1 Nov 2007 16:08:26 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1G8QcI074384; Thu, 1 Nov 2007 16:08:26 GMT (envelope-from brix@repoman.freebsd.org) Received: (from brix@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1G8QN8074383; Thu, 1 Nov 2007 16:08:26 GMT (envelope-from brix) Message-Id: <200711011608.lA1G8QN8074383@repoman.freebsd.org> From: Henrik Brix Andersen Date: Thu, 1 Nov 2007 16:08:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/misc committers-ports.dot X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 16:08:26 -0000 brix 2007-11-01 16:08:25 UTC FreeBSD src repository (ports committer) Modified files: share/misc committers-ports.dot Log: Add myself and note that erwin is my mentor Approved by: erwin (mentor) Revision Changes Path 1.64 +2 -0 src/share/misc/committers-ports.dot From owner-cvs-src@FreeBSD.ORG Thu Nov 1 16:30:53 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA4AE16A418 for ; Thu, 1 Nov 2007 16:30:53 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 7B02D13C480 for ; Thu, 1 Nov 2007 16:30:53 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so434686rvb for ; Thu, 01 Nov 2007 09:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=pcPINKYs7HypMvqAaNMEO1njMX2zYn+h9A4Dipy1wyM=; b=U+U9sjRqDtXi2uQ5mTkTVAHUJsusLWkodQuwkNVN2fCXh5yaLIyQqw4V+peAZM11Ufk0ltp3rHqhmyhcZ/1WsJxAKUL8TPqorbAs0vY9Hrz8KA77AhTj6gPlOLklqiY2az50MWm7LBYtuOdxs1hBAQdMalhQveE9u6kbWBsRJBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=sVgoZBBiq1Au6cuRCDoDTVb3rANm76vBH1uYS022TddFhGAVcZyYvRMXLEboZbPSCKeuJ6sT6Twg8JK5+VZQZA23yIU6ukFjsFLEY7GduY8MhD1kt410I7WGJhfozu9li1a/XkcYyTtujS1R0LsZWU9piETr7JbHiTPgThc02FI= Received: by 10.141.83.15 with SMTP id k15mr368310rvl.1193933157495; Thu, 01 Nov 2007 09:05:57 -0700 (PDT) Received: by 10.140.131.18 with HTTP; Thu, 1 Nov 2007 09:05:57 -0700 (PDT) Message-ID: <2e77fc10711010905o77b19d08l63a6b7ed06ec2680@mail.gmail.com> Date: Thu, 1 Nov 2007 18:05:57 +0200 From: "Niki Denev" Sender: ndenev@gmail.com To: "Pawel Jakub Dawidek" In-Reply-To: <200711011104.lA1B4LeH036010@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711011104.lA1B4LeH036010@repoman.freebsd.org> X-Google-Sender-Auth: f4cee005aee7ebf7 Cc: cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zvol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 16:30:53 -0000 On 11/1/07, Pawel Jakub Dawidek wrote: > pjd 2007-11-01 11:04:21 UTC > > FreeBSD src repository > > Modified files: > sys/contrib/opensolaris/uts/common/fs/zfs zvol.c > Log: > Call zil_commit() (if ZIL is not disabled) after every non-read request > (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is > that Solaris calls it only for sync requests, but we can't say in GEOM > is the request is sync or async, so we do it for every request. I'm just curious if this isn't this going to hurt the performance slightly, and make Zfs/Zil behave as regular journaled fs? I've also read somewehere (afair some sun developers blog) that there are some problems with writing of Zlogs that can lead to fragmentation, which they are avoiding with using spearate device for ZIL. -- Niki From owner-cvs-src@FreeBSD.ORG Thu Nov 1 18:19:20 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A6DB16A417; Thu, 1 Nov 2007 18:19:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 04C4013C4A6; Thu, 1 Nov 2007 18:19:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1IJJIZ093091; Thu, 1 Nov 2007 18:19:19 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1IJJVR093090; Thu, 1 Nov 2007 18:19:19 GMT (envelope-from jhb) Message-Id: <200711011819.lA1IJJVR093090@repoman.freebsd.org> From: John Baldwin Date: Thu, 1 Nov 2007 18:19:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/libi386 bioscd.c biosdisk.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/boot2 boot.c src/sys/boot/pc98/libpc98 bioscd.c biosdisk.c src/sys/boot/pc98/loader main.c src/sys/i386/include ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 18:19:20 -0000 jhb 2007-11-01 18:19:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/i386/boot2 boot2.c sys/boot/i386/libi386 bioscd.c biosdisk.c sys/boot/i386/loader main.c sys/boot/pc98/boot2 boot.c sys/boot/pc98/libpc98 bioscd.c biosdisk.c sys/boot/pc98/loader main.c sys/i386/include bootinfo.h Log: MFC: Slightly cleanup the 'bootdev' concept on x86. Approved by: re (kensmith) Revision Changes Path 1.83.2.1 +1 -1 src/sys/boot/i386/boot2/boot2.c 1.9.2.1 +1 -1 src/sys/boot/i386/libi386/bioscd.c 1.48.2.1 +2 -5 src/sys/boot/i386/libi386/biosdisk.c 1.40.2.1 +1 -2 src/sys/boot/i386/loader/main.c 1.17.2.1 +1 -1 src/sys/boot/pc98/boot2/boot.c 1.2.2.1 +1 -1 src/sys/boot/pc98/libpc98/bioscd.c 1.34.2.1 +2 -5 src/sys/boot/pc98/libpc98/biosdisk.c 1.24.2.1 +1 -2 src/sys/boot/pc98/loader/main.c 1.15.22.1 +6 -12 src/sys/i386/include/bootinfo.h From owner-cvs-src@FreeBSD.ORG Thu Nov 1 18:20:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E86CB16A417; Thu, 1 Nov 2007 18:20:37 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D215C13C4B7; Thu, 1 Nov 2007 18:20:37 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1IKb1C093333; Thu, 1 Nov 2007 18:20:37 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1IKb0M093332; Thu, 1 Nov 2007 18:20:37 GMT (envelope-from jhb) Message-Id: <200711011820.lA1IKb0M093332@repoman.freebsd.org> From: John Baldwin Date: Thu, 1 Nov 2007 18:20:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/libi386 bioscd.c biosdisk.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/boot2 boot.c src/sys/boot/pc98/libpc98 bioscd.c biosdisk.c src/sys/boot/pc98/loader main.c src/sys/i386/include ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 18:20:38 -0000 jhb 2007-11-01 18:20:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/boot/i386/boot2 boot2.c sys/boot/i386/libi386 bioscd.c biosdisk.c sys/boot/i386/loader main.c sys/boot/pc98/boot2 boot.c sys/boot/pc98/libpc98 bioscd.c biosdisk.c sys/boot/pc98/loader main.c sys/i386/include bootinfo.h Log: MFC: Slightly cleanup the 'bootdev' concept on x86. Revision Changes Path 1.72.2.6 +1 -1 src/sys/boot/i386/boot2/boot2.c 1.8.2.1 +1 -1 src/sys/boot/i386/libi386/bioscd.c 1.45.2.3 +2 -5 src/sys/boot/i386/libi386/biosdisk.c 1.31.2.4 +1 -2 src/sys/boot/i386/loader/main.c 1.14.2.1 +1 -1 src/sys/boot/pc98/boot2/boot.c 1.1.2.2 +1 -1 src/sys/boot/pc98/libpc98/bioscd.c 1.32.2.2 +2 -5 src/sys/boot/pc98/libpc98/biosdisk.c 1.20.2.3 +1 -2 src/sys/boot/pc98/loader/main.c 1.15.12.1 +6 -12 src/sys/i386/include/bootinfo.h From owner-cvs-src@FreeBSD.ORG Thu Nov 1 18:22:53 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB99816A417; Thu, 1 Nov 2007 18:22:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A07A613C48D; Thu, 1 Nov 2007 18:22:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1IMrQX093654; Thu, 1 Nov 2007 18:22:53 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1IMriK093653; Thu, 1 Nov 2007 18:22:53 GMT (envelope-from jhb) Message-Id: <200711011822.lA1IMriK093653@repoman.freebsd.org> From: John Baldwin Date: Thu, 1 Nov 2007 18:22:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/boot/i386/libi386 biosdisk.c src/sys/boot/pc98/libpc98 biosdisk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 18:22:53 -0000 jhb 2007-11-01 18:22:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/i386/libi386 biosdisk.c sys/boot/pc98/libpc98 biosdisk.c Log: MFC: Reindent the read/write code of bd_realstrategy(). Approved by: re (kensmith) Revision Changes Path 1.48.2.2 +31 -40 src/sys/boot/i386/libi386/biosdisk.c 1.34.2.2 +31 -40 src/sys/boot/pc98/libpc98/biosdisk.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 18:23:10 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8778C16A496; Thu, 1 Nov 2007 18:23:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4A813C48D; Thu, 1 Nov 2007 18:23:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1INACF093716; Thu, 1 Nov 2007 18:23:10 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1INAUi093715; Thu, 1 Nov 2007 18:23:10 GMT (envelope-from jhb) Message-Id: <200711011823.lA1INAUi093715@repoman.freebsd.org> From: John Baldwin Date: Thu, 1 Nov 2007 18:23:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/boot/i386/libi386 biosdisk.c src/sys/boot/pc98/libpc98 biosdisk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 18:23:10 -0000 jhb 2007-11-01 18:23:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/boot/i386/libi386 biosdisk.c sys/boot/pc98/libpc98 biosdisk.c Log: MFC: Reindent the read/write code of bd_realstrategy(). Revision Changes Path 1.45.2.4 +31 -40 src/sys/boot/i386/libi386/biosdisk.c 1.32.2.3 +31 -40 src/sys/boot/pc98/libpc98/biosdisk.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 19:03:05 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59ADD16A419; Thu, 1 Nov 2007 19:03:05 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2E87913C481; Thu, 1 Nov 2007 19:03:05 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1J35x6096927; Thu, 1 Nov 2007 19:03:05 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1J34XA096856; Thu, 1 Nov 2007 19:03:04 GMT (envelope-from csjp) Message-Id: <200711011903.lA1J34XA096856@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Thu, 1 Nov 2007 19:03:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/security/audit audit_bsm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 19:03:05 -0000 csjp 2007-11-01 19:03:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit_bsm.c Log: MFC revision 1.21, use extended process tokens by default Approved by: re@ (kensmith) Revision Changes Path 1.20.2.1 +2 -2 src/sys/security/audit/audit_bsm.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 19:04:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6DD516A41A; Thu, 1 Nov 2007 19:04:13 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8C11E13C481; Thu, 1 Nov 2007 19:04:13 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1J4D1u097700; Thu, 1 Nov 2007 19:04:13 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1J4D4t097699; Thu, 1 Nov 2007 19:04:13 GMT (envelope-from csjp) Message-Id: <200711011904.lA1J4D4t097699@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Thu, 1 Nov 2007 19:04:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/kern kern_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 19:04:13 -0000 csjp 2007-11-01 19:04:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_sig.c Log: MFC revision 1.350, move where we audit the PID to ensure that it gets audited even if it's invalid. Approved by: re@ (kensmith) Revision Changes Path 1.349.2.1 +1 -1 src/sys/kern/kern_sig.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 19:55:00 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F02516A41B; Thu, 1 Nov 2007 19:55:00 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 336F613C4B2; Thu, 1 Nov 2007 19:55:00 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1JsxKC000337; Thu, 1 Nov 2007 19:54:59 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1JsxIm000336; Thu, 1 Nov 2007 19:54:59 GMT (envelope-from obrien) Message-Id: <200711011954.lA1JsxIm000336@repoman.freebsd.org> From: "David E. O'Brien" Date: Thu, 1 Nov 2007 19:54:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/route route.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 19:55:00 -0000 obrien 2007-11-01 19:54:59 UTC FreeBSD src repository Modified files: sbin/route route.8 Log: Document -t. Revision Changes Path 1.47 +4 -0 src/sbin/route/route.8 From owner-cvs-src@FreeBSD.ORG Thu Nov 1 20:06:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63E7B16A421; Thu, 1 Nov 2007 20:06:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3A12113C49D; Thu, 1 Nov 2007 20:06:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1K6CYL002201; Thu, 1 Nov 2007 20:06:12 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1K6COG002200; Thu, 1 Nov 2007 20:06:12 GMT (envelope-from jhb) Message-Id: <200711012006.lA1K6COG002200@repoman.freebsd.org> From: John Baldwin Date: Thu, 1 Nov 2007 20:06:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/gpt boot.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 20:06:13 -0000 jhb 2007-11-01 20:06:12 UTC FreeBSD src repository Modified files: sbin/gpt boot.c Log: Fix 'gpt boot' to work on disk devices and not just plain files. Writes to disk devices have to consist of a block of sectors. Thus, when writing gptboot to the boot partition, round the size of the gptboot file up to a sector boundary, pre-zero it, and write out the full buffer to disk. Revision Changes Path 1.2 +10 -5 src/sbin/gpt/boot.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 20:13:34 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65CF316A417; Thu, 1 Nov 2007 20:13:34 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5215913C481; Thu, 1 Nov 2007 20:13:34 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1KDYHg003725; Thu, 1 Nov 2007 20:13:34 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1KDY28003724; Thu, 1 Nov 2007 20:13:34 GMT (envelope-from matteo) Message-Id: <200711012013.lA1KDY28003724@repoman.freebsd.org> From: Matteo Riondato Date: Thu, 1 Nov 2007 20:13:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/rpc.statd rpc.statd.8 statd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 20:13:34 -0000 matteo 2007-11-01 20:13:34 UTC FreeBSD src repository Modified files: usr.sbin/rpc.statd rpc.statd.8 statd.c Log: Add the -h option to rpc.statd, similar to the one in nfsd(8) and in mountd(8) -h bindip Specify specific IP addresses to bind to for TCP and UDP requests. This option may be specified multiple times. If no -h option is specified, rpc.statd will bind to INADDR_ANY. Note that when specifying IP addresses with -h, rpc.statd will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. (coming for rpc.lockd too) PR: bin/98500 MFC after: 1 week Revision Changes Path 1.15 +19 -1 src/usr.sbin/rpc.statd/rpc.statd.8 1.16 +317 -91 src/usr.sbin/rpc.statd/statd.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 20:45:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6369416A41B; Thu, 1 Nov 2007 20:45:29 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 59F7313C4B0; Thu, 1 Nov 2007 20:45:29 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1KjTal005314; Thu, 1 Nov 2007 20:45:29 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1KjTeP005313; Thu, 1 Nov 2007 20:45:29 GMT (envelope-from emaste) Message-Id: <200711012045.lA1KjTeP005313@repoman.freebsd.org> From: Ed Maste Date: Thu, 1 Nov 2007 20:45:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/aac aac.c aac_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 20:45:31 -0000 emaste 2007-11-01 20:45:29 UTC FreeBSD src repository Modified files: sys/dev/aac aac.c aac_cam.c Log: Rework aac locking for MPSAFE CAM. This fixes a Giant mutex assertion reported on freebsd-current [1]. Also dequeue all events in aac_release_command (instead of just one) so that there's no risk of them getting stranded. Reported by: Steven Brown [1] Submitted by: scottl@ [1] http://lists.freebsd.org/pipermail/freebsd-current/2007-October/077928.html Revision Changes Path 1.123 +5 -2 src/sys/dev/aac/aac.c 1.29 +17 -17 src/sys/dev/aac/aac_cam.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 20:51:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B260816A418; Thu, 1 Nov 2007 20:51:06 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8919D13C48D; Thu, 1 Nov 2007 20:51:06 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1Kp5dP014349; Thu, 1 Nov 2007 20:51:05 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1Kp5NP014348; Thu, 1 Nov 2007 20:51:05 GMT (envelope-from jhb) Message-Id: <200711012051.lA1Kp5NP014348@repoman.freebsd.org> From: John Baldwin Date: Thu, 1 Nov 2007 20:51:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/gpt gpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 20:51:06 -0000 jhb 2007-11-01 20:51:04 UTC FreeBSD src repository Modified files: sbin/gpt gpt.c Log: Don't look for GPT primary and secondary tables on a disk unless we have a valid PMBR. Without this fix, if label a disk with a GPT, then relabel it with an MBR the GPT tables are still present. If you then try to create a GPT with 'gpt create', gpt(8) will fail to open the device because the partitions in the stale GPT overlap with the slices in the MBR. MFC after: 1 week Revision Changes Path 1.18 +10 -4 src/sbin/gpt/gpt.c From owner-cvs-src@FreeBSD.ORG Thu Nov 1 21:56:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE86216A417; Thu, 1 Nov 2007 21:56:11 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A4A0713C4BC; Thu, 1 Nov 2007 21:56:11 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA1LuA4t024318; Thu, 1 Nov 2007 21:56:10 GMT (envelope-from brix@repoman.freebsd.org) Received: (from brix@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA1LuAuL024317; Thu, 1 Nov 2007 21:56:10 GMT (envelope-from brix) Message-Id: <200711012156.lA1LuAuL024317@repoman.freebsd.org> From: Henrik Brix Andersen Date: Thu, 1 Nov 2007 21:56:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/calendar/calendars calendar.freebsd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 21:56:11 -0000 brix 2007-11-01 21:56:10 UTC FreeBSD src repository (ports committer) Modified files: usr.bin/calendar/calendars calendar.freebsd Log: Add my birthday to the calendar. Approved by: erwin (mentor) Revision Changes Path 1.222 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From owner-cvs-src@FreeBSD.ORG Fri Nov 2 00:34:45 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F9B216A518; Fri, 2 Nov 2007 00:34:45 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3540313C49D; Fri, 2 Nov 2007 00:34:45 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA20YjKx036081; Fri, 2 Nov 2007 00:34:45 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA20YjAD036080; Fri, 2 Nov 2007 00:34:45 GMT (envelope-from obrien) Message-Id: <200711020034.lA20YjAD036080@repoman.freebsd.org> From: "David E. O'Brien" Date: Fri, 2 Nov 2007 00:34:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man3 queue.3 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 00:34:45 -0000 obrien 2007-11-02 00:34:45 UTC FreeBSD src repository Modified files: share/man/man3 queue.3 Log: Don't imply O(n) removal for the doubly linked data structures. Revision Changes Path 1.41 +8 -2 src/share/man/man3/queue.3 From owner-cvs-src@FreeBSD.ORG Fri Nov 2 00:35:05 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C6B116A419; Fri, 2 Nov 2007 00:35:05 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 519CD13C4A3; Fri, 2 Nov 2007 00:35:05 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA20Z5Xx036145; Fri, 2 Nov 2007 00:35:05 GMT (envelope-from lulf@repoman.freebsd.org) Received: (from lulf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA20Z5Du036144; Fri, 2 Nov 2007 00:35:05 GMT (envelope-from lulf) Message-Id: <200711020035.lA20Z5Du036144@repoman.freebsd.org> From: Ulf Lilleengen Date: Fri, 2 Nov 2007 00:35:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 00:35:05 -0000 lulf 2007-11-02 00:35:05 UTC FreeBSD src repository Modified files: sys/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c Log: - Add sysctl for sizeof(znode_t), which will be used by fstat(1). Approved by: pjd (mentor) Revision Changes Path 1.10 +4 -0 src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 00:52:35 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1319416A419; Fri, 2 Nov 2007 00:52:35 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F102913C481; Fri, 2 Nov 2007 00:52:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA20qYX5046333; Fri, 2 Nov 2007 00:52:34 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA20qYtK046332; Fri, 2 Nov 2007 00:52:34 GMT (envelope-from rwatson) Message-Id: <200711020052.lA20qYtK046332@repoman.freebsd.org> From: Robert Watson Date: Fri, 2 Nov 2007 00:52:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/share/man/man4 nxge.4 src/sys/dev/nxge if_nxge.c if_nxge.h xge-osdep.h xgell-version.h src/sys/dev/nxge/include build-version.h version.h xge-debug.h xge-defs.h xge-list.h xge-os-pal.h xge-os-template.h xge-queue.h xgehal-channel.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 00:52:35 -0000 rwatson 2007-11-02 00:52:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 nxge.4 sys/dev/nxge if_nxge.c if_nxge.h xge-osdep.h xgell-version.h sys/dev/nxge/include build-version.h version.h xge-debug.h xge-defs.h xge-list.h xge-os-pal.h xge-queue.h xgehal-channel.h xgehal-config.h xgehal-device.h xgehal-driver.h xgehal-event.h xgehal-fifo.h xgehal-mgmt.h xgehal-mgmtaux.h xgehal-mm.h xgehal-regs.h xgehal-ring.h xgehal-stats.h xgehal-types.h xgehal.h sys/dev/nxge/xgehal xge-queue.c xgehal-channel-fp.c xgehal-channel.c xgehal-config.c xgehal-device-fp.c xgehal-device.c xgehal-driver.c xgehal-fifo-fp.c xgehal-fifo.c xgehal-mgmt.c xgehal-mgmtaux.c xgehal-mm.c xgehal-ring-fp.c xgehal-ring.c xgehal-stats.c sys/modules/nxge Makefile tools/tools/nxge Makefile xge_cmn.h xge_info.c xge_info.h xge_log.c xge_log.h Removed files: (Branch: RELENG_7) sys/dev/nxge/include xge-os-template.h Log: Merge Neterion if_nxge driver version 2.0.9.11230 from HEAD to RELENG_7: 01 - Enhanced LRO: LRO feature is extended to support multi-buffer mode. Previously, Ethernet frames received in contiguous buffers were offloaded. Now, frames received in multiple non-contiguous buffers can be offloaded, as well. The driver now supports LRO for jumbo frames. 02 - Locks Optimization: The driver code was re-organized to limit the use of locks. Moreover, lock contention was reduced by replacing wait locks with try locks. 03 - Code Optimization: The driver code was re-factored to eliminate some memcpy operations. Fast path loops were optimized. 04 - Tag Creations: Physical Buffer Tags are now optimized based upon frame size. For better performance, Physical Memory Maps are now re-used. 05 - Configuration: Features such as TSO, LRO, and Interrupt Mode can be configured either at load or at run time. Rx buffer mode (mode 1 or mode 2) can be configured at load time through kenv. 06 - Driver Statistics: Run time statistics are enhanced to provide better visibility into the driver performance. 07 - Bug Fixes: The driver contains fixes for the problems discovered and reported since last submission. 08 - MSI support: Added Message Signaled Interrupt feature which currently uses 1 message. message. 09 Removed feature: Rx 3 buffer mode feature has been removed. Driver now supports 1, 2 and 5 buffer modes of which 2 and 5 buffer modes can be used for header separation. 10 Compiler warning: Fixed compiler warning when compiled for 32 bit system. 11 Copyright notice: Source files are updated with the proper copyright notice. Submitted by: Alicia Pena , Muhammad Shafiq Approved by: re (gnn, kensmith) Revision Changes Path 1.3.2.1 +9 -4 src/share/man/man4/nxge.4 1.3.2.1 +2237 -2126 src/sys/dev/nxge/if_nxge.c 1.1.2.1 +255 -129 src/sys/dev/nxge/if_nxge.h 1.1.2.1 +2 -2 src/sys/dev/nxge/include/build-version.h 1.1.2.1 +6 -14 src/sys/dev/nxge/include/version.h 1.1.2.1 +15 -168 src/sys/dev/nxge/include/xge-debug.h 1.1.2.1 +56 -64 src/sys/dev/nxge/include/xge-defs.h 1.1.2.1 +18 -26 src/sys/dev/nxge/include/xge-list.h 1.1.2.1 +35 -48 src/sys/dev/nxge/include/xge-os-pal.h 1.1.2.1 +0 -614 src/sys/dev/nxge/include/xge-os-template.h (dead) 1.1.2.1 +30 -38 src/sys/dev/nxge/include/xge-queue.h 1.1.2.1 +85 -102 src/sys/dev/nxge/include/xgehal-channel.h 1.1.2.1 +438 -538 src/sys/dev/nxge/include/xgehal-config.h 1.1.2.1 +222 -248 src/sys/dev/nxge/include/xgehal-device.h 1.1.2.1 +30 -38 src/sys/dev/nxge/include/xgehal-driver.h 1.1.2.1 +10 -18 src/sys/dev/nxge/include/xgehal-event.h 1.1.2.1 +68 -72 src/sys/dev/nxge/include/xgehal-fifo.h 1.1.2.1 +42 -50 src/sys/dev/nxge/include/xgehal-mgmt.h 1.1.2.1 +21 -29 src/sys/dev/nxge/include/xgehal-mgmtaux.h 1.1.2.1 +30 -38 src/sys/dev/nxge/include/xgehal-mm.h 1.1.2.1 +340 -344 src/sys/dev/nxge/include/xgehal-regs.h 1.1.2.1 +128 -136 src/sys/dev/nxge/include/xgehal-ring.h 1.1.2.1 +263 -300 src/sys/dev/nxge/include/xgehal-stats.h 1.1.2.1 +198 -217 src/sys/dev/nxge/include/xgehal-types.h 1.1.2.1 +0 -9 src/sys/dev/nxge/include/xgehal.h 1.1.2.1 +303 -276 src/sys/dev/nxge/xge-osdep.h 1.1.2.1 +133 -141 src/sys/dev/nxge/xgehal/xge-queue.c 1.1.2.1 +124 -129 src/sys/dev/nxge/xgehal/xgehal-channel-fp.c 1.1.2.1 +208 -383 src/sys/dev/nxge/xgehal/xgehal-channel.c 1.1.2.1 +241 -249 src/sys/dev/nxge/xgehal/xgehal-config.c 1.1.2.1 +708 -716 src/sys/dev/nxge/xgehal/xgehal-device-fp.c 1.1.2.1 +2975 -2955 src/sys/dev/nxge/xgehal/xgehal-device.c 1.1.2.1 +82 -90 src/sys/dev/nxge/xgehal/xgehal-driver.c 1.1.2.1 +256 -264 src/sys/dev/nxge/xgehal/xgehal-fifo-fp.c 1.1.2.1 +200 -208 src/sys/dev/nxge/xgehal/xgehal-fifo.c 1.1.2.1 +493 -501 src/sys/dev/nxge/xgehal/xgehal-mgmt.c 1.1.2.1 +809 -817 src/sys/dev/nxge/xgehal/xgehal-mgmtaux.c 1.1.2.1 +244 -252 src/sys/dev/nxge/xgehal/xgehal-mm.c 1.1.2.1 +362 -370 src/sys/dev/nxge/xgehal/xgehal-ring-fp.c 1.1.2.1 +233 -241 src/sys/dev/nxge/xgehal/xgehal-ring.c 1.1.2.1 +360 -368 src/sys/dev/nxge/xgehal/xgehal-stats.c 1.1.2.1 +1 -9 src/sys/dev/nxge/xgell-version.h 1.1.2.1 +4 -7 src/sys/modules/nxge/Makefile 1.1.2.1 +0 -0 src/tools/tools/nxge/Makefile 1.1.2.1 +49 -46 src/tools/tools/nxge/xge_cmn.h 1.1.2.1 +569 -424 src/tools/tools/nxge/xge_info.c 1.1.2.1 +30 -34 src/tools/tools/nxge/xge_info.h 1.1.2.1 +286 -211 src/tools/tools/nxge/xge_log.c 1.1.2.1 +2519 -2500 src/tools/tools/nxge/xge_log.h From owner-cvs-src@FreeBSD.ORG Fri Nov 2 00:59:39 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47F9416A417; Fri, 2 Nov 2007 00:59:39 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1D4F813C48A; Fri, 2 Nov 2007 00:59:39 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA20xdIU046541; Fri, 2 Nov 2007 00:59:39 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA20xcHx046540; Fri, 2 Nov 2007 00:59:38 GMT (envelope-from kensmith) Message-Id: <200711020059.lA20xcHx046540@repoman.freebsd.org> From: Ken Smith Date: Fri, 2 Nov 2007 00:59:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/conf newvers.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 00:59:39 -0000 kensmith 2007-11-02 00:59:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf newvers.sh Log: Get ready for the BETA2 builds. Approved by: re (implicit) Revision Changes Path 1.72.2.3 +1 -1 src/sys/conf/newvers.sh From owner-cvs-src@FreeBSD.ORG Fri Nov 2 05:11:45 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE0F016A419; Fri, 2 Nov 2007 05:11:45 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 96A4713C465; Fri, 2 Nov 2007 05:11:45 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA25Bjhl078818; Fri, 2 Nov 2007 05:11:45 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA25Bjcv078817; Fri, 2 Nov 2007 05:11:45 GMT (envelope-from sam) Message-Id: <200711020511.lA25Bjcv078817@repoman.freebsd.org> From: Sam Leffler Date: Fri, 2 Nov 2007 05:11:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net80211 ieee80211_proto.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 05:11:45 -0000 sam 2007-11-02 05:11:45 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_proto.c Log: don't try to re-associate after a parameter change, too many ap's don't do this right; instead go to the scan cache so we pass through auth state (if the cache is warm we can do this w/o an actual scan) MFC after: 1 week Revision Changes Path 1.43 +1 -11 src/sys/net80211/ieee80211_proto.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 05:19:16 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1616316A41A; Fri, 2 Nov 2007 05:19:16 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E343313C4B0; Fri, 2 Nov 2007 05:19:15 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA25JEWD079073; Fri, 2 Nov 2007 05:19:14 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA25JEkD079072; Fri, 2 Nov 2007 05:19:14 GMT (envelope-from sam) Message-Id: <200711020519.lA25JEkD079072@repoman.freebsd.org> From: Sam Leffler Date: Fri, 2 Nov 2007 05:19:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net80211 ieee80211_ioctl.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 05:19:16 -0000 sam 2007-11-02 05:19:14 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_ioctl.h Log: correct channel flags returned by IEEE80211_IOC_STA_INFO; we need to return all 32-bits to identify stations operating with HT MFC after: 1 week Revision Changes Path 1.25 +1 -1 src/sys/net80211/ieee80211_ioctl.h From owner-cvs-src@FreeBSD.ORG Fri Nov 2 05:22:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F01D16A417; Fri, 2 Nov 2007 05:22:26 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2E513C465; Fri, 2 Nov 2007 05:22:26 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA25MQ5T079499; Fri, 2 Nov 2007 05:22:26 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA25MQwL079498; Fri, 2 Nov 2007 05:22:26 GMT (envelope-from sam) Message-Id: <200711020522.lA25MQwL079498@repoman.freebsd.org> From: Sam Leffler Date: Fri, 2 Nov 2007 05:22:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net80211 ieee80211.h ieee80211_freebsd.c ieee80211_freebsd.h ieee80211_ht.c ieee80211_ht.h ieee80211_input.c ieee80211_ioctl.c ieee80211_ioctl.h ieee80211_node.c ieee80211_node.h ieee80211_output.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 05:22:26 -0000 sam 2007-11-02 05:22:25 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211.h ieee80211_freebsd.c ieee80211_freebsd.h ieee80211_ht.c ieee80211_ht.h ieee80211_input.c ieee80211_ioctl.c ieee80211_ioctl.h ieee80211_node.c ieee80211_node.h ieee80211_output.c ieee80211_proto.c ieee80211_proto.h ieee80211_scan_ap.c ieee80211_scan_sta.c ieee80211_var.h Log: sync 11n support with vap code base; many changes based on interop testing with all major vendors MFC after: 1 week Revision Changes Path 1.16 +17 -13 src/sys/net80211/ieee80211.h 1.17 +21 -0 src/sys/net80211/ieee80211_freebsd.c 1.16 +8 -0 src/sys/net80211/ieee80211_freebsd.h 1.5 +686 -193 src/sys/net80211/ieee80211_ht.c 1.3 +15 -5 src/sys/net80211/ieee80211_ht.h 1.114 +95 -3 src/sys/net80211/ieee80211_input.c 1.58 +32 -0 src/sys/net80211/ieee80211_ioctl.c 1.26 +22 -2 src/sys/net80211/ieee80211_ioctl.h 1.89 +40 -14 src/sys/net80211/ieee80211_node.c 1.30 +7 -0 src/sys/net80211/ieee80211_node.h 1.55 +55 -37 src/sys/net80211/ieee80211_output.c 1.44 +3 -1 src/sys/net80211/ieee80211_proto.c 1.27 +10 -0 src/sys/net80211/ieee80211_proto.h 1.2 +2 -1 src/sys/net80211/ieee80211_scan_ap.c 1.5 +2 -1 src/sys/net80211/ieee80211_scan_sta.c 1.53 +21 -2 src/sys/net80211/ieee80211_var.h From owner-cvs-src@FreeBSD.ORG Fri Nov 2 05:23:22 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8914416A420; Fri, 2 Nov 2007 05:23:22 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6284713C447; Fri, 2 Nov 2007 05:23:22 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA25NMxl079558; Fri, 2 Nov 2007 05:23:22 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA25NMft079557; Fri, 2 Nov 2007 05:23:22 GMT (envelope-from sam) Message-Id: <200711020523.lA25NMft079557@repoman.freebsd.org> From: Sam Leffler Date: Fri, 2 Nov 2007 05:23:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/ifconfig ifconfig.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 05:23:22 -0000 sam 2007-11-02 05:23:22 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 Log: minor wireless-related corrections MFC after: 1 week Revision Changes Path 1.143 +18 -10 src/sbin/ifconfig/ifconfig.8 From owner-cvs-src@FreeBSD.ORG Fri Nov 2 05:24:58 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3923116A418; Fri, 2 Nov 2007 05:24:58 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 123FA13C48D; Fri, 2 Nov 2007 05:24:58 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA25OvhB079635; Fri, 2 Nov 2007 05:24:57 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA25Ov9R079634; Fri, 2 Nov 2007 05:24:57 GMT (envelope-from sam) Message-Id: <200711020524.lA25Ov9R079634@repoman.freebsd.org> From: Sam Leffler Date: Fri, 2 Nov 2007 05:24:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/ifconfig ifieee80211.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 05:24:58 -0000 sam 2007-11-02 05:24:57 UTC FreeBSD src repository Modified files: sbin/ifconfig ifieee80211.c Log: sync with vap code base; updates for 11n support and some general code cleanups Reviewed by: thompsa, avatar MFC after: 1 week Revision Changes Path 1.48 +1125 -495 src/sbin/ifconfig/ifieee80211.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 06:33:21 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B5F116A418; Fri, 2 Nov 2007 06:33:21 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5472613C48E; Fri, 2 Nov 2007 06:33:21 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA26XLHA084477; Fri, 2 Nov 2007 06:33:21 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA26XLYL084476; Fri, 2 Nov 2007 06:33:21 GMT (envelope-from alc) Message-Id: <200711020633.lA26XLYL084476@repoman.freebsd.org> From: Alan Cox Date: Fri, 2 Nov 2007 06:33:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 06:33:21 -0000 alc 2007-11-02 06:33:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/vm vm_map.c Log: MFC revision 1.389 Correct an error in vm_map_sync(), nee vm_map_clean(), that has existed since revision 1.1. Specifically, neither traversal of the vm map checks whether the end of the vm map has been reached. Consequently, the first traversal can wrap around and bogusly return an error. Revision Changes Path 1.366.2.7 +4 -2 src/sys/vm/vm_map.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 07:05:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 779EF16A417; Fri, 2 Nov 2007 07:05:31 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4F3AA13C4A8; Fri, 2 Nov 2007 07:05:31 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id lA25Qpar048143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 22:26:51 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <472AB51B.4030001@errno.com> Date: Thu, 01 Nov 2007 22:26:51 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: src-committers@FreeBSD.org References: <200711020519.lA25JEkD079072@repoman.freebsd.org> In-Reply-To: <200711020519.lA25JEkD079072@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net80211 ieee80211_ioctl.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 07:05:31 -0000 Sam Leffler wrote: > sam 2007-11-02 05:19:14 UTC > > FreeBSD src repository > > Modified files: > sys/net80211 ieee80211_ioctl.h > Log: > correct channel flags returned by IEEE80211_IOC_STA_INFO; we need > to return all 32-bits to identify stations operating with HT > > MFC after: 1 week > > Revision Changes Path > 1.25 +1 -1 src/sys/net80211/ieee80211_ioctl.h > http://cvsweb.FreeBSD.org/src/sys/net80211/ieee80211_ioctl.h.diff?r1=1.24&r2=1.25 > > Note this is an ABI change; you must recompile ifconfig (at least) to get proper output of sta tables (ifconfig foo list sta). Sam From owner-cvs-src@FreeBSD.ORG Fri Nov 2 07:05:31 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B355E16A419; Fri, 2 Nov 2007 07:05:31 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 875F413C4AA; Fri, 2 Nov 2007 07:05:31 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id lA25U6YO048167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 22:30:07 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <472AB5DE.4060301@errno.com> Date: Thu, 01 Nov 2007 22:30:06 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: src-committers@FreeBSD.org References: <200711020522.lA25MQwL079498@repoman.freebsd.org> In-Reply-To: <200711020522.lA25MQwL079498@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net80211 ieee80211.h ieee80211_freebsd.c ieee80211_freebsd.h ieee80211_ht.c ieee80211_ht.h ieee80211_input.c ieee80211_ioctl.c ieee80211_ioctl.h ieee80211_node.c ieee80211_node.h ieee80211_output.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 07:05:31 -0000 Sam Leffler wrote: > sam 2007-11-02 05:22:25 UTC > > FreeBSD src repository > > Modified files: > sys/net80211 ieee80211.h ieee80211_freebsd.c > ieee80211_freebsd.h ieee80211_ht.c > ieee80211_ht.h ieee80211_input.c > ieee80211_ioctl.c ieee80211_ioctl.h > ieee80211_node.c ieee80211_node.h > ieee80211_output.c ieee80211_proto.c > ieee80211_proto.h ieee80211_scan_ap.c > ieee80211_scan_sta.c ieee80211_var.h > Log: > sync 11n support with vap code base; many changes based on interop > testing with all major vendors > > MFC after: 1 week > Note this should not affect anything but 11n drivers (none of which are in the tree). If you see any regressions w/ legacy devices please contact me immediately. I want to get this code into 7.0; otherwise it may be hard to bring the forthcoming 11n drivers into RELENG_7. Sam From owner-cvs-src@FreeBSD.ORG Fri Nov 2 07:05:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E4D616A420; Fri, 2 Nov 2007 07:05:32 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id C306F13C4AC; Fri, 2 Nov 2007 07:05:31 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id lA25UlSV048172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Nov 2007 22:30:48 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <472AB607.80208@errno.com> Date: Thu, 01 Nov 2007 22:30:47 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Sam Leffler References: <200711020524.lA25Ov9R079634@repoman.freebsd.org> In-Reply-To: <200711020524.lA25Ov9R079634@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifieee80211.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 07:05:32 -0000 Sam Leffler wrote: > sam 2007-11-02 05:24:57 UTC > > FreeBSD src repository > > Modified files: > sbin/ifconfig ifieee80211.c > Log: > sync with vap code base; updates for 11n support and some > general code cleanups > > Reviewed by: thompsa, avatar > MFC after: 1 week > Man page updates for the new 11n-related parameters is coming. Sam From owner-cvs-src@FreeBSD.ORG Fri Nov 2 08:42:14 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3EAB16A417; Fri, 2 Nov 2007 08:42:14 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B5CFA13C480; Fri, 2 Nov 2007 08:42:14 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA28gERJ096374; Fri, 2 Nov 2007 08:42:14 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA28gE8N096373; Fri, 2 Nov 2007 08:42:14 GMT (envelope-from kientzle) Message-Id: <200711020842.lA28gE8N096373@repoman.freebsd.org> From: Tim Kientzle Date: Fri, 2 Nov 2007 08:42:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_compression_none.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 08:42:14 -0000 kientzle 2007-11-02 08:42:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_support_compression_none.c Log: MFC 1.18: When skipping input data, request a minimum of 1 instead of the full request size. This avoids a 32-bit overflow problem skipping an exact multiple of 4GB and is faster anyway because it allows the underlying I/O framework to minimize copying. In particular, this fixes bsdtar failing to properly skip entries in uncompressed tar archives that are an exact multiple of 4GB. Approved by: re (Ken Smith) Revision Changes Path 1.17.2.1 +1 -1 src/lib/libarchive/archive_read_support_compression_none.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 08:44:12 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1BDC16A418; Fri, 2 Nov 2007 08:44:12 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AAD1413C4AC; Fri, 2 Nov 2007 08:44:12 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA28iCBr096463; Fri, 2 Nov 2007 08:44:12 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA28iCZJ096462; Fri, 2 Nov 2007 08:44:12 GMT (envelope-from kientzle) Message-Id: <200711020844.lA28iCZJ096462@repoman.freebsd.org> From: Tim Kientzle Date: Fri, 2 Nov 2007 08:44:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_compression_none.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 08:44:12 -0000 kientzle 2007-11-02 08:44:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive archive_read_support_compression_none.c Log: MFC 1.18: Skip requests use a minimum of 1 byte so that the underlying I/O framework can avoid copying and so that we avoid a 32-bit overflow issue that was causing bsdtar to fail when skipping uncompressed tar entries that were an exact multiple of 4GB. Revision Changes Path 1.6.2.7 +1 -1 src/lib/libarchive/archive_read_support_compression_none.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 09:53:33 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DCFB16A41B; Fri, 2 Nov 2007 09:53:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 57CE113C491; Fri, 2 Nov 2007 09:53:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA29rXXb010223; Fri, 2 Nov 2007 09:53:33 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA29rX8R010222; Fri, 2 Nov 2007 09:53:33 GMT (envelope-from rwatson) Message-Id: <200711020953.lA29rX8R010222@repoman.freebsd.org> From: Robert Watson Date: Fri, 2 Nov 2007 09:53:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 09:53:33 -0000 rwatson 2007-11-02 09:53:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/security/audit audit.c audit_bsm_klib.c Log: Merge audit.c:1.35, audit_bsm_klib.c:1.8 from HEAD to RELENG_7: Replace use of AU_NULL with 0 when no audit classes are in use; this supports the removal of hard-coded audit class constants in OpenBSM 1.0. All audit classes are now dynamically configured via the audit_class database. Obtained from: TrustedBSD Project Approved by: re (kensmith) Revision Changes Path 1.33.2.1 +2 -2 src/sys/security/audit/audit.c 1.7.2.1 +2 -2 src/sys/security/audit/audit_bsm_klib.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 12:07:08 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FC8816A41B; Fri, 2 Nov 2007 12:07:08 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF9713C49D; Fri, 2 Nov 2007 12:07:08 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2C78Ux020529; Fri, 2 Nov 2007 12:07:08 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2C77L7020528; Fri, 2 Nov 2007 12:07:07 GMT (envelope-from ru) Message-Id: <200711021207.lA2C77L7020528@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 2 Nov 2007 12:07:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/xstr xstr.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 12:07:08 -0000 ru 2007-11-02 12:07:07 UTC FreeBSD src repository Modified files: usr.bin/xstr xstr.1 Log: Markup revision. Revision Changes Path 1.13 +16 -12 src/usr.bin/xstr/xstr.1 From owner-cvs-src@FreeBSD.ORG Fri Nov 2 13:09:46 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B666516A418; Fri, 2 Nov 2007 13:09:46 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id E121D13C4AC; Fri, 2 Nov 2007 13:09:45 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id lA2Cuhob050508; Fri, 2 Nov 2007 15:56:43 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id lA2CuheW050507; Fri, 2 Nov 2007 15:56:43 +0300 (MSK) (envelope-from yar) Date: Fri, 2 Nov 2007 15:56:43 +0300 From: Yar Tikhiy To: Warner Losh Message-ID: <20071102125643.GA50249@comp.chem.msu.su> References: <200710310926.l9V9Qhi4041450@repoman.freebsd.org> <20071031.111228.85322655.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071031.111228.85322655.imp@bsdimp.com> User-Agent: Mutt/1.5.9i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 13:09:46 -0000 On Wed, Oct 31, 2007 at 11:12:28AM -0600, Warner Losh wrote: > > 3) With a bit of hackery around rtld(8), it becomes possible to do destructive > > cross-installs, e.g., i386->amd64 over the live system. > > but this can lead to security issues.) That's why a destructive > > cross-install isn't possible w/o hackery yet. > > Does this mean I can now 'sidegrade' my FreeBSD/amd64 box to > FreeBSD/i386? or is only the 32-bit -> 64-bit direction supported. The approach to the issue in the makefiles is rather general, so it should be OK to 'sidegrade' between any two arch'es. However, some arch'es can be mutually incompatible WRT the boot disk format, e.g., MBR vs GPT. Moreover, even the same boot disk format may need different boot blocks. With all these difficulties in mind, i386 and amd64 present the simplest case as they share the same boot disk format and boot blocks. I see no fundamental obstacles to going from amd64 to i386 or vice versa, but I don't have a free amd64 machine to play with, so I was able only to test that the i386->amd64 installation finished OK -- I couldn't see if the resulting system would boot. The exact procedure I used was as follows: mv /rescue /rescue.sav cd /usr/src make installkernel TARGET_ARCH=amd64 DESTDIR=/ make -DNO_RTLD installworld TARGET_ARCH=amd64 DESTDIR=/ PATH=/rescue.sav exec sh cd /libexec chflags noschg ld-elf.so.1 mv ld-elf.so.1 ld-elf.so.1.old cp /usr/obj/amd64/usr/src/libexec/rtld-elf/ld-elf.so.1 . chmod 555 ld-elf.so.1 chflags schg ld-elf.so.1 reboot Notes: `cp -R /rescue /rescue.sav' would create a separate file for each link to rescue(8), so mv is much better. DESTDIR=/ is there to convince our build subsystem that you do know what you're doing. It won't let you install for a different arch unless DESTDIR is set. `exec sh' switches to /rescue.sav/sh, thus releasing the old ld-elf.so if the shell was the only user process using it. If you dare follow the procedure from multi-user mode, you'll still need to mv the old ld-elf.so out of the way, as attempts to overwrite it will fail with ETXTBSY. The 32-bit loader ld-eld32.so is installed for amd64 via a special target in src/Makefile.inc1 and it isn't affected by -DNO_RTLD, so you don't have to copy it manually when 'sidegrading' to amd64, it'll be there just after installworld. -- Yar From owner-cvs-src@FreeBSD.ORG Fri Nov 2 13:33:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42D1716A41A; Fri, 2 Nov 2007 13:33:28 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id DA52F13C480; Fri, 2 Nov 2007 13:33:27 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 3DFBF453A4; Fri, 2 Nov 2007 09:31:37 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 02 Nov 2007 09:31:37 -0400 X-Sasl-enc: D8WxMA2qd9mjF+8Ud9esUAoR9MSKSGZBH0OGA0hyPZ+m 1194010296 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 865A6183FB; Fri, 2 Nov 2007 09:31:36 -0400 (EDT) Message-ID: <472B26B7.8060306@FreeBSD.org> Date: Fri, 02 Nov 2007 13:31:35 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: Matteo Riondato References: <200711012013.lA1KDY28003724@repoman.freebsd.org> In-Reply-To: <200711012013.lA1KDY28003724@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/rpc.statd rpc.statd.8 statd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 13:33:28 -0000 Matteo, Matteo Riondato wrote: > Add the -h option to rpc.statd, similar to the one in nfsd(8) > and in mountd(8) > Thanks for picking this up. I originally did only the work needed to safely tie down Internet visible, read-only NFS exports to specific ports for use with IP filters, and didn't have free time to consider other use cases. It is great to see this work being finished at long last. cheers! BMS From owner-cvs-src@FreeBSD.ORG Fri Nov 2 14:51:53 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D164116A418; Fri, 2 Nov 2007 14:51:53 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C5A5E13C4B0; Fri, 2 Nov 2007 14:51:53 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2EprIM040786; Fri, 2 Nov 2007 14:51:53 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2Epr7d040785; Fri, 2 Nov 2007 14:51:53 GMT (envelope-from matteo) Message-Id: <200711021451.lA2Epr7d040785@repoman.freebsd.org> From: Matteo Riondato Date: Fri, 2 Nov 2007 14:51:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/rpc.lockd lockd.c rpc.lockd.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 14:51:53 -0000 matteo 2007-11-02 14:51:53 UTC FreeBSD src repository Modified files: usr.sbin/rpc.lockd lockd.c rpc.lockd.8 Log: Add the -h option to rpc.lockd, similar to the one in nfsd(8), in mountd(8), and in rpc.statd(8) -h bindip Specify specific IP addresses to bind to for TCP and UDP requests. This option may be specified multiple times. If no -h option is specified, rpc.lockd will bind to INADDR_ANY. Note that when specifying IP addresses with -h, rpc.lockd will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. PR: bin/98500 MFC after: 1 week Revision Changes Path 1.21 +328 -109 src/usr.sbin/rpc.lockd/lockd.c 1.18 +19 -1 src/usr.sbin/rpc.lockd/rpc.lockd.8 From owner-cvs-src@FreeBSD.ORG Fri Nov 2 18:53:39 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19E8E16A46D; Fri, 2 Nov 2007 18:53:39 +0000 (UTC) (envelope-from charnier@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E63A213C461; Fri, 2 Nov 2007 18:53:38 +0000 (UTC) (envelope-from charnier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2I6pBK073215; Fri, 2 Nov 2007 18:06:51 GMT (envelope-from charnier@repoman.freebsd.org) Received: (from charnier@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2I6p93073214; Fri, 2 Nov 2007 18:06:51 GMT (envelope-from charnier) Message-Id: <200711021806.lA2I6p93073214@repoman.freebsd.org> From: Philippe Charnier Date: Fri, 2 Nov 2007 18:06:51 +0000 (UTC) To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/tail read.c reverse.c tail.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 18:53:39 -0000 charnier 2007-11-02 18:06:51 UTC FreeBSD src repository Modified files: usr.bin/tail read.c reverse.c tail.c Log: initialize variables, WARNS=6 compliant Revision Changes Path 1.13 +1 -1 src/usr.bin/tail/read.c 1.20 +1 -0 src/usr.bin/tail/reverse.c 1.24 +1 -0 src/usr.bin/tail/tail.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 18:53:39 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7381A16A4AC; Fri, 2 Nov 2007 18:53:39 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4879413C46B; Fri, 2 Nov 2007 18:53:39 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2HTauw063083; Fri, 2 Nov 2007 17:29:36 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2HTap6063082; Fri, 2 Nov 2007 17:29:36 GMT (envelope-from njl) Message-Id: <200711021729.lA2HTap6063082@repoman.freebsd.org> From: Nate Lawson Date: Fri, 2 Nov 2007 17:29:36 +0000 (UTC) To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/acpica acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 18:53:39 -0000 njl 2007-11-02 17:29:36 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_cpu.c Log: Fix a shutdown hang on some SMP systems. The previous logic was to IPI all CPUs to make sure idle threads are evicted from the softc before returning from acpi_cpu_shutdown(). However, this is unnecessary since stop_cpus() handles this for itself and at this point it's possible that our IPI will be blocked (interrupts disabled). Thanks to: Glen Leeder MFC after: 3 days Revision Changes Path 1.68 +6 -4 src/sys/dev/acpica/acpi_cpu.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 18:53:39 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB38516A502; Fri, 2 Nov 2007 18:53:39 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A5ED313C47E; Fri, 2 Nov 2007 18:53:39 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2GRMDG049998; Fri, 2 Nov 2007 16:27:22 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2GRM7a049997; Fri, 2 Nov 2007 16:27:22 GMT (envelope-from dwmalone) Message-Id: <200711021627.lA2GRM7a049997@repoman.freebsd.org> From: David Malone Date: Fri, 2 Nov 2007 16:27:22 +0000 (UTC) To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net bpf_filter.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 18:53:40 -0000 dwmalone 2007-11-02 16:27:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net bpf_filter.c Log: MFC 1.28: Make the type of the memory used by the BPF filter unsigned, so it matches the BPF registers (which are the only thing that is assigned to/from BPF memory). This is a pedantic change that shouldn't change any behaviour. PR: 115931 Submitted by: Matthew Luckie Revision Changes Path 1.23.2.2 +1 -1 src/sys/net/bpf_filter.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 18:53:40 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0C6E16A59A; Fri, 2 Nov 2007 18:53:40 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 847CA13C4CB; Fri, 2 Nov 2007 18:53:40 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2FBr0e042982; Fri, 2 Nov 2007 15:11:53 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2FBrCW042981; Fri, 2 Nov 2007 15:11:53 GMT (envelope-from keramida) Message-Id: <200711021511.lA2FBrCW042981@repoman.freebsd.org> From: Giorgos Keramidas Date: Fri, 2 Nov 2007 15:11:53 +0000 (UTC) To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/mtree mtree.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 18:53:40 -0000 keramida 2007-11-02 15:11:53 UTC FreeBSD src repository (doc committer) Modified files: usr.sbin/mtree mtree.c Log: mtree should use getcwd() instead of getwd(). getcwd() is safer, because it includes checks for the length of the buffer it uses. Reviewed by: phk, cperciva MFC after: 3 days Revision Changes Path 1.30 +1 -1 src/usr.sbin/mtree/mtree.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 18:54:09 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC0EA16A737; Fri, 2 Nov 2007 18:54:09 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 838DF13C469; Fri, 2 Nov 2007 18:54:09 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2Is9Z6075769; Fri, 2 Nov 2007 18:54:09 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2Is9s5075768; Fri, 2 Nov 2007 18:54:09 GMT (envelope-from jhb) Message-Id: <200711021854.lA2Is9s5075768@repoman.freebsd.org> From: John Baldwin Date: Fri, 2 Nov 2007 18:54:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/acpi_support acpi_ibm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 18:54:09 -0000 jhb 2007-11-02 18:54:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/acpi_support acpi_ibm.c Log: MFC: Don't attach to the "IBM0057" ID. Approved by: re (kensmith) Revision Changes Path 1.14.2.1 +1 -1 src/sys/dev/acpi_support/acpi_ibm.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 18:54:50 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE23716A60F; Fri, 2 Nov 2007 18:54:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 878C113C4C1; Fri, 2 Nov 2007 18:54:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2Isoch075802; Fri, 2 Nov 2007 18:54:50 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2IsoIr075801; Fri, 2 Nov 2007 18:54:50 GMT (envelope-from jhb) Message-Id: <200711021854.lA2IsoIr075801@repoman.freebsd.org> From: John Baldwin Date: Fri, 2 Nov 2007 18:54:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/acpi_support acpi_ibm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 18:54:50 -0000 jhb 2007-11-02 18:54:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpi_support acpi_ibm.c Log: MFC: Don't attach to the "IBM0057" ID. Revision Changes Path 1.7.2.4 +1 -1 src/sys/dev/acpi_support/acpi_ibm.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 19:00:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D2C16A421; Fri, 2 Nov 2007 19:00:07 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 200E713C457; Fri, 2 Nov 2007 19:00:07 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2J07UU076113; Fri, 2 Nov 2007 19:00:07 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2J06lI076112; Fri, 2 Nov 2007 19:00:06 GMT (envelope-from jhb) Message-Id: <200711021900.lA2J06lI076112@repoman.freebsd.org> From: John Baldwin Date: Fri, 2 Nov 2007 19:00:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern subr_rman.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 19:00:07 -0000 jhb 2007-11-02 19:00:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern subr_rman.c Log: MFC 1.55: Fix another edge case in rman_manage_region() that could result in the the resource list getting missorted. Revision Changes Path 1.43.2.4 +7 -6 src/sys/kern/subr_rman.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 19:25:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC16016A419; Fri, 2 Nov 2007 19:25:06 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C3FC313C4B8; Fri, 2 Nov 2007 19:25:06 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2JP6It078970; Fri, 2 Nov 2007 19:25:06 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2JP696078969; Fri, 2 Nov 2007 19:25:06 GMT (envelope-from maxim) Message-Id: <200711021925.lA2JP696078969@repoman.freebsd.org> From: Maxim Konovalov Date: Fri, 2 Nov 2007 19:25:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/misc bsd-family-tree X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 19:25:07 -0000 maxim 2007-11-02 19:25:06 UTC FreeBSD src repository Modified files: share/misc bsd-family-tree Log: o OpenBSD 4.2 added. Revision Changes Path 1.116 +2 -0 src/share/misc/bsd-family-tree From owner-cvs-src@FreeBSD.ORG Fri Nov 2 19:40:37 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CD3316A41A; Fri, 2 Nov 2007 19:40:37 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 06B6F13C4AC; Fri, 2 Nov 2007 19:40:37 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2Jeabr080034; Fri, 2 Nov 2007 19:40:36 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2JeaXe080033; Fri, 2 Nov 2007 19:40:36 GMT (envelope-from julian) Message-Id: <200711021940.lA2JeaXe080033@repoman.freebsd.org> From: Julian Elischer Date: Fri, 2 Nov 2007 19:40:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_fork.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 19:40:37 -0000 julian 2007-11-02 19:40:36 UTC FreeBSD src repository Modified files: sys/kern kern_fork.c Log: Completely remove the code for single threading the mainline fork code. Put in a little comment explaining why it went away. Re-enable it in the case there an exisiting process is just splitting off its address space and file descriptors. (I donpt think anything uses that code but it needs some sort of locking and this does the job. Reviewed by: Davidxu, alc, others MFC after: 3 days Revision Changes Path 1.286 +3 -49 src/sys/kern/kern_fork.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 20:18:48 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29B1416A41B; Fri, 2 Nov 2007 20:18:48 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 038B613C480; Fri, 2 Nov 2007 20:18:48 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2KIlrO083886; Fri, 2 Nov 2007 20:18:47 GMT (envelope-from krion@repoman.freebsd.org) Received: (from krion@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2KIlDT083885; Fri, 2 Nov 2007 20:18:47 GMT (envelope-from krion) Message-Id: <200711022018.lA2KIlDT083885@repoman.freebsd.org> From: Kirill Ponomarew Date: Fri, 2 Nov 2007 20:18:47 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pkg_install/lib match.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 20:18:48 -0000 krion 2007-11-02 20:18:47 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install/lib match.c Log: Momoize the results of isinstalledpkg() PR: bin/116452 Submitted by: wollmann MFC after: 7 days Revision Changes Path 1.21 +57 -11 src/usr.sbin/pkg_install/lib/match.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 20:48:11 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F27E16A419; Fri, 2 Nov 2007 20:48:11 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1906C13C4AC; Fri, 2 Nov 2007 20:48:11 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2KmAdF094227; Fri, 2 Nov 2007 20:48:10 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2KmAc8094226; Fri, 2 Nov 2007 20:48:10 GMT (envelope-from maxim) Message-Id: <200711022048.lA2KmAc8094226@repoman.freebsd.org> From: Maxim Konovalov Date: Fri, 2 Nov 2007 20:48:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/vm swap_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 20:48:11 -0000 maxim 2007-11-02 20:48:10 UTC FreeBSD src repository Modified files: sys/vm swap_pager.c Log: o Fix panic message: it's swap_pager_putpages() not swap_pager_getpages(). Submitted by: Mark Tinguely Revision Changes Path 1.297 +1 -1 src/sys/vm/swap_pager.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 21:13:28 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A19316A417; Fri, 2 Nov 2007 21:13:28 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id F0AA413C48A; Fri, 2 Nov 2007 21:13:27 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 73E03449F1; Fri, 2 Nov 2007 12:33:02 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 02 Nov 2007 12:33:02 -0400 X-Sasl-enc: Y0uCKhTQIglpwkHONVmMYpYUjBRmSHSII74O/JhG2+RI 1194021182 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id D15FE274D6; Fri, 2 Nov 2007 12:33:01 -0400 (EDT) Message-ID: <472B513C.9000307@FreeBSD.org> Date: Fri, 02 Nov 2007 16:33:00 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: Yar Tikhiy References: <200710271957.l9RJvfWH049713@repoman.freebsd.org> In-Reply-To: <200710271957.l9RJvfWH049713@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_disc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 21:13:28 -0000 Yar Tikhiy wrote: > yar 2007-10-27 19:57:41 UTC > > FreeBSD src repository > > Modified files: > sys/net if_disc.c > Log: > Add a comment explaining why disc(4) bears the IFF_LOOPBACK flag. > It should be the final follow-up to an old yet unfinished discussion > on whether IFF_LOOPBACK is necessary for disc(4) and why. > Thanks for doing this. It is also worth noting that blackhole routes in the forwarding table rely upon there being a lo(4) interface in the system unless fast forwarding is enabled. This is a 'gotcha' which people may not be aware of, though I think I may have commented it somewhere... BMS From owner-cvs-src@FreeBSD.ORG Fri Nov 2 21:22:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 156BE16A419; Fri, 2 Nov 2007 21:22:19 +0000 (UTC) (envelope-from krion@voodoo.bawue.com) Received: from voodoo.bawue.com (voodoo.bawue.com [212.9.161.119]) by mx1.freebsd.org (Postfix) with ESMTP id CCF1B13C4B3; Fri, 2 Nov 2007 21:22:18 +0000 (UTC) (envelope-from krion@voodoo.bawue.com) Received: from krion by voodoo.bawue.com with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Io30H-0007Fc-1k; Fri, 02 Nov 2007 21:20:29 +0100 Date: Fri, 2 Nov 2007 21:20:29 +0100 From: Kirill Ponomarew To: src-committers@FreeBSD.org Message-ID: <20071102202028.GD84101@voodoo.bawue.com> References: <200711022018.lA2KIlDT083885@repoman.freebsd.org> <20071102201854.4EDF616A555@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071102201854.4EDF616A555@hub.freebsd.org> X-NIC-HDL: KP869-RIPE Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: [src] cvs commit: src/usr.sbin/pkg_install/lib match.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 21:22:19 -0000 On Fri, Nov 02, 2007 at 08:18:54PM +0000, Kirill Ponomarew wrote: > krion 2007-11-02 20:18:47 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/pkg_install/lib match.c > Log: > Momoize the results of isinstalledpkg() ^^^^^^^ Memoize -Kirill From owner-cvs-src@FreeBSD.ORG Fri Nov 2 21:40:04 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D77D316A468; Fri, 2 Nov 2007 21:40:04 +0000 (UTC) (envelope-from wilko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B1D5913C4B2; Fri, 2 Nov 2007 21:40:04 +0000 (UTC) (envelope-from wilko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2Le4Gi098107; Fri, 2 Nov 2007 21:40:04 GMT (envelope-from wilko@repoman.freebsd.org) Received: (from wilko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2Le4x6098106; Fri, 2 Nov 2007 21:40:04 GMT (envelope-from wilko) Message-Id: <200711022140.lA2Le4x6098106@repoman.freebsd.org> From: Wilko Bulte Date: Fri, 2 Nov 2007 21:40:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/alpha/isa isa.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 21:40:05 -0000 wilko 2007-11-02 21:40:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/alpha/isa isa.c Log: Fix panic on kernel startup. This allowed me to successfully run a 6.3-PRE kernel. Patch kindly provided by: jhb Revision Changes Path 1.36.8.3 +2 -1 src/sys/alpha/isa/isa.c From owner-cvs-src@FreeBSD.ORG Fri Nov 2 22:37:15 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF28716A46C; Fri, 2 Nov 2007 22:37:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CA46013C4A3; Fri, 2 Nov 2007 22:37:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2MbFDu002412; Fri, 2 Nov 2007 22:37:15 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2MbFvL002411; Fri, 2 Nov 2007 22:37:15 GMT (envelope-from dougb) Message-Id: <200711022237.lA2MbFvL002411@repoman.freebsd.org> From: Doug Barton Date: Fri, 2 Nov 2007 22:37:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc/namedb named.root X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 22:37:16 -0000 dougb 2007-11-02 22:37:15 UTC FreeBSD src repository Modified files: etc/namedb named.root Log: Update to the 1 November 2007 version of this file. The change is to the address of l.root-servers.net, which is moving to a new /24 in order to enable anycast routing down the road. Revision Changes Path 1.13 +3 -3 src/etc/namedb/named.root From owner-cvs-src@FreeBSD.ORG Fri Nov 2 22:46:30 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B88E516A41B; Fri, 2 Nov 2007 22:46:30 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AA61E13C48E; Fri, 2 Nov 2007 22:46:30 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA2MkUxW002928; Fri, 2 Nov 2007 22:46:30 GMT (envelope-from krion@repoman.freebsd.org) Received: (from krion@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA2MkUdE002927; Fri, 2 Nov 2007 22:46:30 GMT (envelope-from krion) Message-Id: <200711022246.lA2MkUdE002927@repoman.freebsd.org> From: Kirill Ponomarew Date: Fri, 2 Nov 2007 22:46:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pkg_install Makefile src/usr.sbin/pkg_install/updating Makefile main.c pathnames.h pkg_updating.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 22:46:30 -0000 krion 2007-11-02 22:46:30 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install Makefile Added files: usr.sbin/pkg_install/updating Makefile main.c pathnames.h pkg_updating.1 Log: Introduce pkg_updating(1) which scans for installed ports and shows all ports/UPDATING entries that affect one of the installed ports, and are relevant on the given machine. PR: bin/117564 Submitted by: Beat Gaetzi MFC after: 14 days Revision Changes Path 1.18 +1 -1 src/usr.sbin/pkg_install/Makefile 1.1 +11 -0 src/usr.sbin/pkg_install/updating/Makefile (new) 1.1 +257 -0 src/usr.sbin/pkg_install/updating/main.c (new) 1.1 +28 -0 src/usr.sbin/pkg_install/updating/pathnames.h (new) 1.1 +88 -0 src/usr.sbin/pkg_install/updating/pkg_updating.1 (new) From owner-cvs-src@FreeBSD.ORG Sat Nov 3 05:15:26 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2E8C16A417; Sat, 3 Nov 2007 05:15:26 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C8B7213C481; Sat, 3 Nov 2007 05:15:26 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA35FQwC053831; Sat, 3 Nov 2007 05:15:26 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA35FQWM053830; Sat, 3 Nov 2007 05:15:26 GMT (envelope-from alc) Message-Id: <200711030515.lA35FQWM053830@repoman.freebsd.org> From: Alan Cox Date: Sat, 3 Nov 2007 05:15:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 05:15:26 -0000 alc 2007-11-03 05:15:26 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c Log: Eliminate spurious "Approaching the limit on PV entries, ..." warnings. Specifically, whenever vm_page_alloc(9) returned NULL to get_pv_entry(), we issued a warning regardless of the number of pv entries in use. (Note: The older pv entry allocator in RELENG_6 does not have this problem.) Reported by: Jeremy Chadwick Eliminate the direct call to pagedaemon_wakeup() by get_pv_entry(). This was a holdover from earlier times when the page daemon was responsible for the reclamation of pv entries. MFC after: 5 days Revision Changes Path 1.591 +4 -5 src/sys/amd64/amd64/pmap.c 1.595 +4 -6 src/sys/i386/i386/pmap.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 07:11:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD19A16A417; Sat, 3 Nov 2007 07:11:07 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BB25113C4A8; Sat, 3 Nov 2007 07:11:07 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA37B7rs083758; Sat, 3 Nov 2007 07:11:07 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA37B7pv083756; Sat, 3 Nov 2007 07:11:07 GMT (envelope-from thompsa) Message-Id: <200711030711.lA37B7pv083756@repoman.freebsd.org> From: Andrew Thompson Date: Sat, 3 Nov 2007 07:11:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/conf PAE X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 07:11:08 -0000 thompsa 2007-11-03 07:11:07 UTC FreeBSD src repository Modified files: sys/i386/conf PAE Log: Remove zyd as wireless is not supported on PAE. Revision Changes Path 1.27 +1 -0 src/sys/i386/conf/PAE From owner-cvs-src@FreeBSD.ORG Sat Nov 3 10:36:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5893E16A417; Sat, 3 Nov 2007 10:36:06 +0000 (UTC) (envelope-from charnier@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2F3E513C481; Sat, 3 Nov 2007 10:36:06 +0000 (UTC) (envelope-from charnier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3Aa3QY006427; Sat, 3 Nov 2007 10:36:03 GMT (envelope-from charnier@repoman.freebsd.org) Received: (from charnier@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3Aa3gc006426; Sat, 3 Nov 2007 10:36:03 GMT (envelope-from charnier) Message-Id: <200711031036.lA3Aa3gc006426@repoman.freebsd.org> From: Philippe Charnier Date: Sat, 3 Nov 2007 10:36:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/faithd faithd.c tcp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 10:36:06 -0000 charnier 2007-11-03 10:36:03 UTC FreeBSD src repository Modified files: usr.sbin/faithd faithd.c tcp.c Log: Add __unused to parameters when needed Revision Changes Path 1.11 +5 -4 src/usr.sbin/faithd/faithd.c 1.6 +6 -5 src/usr.sbin/faithd/tcp.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 15:31:38 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B445C16A421; Sat, 3 Nov 2007 15:31:38 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8A23C13C491; Sat, 3 Nov 2007 15:31:38 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3FVcCY036804; Sat, 3 Nov 2007 15:31:38 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3FVcML036803; Sat, 3 Nov 2007 15:31:38 GMT (envelope-from csjp) Message-Id: <200711031531.lA3FVcML036803@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sat, 3 Nov 2007 15:31:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/lockf lockf.1 lockf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 15:31:38 -0000 csjp 2007-11-03 15:31:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/lockf lockf.1 lockf.c Log: MFC lockf.c revision 1.17 MFC lockf.1 revision 1.19 Revision Changes Path 1.16.2.2 +14 -0 src/usr.bin/lockf/lockf.1 1.11.8.2 +59 -10 src/usr.bin/lockf/lockf.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 15:33:05 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 246FF16A420; Sat, 3 Nov 2007 15:33:05 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EFDB313C4B3; Sat, 3 Nov 2007 15:33:04 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3FX4QX036885; Sat, 3 Nov 2007 15:33:04 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3FX4cS036884; Sat, 3 Nov 2007 15:33:04 GMT (envelope-from csjp) Message-Id: <200711031533.lA3FX4cS036884@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sat, 3 Nov 2007 15:33:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.bin/id id.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 15:33:05 -0000 csjp 2007-11-03 15:33:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/id id.c Log: MFC revision 1.34 Add support for processing extended (ip6) subject termids Revision Changes Path 1.26.2.6 +38 -6 src/usr.bin/id/id.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 17:13:17 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6682016A417; Sat, 3 Nov 2007 17:13:17 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3DF3F13C49D; Sat, 3 Nov 2007 17:13:17 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3HDH4f059072; Sat, 3 Nov 2007 17:13:17 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3HDH8X059071; Sat, 3 Nov 2007 17:13:17 GMT (envelope-from csjp) Message-Id: <200711031713.lA3HDH8X059071@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sat, 3 Nov 2007 17:13:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net bpf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 17:13:17 -0000 csjp 2007-11-03 17:13:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net bpf.c Log: MFC revision 1.182 Fix PID portion of stats in scenarios where the peer forks Revision Changes Path 1.153.2.12 +2 -0 src/sys/net/bpf.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 17:15:29 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0533516A46C; Sat, 3 Nov 2007 17:15:29 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D0F0413C4B2; Sat, 3 Nov 2007 17:15:28 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3HFSQf059175; Sat, 3 Nov 2007 17:15:28 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3HFS32059174; Sat, 3 Nov 2007 17:15:28 GMT (envelope-from csjp) Message-Id: <200711031715.lA3HFS32059174@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sat, 3 Nov 2007 17:15:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/security/audit audit_pipe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 17:15:29 -0000 csjp 2007-11-03 17:15:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/security/audit audit_pipe.c Log: MFC revision 1.12 - Wakeup all threads sleeping on an audit pipe instead of just one - Wakeup threads with a consistent priority Revision Changes Path 1.9.2.2 +2 -2 src/sys/security/audit/audit_pipe.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 17:33:42 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8C3416A420; Sat, 3 Nov 2007 17:33:42 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9F9F313C4B7; Sat, 3 Nov 2007 17:33:42 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3HXgRT060157; Sat, 3 Nov 2007 17:33:42 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3HXgq8060156; Sat, 3 Nov 2007 17:33:42 GMT (envelope-from scottl) Message-Id: <200711031733.lA3HXgq8060156@repoman.freebsd.org> From: Scott Long Date: Sat, 3 Nov 2007 17:33:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mpt mpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 17:33:42 -0000 scottl 2007-11-03 17:33:42 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c Log: Ever since the module registration system was introduced to this driver, it's been printing out scary messages about "Unhanded Event Notify Frame" that are needlessly worrisome to users. Change this warning to only print out at an elevated debugging level. Revision Changes Path 1.46 +2 -1 src/sys/dev/mpt/mpt.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 18:12:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CB0416A418; Sat, 3 Nov 2007 18:12:25 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 748FA13C4D3; Sat, 3 Nov 2007 18:12:25 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3ICPK0063521; Sat, 3 Nov 2007 18:12:25 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3ICPRN063520; Sat, 3 Nov 2007 18:12:25 GMT (envelope-from sam) Message-Id: <200711031812.lA3ICPRN063520@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 18:12:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/net80211/wlanstats main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 18:12:25 -0000 sam 2007-11-03 18:12:25 UTC FreeBSD src repository Modified files: tools/tools/net80211/wlanstats main.c Log: o add -o ampdu shorthand for viewing most useful ampdu stats o remove noise from default stat list MFC after: 1 week Revision Changes Path 1.2 +7 -2 src/tools/tools/net80211/wlanstats/main.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 18:12:58 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37ACD16A41A for ; Sat, 3 Nov 2007 18:12:58 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id C85C613C4A8 for ; Sat, 3 Nov 2007 18:12:57 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so865021nfb for ; Sat, 03 Nov 2007 11:12:37 -0700 (PDT) Received: by 10.78.81.20 with SMTP id e20mr2201392hub.1194104246717; Sat, 03 Nov 2007 08:37:26 -0700 (PDT) Received: by 10.78.187.16 with HTTP; Sat, 3 Nov 2007 08:37:26 -0700 (PDT) Message-ID: <70e8236f0711030837u7b1e866cha35e4ea50aa0dd4e@mail.gmail.com> Date: Sat, 3 Nov 2007 15:37:26 +0000 From: "Joao Barros" To: "Kirill Ponomarew" In-Reply-To: <200711022246.lA2MkUdE002927@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711022246.lA2MkUdE002927@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/pkg_install Makefile src/usr.sbin/pkg_install/updating Makefile main.c pathnames.h pkg_updating.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 18:12:58 -0000 Thank you from all of those who repeatedly forget to check ports/UPDATING! :-D On 11/2/07, Kirill Ponomarew wrote: > krion 2007-11-02 22:46:30 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/pkg_install Makefile > Added files: > usr.sbin/pkg_install/updating Makefile main.c pathnames.h > pkg_updating.1 > Log: > Introduce pkg_updating(1) which scans for installed ports and shows > all ports/UPDATING entries that affect one of the installed ports, > and are relevant on the given machine. > > PR: bin/117564 > Submitted by: Beat Gaetzi > MFC after: 14 days > > Revision Changes Path > 1.18 +1 -1 src/usr.sbin/pkg_install/Makefile > 1.1 +11 -0 src/usr.sbin/pkg_install/updating/Makefile (new) > 1.1 +257 -0 src/usr.sbin/pkg_install/updating/main.c (new) > 1.1 +28 -0 src/usr.sbin/pkg_install/updating/pathnames.h (new) > 1.1 +88 -0 src/usr.sbin/pkg_install/updating/pkg_updating.1 (new) > _______________________________________________ > cvs-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-all > To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" > -- Joao Barros From owner-cvs-src@FreeBSD.ORG Sat Nov 3 18:13:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A6FE16A41B; Sat, 3 Nov 2007 18:13:06 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0270813C4B6; Sat, 3 Nov 2007 18:13:06 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3ID5rL063560; Sat, 3 Nov 2007 18:13:05 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3ID5gN063559; Sat, 3 Nov 2007 18:13:05 GMT (envelope-from sam) Message-Id: <200711031813.lA3ID5gN063559@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 18:13:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/net80211/wlanstats statfoo.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 18:13:06 -0000 sam 2007-11-03 18:13:05 UTC FreeBSD src repository Modified files: tools/tools/net80211/wlanstats statfoo.c Log: align stats printed out w/o any args MFC after: 1 week Revision Changes Path 1.2 +10 -2 src/tools/tools/net80211/wlanstats/statfoo.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 18:14:13 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E39116A41A; Sat, 3 Nov 2007 18:14:13 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 148F213C491; Sat, 3 Nov 2007 18:14:13 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3IEClZ063616; Sat, 3 Nov 2007 18:14:12 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3IEC8B063615; Sat, 3 Nov 2007 18:14:12 GMT (envelope-from sam) Message-Id: <200711031814.lA3IEC8B063615@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 18:14:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/net80211/wlanstats wlanstats.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 18:14:13 -0000 sam 2007-11-03 18:14:12 UTC FreeBSD src repository Modified files: tools/tools/net80211/wlanstats wlanstats.c Log: o sync w/ net80211 changes o redo numbering scheme to simplify changing the table Revision Changes Path 1.5 +217 -147 src/tools/tools/net80211/wlanstats/wlanstats.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 19:10:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A63B316A421; Sat, 3 Nov 2007 19:10:25 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7E73F13C4BC; Sat, 3 Nov 2007 19:10:20 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3JAF0w067528; Sat, 3 Nov 2007 19:10:20 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3JAFIi067527; Sat, 3 Nov 2007 19:10:15 GMT (envelope-from sam) Message-Id: <200711031910.lA3JAFIi067527@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 19:10:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/safe safe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 19:10:25 -0000 sam 2007-11-03 19:10:14 UTC FreeBSD src repository Modified files: sys/dev/safe safe.c Log: bandaid crash as I have no time to research the issue and the driver is unusable in its present state; refer to the PR for details PR: kern/110662 MFC after: 3 days Revision Changes Path 1.19 +1 -1 src/sys/dev/safe/safe.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 19:11:36 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 789F516A419; Sat, 3 Nov 2007 19:11:36 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 13CB813C4A6; Sat, 3 Nov 2007 19:11:36 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3JBZh1067763; Sat, 3 Nov 2007 19:11:35 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3JBZd3067762; Sat, 3 Nov 2007 19:11:35 GMT (envelope-from sam) Message-Id: <200711031911.lA3JBZd3067762@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 19:11:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb usbdevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 19:11:36 -0000 sam 2007-11-03 19:11:35 UTC FreeBSD src repository Modified files: sys/dev/usb usbdevs Log: correct entry Revision Changes Path 1.332 +1 -1 src/sys/dev/usb/usbdevs From owner-cvs-src@FreeBSD.ORG Sat Nov 3 19:22:55 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAD0816A417; Sat, 3 Nov 2007 19:22:55 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 93C0913C48E; Sat, 3 Nov 2007 19:22:55 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3JMttQ068389; Sat, 3 Nov 2007 19:22:55 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3JMtZ6068388; Sat, 3 Nov 2007 19:22:55 GMT (envelope-from sam) Message-Id: <200711031922.lA3JMtZ6068388@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 19:22:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb if_zyd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 19:22:55 -0000 sam 2007-11-03 19:22:55 UTC FreeBSD src repository Modified files: sys/dev/usb if_zyd.c Log: fix a typo in rx radiotap's flags Submitted by: Weongyo Jeong Reviewed by: sam MFC after: 3 days Revision Changes Path 1.7 +1 -1 src/sys/dev/usb/if_zyd.c From owner-cvs-src@FreeBSD.ORG Sat Nov 3 19:24:52 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 355DC16A46B; Sat, 3 Nov 2007 19:24:52 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC3513C4A3; Sat, 3 Nov 2007 19:24:52 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3JOp6p068476; Sat, 3 Nov 2007 19:24:51 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3JOp58068475; Sat, 3 Nov 2007 19:24:51 GMT (envelope-from sam) Message-Id: <200711031924.lA3JOp58068475@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 19:24:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb if_zydfw.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 19:24:52 -0000 sam 2007-11-03 19:24:51 UTC FreeBSD src repository Modified files: sys/dev/usb if_zydfw.h Log: upgrade zd1211b firmware for the zyd driver. This solves a hardware reset problem when we reboot the system with the zyd device inserted. Submitted by: Weongyo Jeong Reported by: Ted Lindgreen (ted@tednet.nl) MFC after: 1 week Revision Changes Path 1.2 +471 -512 src/sys/dev/usb/if_zydfw.h From owner-cvs-src@FreeBSD.ORG Sat Nov 3 19:26:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18B1B16A418; Sat, 3 Nov 2007 19:26:51 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E52D213C480; Sat, 3 Nov 2007 19:26:50 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3JQnuP068617; Sat, 3 Nov 2007 19:26:49 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3JQnAp068616; Sat, 3 Nov 2007 19:26:49 GMT (envelope-from sam) Message-Id: <200711031926.lA3JQnAp068616@repoman.freebsd.org> From: Sam Leffler Date: Sat, 3 Nov 2007 19:26:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/conf PAE X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 19:26:51 -0000 sam 2007-11-03 19:26:49 UTC FreeBSD src repository Modified files: sys/i386/conf PAE Log: fix build: when usb was enabled wireless drivers were brought in so remove the nodevice lines that elided wlan support Revision Changes Path 1.28 +0 -8 src/sys/i386/conf/PAE From owner-cvs-src@FreeBSD.ORG Sat Nov 3 20:37:36 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB7EB16A419; Sat, 3 Nov 2007 20:37:36 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id B015713C48A; Sat, 3 Nov 2007 20:37:35 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <472CDC0E.6000805@FreeBSD.org> Date: Sat, 03 Nov 2007 21:37:34 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <200711011104.lA1B4LeH036010@repoman.freebsd.org> In-Reply-To: <200711011104.lA1B4LeH036010@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zvol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 20:37:37 -0000 Pawel Jakub Dawidek wrote: > pjd 2007-11-01 11:04:21 UTC > > FreeBSD src repository > > Modified files: > sys/contrib/opensolaris/uts/common/fs/zfs zvol.c > Log: > Call zil_commit() (if ZIL is not disabled) after every non-read request > (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is > that Solaris calls it only for sync requests, but we can't say in GEOM > is the request is sync or async, so we do it for every request. > > MFC after: 1 week > > Revision Changes Path > 1.4 +11 -11 src/sys/contrib/opensolaris/uts/common/fs/zfs/zvol.c > > Does this add significant overhead? Kris From owner-cvs-src@FreeBSD.ORG Sat Nov 3 20:51:51 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55FAF16A41A; Sat, 3 Nov 2007 20:51:51 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2E93713C480; Sat, 3 Nov 2007 20:51:51 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA3KppxL085741; Sat, 3 Nov 2007 20:51:51 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA3Kpok8085740; Sat, 3 Nov 2007 20:51:50 GMT (envelope-from brueffer) Message-Id: <200711032051.lA3Kpok8085740@repoman.freebsd.org> From: Christian Brueffer Date: Sat, 3 Nov 2007 20:51:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/share/man/man4 nxge.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 20:51:51 -0000 brueffer 2007-11-03 20:51:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 nxge.4 Log: MFC: rev. 1.5 Clean up after the previous commit. Approved by: re (blanket) Revision Changes Path 1.3.2.2 +4 -2 src/share/man/man4/nxge.4 From owner-cvs-src@FreeBSD.ORG Sat Nov 3 23:18:02 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EFAE16A46D; Sat, 3 Nov 2007 23:18:02 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 0363513C4B0; Sat, 3 Nov 2007 23:17:57 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 0693145EEB; Sat, 3 Nov 2007 22:05:23 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 7B134456AB; Sat, 3 Nov 2007 22:05:14 +0100 (CET) Date: Sat, 3 Nov 2007 22:05:03 +0100 From: Pawel Jakub Dawidek To: Kris Kennaway Message-ID: <20071103210503.GH37519@garage.freebsd.pl> References: <200711011104.lA1B4LeH036010@repoman.freebsd.org> <472CDC0E.6000805@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: <472CDC0E.6000805@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zvol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2007 23:18:02 -0000 --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 03, 2007 at 09:37:34PM +0100, Kris Kennaway wrote: > Pawel Jakub Dawidek wrote: > >pjd 2007-11-01 11:04:21 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/contrib/opensolaris/uts/common/fs/zfs zvol.c=20 > > Log: > > Call zil_commit() (if ZIL is not disabled) after every non-read request > > (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is > > that Solaris calls it only for sync requests, but we can't say in GEOM > > is the request is sync or async, so we do it for every request. > > =20 > > MFC after: 1 week > > =20 > > Revision Changes Path > > 1.4 +11 -11 src/sys/contrib/opensolaris/uts/common/fs/zfs/zvo= l.c > > > > >=20 > Does this add significant overhead? ZVOLs are replacement for disks and file system put on top of that should handle delaying write requests, etc. Even if there is overhead, this is the right thing to do, but I don't think it's significant. I'll do some tests a bit later, now I need to make ZFS compile again in my perforce after last integration:) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHLOJ/ForvXbEpPzQRAkmhAJ0XJX0NCBN96fVhlrvCH7mOSe/hxQCg390v 6Y+tDUd0MN0biyViET/utFc= =BJg+ -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--