From owner-cvs-src@FreeBSD.ORG Sun Mar 30 00:27:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32981106564A; Sun, 30 Mar 2008 00:27:49 +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 0CAAF8FC16; Sun, 30 Mar 2008 00:27:49 +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 m2U0RmeM001054; Sun, 30 Mar 2008 00:27:48 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U0RmpY001053; Sun, 30 Mar 2008 00:27:48 GMT (envelope-from mav) Message-Id: <200803300027.m2U0RmpY001053@repoman.freebsd.org> From: Alexander Motin Date: Sun, 30 Mar 2008 00:27: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/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, 30 Mar 2008 00:27:49 -0000 mav 2008-03-30 00:27:48 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Use new atomic_fetchadd() primitive instead of looping atomic_cmpset(). Revision Changes Path 1.154 +5 -8 src/sys/netgraph/ng_base.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 02:19:28 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EDAC106566C; Sun, 30 Mar 2008 02:19:28 +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 3937A8FC1B; Sun, 30 Mar 2008 02:19: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 m2U2JSIS016163; Sun, 30 Mar 2008 02:19:28 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U2JSjv016162; Sun, 30 Mar 2008 02:19:28 GMT (envelope-from csjp) Message-Id: <200803300219.m2U2JSjv016162@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sun, 30 Mar 2008 02:19: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/fs/ntfs ntfs_subr.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, 30 Mar 2008 02:19:28 -0000 csjp 2008-03-30 02:19:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/fs/ntfs ntfs_subr.c Log: Un-break the build by adding a thread argument. This was removed in -CURRENT but this change has not been MFCed yet. Submitted by: attilo Revision Changes Path 1.42.2.2 +1 -1 src/sys/fs/ntfs/ntfs_subr.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 02:24:17 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6F6F1065673; Sun, 30 Mar 2008 02:24:17 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 9E3B08FC19; Sun, 30 Mar 2008 02:24:17 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JYI005IZUOGLHH0@mta2.srv.hcvlny.cv.net>; Sat, 29 Mar 2008 22:24:16 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m2U2OFXI062510; Sat, 29 Mar 2008 22:24:15 -0400 Date: Sat, 29 Mar 2008 22:24:10 -0400 From: "Aryeh M. Friedman" In-reply-to: <200803300219.m2U2JSjv016162@repoman.freebsd.org> To: "Christian S.J. Peron" Message-id: <47EEF9CA.9080008@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> User-Agent: Thunderbird 2.0.0.12 (X11/20080329) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Alexander Ryba , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 30 Mar 2008 02:24:17 -0000 Christian S.J. Peron wrote: > csjp 2008-03-30 02:19:27 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/fs/ntfs ntfs_subr.c > Log: > Un-break the build by adding a thread argument. This was removed in > -CURRENT but this change has not been MFCed yet. > > Submitted by: attilo > > Revision Changes Path > 1.42.2.2 +1 -1 src/sys/fs/ntfs/ntfs_subr.c I know this question should be else where but since the kernel ntfs doesn't allow for writting and fusefs-ntfs is stable why is ntfs still in the kernel and if it should be there why not replace it with fuse? From owner-cvs-src@FreeBSD.ORG Sun Mar 30 02:31:22 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F203106566B; Sun, 30 Mar 2008 02:31:22 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: from sub.vaned.net (sub.vaned.net [205.200.235.40]) by mx1.freebsd.org (Postfix) with ESMTP id F374C8FC1F; Sun, 30 Mar 2008 02:31:21 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: by sub.vaned.net (Postfix, from userid 1001) id AF8F12E1; Sat, 29 Mar 2008 21:31:19 -0500 (CDT) Date: Sat, 29 Mar 2008 21:31:19 -0500 From: "Christian S.J. Peron" To: "Aryeh M. Friedman" Message-ID: <20080330023119.GA81406@sub.vaned.net> References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47EEF9CA.9080008@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: Alexander Ryba , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, "Christian S.J. Peron" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 30 Mar 2008 02:31:22 -0000 On Sat, Mar 29, 2008 at 10:24:10PM -0400, Aryeh M. Friedman wrote: [..] > > I know this question should be else where but since the kernel ntfs > doesn't allow for writting and fusefs-ntfs is stable why is ntfs still > in the kernel and if it should be there why not replace it with fuse? This question probably should go to freebsd-arch@ or freebsd-fs@... I can't really comment on this request, but I think this has come up before, perhaps check the lists that I referenced? Thanks From owner-cvs-src@FreeBSD.ORG Sun Mar 30 02:42:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF23E106566C; Sun, 30 Mar 2008 02:42:39 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A71128FC1A; Sun, 30 Mar 2008 02:42:39 +0000 (UTC) (envelope-from brooks@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 m2U2gdpb017024; Sun, 30 Mar 2008 02:42:39 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U2gd0v017023; Sun, 30 Mar 2008 02:42:39 GMT (envelope-from brooks) Message-Id: <200803300242.m2U2gd0v017023@repoman.freebsd.org> From: Brooks Davis Date: Sun, 30 Mar 2008 02:42: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/sbin/dhclient dhclient-script X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 30 Mar 2008 02:42:40 -0000 brooks 2008-03-30 02:42:39 UTC FreeBSD src repository Modified files: sbin/dhclient dhclient-script Log: Add a new function is_default_interface() which determines if this interface is one with the default route (or there isn't one). Use it to decide if we should adjust the default route and /etc/resolv.conf. Fix the delete of the default route. The if statement was totally bogus and the delete only worked due to a typo. [1] Reported by: Jordan Coleman [1] MFC after: 1 week Revision Changes Path 1.19 +48 -20 src/sbin/dhclient/dhclient-script From owner-cvs-src@FreeBSD.ORG Sun Mar 30 02:46:20 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3E65106566B for ; Sun, 30 Mar 2008 02:46:20 +0000 (UTC) (envelope-from SRS0=d0bb9b024d19fa294840cb23d56d7fbcf1535226=655=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [IPv6:2001:400:14:3::6]) by mx1.freebsd.org (Postfix) with ESMTP id 677598FC1C for ; Sun, 30 Mar 2008 02:46:20 +0000 (UTC) (envelope-from SRS0=d0bb9b024d19fa294840cb23d56d7fbcf1535226=655=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id KFY23414; Sat, 29 Mar 2008 19:46:14 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 78F034500F; Sat, 29 Mar 2008 19:46:18 -0700 (PDT) To: Jeff Roberson In-Reply-To: Your message of "Sat, 29 Mar 2008 10:26:30 -0000." <200803291026.m2TAQUj1012357@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1206845178_72816P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 29 Mar 2008 19:46:18 -0700 From: "Kevin Oberman" Message-Id: <20080330024618.78F034500F@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; ; X-Sender: X-To_Name: Jeff Roberson X-To_Domain: freebsd.org X-To: Jeff Roberson X-To_Email: jeff@FreeBSD.org X-To_Alias: jeff Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys Makefile.inc cpuset_getaffinity.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: Sun, 30 Mar 2008 02:46:20 -0000 --==_Exmh_1206845178_72816P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: Jeff Roberson > Date: Sat, 29 Mar 2008 10:26:30 +0000 (UTC) > Sender: owner-cvs-all@freebsd.org > > jeff 2008-03-29 10:26:30 UTC > > FreeBSD src repository > > Modified files: > lib/libc/sys Makefile.inc > Added files: > lib/libc/sys cpuset_getaffinity.2 > Log: > - Add a man page for cpuset_getaffinity() and cpuset_setaffinity() and > hook it up to the build. > > Reviewed by: brueffer (skeleton and formatting assistance) > > Revision Changes Path > 1.132 +3 -2 src/lib/libc/sys/Makefile.inc > 1.1 +156 -0 src/lib/libc/sys/cpuset_getaffinity.2 (new) Thanks so much for the CPU affinity calls. I am looking forward to a command line tool to allow me to tie a process to a single CPU. On Linux systems, many I/O intensive processes run much better if constrained to a single CPU and I've been hoping FreeBSD would grow a similar capability. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1206845178_72816P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFH7v76kn3rs5h7N1ERAhS0AKCt2QFgoJ23Q4fbP+IDzTOMAOgMhgCeKH80 SDqf6OEXE6M8Q1eE3KEWOLg= =Ln5Q -----END PGP SIGNATURE----- --==_Exmh_1206845178_72816P-- From owner-cvs-src@FreeBSD.ORG Sun Mar 30 04:10:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DA32106566B; Sun, 30 Mar 2008 04:10:49 +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 E76EB8FC1C; Sun, 30 Mar 2008 04:10:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m2U4A8J2027045; Sat, 29 Mar 2008 22:10:09 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 29 Mar 2008 22:10:50 -0600 (MDT) Message-Id: <20080329.221050.1649770238.imp@bsdimp.com> To: aryeh.friedman@gmail.com From: "M. Warner Losh" In-Reply-To: <47EEF9CA.9080008@gmail.com> References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ryba@sylow.cs.qc.cuny.edu, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, csjp@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 30 Mar 2008 04:10:49 -0000 In message: <47EEF9CA.9080008@gmail.com> "Aryeh M. Friedman" writes: : Christian S.J. Peron wrote: : > csjp 2008-03-30 02:19:27 UTC : > : > FreeBSD src repository : > : > Modified files: (Branch: RELENG_7) : > sys/fs/ntfs ntfs_subr.c : > Log: : > Un-break the build by adding a thread argument. This was removed in : > -CURRENT but this change has not been MFCed yet. : > : > Submitted by: attilo : > : > Revision Changes Path : > 1.42.2.2 +1 -1 src/sys/fs/ntfs/ntfs_subr.c : : : I know this question should be else where but since the kernel ntfs : doesn't allow for writting and fusefs-ntfs is stable why is ntfs still : in the kernel and if it should be there why not replace it with fuse? Because the kernel based ntfs works and is BSD. FUSE is GPL, and new GPL components are to be avoided. ntfs, btw, handles write errors better than any other file system in the system today. I've been able to recover 90% of the files from a badly damaged disk where other recovery utilities got only 10%. Warner From owner-cvs-src@FreeBSD.ORG Sun Mar 30 05:39:24 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BAC2106566C; Sun, 30 Mar 2008 05:39:24 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 781C78FC16; Sun, 30 Mar 2008 05:39:24 +0000 (UTC) (envelope-from kib@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 m2U5dOhk034979; Sun, 30 Mar 2008 05:39:24 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U5dOL4034978; Sun, 30 Mar 2008 05:39:24 GMT (envelope-from kib) Message-Id: <200803300539.m2U5dOL4034978@repoman.freebsd.org> From: Konstantin Belousov Date: Sun, 30 Mar 2008 05:39: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/sys/i386/i386 pmap.c src/sys/amd64/amd64 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: Sun, 30 Mar 2008 05:39:24 -0000 kib 2008-03-30 05:39:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/i386 pmap.c sys/amd64/amd64 pmap.c Log: MFC rev. 1.607 of sys/amd64/amd64/pmap.c rev. 1.609 of sys/i386/i386/pmap.c Prevent the overflow in the calculation of the next page directory. Revision Changes Path 1.590.2.5 +18 -0 src/sys/amd64/amd64/pmap.c 1.594.2.6 +6 -0 src/sys/i386/i386/pmap.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 07:53:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09DC1106566B; Sun, 30 Mar 2008 07:53:53 +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 DC0F58FC18; Sun, 30 Mar 2008 07:53: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 m2U7rqZS041156; Sun, 30 Mar 2008 07:53:52 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U7rqMX041155; Sun, 30 Mar 2008 07:53:52 GMT (envelope-from mav) Message-Id: <200803300753.m2U7rqMX041155@repoman.freebsd.org> From: Alexander Motin Date: Sun, 30 Mar 2008 07:53: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/netgraph ng_car.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, 30 Mar 2008 07:53:53 -0000 mav 2008-03-30 07:53:51 UTC FreeBSD src repository Modified files: sys/netgraph ng_car.c Log: - Account all node stats at the shape mode. - Do not check destination hook presence, it will be done by netgraph. - Use u_int instead of int in some places to simplify type conversions. - Use NG_SEND_DATA_ONLY() macro instead of selfmade equivalent. Revision Changes Path 1.7 +28 -36 src/sys/netgraph/ng_car.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 08:01:26 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1448106566B; Sun, 30 Mar 2008 08:01:26 +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 CFA858FC25; Sun, 30 Mar 2008 08:01:26 +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 m2U81Qxj041480; Sun, 30 Mar 2008 08:01:26 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U81Q4Z041479; Sun, 30 Mar 2008 08:01:26 GMT (envelope-from mav) Message-Id: <200803300801.m2U81Q4Z041479@repoman.freebsd.org> From: Alexander Motin Date: Sun, 30 Mar 2008 08:01: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/sys/netgraph ng_pptpgre.c ng_pptpgre.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, 30 Mar 2008 08:01:27 -0000 mav 2008-03-30 08:01:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_pptpgre.c ng_pptpgre.h Log: MFC ng_pptpgre.c rev. 1.41-1.42 Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pair of pptpgre and ksocket nodes for all calls between two peers. This patch modifies node's API by adding new "session_%04x" hook names support, while keeping backward compatibility. Revision Changes Path 1.40.2.1 +281 -261 src/sys/netgraph/ng_pptpgre.c 1.9.10.1 +4 -0 src/sys/netgraph/ng_pptpgre.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 08:01:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD133106578E; Sun, 30 Mar 2008 08:01:53 +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 8B9A88FC32; Sun, 30 Mar 2008 08:01:53 +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 m2U81mw4041517; Sun, 30 Mar 2008 08:01:53 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U81mk9041516; Sun, 30 Mar 2008 08:01:48 GMT (envelope-from mav) Message-Id: <200803300801.m2U81mk9041516@repoman.freebsd.org> From: Alexander Motin Date: Sun, 30 Mar 2008 08:01: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/share/man/man4 ng_pptpgre.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: Sun, 30 Mar 2008 08:01:53 -0000 mav 2008-03-30 08:01:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ng_pptpgre.4 Log: MFC ng_pptpgre.c rev. 1.41-1.42 Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pair of pptpgre and ksocket nodes for all calls between two peers. This patch modifies node's API by adding new "session_%04x" hook names support, while keeping backward compatibility. Revision Changes Path 1.21.10.1 +8 -5 src/share/man/man4/ng_pptpgre.4 From owner-cvs-src@FreeBSD.ORG Sun Mar 30 08:38:41 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91B5E1065671; Sun, 30 Mar 2008 08:38:41 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (mail.rabson.org [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id 152C88FC2E; Sun, 30 Mar 2008 08:38:41 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2002:50b1:e8f2:1:21b:63ff:feb8:5abc] (unknown [IPv6:2002:50b1:e8f2:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id B7CD63FB7; Sun, 30 Mar 2008 09:38:39 +0100 (BST) Message-Id: From: Doug Rabson To: Ruslan Ermilov In-Reply-To: <200803291807.m2TI769j070352@repoman.freebsd.org> Content-Type: multipart/signed; boundary=Apple-Mail-47-925852897; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 30 Mar 2008 09:38:39 +0100 References: <200803291807.m2TI769j070352@repoman.freebsd.org> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.92/6473/Sun Mar 30 02:58:46 2008 on itchy.rabson.org X-Virus-Status: Clean X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/clear_locks 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: Sun, 30 Mar 2008 08:38:41 -0000 --Apple-Mail-47-925852897 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit On 29 Mar 2008, at 18:07, Ruslan Ermilov wrote: > ru 2008-03-29 18:07:06 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/clear_locks Makefile > Log: > Add missing library dependency. Thanks Ruslan. --Apple-Mail-47-925852897-- From owner-cvs-src@FreeBSD.ORG Sun Mar 30 09:19:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 343F7106566B; Sun, 30 Mar 2008 09:19:10 +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 29BD78FC13; Sun, 30 Mar 2008 09:19:10 +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 m2U9JAkf055669; Sun, 30 Mar 2008 09:19:10 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U9J9aw055668; Sun, 30 Mar 2008 09:19:09 GMT (envelope-from rwatson) Message-Id: <200803300919.m2U9J9aw055668@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 09:19: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/amd64/amd64 machdep.c mp_watchdog.c src/sys/arm/at91 uart_dev_at91usart.c src/sys/cam/scsi scsi_low.h src/sys/compat/ndis subr_ntoskrnl.c src/sys/dev/acpica/Osd OsdDebug.c src/sys/dev/dcons dcons_os.c src/sys/dev/ofw ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 30 Mar 2008 09:19:10 -0000 rwatson 2008-03-30 09:19:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 machdep.c mp_watchdog.c sys/arm/at91 uart_dev_at91usart.c sys/cam/scsi scsi_low.h sys/compat/ndis subr_ntoskrnl.c sys/dev/acpica/Osd OsdDebug.c sys/dev/dcons dcons_os.c sys/dev/ofw ofw_console.c sys/dev/sio sio.c sys/dev/syscons syscons.c sys/dev/uart uart_core.c sys/fs/unionfs union_subr.c sys/i386/i386 machdep.c mp_watchdog.c sys/ia64/ia64 machdep.c sys/kern kern_clock.c kern_shutdown.c subr_kdb.c subr_witness.c vfs_subr.c sys/netgraph ng_base.c sys/pc98/cbus sio.c sys/pc98/pc98 machdep.c sys/powerpc/powermac pswitch.c sys/powerpc/powerpc machdep.c sys/security/mac_test mac_test.c sys/sparc64/pci psycho.c sys/sparc64/sparc64 machdep.c trap.c sys/sun4v/sun4v hvcons.c machdep.c trap.c sys/sys kdb.h Log: Merge amd64/machdep.c:1.680, amd64/mp_watchdog.c:1.6, uart_dev_at91usart.c:1.13, scsi_low.h:1.9, subr_ntoskrnl.c:1.94, OsdDebug.c:1.14, dcons_os.c:1.20, ofw_consle.c:1.37, dev/sio.c:1.473, syscons.c:1.454, uart_core.c:1.23, union_subr.c:1.96, i386/machdep.c:1.664, i386/mp_watchdog.c:1.6, ia64/machdep.c:1.228, kern_clock.c:1.206, kern_shutdown.c:1.186, subr_kdb.c:1.25, subr_witness.c:1.239, vfs_subr.c:1.711, ng_base.c:1.140, cbus/sio.c:1.247, pc98/machdep.c:1.399, aim/machdep.c:1.107, pswitch.c:1.7, mac_test.c:19.3, psycho.c:1.73, sparc64/machdep.c:1.140, sparc64/trap.c:1.89, hvcons.c:1.7, sun4v/machdep.c:1.17, sun4v/trap.c:1.17, kdb.h:1.6 from HEAD to RELENG_7: Add a new 'why' argument to kdb_enter(), and a set of constants to use for that argument. This will allow DDB to detect the broad category of reason why the debugger has been entered, which it can use for the purposes of deciding which DDB script to run. Assign approximate why values to all current consumers of the kdb_enter() interface. For ABI/KPI reasons, the MFC creates a new function, kdb_enter_why(), with the new argument, updating existing consumers to use that, preserving kdb_enter() with the current argument, and wrapping it around kdb_enter_why(). Revision Changes Path 1.675.2.6 +2 -1 src/sys/amd64/amd64/machdep.c 1.5.2.1 +2 -1 src/sys/amd64/amd64/mp_watchdog.c 1.12.2.1 +2 -1 src/sys/arm/at91/uart_dev_at91usart.c 1.8.10.1 +1 -1 src/sys/cam/scsi/scsi_low.h 1.90.2.1 +1 -1 src/sys/compat/ndis/subr_ntoskrnl.c 1.13.2.1 +2 -2 src/sys/dev/acpica/Osd/OsdDebug.c 1.19.2.1 +4 -2 src/sys/dev/dcons/dcons_os.c 1.36.2.1 +2 -1 src/sys/dev/ofw/ofw_console.c 1.470.2.1 +4 -2 src/sys/dev/sio/sio.c 1.453.2.2 +2 -1 src/sys/dev/syscons/syscons.c 1.22.2.1 +3 -2 src/sys/dev/uart/uart_core.c 1.92.2.3 +4 -2 src/sys/fs/unionfs/union_subr.c 1.658.2.6 +2 -1 src/sys/i386/i386/machdep.c 1.5.2.1 +2 -1 src/sys/i386/i386/mp_watchdog.c 1.225.2.3 +2 -1 src/sys/ia64/ia64/machdep.c 1.202.2.1 +1 -1 src/sys/kern/kern_clock.c 1.182.2.2 +1 -1 src/sys/kern/kern_shutdown.c 1.24.2.1 +26 -4 src/sys/kern/subr_kdb.c 1.236.2.2 +2 -2 src/sys/kern/subr_witness.c 1.707.2.2 +2 -2 src/sys/kern/vfs_subr.c 1.135.2.7 +2 -2 src/sys/netgraph/ng_base.c 1.245.2.1 +4 -2 src/sys/pc98/cbus/sio.c 1.396.2.4 +2 -1 src/sys/pc98/pc98/machdep.c 1.6.2.1 +1 -1 src/sys/powerpc/powermac/pswitch.c 1.103.2.3 +2 -1 src/sys/powerpc/powerpc/machdep.c 1.78.2.2 +1 -1 src/sys/security/mac_test/mac_test.c 1.70.2.2 +1 -1 src/sys/sparc64/pci/psycho.c 1.138.2.2 +2 -1 src/sys/sparc64/sparc64/machdep.c 1.88.2.1 +1 -1 src/sys/sparc64/sparc64/trap.c 1.6.2.1 +7 -4 src/sys/sun4v/sun4v/hvcons.c 1.15.2.2 +2 -1 src/sys/sun4v/sun4v/machdep.c 1.15.2.1 +1 -1 src/sys/sun4v/sun4v/trap.c 1.5.10.1 +28 -0 src/sys/sys/kdb.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 09:20:13 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D031106566B; Sun, 30 Mar 2008 09:20:13 +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 5C7B78FC1D; Sun, 30 Mar 2008 09:20:13 +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 m2U9KDwa055765; Sun, 30 Mar 2008 09:20:13 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U9KDxk055764; Sun, 30 Mar 2008 09:20:13 GMT (envelope-from rwatson) Message-Id: <200803300920.m2U9KDxk055764@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 09:20: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/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: Sun, 30 Mar 2008 09:20:13 -0000 rwatson 2008-03-30 09:20:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys param.h Log: Bump __FreeBSD_version in RELENG_7 to 700102 to reflect the addition of kdb_enter_why(). Revision Changes Path 1.308.2.6 +1 -1 src/sys/sys/param.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 09:35:05 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E091065676; Sun, 30 Mar 2008 09:35:05 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 05BF08FC15; Sun, 30 Mar 2008 09:35:05 +0000 (UTC) (envelope-from dfr@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 m2U9Z4Qr056448; Sun, 30 Mar 2008 09:35:04 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U9Z4Or056447; Sun, 30 Mar 2008 09:35:04 GMT (envelope-from dfr) Message-Id: <200803300935.m2U9Z4Or056447@repoman.freebsd.org> From: Doug Rabson Date: Sun, 30 Mar 2008 09:35: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/lib/libc/xdr xdr_rec.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, 30 Mar 2008 09:35:05 -0000 dfr 2008-03-30 09:35:04 UTC FreeBSD src repository Modified files: lib/libc/xdr xdr_rec.c Log: Don't assume that there is readable data on the stream after the fragment header. Revision Changes Path 1.22 +6 -0 src/lib/libc/xdr/xdr_rec.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 09:36:18 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B0261065671; Sun, 30 Mar 2008 09:36:18 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EEF2E8FC16; Sun, 30 Mar 2008 09:36:17 +0000 (UTC) (envelope-from dfr@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 m2U9aHDE056554; Sun, 30 Mar 2008 09:36:17 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U9aHqN056553; Sun, 30 Mar 2008 09:36:17 GMT (envelope-from dfr) Message-Id: <200803300936.m2U9aHqN056553@repoman.freebsd.org> From: Doug Rabson Date: Sun, 30 Mar 2008 09:36: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/lib/libc/rpc svc_vc.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, 30 Mar 2008 09:36:18 -0000 dfr 2008-03-30 09:36:17 UTC FreeBSD src repository Modified files: lib/libc/rpc svc_vc.c Log: Don't call xdrrec_skiprecord in the non-blocking case. If __xdrrec_getrec has returned TRUE, then we have a complete request in the buffer - calling xdrrec_skiprecord is not necessary. In particular, if there is another record already buffered on the stream, xdrrec_skiprecord will discard both this request and the next one, causing the call to xdr_callmsg to fail and the stream to be closed. Sponsored by: Isilon Systems Revision Changes Path 1.27 +2 -1 src/lib/libc/rpc/svc_vc.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 09:51:47 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 985F11065673; Sun, 30 Mar 2008 09:51:47 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6CAB28FC18; Sun, 30 Mar 2008 09:51:47 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id BCDEA46B52; Sun, 30 Mar 2008 05:51:46 -0400 (EDT) Date: Sun, 30 Mar 2008 10:51:46 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Aryeh M. Friedman" In-Reply-To: <47EEF9CA.9080008@gmail.com> Message-ID: <20080330104855.N7523@fledge.watson.org> References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Alexander Ryba , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, "Christian S.J. Peron" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 30 Mar 2008 09:51:47 -0000 On Sat, 29 Mar 2008, Aryeh M. Friedman wrote: > Christian S.J. Peron wrote: >> csjp 2008-03-30 02:19:27 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_7) >> sys/fs/ntfs ntfs_subr.c Log: >> Un-break the build by adding a thread argument. This was removed in >> -CURRENT but this change has not been MFCed yet. >> Submitted by: attilo >> Revision Changes Path >> 1.42.2.2 +1 -1 src/sys/fs/ntfs/ntfs_subr.c > > I know this question should be else where but since the kernel ntfs doesn't > allow for writting and fusefs-ntfs is stable why is ntfs still in the kernel > and if it should be there why not replace it with fuse? That question was asked on arch@ recently, and you might want to go read its conclusions. They seem quite contrary to the observations you make :-). Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Sun Mar 30 11:31:14 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69ECA106567F; Sun, 30 Mar 2008 11:31:14 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 64AA88FC2E; Sun, 30 Mar 2008 11:31:14 +0000 (UTC) (envelope-from jeff@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 m2UBVE6G063035; Sun, 30 Mar 2008 11:31:14 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UBVEGQ063034; Sun, 30 Mar 2008 11:31:14 GMT (envelope-from jeff) Message-Id: <200803301131.m2UBVEGQ063034@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 30 Mar 2008 11:31: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/sys cpuset.h src/sys/kern kern_cpuset.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, 30 Mar 2008 11:31:14 -0000 jeff 2008-03-30 11:31:14 UTC FreeBSD src repository Modified files: sys/sys cpuset.h sys/kern kern_cpuset.c Log: - Consistently return EDEADLK when presented with a new set that is incompatible with existing bindings. - Try to copyout the setid in cpuset() before migrating the proc to the setid in case the user has supplied a bad buffer. - Rename cpuset_root() and cpuset_base() to cpuset_ref{root,base} to be more descriptive and free cpuset_root to be used as a different type of symbol. - Make cpuset_root the cpuset_t set of all cpus in the system. This should contain the same bitmask as all_cpus presently. - Add a CPU_CMP() macro to compare two sets. Revision Changes Path 1.7 +27 -20 src/sys/kern/kern_cpuset.c 1.5 +15 -1 src/sys/sys/cpuset.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 11:53:55 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD8751065675; Sun, 30 Mar 2008 11:53:55 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 92F438FC1E; Sun, 30 Mar 2008 11:53:47 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47EF7F50.7020309@FreeBSD.org> Date: Sun, 30 Mar 2008 13:53:52 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Kevin Oberman References: <20080330024618.78F034500F@ptavv.es.net> In-Reply-To: <20080330024618.78F034500F@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys Makefile.inc cpuset_getaffinity.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: Sun, 30 Mar 2008 11:53:56 -0000 Kevin Oberman wrote: >> From: Jeff Roberson >> Date: Sat, 29 Mar 2008 10:26:30 +0000 (UTC) >> Sender: owner-cvs-all@freebsd.org >> >> jeff 2008-03-29 10:26:30 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libc/sys Makefile.inc >> Added files: >> lib/libc/sys cpuset_getaffinity.2 >> Log: >> - Add a man page for cpuset_getaffinity() and cpuset_setaffinity() and >> hook it up to the build. >> >> Reviewed by: brueffer (skeleton and formatting assistance) >> >> Revision Changes Path >> 1.132 +3 -2 src/lib/libc/sys/Makefile.inc >> 1.1 +156 -0 src/lib/libc/sys/cpuset_getaffinity.2 (new) > > Thanks so much for the CPU affinity calls. I am looking forward to a > command line tool to allow me to tie a process to a single CPU. You mean like cpuset(1)? ;) Kris From owner-cvs-src@FreeBSD.ORG Sun Mar 30 13:56:18 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED31B106564A; Sun, 30 Mar 2008 13:56:18 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CB2938FC16; Sun, 30 Mar 2008 13:56:18 +0000 (UTC) (envelope-from antoine@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 m2UDuIn1078830; Sun, 30 Mar 2008 13:56:18 GMT (envelope-from antoine@repoman.freebsd.org) Received: (from antoine@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UDuIsg078827; Sun, 30 Mar 2008 13:56:18 GMT (envelope-from antoine) Message-Id: <200803301356.m2UDuIsg078827@repoman.freebsd.org> From: Antoine Brodin Date: Sun, 30 Mar 2008 13:56: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/tools/build/mk OptionalObsoleteFiles.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: Sun, 30 Mar 2008 13:56:19 -0000 antoine 2008-03-30 13:56:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) tools/build/mk OptionalObsoleteFiles.inc Log: MFC to RELENG_7: Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined. PR: 120492 PR: 121118 PR: 121121 Submitted by: KAMIYA Satosi, Richard Tector Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.11.2.2 +61 -9 src/tools/build/mk/OptionalObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Sun Mar 30 14:06:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83FEA1065673; Sun, 30 Mar 2008 14:06:44 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 61A3C8FC1B; Sun, 30 Mar 2008 14:06:44 +0000 (UTC) (envelope-from dfr@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 m2UE6irJ080248; Sun, 30 Mar 2008 14:06:44 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UE6hZG080247; Sun, 30 Mar 2008 14:06:43 GMT (envelope-from dfr) Message-Id: <200803301406.m2UE6hZG080247@repoman.freebsd.org> From: Doug Rabson Date: Sun, 30 Mar 2008 14:06:43 +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/nfsserver nfs_srvsock.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, 30 Mar 2008 14:06:44 -0000 dfr 2008-03-30 14:06:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/nfsserver nfs_srvsock.c Log: MFC: nfs_srvsock.c rev. 1.106, 1.107 Don't call nfs_realign while holding locks. Revision Changes Path 1.104.2.1 +7 -4 src/sys/nfsserver/nfs_srvsock.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 16:49:20 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5EFA106566C; Sun, 30 Mar 2008 16:49:20 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 878D48FC2A; Sun, 30 Mar 2008 16:49:20 +0000 (UTC) (envelope-from rdivacky@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 m2UGnKC0002763; Sun, 30 Mar 2008 16:49:20 GMT (envelope-from rdivacky@repoman.freebsd.org) Received: (from rdivacky@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UGnKQg002762; Sun, 30 Mar 2008 16:49:20 GMT (envelope-from rdivacky) Message-Id: <200803301649.m2UGnKQg002762@repoman.freebsd.org> From: Roman Divacky Date: Sun, 30 Mar 2008 16: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/pkg_install/add perform.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, 30 Mar 2008 16:49:20 -0000 rdivacky 2008-03-30 16:49:20 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install/add perform.c Log: Improve style a little and remove one always-true condition. Approved by: portmgr (pav) Approved by: kib (mentor) Revision Changes Path 1.82 +3 -3 src/usr.sbin/pkg_install/add/perform.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:03:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 098FF106566C; Sun, 30 Mar 2008 17:03:59 +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 E755A8FC26; Sun, 30 Mar 2008 17:03: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 m2UH3weC004434; Sun, 30 Mar 2008 17:03:58 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UH3wjv004433; Sun, 30 Mar 2008 17:03:58 GMT (envelope-from rwatson) Message-Id: <200803301703.m2UH3wjv004433@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 17:03:58 +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 files src/sys/ddb db_command.c db_command.h db_lex.c db_lex.h db_main.c db_script.c ddb.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, 30 Mar 2008 17:03:59 -0000 rwatson 2008-03-30 17:03:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/ddb db_command.c db_command.h db_lex.c db_lex.h db_main.c ddb.h Added files: (Branch: RELENG_7) sys/ddb db_script.c Log: Merge files:1.1259, db_command.c:1.75, db_command.h:1.14, db_lex.c:1.23, db_lex.h:1.15, db_main.c:1.7, db_script.c:1.1-1.2, ddb.h:1.45 from HEAD to RELENG_7: Add a simple scripting facility to DDB(4), allowing the user to define a set of named scripts. Each script consists of a list of DDB commands separated by ";"s that will be executed verbatim. No higher level language constructs, such as branching, are provided for: scripts are executed by sequentially injecting commands into the DDB input buffer. Four new commands are present in DDB: "run" to run a specific script, "script" to define or print a script, "scripts" to list currently defined scripts, and "unscript" to delete a script, modeled on shell alias commands. Scripts may also be manipulated using sysctls in the debug.ddb.scripting MIB space, although users will prefer to use the soon-to-be-added ddb(8) tool for usability reasons. Scripts with certain names are automatically executed on various DDB events, such as entering the debugger via a panic, a witness error, watchdog, breakpoint, sysctl, serial break, etc, allowing customized handling. Remove duplicate $FreeBSD$ that snuck in. Revision Changes Path 1.1243.2.9 +1 -0 src/sys/conf/files 1.73.2.3 +31 -5 src/sys/ddb/db_command.c 1.13.10.1 +1 -0 src/sys/ddb/db_command.h 1.22.10.1 +30 -1 src/sys/ddb/db_lex.c 1.14.10.1 +7 -4 src/sys/ddb/db_lex.h 1.5.2.2 +3 -0 src/sys/ddb/db_main.c 1.2.2.1 +562 -0 src/sys/ddb/db_script.c (new) 1.43.2.2 +29 -0 src/sys/ddb/ddb.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:07:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E439E1065672; Sun, 30 Mar 2008 17:07:10 +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 CEB978FC18; Sun, 30 Mar 2008 17:07:10 +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 m2UH7AGb004628; Sun, 30 Mar 2008 17:07:10 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UH7A9K004627; Sun, 30 Mar 2008 17:07:10 GMT (envelope-from rwatson) Message-Id: <200803301707.m2UH7A9K004627@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 17:07:10 +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 Makefile src/sbin/ddb Makefile ddb.8 ddb.c ddb.h ddb_script.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, 30 Mar 2008 17:07:11 -0000 rwatson 2008-03-30 17:07:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin Makefile Added files: (Branch: RELENG_7) sbin/ddb Makefile ddb.8 ddb.c ddb.h ddb_script.c Log: Merge Makefile:1.169, ddb/Makefile:1.1, ddb.8:1.1, ddb.c:1.1, ddb.h:1.1, ddb_script.c:1.1 from HEAD to RELENG_7: Add command-line tool ddb(8), which allows DDB(4) scripts to be managed from userspace. It is largely a wrapper for sysctl() calls, but because the sysctls for adding and removing scripts are awkward to use directly, this provides an easier-to-use interface. Revision Changes Path 1.168.2.1 +1 -0 src/sbin/Makefile 1.1.2.1 +8 -0 src/sbin/ddb/Makefile (new) 1.3.2.1 +106 -0 src/sbin/ddb/ddb.8 (new) 1.2.2.1 +67 -0 src/sbin/ddb/ddb.c (new) 1.1.2.1 +37 -0 src/sbin/ddb/ddb.h (new) 1.1.2.1 +160 -0 src/sbin/ddb/ddb_script.c (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:09:35 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57C86106566C; Sun, 30 Mar 2008 17:09: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 28DD38FC14; Sun, 30 Mar 2008 17:09:35 +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 m2UH9Ztn004698; Sun, 30 Mar 2008 17:09:35 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UH9Zol004697; Sun, 30 Mar 2008 17:09:35 GMT (envelope-from rwatson) Message-Id: <200803301709.m2UH9Zol004697@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 17:09:35 +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 ddb.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: Sun, 30 Mar 2008 17:09:35 -0000 rwatson 2008-03-30 17:09:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ddb.4 Log: Merge ddb.4:1.44 from HEAD to RELENG_7: Add description of 'debug.ddb.capture.data' sysctl to DBD output capture section, missed in previous commit. Revision Changes Path 1.42.2.2 +4 -0 src/share/man/man4/ddb.4 From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:10:35 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79774106566B; Sun, 30 Mar 2008 17:10: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 4A9138FC1C; Sun, 30 Mar 2008 17:10:35 +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 m2UHAZfx004798; Sun, 30 Mar 2008 17:10:35 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UHAZCf004797; Sun, 30 Mar 2008 17:10:35 GMT (envelope-from rwatson) Message-Id: <200803301710.m2UHAZCf004797@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 17:10:35 +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 ddb.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: Sun, 30 Mar 2008 17:10:35 -0000 rwatson 2008-03-30 17:10:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ddb.4 Log: Merge ddb.4:1.45 from HEAD to RELENG_7: Add SCRIPTING section to describe new DDB scripting facilities. Update copyright. Revision Changes Path 1.42.2.3 +147 -2 src/share/man/man4/ddb.4 From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:17:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D92C1065670; Sun, 30 Mar 2008 17:17:43 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3DF1A8FC12; Sun, 30 Mar 2008 17:17:43 +0000 (UTC) (envelope-from bde@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 m2UHHhnk004990; Sun, 30 Mar 2008 17:17:43 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UHHgmM004986; Sun, 30 Mar 2008 17:17:42 GMT (envelope-from bde) Message-Id: <200803301717.m2UHHgmM004986@repoman.freebsd.org> From: Bruce Evans Date: Sun, 30 Mar 2008 17:17: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/msun/src e_hypotf.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, 30 Mar 2008 17:17:43 -0000 bde 2008-03-30 17:17:42 UTC FreeBSD src repository Modified files: lib/msun/src e_hypotf.c Log: Fix a missing mask in a hi+lo decomposition. Thus bug made the extra precision in software useless, so hypotf() had some errors in the 1-2 ulp range unless there is extra precision in hardware (as happens on i386). Revision Changes Path 1.11 +1 -1 src/lib/msun/src/e_hypotf.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:20:04 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8ED701065671; Sun, 30 Mar 2008 17:20:04 +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 5F9D48FC17; Sun, 30 Mar 2008 17:20:04 +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 m2UHK4Mp005134; Sun, 30 Mar 2008 17:20:04 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UHK4q9005133; Sun, 30 Mar 2008 17:20:04 GMT (envelope-from rwatson) Message-Id: <200803301720.m2UHK4q9005133@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 17:20: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/sys kerneldump.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, 30 Mar 2008 17:20:04 -0000 rwatson 2008-03-30 17:20:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys kerneldump.h Log: Merge kerneldump.h:1.9 from HEAD to RELENG_7: Minor style consistency improvements. Revision Changes Path 1.8.2.1 +1 -2 src/sys/sys/kerneldump.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:20:40 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4E3E106564A; Sun, 30 Mar 2008 17:20:40 +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 859B58FC21; Sun, 30 Mar 2008 17:20:40 +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 m2UHKelJ005213; Sun, 30 Mar 2008 17:20:40 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UHKeru005212; Sun, 30 Mar 2008 17:20:40 GMT (envelope-from rwatson) Message-Id: <200803301720.m2UHKeru005212@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 17:20: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/sys kerneldump.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, 30 Mar 2008 17:20:40 -0000 rwatson 2008-03-30 17:20:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys kerneldump.h Log: Merge kerneldump.h:1.10 from HEAD to RELENG_7: Define a new kernel dump "architecture", TEXTDUMPMAGIC, which is used to identify textdumps in the swap/dump partition. While textdumps aren't really an architecture, they are architecture-neutral and so don't really correspond to any existing architecture. Define a version number for textdumps, KERNELDUMP_TEXT_VERSION, of 1. Revision Changes Path 1.8.2.2 +2 -0 src/sys/sys/kerneldump.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:28:27 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E4F31065670; Sun, 30 Mar 2008 17:28:27 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6E73D8FC24; Sun, 30 Mar 2008 17:28:27 +0000 (UTC) (envelope-from bde@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 m2UHSRcS005497; Sun, 30 Mar 2008 17:28:27 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UHSRF2005496; Sun, 30 Mar 2008 17:28:27 GMT (envelope-from bde) Message-Id: <200803301728.m2UHSRF2005496@repoman.freebsd.org> From: Bruce Evans Date: Sun, 30 Mar 2008 17:28: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/lib/msun/src e_hypot.c e_hypotf.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, 30 Mar 2008 17:28:27 -0000 bde 2008-03-30 17:28:27 UTC FreeBSD src repository Modified files: lib/msun/src e_hypot.c e_hypotf.c Log: Use the expression fabs(x+0.0)-fabs(y+0.0) instead of fabs(x+0.0)+fabs(y+0.0) when mixing NaNs. This improves consistency of the result by making it harder for the compiler to reorder the operands. (FP addition is not necessarily commutative because the order of operands makes a difference on some machines iff the operands are both NaNs.) Revision Changes Path 1.11 +1 -1 src/lib/msun/src/e_hypot.c 1.12 +1 -1 src/lib/msun/src/e_hypotf.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 17:55:23 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9DF3106566B; Sun, 30 Mar 2008 17: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 A870C8FC17; Sun, 30 Mar 2008 17: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 m2UHtN8H006497; Sun, 30 Mar 2008 17: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 m2UHtK9n006493; Sun, 30 Mar 2008 17:55:20 GMT (envelope-from rwatson) Message-Id: <200803301755.m2UHtK9n006493@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 Mar 2008 17:55: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/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: Sun, 30 Mar 2008 17:55:24 -0000 rwatson 2008-03-30 17:55:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net bpf_filter.c Log: Merge bpf_filter.c:1.30 from HEAD to RELENG_7: Improve convergence of bpf_filter.c toward style(9). Submitted by: csjp Revision Changes Path 1.28.2.1 +29 -40 src/sys/net/bpf_filter.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 18:07:13 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AA261065672; Sun, 30 Mar 2008 18:07:13 +0000 (UTC) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1C18FC13; Sun, 30 Mar 2008 18:07:13 +0000 (UTC) (envelope-from bde@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 m2UI7C8d007980; Sun, 30 Mar 2008 18:07:12 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UI7CNR007979; Sun, 30 Mar 2008 18:07:12 GMT (envelope-from bde) Message-Id: <200803301807.m2UI7CNR007979@repoman.freebsd.org> From: Bruce Evans Date: Sun, 30 Mar 2008 18:07: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/lib/msun/src e_hypot.c e_hypotf.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, 30 Mar 2008 18:07:13 -0000 bde 2008-03-30 18:07:12 UTC FreeBSD src repository Modified files: lib/msun/src e_hypot.c e_hypotf.c Log: Use fabs[f]() instead of bit fiddling for setting absolute values. This makes little difference in float precision, but in double precision gives a speedup of about 30% on amd64 (A64 CPU) and i386 (A64). This depends on fabs[f]() being inline and efficient. The bit fiddling (or any use of SET_HIGH_WORD(), which libm does too much because it was best on old 32-bit machines) always causes packing overheads and sometimes causes stalls in the packing, since it operates on only part of a variable in the double precision case. It apparently did cause stalls in a critical path here. Revision Changes Path 1.12 +2 -2 src/lib/msun/src/e_hypot.c 1.13 +2 -2 src/lib/msun/src/e_hypotf.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 18:16:34 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C8781065671; Sun, 30 Mar 2008 18:16:34 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DE40C8FC19; Sun, 30 Mar 2008 18:16:33 +0000 (UTC) (envelope-from attilio@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 m2UIGXgq008323; Sun, 30 Mar 2008 18:16:33 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UIGXhU008322; Sun, 30 Mar 2008 18:16:33 GMT (envelope-from attilio) Message-Id: <200803301816.m2UIGXhU008322@repoman.freebsd.org> From: Attilio Rao Date: Sun, 30 Mar 2008 18:16: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: src/sys/netncp ncp_conn.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, 30 Mar 2008 18:16:34 -0000 attilio 2008-03-30 18:16:33 UTC FreeBSD src repository Modified files: sys/netncp ncp_conn.c Log: lockmgrs need to be released before to be destroyed and draining doesn't make an exception. Add correct stub for it. Reviewed by: rwatson Revision Changes Path 1.34 +1 -0 src/sys/netncp/ncp_conn.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 19:39:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71D27106564A; Sun, 30 Mar 2008 19:39:30 +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 3B44E8FC1A; Sun, 30 Mar 2008 19:39:30 +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 m2UJdUKh012122; Sun, 30 Mar 2008 19:39:30 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UJdUBV012121; Sun, 30 Mar 2008 19:39:30 GMT (envelope-from matteo) Message-Id: <200803301939.m2UJdUBV012121@repoman.freebsd.org> From: Matteo Riondato Date: Sun, 30 Mar 2008 19:39: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/usr.sbin/ypserv yp_main.c ypserv.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: Sun, 30 Mar 2008 19:39:30 -0000 matteo 2008-03-30 19:39:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/ypserv yp_main.c ypserv.8 Log: Add -P option to allow binding to a specific port. PR: bin/109494 Submitted by: mtm Revision Changes Path 1.28.10.1 +56 -2 src/usr.sbin/ypserv/yp_main.c 1.41.10.1 +5 -1 src/usr.sbin/ypserv/ypserv.8 From owner-cvs-src@FreeBSD.ORG Sun Mar 30 19:42:35 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 502B7106566C; Sun, 30 Mar 2008 19:42:35 +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 1A0E28FC12; Sun, 30 Mar 2008 19:42:35 +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 m2UJgZua012267; Sun, 30 Mar 2008 19:42:35 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UJgZcl012266; Sun, 30 Mar 2008 19:42:35 GMT (envelope-from matteo) Message-Id: <200803301942.m2UJgZcl012266@repoman.freebsd.org> From: Matteo Riondato Date: Sun, 30 Mar 2008 19:42:35 +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/mount 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: Sun, 30 Mar 2008 19:42:35 -0000 matteo 2008-03-30 19:42:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/mount mount.c Log: MFC rev. 1.97-1.98 Fix printing of unionfs mounts when using the -p option Fix mount -p and mount -u -ocurrent on gjournaled FS PR: bin/75585, bin/120162 Revision Changes Path 1.96.2.1 +8 -3 src/sbin/mount/mount.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 19:57:24 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A2B3106566B; Sun, 30 Mar 2008 19:57:24 +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 030538FC1C; Sun, 30 Mar 2008 19:57:24 +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 m2UJvNuM012699; Sun, 30 Mar 2008 19:57:23 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UJvN90012698; Sun, 30 Mar 2008 19:57:23 GMT (envelope-from matteo) Message-Id: <200803301957.m2UJvN90012698@repoman.freebsd.org> From: Matteo Riondato Date: Sun, 30 Mar 2008 19:57:23 +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/librpcsvc xcrypt.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, 30 Mar 2008 19:57:24 -0000 matteo 2008-03-30 19:57:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/librpcsvc xcrypt.c Log: MFC rev. 1.6 Fix incorrect handling of malloc failures PR: bin/83369 Revision Changes Path 1.5.10.1 +6 -2 src/lib/librpcsvc/xcrypt.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:01:50 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7A91106564A; Sun, 30 Mar 2008 20:01:50 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B0B8B8FC18; Sun, 30 Mar 2008 20:01:50 +0000 (UTC) (envelope-from das@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 m2UK1oTl012910; Sun, 30 Mar 2008 20:01:50 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK1o1R012909; Sun, 30 Mar 2008 20:01:50 GMT (envelope-from das) Message-Id: <200803302001.m2UK1o1R012909@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20: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/lib/msun/src e_hypotl.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, 30 Mar 2008 20:01:51 -0000 das 2008-03-30 20:01:50 UTC FreeBSD src repository Added files: lib/msun/src e_hypotl.c Log: Implement hypotl(). This is bde's conversion of fdlibm hypot(), with minor fixes for ld128 by me. Revision Changes Path 1.1 +139 -0 src/lib/msun/src/e_hypotl.c (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:02:03 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D02861065672; Sun, 30 Mar 2008 20:02:03 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9917F8FC25; Sun, 30 Mar 2008 20:02:03 +0000 (UTC) (envelope-from das@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 m2UK23TX012944; Sun, 30 Mar 2008 20:02:03 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK23gc012943; Sun, 30 Mar 2008 20:02:03 GMT (envelope-from das) Message-Id: <200803302002.m2UK23gc012943@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:02: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/lib/msun/src w_cabsl.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, 30 Mar 2008 20:02:04 -0000 das 2008-03-30 20:02:03 UTC FreeBSD src repository Added files: lib/msun/src w_cabsl.c Log: Implement cabsl() in terms of hypotl(). Submitted by: Steve Kargl Revision Changes Path 1.1 +20 -0 src/lib/msun/src/w_cabsl.c (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:03:07 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F9DE1065671; Sun, 30 Mar 2008 20:03:07 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 287E38FC25; Sun, 30 Mar 2008 20:03:07 +0000 (UTC) (envelope-from das@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 m2UK37h7014116; Sun, 30 Mar 2008 20:03:07 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK37KY014115; Sun, 30 Mar 2008 20:03:07 GMT (envelope-from das) Message-Id: <200803302003.m2UK37KY014115@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:03: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/lib/msun/src e_hypot.c w_cabs.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, 30 Mar 2008 20:03:07 -0000 das 2008-03-30 20:03:07 UTC FreeBSD src repository Modified files: lib/msun/src e_hypot.c w_cabs.c Log: Alias hypotl() and cabsl() for platforms where long double is the same as double. Revision Changes Path 1.13 +6 -0 src/lib/msun/src/e_hypot.c 1.7 +6 -2 src/lib/msun/src/w_cabs.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:03:29 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFF2D1065673; Sun, 30 Mar 2008 20:03:29 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A8FFE8FC16; Sun, 30 Mar 2008 20:03:29 +0000 (UTC) (envelope-from das@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 m2UK3Twt014146; Sun, 30 Mar 2008 20:03:29 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK3TEI014145; Sun, 30 Mar 2008 20:03:29 GMT (envelope-from das) Message-Id: <200803302003.m2UK3TEI014145@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:03: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/lib/msun/man hypot.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: Sun, 30 Mar 2008 20:03:30 -0000 das 2008-03-30 20:03:29 UTC FreeBSD src repository Modified files: lib/msun/man hypot.3 Log: Document hypotl(). Submitted by: Steve Kargl Revision Changes Path 1.17 +17 -12 src/lib/msun/man/hypot.3 From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:03:46 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9297E1065677; Sun, 30 Mar 2008 20:03:46 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC658FC1A; Sun, 30 Mar 2008 20:03:46 +0000 (UTC) (envelope-from das@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 m2UK3krr014222; Sun, 30 Mar 2008 20:03:46 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK3kVC014221; Sun, 30 Mar 2008 20:03:46 GMT (envelope-from das) Message-Id: <200803302003.m2UK3kVC014221@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:03: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/msun/src math.h src/lib/msun Makefile Symbol.map src/include complex.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, 30 Mar 2008 20:03:46 -0000 das 2008-03-30 20:03:46 UTC FreeBSD src repository Modified files: lib/msun/src math.h lib/msun Makefile Symbol.map include complex.h Log: Hook hypotl() and cabsl() up to the build. Revision Changes Path 1.9 +2 -1 src/include/complex.h 1.91 +5 -4 src/lib/msun/Makefile 1.16 +2 -0 src/lib/msun/Symbol.map 1.71 +0 -2 src/lib/msun/src/math.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:07:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05F38106564A; Sun, 30 Mar 2008 20:07:16 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C17E58FC12; Sun, 30 Mar 2008 20:07:15 +0000 (UTC) (envelope-from das@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 m2UK7Fvh014448; Sun, 30 Mar 2008 20:07:15 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK7Fox014447; Sun, 30 Mar 2008 20:07:15 GMT (envelope-from das) Message-Id: <200803302007.m2UK7Fox014447@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:07: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/lib/msun/src s_csqrt.c s_csqrtl.c src/lib/msun/man csqrt.3 src/include complex.h src/lib/msun Makefile Symbol.map X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 30 Mar 2008 20:07:16 -0000 das 2008-03-30 20:07:15 UTC FreeBSD src repository Modified files: lib/msun/src s_csqrt.c lib/msun/man csqrt.3 include complex.h lib/msun Makefile Symbol.map Added files: lib/msun/src s_csqrtl.c Log: Implement csqrtl(). Revision Changes Path 1.10 +2 -0 src/include/complex.h 1.92 +2 -2 src/lib/msun/Makefile 1.17 +1 -0 src/lib/msun/Symbol.map 1.2 +19 -11 src/lib/msun/man/csqrt.3 1.3 +5 -0 src/lib/msun/src/s_csqrt.c 1.1 +108 -0 src/lib/msun/src/s_csqrtl.c (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:09:00 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10B051065671; Sun, 30 Mar 2008 20:09:00 +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 CE4188FC12; Sun, 30 Mar 2008 20:08:59 +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 m2UK8xfV014507; Sun, 30 Mar 2008 20:08:59 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK8x0E014506; Sun, 30 Mar 2008 20:08:59 GMT (envelope-from alc) Message-Id: <200803302008.m2UK8x0E014506@repoman.freebsd.org> From: Alan Cox Date: Sun, 30 Mar 2008 20:08: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/vm vm_kern.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, 30 Mar 2008 20:09:00 -0000 alc 2008-03-30 20:08:59 UTC FreeBSD src repository Modified files: sys/vm vm_kern.c Log: Eliminate an unnecessary printf() from kmem_suballoc(). The subsequent panic() can be extended to convey the same information. Revision Changes Path 1.132 +2 -4 src/sys/vm/vm_kern.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:09:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9779A106564A; Sun, 30 Mar 2008 20:09:51 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA188FC27; Sun, 30 Mar 2008 20:09:51 +0000 (UTC) (envelope-from das@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 m2UK9pXn014545; Sun, 30 Mar 2008 20:09:51 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UK9ptv014544; Sun, 30 Mar 2008 20:09:51 GMT (envelope-from das) Message-Id: <200803302009.m2UK9ptv014544@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:09: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/tools/regression/lib/msun test-csqrt.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, 30 Mar 2008 20:09:51 -0000 das 2008-03-30 20:09:51 UTC FreeBSD src repository Modified files: tools/regression/lib/msun test-csqrt.c Log: Add some minimal tests for csqrtl(). Revision Changes Path 1.2 +85 -56 src/tools/regression/lib/msun/test-csqrt.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:47:26 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6337106566C; Sun, 30 Mar 2008 20:47:26 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7DBA28FC17; Sun, 30 Mar 2008 20:47:26 +0000 (UTC) (envelope-from das@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 m2UKlQmq025037; Sun, 30 Mar 2008 20:47:26 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UKlQd9025036; Sun, 30 Mar 2008 20:47:26 GMT (envelope-from das) Message-Id: <200803302047.m2UKlQd9025036@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20: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/lib/msun/src s_remquo.c s_remquol.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, 30 Mar 2008 20:47:26 -0000 das 2008-03-30 20:47:26 UTC FreeBSD src repository Modified files: lib/msun/src s_remquo.c Added files: lib/msun/src s_remquol.c Log: Implement remquol() based on remquo(). Revision Changes Path 1.2 +6 -0 src/lib/msun/src/s_remquo.c 1.1 +177 -0 src/lib/msun/src/s_remquol.c (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:47:42 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9F231065670; Sun, 30 Mar 2008 20:47:42 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 824208FC16; Sun, 30 Mar 2008 20:47:42 +0000 (UTC) (envelope-from das@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 m2UKlgFa025073; Sun, 30 Mar 2008 20:47:42 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UKlgUo025072; Sun, 30 Mar 2008 20:47:42 GMT (envelope-from das) Message-Id: <200803302047.m2UKlgUo025072@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:47: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/msun/src e_remainder.c e_remainderl.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, 30 Mar 2008 20:47:42 -0000 das 2008-03-30 20:47:42 UTC FreeBSD src repository Modified files: lib/msun/src e_remainder.c Added files: lib/msun/src e_remainderl.c Log: Implement remainderl() as a wrapper around remquol(). The extra work remquol() performs to compute the quotient is negligible. Revision Changes Path 1.12 +6 -0 src/lib/msun/src/e_remainder.c 1.1 +38 -0 src/lib/msun/src/e_remainderl.c (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:48:02 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AE47106564A; Sun, 30 Mar 2008 20:48:02 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 51F6D8FC29; Sun, 30 Mar 2008 20:48:02 +0000 (UTC) (envelope-from das@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 m2UKm2Pm025150; Sun, 30 Mar 2008 20:48:02 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UKm2xD025149; Sun, 30 Mar 2008 20:48:02 GMT (envelope-from das) Message-Id: <200803302048.m2UKm2xD025149@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:48:02 +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/msun/src math.h src/lib/msun/man remainder.3 src/lib/msun Makefile Symbol.map X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 30 Mar 2008 20:48:02 -0000 das 2008-03-30 20:48:02 UTC FreeBSD src repository Modified files: lib/msun/src math.h lib/msun/man remainder.3 lib/msun Makefile Symbol.map Log: Hook remquol() and remainderl() up to the build. Revision Changes Path 1.93 +6 -4 src/lib/msun/Makefile 1.18 +2 -0 src/lib/msun/Symbol.map 1.6 +24 -7 src/lib/msun/man/remainder.3 1.72 +1 -1 src/lib/msun/src/math.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 20:48:34 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 100F7106566C; Sun, 30 Mar 2008 20:48:34 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CBC1E8FC14; Sun, 30 Mar 2008 20:48:33 +0000 (UTC) (envelope-from das@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 m2UKmXnd025186; Sun, 30 Mar 2008 20:48:33 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UKmXd5025185; Sun, 30 Mar 2008 20:48:33 GMT (envelope-from das) Message-Id: <200803302048.m2UKmXd5025185@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 20:48: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: src/tools/regression/lib/msun test-rem.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, 30 Mar 2008 20:48:34 -0000 das 2008-03-30 20:48:33 UTC FreeBSD src repository Modified files: tools/regression/lib/msun test-rem.c Log: Test remainderl() and remquol() as well. Revision Changes Path 1.3 +34 -4 src/tools/regression/lib/msun/test-rem.c From owner-cvs-src@FreeBSD.ORG Sun Mar 30 21:21:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEF38106564A; Sun, 30 Mar 2008 21:21:53 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC0A8FC12; Sun, 30 Mar 2008 21:21:53 +0000 (UTC) (envelope-from das@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 m2ULLriB027532; Sun, 30 Mar 2008 21:21:53 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2ULLrMI027531; Sun, 30 Mar 2008 21:21:53 GMT (envelope-from das) Message-Id: <200803302121.m2ULLrMI027531@repoman.freebsd.org> From: David Schultz Date: Sun, 30 Mar 2008 21:21: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/lib/msun/amd64 Makefile.inc e_remainderl.S s_remquol.S src/lib/msun/i387 Makefile.inc e_remainderl.S s_remquol.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 30 Mar 2008 21:21:53 -0000 das 2008-03-30 21:21:53 UTC FreeBSD src repository Modified files: lib/msun/amd64 Makefile.inc lib/msun/i387 Makefile.inc Added files: lib/msun/amd64 e_remainderl.S s_remquol.S lib/msun/i387 e_remainderl.S s_remquol.S Log: Add assembly versions of remquol() and remainderl(). Revision Changes Path 1.10 +4 -2 src/lib/msun/amd64/Makefile.inc 1.1 +48 -0 src/lib/msun/amd64/e_remainderl.S (new) 1.1 +62 -0 src/lib/msun/amd64/s_remquol.S (new) 1.13 +3 -2 src/lib/msun/i387/Makefile.inc 1.1 +48 -0 src/lib/msun/i387/e_remainderl.S (new) 1.1 +63 -0 src/lib/msun/i387/s_remquol.S (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 23:09:14 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADA1B106564A; Sun, 30 Mar 2008 23:09:14 +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 8C72F8FC12; Sun, 30 Mar 2008 23:09:14 +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 m2UN9ESq033531; Sun, 30 Mar 2008 23:09:14 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2UN9EoE033530; Sun, 30 Mar 2008 23:09:14 GMT (envelope-from marcel) Message-Id: <200803302309.m2UN9EoE033530@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 30 Mar 2008 23:09: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/ia64/ia64 elf_machdep.c machdep.c pmap.c src/sys/ia64/include md_var.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, 30 Mar 2008 23:09:14 -0000 marcel 2008-03-30 23:09:14 UTC FreeBSD src repository Modified files: sys/ia64/ia64 elf_machdep.c machdep.c pmap.c sys/ia64/include md_var.h Log: Better implement I-cache invalidation. The previous implementation was a kluge. This implementation matches the behaviour on powerpc and sparc64. While on the subject, make sure to invalidate the I-cache after loading a kernel module. MFC after: 2 weeks Revision Changes Path 1.25 +4 -0 src/sys/ia64/ia64/elf_machdep.c 1.235 +18 -5 src/sys/ia64/ia64/machdep.c 1.198 +37 -84 src/sys/ia64/ia64/pmap.c 1.28 +1 -0 src/sys/ia64/include/md_var.h From owner-cvs-src@FreeBSD.ORG Sun Mar 30 23:27:34 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 208931065670; Sun, 30 Mar 2008 23:27:34 +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 E0E9D8FC17; Sun, 30 Mar 2008 23:27:33 +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 m2UNRBiq026796; Sun, 30 Mar 2008 16:27:11 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.1/Submit) id m2UNRA2e026795; Sun, 30 Mar 2008 16:27:10 -0700 (PDT) (envelope-from obrien) Date: Sun, 30 Mar 2008 16:27:10 -0700 From: "David O'Brien" To: Dag-Erling =?unknown-8bit?B?U23DuHJncmF2?= Message-ID: <20080330232710.GA26455@dragon.NUXI.org> References: <200803131852.m2DIqkw3095857@repoman.freebsd.org> <20080314003205.GA94057@dragon.NUXI.org> <20080319133906.GA3872@fnop.net> <867ifoaulz.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <867ifoaulz.fsf@ds4.des.no> X-Operating-System: FreeBSD 8.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Rui Paulo , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, "Sean C. Farley" Subject: Re: cvs commit: src/tools/tools/editing freebsd.vim 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: Sun, 30 Mar 2008 23:27:34 -0000 On Thu, Mar 27, 2008 at 07:29:28PM +0100, Dag-Erling Smrgrav wrote: > > I think this should be mentioned in the developer's handbook because, > > IIRC, the sample .emacs file in there is bogus and doesn't really > > respect style(9). DES, This is what should be committed? Index: freebsd.el =================================================================== RCS file: /home/ncvs/src/tools/tools/editing/freebsd.el,v retrieving revision 1.1 diff -u -p -r1.1 freebsd.el --- freebsd.el 15 Dec 1998 16:51:49 -0000 1.1 +++ freebsd.el 30 Mar 2008 23:26:42 -0000 @@ -22,7 +22,7 @@ ;;; As long as you don't have this in the c-mode hook you can edit GNU ;;; and BSD style C sources within one emacs session with no problem. ;;; -;;; Please report problems and additions directly to cracauer@freebsd.org +;;; Please report problems and additions via 'send-pr' (defun bsd () (interactive) (c-set-style "bsd") @@ -34,7 +34,22 @@ (c-set-offset 'statement-case-intro 8) (c-set-offset 'substatement-open 4) (c-set-offset 'substatement 8) - (c-set-offset 'arglist-cont-nonempty 4) (c-set-offset 'inclass 8) (c-set-offset 'knr-argdecl-intro 8) + + ;; Basic indent is 8 spaces + (setq c-basic-offset 8) + (setq tab-width 8) + + ;; Continuation lines are indented 4 spaces + (c-set-offset 'arglist-cont 4) + (c-set-offset 'arglist-cont-nonempty 4) + (c-set-offset 'statement-cont 4) + (c-set-offset 'cpp-macro-cont 8) + + ;; Labels are flush to the left + (c-set-offset 'label [0]) + + ;; Fill column + (setq fill-column 74)) ) From owner-cvs-src@FreeBSD.ORG Sun Mar 30 23:58:12 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0788C106564A; Sun, 30 Mar 2008 23:58:12 +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 CB5BB8FC1F; Sun, 30 Mar 2008 23:58:11 +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 m2UNwBDU027554; Sun, 30 Mar 2008 16:58:11 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.1/Submit) id m2UNwBpt027553; Sun, 30 Mar 2008 16:58:11 -0700 (PDT) (envelope-from obrien) Date: Sun, 30 Mar 2008 16:58:11 -0700 From: "David O'Brien" To: John Birrell Message-ID: <20080330235811.GA23907@dragon.NUXI.org> References: <200803282147.m2SLlC0R038334@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803282147.m2SLlC0R038334@repoman.freebsd.org> X-Operating-System: FreeBSD 8.0-CURRENT 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: CVSROOT exclude 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: Sun, 30 Mar 2008 23:58:12 -0000 On Fri, Mar 28, 2008 at 09:47:11PM +0000, John Birrell wrote: > jb 2008-03-28 21:47:11 UTC > > FreeBSD src repository > > Modified files: > . exclude > Log: > Add the new CDDL paths which contain external src without FreeBSD IDs. Why are these being excluded? The repo-copy put them in place, and after that they should have $FreeBSD$ ID's as you've told me they are modified from the vendor sources. -- -- David (obrien@FreeBSD.org) From owner-cvs-src@FreeBSD.ORG Mon Mar 31 00:21:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 011FA106566C; Mon, 31 Mar 2008 00:21:10 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id BA3B78FC12; Mon, 31 Mar 2008 00:21:09 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 7ED1273302; Mon, 31 Mar 2008 00:21:08 +0000 (GMT) Date: Mon, 31 Mar 2008 00:21:08 +0000 From: John Birrell To: David O'Brien Message-ID: <20080331002108.GC61720@what-creek.com> References: <200803282147.m2SLlC0R038334@repoman.freebsd.org> <20080330235811.GA23907@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080330235811.GA23907@dragon.NUXI.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, John Birrell , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: CVSROOT exclude X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 00:21:10 -0000 On Sun, Mar 30, 2008 at 04:58:11PM -0700, David O'Brien wrote: > On Fri, Mar 28, 2008 at 09:47:11PM +0000, John Birrell wrote: > > jb 2008-03-28 21:47:11 UTC > > > > FreeBSD src repository > > > > Modified files: > > . exclude > > Log: > > Add the new CDDL paths which contain external src without FreeBSD IDs. > > Why are these being excluded? The repo-copy put them in place, and after > that they should have $FreeBSD$ ID's as you've told me they are modified > from the vendor sources. The repo copy needed a forced commit without other changes. cvs wouldn't let me do that without the entry in the exclude file. -- John Birrell From owner-cvs-src@FreeBSD.ORG Mon Mar 31 02:16:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06481106564A; Mon, 31 Mar 2008 02:16:39 +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 A45E08FC13; Mon, 31 Mar 2008 02:16:38 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id BCEF82087; Mon, 31 Mar 2008 04:16:36 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: obrien@FreeBSD.org References: <200803131852.m2DIqkw3095857@repoman.freebsd.org> <20080314003205.GA94057@dragon.NUXI.org> <20080319133906.GA3872@fnop.net> <867ifoaulz.fsf@ds4.des.no> <20080330232710.GA26455@dragon.NUXI.org> Date: Mon, 31 Mar 2008 04:16:36 +0200 In-Reply-To: <20080330232710.GA26455@dragon.NUXI.org> (David O'Brien's message of "Sun\, 30 Mar 2008 16\:27\:10 -0700") Message-ID: <86fxu7y6wr.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Rui Paulo , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, "Sean C. Farley" Subject: Re: cvs commit: src/tools/tools/editing freebsd.vim X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 02:16:39 -0000 "David O'Brien" writes: > This is what should be committed? No. My code was intended to replace Martin's, not to be merged with it into some kind of Frankenstein's monster. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-cvs-src@FreeBSD.ORG Mon Mar 31 02:55:50 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3AC61065672; Mon, 31 Mar 2008 02:55: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 AA9BA8FC14; Mon, 31 Mar 2008 02:55: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 m2V2toSd053105; Mon, 31 Mar 2008 02:55:50 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V2toJl053104; Mon, 31 Mar 2008 02:55:50 GMT (envelope-from davidxu) Message-Id: <200803310255.m2V2toJl053104@repoman.freebsd.org> From: David Xu Date: Mon, 31 Mar 2008 02:55: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_cond.c thr_private.h thr_rwlock.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, 31 Mar 2008 02:55:51 -0000 davidxu 2008-03-31 02:55:50 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c Log: Rewrite rwlock to user atomic operations to change rwlock state, this eliminates internal mutex lock contention when most rwlock operations are read. Orignal patch provided by: jeff Revision Changes Path 1.24 +53 -0 src/lib/libthr/thread/thr_cond.c 1.86 +5 -1 src/lib/libthr/thread/thr_private.h 1.11 +222 -139 src/lib/libthr/thread/thr_rwlock.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 04:03:15 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69D02106566B; Mon, 31 Mar 2008 04:03: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 3B9F48FC17; Mon, 31 Mar 2008 04:03: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 m2V43ETo057822; Mon, 31 Mar 2008 04:03:14 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V43Ecw057821; Mon, 31 Mar 2008 04:03:14 GMT (envelope-from yongari) Message-Id: <200803310403.m2V43Ecw057821@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 31 Mar 2008 04:03: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/re if_re.c src/sys/pci if_rlreg.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, 31 Mar 2008 04:03:16 -0000 yongari 2008-03-31 04:03:14 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: Padding more bytes than necessary one broke another variants of PCIe RealTek chips. Only pad IP packets if the payload is less than 28 bytes. Obtained from: NetBSD PR: kern/122221 Revision Changes Path 1.113 +1 -1 src/sys/dev/re/if_re.c 1.74 +6 -0 src/sys/pci/if_rlreg.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 04:38:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AC6C106566B; Mon, 31 Mar 2008 04:38:59 +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 416F28FC1A; Mon, 31 Mar 2008 04:38:59 +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 m2V4cwp1059022; Mon, 31 Mar 2008 04:38:58 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V4cwdq059021; Mon, 31 Mar 2008 04:38:58 GMT (envelope-from bmah) Message-Id: <200803310438.m2V4cwdq059021@repoman.freebsd.org> From: "Bruce A. Mah" Date: Mon, 31 Mar 2008 04:38: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/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: Mon, 31 Mar 2008 04:38:59 -0000 bmah 2008-03-31 04:38:58 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: New release notes: kern.features, superpages, em(4)/igb split, malo(4), mxge firmware 1.4.29 update, bpf(4) zerocopy, kgdb(1) add-kld, procstat(1), realpath(1) -q (+MFC), top(1) -P, hostapd 0.5.10, WPA supplicant 0.5.10, GNOME 2.22 (+MFC). Modified release notes: Add cpuset(2) manpage reference, make wpi(4) note reflect reality, tzdata2008b. MFCs noted: ddb(4) output capture, ddb(4) scripting. Revision Changes Path 1.1082 +59 -7 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Mon Mar 31 04:46:48 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7BB91065676 for ; Mon, 31 Mar 2008 04:46:48 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF8A8FC1D for ; Mon, 31 Mar 2008 04:46:48 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 26146 invoked by uid 399); 31 Mar 2008 04:54:02 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 31 Mar 2008 04:54:02 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <47F06CB4.6070003@FreeBSD.org> Date: Sun, 30 Mar 2008 21:46:44 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200803191444.m2JEitqg025260@repoman.freebsd.org> <47E14BC1.2020507@FreeBSD.org> <86k5job0nq.fsf@ds4.des.no> In-Reply-To: <86k5job0nq.fsf@ds4.des.no> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Pawel Jakub Dawidek , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d zfs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 04:46:48 -0000 Dag-Erling Smørgrav wrote: > Doug Barton writes: >> Pawel Jakub Dawidek wrote: >>> Log: >>> Be sure to run rc.d/zfs before mountcritremote. This way we can >>> for example configure devfs rules in /etc/devfs.conf for ZVOLs. >> mountcritremote REQUIREs FILESYSTEMS, and that script REQUIREs zfs. >> Under what circumstances would the BEFORE that you added be relevant? > > Seconded - this change is meaningless, you might as well back it out. > > DES Pawel, It's been well over a week since you committed this and I questioned the need for it. As far as I can see you haven't responded to that query, or Des' query above. Since you are normally fairly responsive to e-mail I'm going to assume that you are away from e-mail, so I plan to back this out tomorrow if I haven't heard from you. Doug -- This .signature sanitized for your protection From owner-cvs-src@FreeBSD.ORG Mon Mar 31 05:06:02 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78759106564A; Mon, 31 Mar 2008 05:06: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 529C48FC1E; Mon, 31 Mar 2008 05:06: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 m2V562q2070146; Mon, 31 Mar 2008 05:06:02 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V561ot070145; Mon, 31 Mar 2008 05:06:01 GMT (envelope-from bmah) Message-Id: <200803310506.m2V561ot070145@repoman.freebsd.org> From: "Bruce A. Mah" Date: Mon, 31 Mar 2008 05:06: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/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: Mon, 31 Mar 2008 05:06:02 -0000 bmah 2008-03-31 05:06:00 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: MFCs noted: BTX real mode, TCP options processing fix, hptrr 1.2. Revision Changes Path 1.1083 +3 -3 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Mon Mar 31 05:12:37 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 140F8106564A; Mon, 31 Mar 2008 05:12: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 E31A88FC1D; Mon, 31 Mar 2008 05:12:36 +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 m2V5CaB4070418; Mon, 31 Mar 2008 05:12:36 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V5CaCT070417; Mon, 31 Mar 2008 05:12:36 GMT (envelope-from bmah) Message-Id: <200803310512.m2V5CaCT070417@repoman.freebsd.org> From: "Bruce A. Mah" Date: Mon, 31 Mar 2008 05:12: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: Mon, 31 Mar 2008 05:12:37 -0000 bmah 2008-03-31 05:12:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/relnotes article.sgml Log: MFC: ddb(4) output capture, ddb(4) scripting, BTX real mode, gptboot, wpi(4) fixes, hptrr(4) 1.2 update, chflags(1) -v, realpath(1) -q, tzdata2008b, GNOME 2.22. Revision Changes Path 1.1068.2.23 +46 -6 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Mon Mar 31 06:20:46 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F021B106566C; Mon, 31 Mar 2008 06:20:46 +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 D29D98FC30; Mon, 31 Mar 2008 06:20:46 +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 m2V6KkoU074013; Mon, 31 Mar 2008 06:20:46 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V6KkCp074012; Mon, 31 Mar 2008 06:20:46 GMT (envelope-from kientzle) Message-Id: <200803310620.m2V6KkCp074012@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 31 Mar 2008 06:20: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.bin/tar COPYING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 06:20:47 -0000 kientzle 2008-03-31 06:20:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/tar COPYING Log: Include Guido's license information from the pattern-matching code. Revision Changes Path 1.1.8.2 +36 -1 src/usr.bin/tar/COPYING From owner-cvs-src@FreeBSD.ORG Mon Mar 31 06:24:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9476E1065671; Mon, 31 Mar 2008 06:24:39 +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 772C18FC1A; Mon, 31 Mar 2008 06:24:39 +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 m2V6OdQE074196; Mon, 31 Mar 2008 06:24:39 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V6OdkD074195; Mon, 31 Mar 2008 06:24:39 GMT (envelope-from kientzle) Message-Id: <200803310624.m2V6OdkD074195@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 31 Mar 2008 06:24: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/libarchive archive_entry_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: Mon, 31 Mar 2008 06:24:39 -0000 kientzle 2008-03-31 06:24:39 UTC FreeBSD src repository Modified files: lib/libarchive archive_entry_private.h Log: Include an extra byte for the trailing NUL. Pointy hat: Me Revision Changes Path 1.3 +1 -1 src/lib/libarchive/archive_entry_private.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 06:49:04 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B913106566B; Mon, 31 Mar 2008 06:49:04 +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 301B68FC15; Mon, 31 Mar 2008 06:49:04 +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 m2V6n3RH075156; Mon, 31 Mar 2008 06:49:03 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V6n322075155; Mon, 31 Mar 2008 06:49:03 GMT (envelope-from matteo) Message-Id: <200803310649.m2V6n322075155@repoman.freebsd.org> From: Matteo Riondato Date: Mon, 31 Mar 2008 06:49: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/tools/tools/crypto cryptostats.c cryptotest.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, 31 Mar 2008 06:49:04 -0000 matteo 2008-03-31 06:49:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) tools/tools/crypto cryptostats.c cryptotest.c Log: MFC rev. 1.10 of cryptotest.c and rev. 1.3 of cryptostats.c Add missing includes and correct argument to sysctlbyname PR: misc/120274 Revision Changes Path 1.2.22.1 +3 -1 src/tools/tools/crypto/cryptostats.c 1.9.2.1 +1 -0 src/tools/tools/crypto/cryptotest.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 07:32:18 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57982106564A for ; Mon, 31 Mar 2008 07:32:18 +0000 (UTC) (envelope-from peter@wemm.org) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 2EC228FC13 for ; Mon, 31 Mar 2008 07:32:18 +0000 (UTC) (envelope-from peter@wemm.org) Received: by an-out-0708.google.com with SMTP id c14so426750anc.13 for ; Mon, 31 Mar 2008 00:32:12 -0700 (PDT) Received: by 10.100.32.8 with SMTP id f8mr15175113anf.29.1206948732039; Mon, 31 Mar 2008 00:32:12 -0700 (PDT) Received: by 10.100.8.6 with HTTP; Mon, 31 Mar 2008 00:32:11 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 00:32:11 -0700 From: "Peter Wemm" To: "David Christensen" In-Reply-To: <200802220046.m1M0kMPM008814@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802220046.m1M0kMPM008814@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/bce if_bce.c if_bcefw.h if_bcereg.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, 31 Mar 2008 07:32:18 -0000 On Thu, Feb 21, 2008 at 5:46 PM, David Christensen wrote: > Modified files: > sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h > Log: > MFC after: 4 weeks > > - Added loose RX MTU functionality to allow frames larger than 1500 bytes > to be accepted even though the interface MTU is set to 1500. > - Implemented new TCP header splitting/jumbo frame support which uses > two chains for receive traffic rather than the original single recevie > chain. > - Added additional debug support code. > > Revision Changes Path > 1.36 +1559 -675 src/sys/dev/bce/if_bce.c > 1.5 +6179 -4850 src/sys/dev/bce/if_bcefw.h > 1.17 +264 -55 src/sys/dev/bce/if_bcereg.h This has been devastating on the freebsd.org cluster. Attached are three test runs. I've done a cold reboot, then 'cd /usr/src/sys' and doing a 'cvs -Rq update' where the CVSROOT is over nfs. First, the old driver: svn# time cvs -Rq up 0.890u 4.577s 1:14.48 7.3% 669+2315k 7379+0io 10094pf+0w Now, the same test again, but with this change included in the kernel: svn# time cvs -Rq up 0.940u 359.906s 7:01.04 85.7% 648+2242k 7365+0io 10082pf+0w Note the massive increase (nearly 100 times increase) in system time, and the almost 7-fold increase in wall clock time. Turning on promisc mode helps a lot, but doesn't solve it. (This was found when ps@ was using tcpdump to try and figure out what the problem was) Here's the same test, with the new driver, and promisc mode on: svn# ifconfig bce0 promisc svn# time cvs -Rq up 0.967u 50.919s 2:13.97 38.7% 650+2250k 7379+0io 10094pf+0w It is better.. Only double the wall clock time, but still over 10 times as much system time. So please, don't MFC until this is solved.. The bce entries from the Dell 2950 that we see this on.. (one of 12 identical machines in the freebsd.org cluster) bce0: mem 0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci9 miibus0: on bce0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bce0: Ethernet address: 00:1c:23:dd:0a:a3 bce0: [ITHREAD] bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x02090105); Flags( MFW MSI ) bce1: mem 0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci5 miibus1: on bce1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bce1: Ethernet address: 00:1c:23:dd:0a:a1 bce1: [ITHREAD] bce1: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); F/W (0x02090105); Flags( MFW MSI ) -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell **WANTED TO BUY: Garmin Streetpilot 2650 or 2660. Not later model! ** From owner-cvs-src@FreeBSD.ORG Mon Mar 31 07:47:08 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC208106566C; Mon, 31 Mar 2008 07:47:08 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BFBBC8FC15; Mon, 31 Mar 2008 07:47:08 +0000 (UTC) (envelope-from jeff@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 m2V7l8xc078263; Mon, 31 Mar 2008 07:47:08 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V7l8pk078262; Mon, 31 Mar 2008 07:47:08 GMT (envelope-from jeff) Message-Id: <200803310747.m2V7l8pk078262@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 31 Mar 2008 07:47: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/ufs/ffs ffs_snapshot.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, 31 Mar 2008 07:47:08 -0000 jeff 2008-03-31 07:47:08 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: - Don't free snapdata structures when they are no longer in use. Keeping the lockmgr lock valid allows us to switch the v_lock pointer in snapshot vnodes between the embedded lockmgr lock and snapdata lock without needing the vnode interlock to protect against races - Keep unused snapdata structures in a list. - Add a function to lock the devvp and allocate a snapdata to it or acquire a new one without races. The old function was safe from creation races because we set the mount flag when creating snapshots and thus serializing them. However, it might have been subject to destroying races. Reviewed by: tegge Revision Changes Path 1.142 +109 -67 src/sys/ufs/ffs/ffs_snapshot.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 07:55:45 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86770106566B; Mon, 31 Mar 2008 07:55:45 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8ACDB8FC12; Mon, 31 Mar 2008 07:55:45 +0000 (UTC) (envelope-from jeff@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 m2V7tj4K078640; Mon, 31 Mar 2008 07:55:45 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2V7tjKX078639; Mon, 31 Mar 2008 07:55:45 GMT (envelope-from jeff) Message-Id: <200803310755.m2V7tjKX078639@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 31 Mar 2008 07:55: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/ufs/ffs ffs_vnops.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, 31 Mar 2008 07:55:45 -0000 jeff 2008-03-31 07:55:45 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vnops.c Log: - Since rev 1.142 of ffs_snapshot.c the interlock has not been required to protect the v_lock pointer. Removing the interlock acquisition here allows vn_lock() to proceed without requiring the interlock at all. - If the lock mutated while we were sleeping on it the interlock has been dropped. It is conceivable that the upper layer code was relying on the interlock and LK_NOWAIT to protect the identity or state of the vnode while acquiring the lock. In this case return EBUSY rather than trying the new lock to prevent potential races. Reviewed by: tegge Revision Changes Path 1.182 +4 -11 src/sys/ufs/ffs/ffs_vnops.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 08:18:03 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32971106566B; Mon, 31 Mar 2008 08:18:03 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2EE8FC1E; Mon, 31 Mar 2008 08:18:02 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 793C746B08; Mon, 31 Mar 2008 04:18:02 -0400 (EDT) Date: Mon, 31 Mar 2008 09:18:02 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: David Xu In-Reply-To: <200803310255.m2V2toJl053104@repoman.freebsd.org> Message-ID: <20080331091732.V73594@fledge.watson.org> References: <200803310255.m2V2toJl053104@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_cond.c thr_private.h thr_rwlock.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, 31 Mar 2008 08:18:03 -0000 On Mon, 31 Mar 2008, David Xu wrote: > davidxu 2008-03-31 02:55:50 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c > Log: > Rewrite rwlock to user atomic operations to change rwlock state, this > eliminates internal mutex lock contention when most rwlock operations > are read. > > Orignal patch provided by: jeff Do you have MFC plans for this change? It would be great to see this hit RELENG_7 before 7.1, assuming it settles out well. Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Mon Mar 31 08:55:21 2008 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 AAAC51065676; Mon, 31 Mar 2008 08:55:21 +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 AEE718FC1A; Mon, 31 Mar 2008 08:55:21 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from apple.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2V8tDwY066041; Mon, 31 Mar 2008 08:55:18 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47F0A747.80209@freebsd.org> Date: Mon, 31 Mar 2008 16:56:39 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Robert Watson References: <200803310255.m2V2toJl053104@repoman.freebsd.org> <20080331091732.V73594@fledge.watson.org> In-Reply-To: <20080331091732.V73594@fledge.watson.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/lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.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, 31 Mar 2008 08:55:22 -0000 Robert Watson wrote: > > On Mon, 31 Mar 2008, David Xu wrote: > >> davidxu 2008-03-31 02:55:50 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c >> Log: >> Rewrite rwlock to user atomic operations to change rwlock state, this >> eliminates internal mutex lock contention when most rwlock operations >> are read. >> >> Orignal patch provided by: jeff > > Do you have MFC plans for this change? It would be great to see this > hit RELENG_7 before 7.1, assuming it settles out well. > Yes, I have plan to MFC it. > Robert N M Watson > Computer Laboratory > University of Cambridge > Regards, David Xu From owner-cvs-src@FreeBSD.ORG Mon Mar 31 10:06:13 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A3A71065672; Mon, 31 Mar 2008 10:06:13 +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 020438FC17; Mon, 31 Mar 2008 10:06:13 +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 m2VA6Cl4096237; Mon, 31 Mar 2008 10:06:12 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VA6Cl5096236; Mon, 31 Mar 2008 10:06:12 GMT (envelope-from ru) Message-Id: <200803311006.m2VA6Cl5096236@repoman.freebsd.org> From: Ruslan Ermilov Date: Mon, 31 Mar 2008 10:06: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/usr.bin/make for.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, 31 Mar 2008 10:06:13 -0000 ru 2008-03-31 10:06:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/make for.c Log: MFC: 1.44: Fix splitting into words of the .for expression to allow for spaces in values. Revision Changes Path 1.43.10.1 +8 -22 src/usr.bin/make/for.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 10:28:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94FBF106564A; Mon, 31 Mar 2008 10:28:10 +0000 (UTC) (envelope-from ganbold@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 741278FC13; Mon, 31 Mar 2008 10:28:10 +0000 (UTC) (envelope-from ganbold@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 m2VASAuH097069; Mon, 31 Mar 2008 10:28:10 GMT (envelope-from ganbold@repoman.freebsd.org) Received: (from ganbold@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VASAxD097068; Mon, 31 Mar 2008 10:28:10 GMT (envelope-from ganbold) Message-Id: <200803311028.m2VASAxD097068@repoman.freebsd.org> From: Ganbold Tsagaankhuu Date: Mon, 31 Mar 2008 10:28: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/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: Mon, 31 Mar 2008 10:28:10 -0000 ganbold 2008-03-31 10:28:09 UTC FreeBSD src repository (doc committer) Modified files: games/fortune/datfiles fortunes Log: Improve some quotes of Chinggis Khan. Remove militant and moralized quotes of Chinggis Khan. Add one more quote of Chinggis Khan. Reviewed by: yar Approved by: keramida(mentor) Revision Changes Path 1.259 +37 -56 src/games/fortune/datfiles/fortunes From owner-cvs-src@FreeBSD.ORG Mon Mar 31 11:53:03 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D2921065675; Mon, 31 Mar 2008 11:53:03 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 461448FC18; Mon, 31 Mar 2008 11:53:03 +0000 (UTC) (envelope-from kib@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 m2VBr3bF002625; Mon, 31 Mar 2008 11:53:03 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VBr3sZ002624; Mon, 31 Mar 2008 11:53:03 GMT (envelope-from kib) Message-Id: <200803311153.m2VBr3sZ002624@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 11:53: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/sys/kern vfs_cache.c src/sys/sys vnode.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, 31 Mar 2008 11:53:03 -0000 kib 2008-03-31 11:53:03 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c sys/sys vnode.h Log: Add the utility function vn_commname() to retrieve the command name from the vfs namecache, when available. Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.120 +19 -0 src/sys/kern/vfs_cache.c 1.334 +1 -0 src/sys/sys/vnode.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 11:55:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 847D0106564A; Mon, 31 Mar 2008 11:55:10 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5E5CB8FC23; Mon, 31 Mar 2008 11:55:10 +0000 (UTC) (envelope-from kib@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 m2VBtAcd002741; Mon, 31 Mar 2008 11:55:10 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VBtApb002740; Mon, 31 Mar 2008 11:55:10 GMT (envelope-from kib) Message-Id: <200803311155.m2VBtApb002740@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 11:55: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/sys fcntl.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, 31 Mar 2008 11:55:10 -0000 kib 2008-03-31 11:55:10 UTC FreeBSD src repository Modified files: sys/sys fcntl.h Log: Add the constant definition needed by the implementation of the openat() and the related syscalls. Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.20 +27 -1 src/sys/sys/fcntl.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 11:57:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 433521065677; Mon, 31 Mar 2008 11:57:19 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1C71E8FC2D; Mon, 31 Mar 2008 11:57:19 +0000 (UTC) (envelope-from kib@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 m2VBvIHT002894; Mon, 31 Mar 2008 11:57:18 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VBvIEj002893; Mon, 31 Mar 2008 11:57:18 GMT (envelope-from kib) Message-Id: <200803311157.m2VBvIEj002893@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 11:57:18 +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 vfs_syscalls.c vfs_vnops.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, 31 Mar 2008 11:57:19 -0000 kib 2008-03-31 11:57:18 UTC FreeBSD src repository Modified files: sys/kern vfs_syscalls.c vfs_vnops.c Log: Add the support for the O_EXEC open(2) mode, as specified by the POSIX Extended API Set Part 2 extension specification. Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.451 +12 -2 src/sys/kern/vfs_syscalls.c 1.261 +2 -0 src/sys/kern/vfs_vnops.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:01:21 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE49C106564A; Mon, 31 Mar 2008 12:01:21 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DE3538FC19; Mon, 31 Mar 2008 12:01:21 +0000 (UTC) (envelope-from kib@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 m2VC1L01003397; Mon, 31 Mar 2008 12:01:21 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VC1Lwq003396; Mon, 31 Mar 2008 12:01:21 GMT (envelope-from kib) Message-Id: <200803311201.m2VC1Lwq003396@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:01: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/compat/linprocfs linprocfs.c src/sys/compat/linux linux_uid16.c linux_util.c src/sys/compat/pecoff imgact_pecoff.c src/sys/compat/svr4 svr4_sysvec.c src/sys/fs/coda coda_vfsops.c src/sys/fs/msdosfs msdosfs_vfsops.c src/sys/fs/nullfs ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 12:01:22 -0000 kib 2008-03-31 12:01:21 UTC FreeBSD src repository Modified files: sys/compat/linprocfs linprocfs.c sys/compat/linux linux_uid16.c linux_util.c sys/compat/pecoff imgact_pecoff.c sys/compat/svr4 svr4_sysvec.c sys/fs/coda coda_vfsops.c sys/fs/msdosfs msdosfs_vfsops.c sys/fs/nullfs null_vfsops.c sys/fs/unionfs union_vfsops.c sys/i386/ibcs2 ibcs2_util.c sys/i386/linux linux_sysvec.c sys/kern kern_jail.c vfs_acl.c vfs_extattr.c vfs_lookup.c vfs_mount.c sys/security/mac mac_syscalls.c sys/sys namei.h sys/ufs/ffs ffs_snapshot.c Log: Add the support for the AT_FDCWD and fd-relative name lookups to the namei(9). Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.119 +1 -0 src/sys/compat/linprocfs/linprocfs.c 1.23 +1 -0 src/sys/compat/linux/linux_uid16.c 1.33 +1 -0 src/sys/compat/linux/linux_util.c 1.44 +1 -0 src/sys/compat/pecoff/imgact_pecoff.c 1.44 +1 -0 src/sys/compat/svr4/svr4_sysvec.c 1.80 +1 -0 src/sys/fs/coda/coda_vfsops.c 1.188 +1 -0 src/sys/fs/msdosfs/msdosfs_vfsops.c 1.89 +1 -0 src/sys/fs/nullfs/null_vfsops.c 1.91 +1 -0 src/sys/fs/unionfs/union_vfsops.c 1.20 +1 -0 src/sys/i386/ibcs2/ibcs2_util.c 1.153 +1 -0 src/sys/i386/linux/linux_sysvec.c 1.76 +1 -0 src/sys/kern/kern_jail.c 1.58 +1 -0 src/sys/kern/vfs_acl.c 1.435 +1 -0 src/sys/kern/vfs_extattr.c 1.109 +23 -3 src/sys/kern/vfs_lookup.c 1.278 +1 -0 src/sys/kern/vfs_mount.c 1.136 +1 -0 src/sys/security/mac/mac_syscalls.c 1.49 +7 -3 src/sys/sys/namei.h 1.143 +1 -0 src/sys/ufs/ffs/ffs_snapshot.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:04:20 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE4D21065674; Mon, 31 Mar 2008 12:04:20 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 96AED8FC13; Mon, 31 Mar 2008 12:04:20 +0000 (UTC) (envelope-from kib@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 m2VC4Khg004649; Mon, 31 Mar 2008 12:04:20 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VC4KMe004648; Mon, 31 Mar 2008 12:04:20 GMT (envelope-from kib) Message-Id: <200803311204.m2VC4KMe004648@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:04: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/kern vfs_syscalls.c src/sys/sys syscallsubr.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, 31 Mar 2008 12:04:21 -0000 kib 2008-03-31 12:04:20 UTC FreeBSD src repository Modified files: sys/kern vfs_syscalls.c sys/sys syscallsubr.h Log: Implement the openat(2), faccessat(2), fchmodat(2), fchownat(2), fstatat(2), futimesat(2), linkat(2), mkdirat(2), mkfifoat(2), mknodat(2), readlinkat(2), renameat(2), symlinkat(2) syscalls. Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.452 +452 -125 src/sys/kern/vfs_syscalls.c 1.49 +30 -0 src/sys/sys/syscallsubr.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:05:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2E951065685; Mon, 31 Mar 2008 12:05:52 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CC33A8FC34; Mon, 31 Mar 2008 12:05:52 +0000 (UTC) (envelope-from kib@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 m2VC5qxd004859; Mon, 31 Mar 2008 12:05:52 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VC5qoK004858; Mon, 31 Mar 2008 12:05:52 GMT (envelope-from kib) Message-Id: <200803311205.m2VC5qoK004858@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:05: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/sys/kern kern_exec.c src/sys/sys imgact.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, 31 Mar 2008 12:05:53 -0000 kib 2008-03-31 12:05:52 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c sys/sys imgact.h Log: Implement the fexecve(2) syscall. Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.317 +77 -28 src/sys/kern/kern_exec.c 1.41 +1 -0 src/sys/sys/imgact.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:06:56 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47E70106566B; Mon, 31 Mar 2008 12:06:56 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 217F28FC15; Mon, 31 Mar 2008 12:06:56 +0000 (UTC) (envelope-from kib@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 m2VC6teG005030; Mon, 31 Mar 2008 12:06:55 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VC6tjp005029; Mon, 31 Mar 2008 12:06:55 GMT (envelope-from kib) Message-Id: <200803311206.m2VC6tjp005029@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:06: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/kern syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 12:06:56 -0000 kib 2008-03-31 12:06:55 UTC FreeBSD src repository Modified files: sys/kern syscalls.master Log: Add the openat(), fexecve() and other *at() syscalls to the table. Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.242 +28 -1 src/sys/kern/syscalls.master From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:08:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 842AF1065670; Mon, 31 Mar 2008 12:08:30 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5DC108FC23; Mon, 31 Mar 2008 12:08:30 +0000 (UTC) (envelope-from kib@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 m2VC8UIn005927; Mon, 31 Mar 2008 12:08:30 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VC8Usn005926; Mon, 31 Mar 2008 12:08:30 GMT (envelope-from kib) Message-Id: <200803311208.m2VC8Usn005926@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:08: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/sys/compat/freebsd32 freebsd32_misc.c syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 12:08:30 -0000 kib 2008-03-31 12:08:30 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_misc.c syscalls.master Log: Add the freebsd32 compatibility shims for the *at() syscalls. Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.75 +60 -7 src/sys/compat/freebsd32/freebsd32_misc.c 1.100 +30 -0 src/sys/compat/freebsd32/syscalls.master From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:11:01 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 772031065670; Mon, 31 Mar 2008 12:11:01 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0BB8FC14; Mon, 31 Mar 2008 12:11:01 +0000 (UTC) (envelope-from kib@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 m2VCB15r006177; Mon, 31 Mar 2008 12:11:01 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VCB1hW006176; Mon, 31 Mar 2008 12:11:01 GMT (envelope-from kib) Message-Id: <200803311211.m2VCB1hW006176@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:11: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/sys/kern init_sysent.c syscalls.c systrace_args.c src/sys/sys syscall.h syscall.mk sysproto.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, 31 Mar 2008 12:11:01 -0000 kib 2008-03-31 12:11:01 UTC FreeBSD src repository Modified files: sys/kern init_sysent.c syscalls.c systrace_args.c sys/sys syscall.h syscall.mk sysproto.h Log: Regen Revision Changes Path 1.239 +16 -1 src/sys/kern/init_sysent.c 1.223 +16 -1 src/sys/kern/syscalls.c 1.23 +419 -0 src/sys/kern/systrace_args.c 1.220 +17 -2 src/sys/sys/syscall.h 1.175 +17 -2 src/sys/sys/syscall.mk 1.224 +117 -1 src/sys/sys/sysproto.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:12:27 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7AD31065677; Mon, 31 Mar 2008 12:12:27 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C01588FC29; Mon, 31 Mar 2008 12:12:27 +0000 (UTC) (envelope-from kib@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 m2VCCRqF006256; Mon, 31 Mar 2008 12:12:27 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VCCRwL006255; Mon, 31 Mar 2008 12:12:27 GMT (envelope-from kib) Message-Id: <200803311212.m2VCCRwL006255@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:12: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/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.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, 31 Mar 2008 12:12:28 -0000 kib 2008-03-31 12:12:27 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c Log: Regen Revision Changes Path 1.86 +23 -1 src/sys/compat/freebsd32/freebsd32_proto.h 1.84 +17 -2 src/sys/compat/freebsd32/freebsd32_syscall.h 1.75 +16 -1 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.85 +16 -1 src/sys/compat/freebsd32/freebsd32_sysent.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:14:05 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 868AA106566B; Mon, 31 Mar 2008 12:14:05 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7986B8FC1E; Mon, 31 Mar 2008 12:14:05 +0000 (UTC) (envelope-from kib@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 m2VCE5LW006371; Mon, 31 Mar 2008 12:14:05 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VCE5nB006370; Mon, 31 Mar 2008 12:14:05 GMT (envelope-from kib) Message-Id: <200803311214.m2VCE5nB006370@repoman.freebsd.org> From: Konstantin Belousov Date: Mon, 31 Mar 2008 12:14: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/include stdio.h unistd.h src/lib/libc/sys Symbol.map src/sys/sys fcntl.h stat.h time.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, 31 Mar 2008 12:14:05 -0000 kib 2008-03-31 12:14:04 UTC FreeBSD src repository Modified files: include stdio.h unistd.h lib/libc/sys Symbol.map sys/sys fcntl.h stat.h time.h Log: Add the libc glue and headers definitions for the *at() syscalls. Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho Revision Changes Path 1.62 +3 -0 src/include/stdio.h 1.85 +11 -0 src/include/unistd.h 1.13 +18 -0 src/lib/libc/sys/Symbol.map 1.21 +1 -0 src/sys/sys/fcntl.h 1.44 +6 -0 src/sys/sys/stat.h 1.76 +1 -0 src/sys/sys/time.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 12:45:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CBF81065670; Mon, 31 Mar 2008 12:45:19 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1EA3B8FC14; Mon, 31 Mar 2008 12:45:19 +0000 (UTC) (envelope-from flz@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 m2VCjIlM008585; Mon, 31 Mar 2008 12:45:18 GMT (envelope-from flz@repoman.freebsd.org) Received: (from flz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VCjICB008584; Mon, 31 Mar 2008 12:45:18 GMT (envelope-from flz) Message-Id: <200803311245.m2VCjICB008584@repoman.freebsd.org> From: Florent Thoumie Date: Mon, 31 Mar 2008 12:45:18 +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/sign Makefile README check.c common.c extern.h gzip.c gzip.h main.c pgp.h pgp_check.c pgp_sign.c pkg_sign.1 sha1.c sign.c stand.c stand.h x509.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, 31 Mar 2008 12:45:19 -0000 flz 2008-03-31 12:45:18 UTC FreeBSD src repository Modified files: usr.sbin/pkg_install Makefile Removed files: usr.sbin/pkg_install/sign Makefile README check.c common.c extern.h gzip.c gzip.h main.c pgp.h pgp_check.c pgp_sign.c pkg_sign.1 sha1.c sign.c stand.c stand.h x509.c Log: Retire pkg_sign. It was used to embed signatures in gzip'ed packages. It's not relevant since we've changed to bzip2 compression. MFC after: 1 week Revision Changes Path 1.21 +1 -5 src/usr.sbin/pkg_install/Makefile 1.11 +0 -16 src/usr.sbin/pkg_install/sign/Makefile (dead) 1.2 +0 -55 src/usr.sbin/pkg_install/sign/README (dead) 1.3 +0 -119 src/usr.sbin/pkg_install/sign/check.c (dead) 1.3 +0 -90 src/usr.sbin/pkg_install/sign/common.c (dead) 1.4 +0 -100 src/usr.sbin/pkg_install/sign/extern.h (dead) 1.4 +0 -319 src/usr.sbin/pkg_install/sign/gzip.c (dead) 1.4 +0 -95 src/usr.sbin/pkg_install/sign/gzip.h (dead) 1.4 +0 -185 src/usr.sbin/pkg_install/sign/main.c (dead) 1.3 +0 -25 src/usr.sbin/pkg_install/sign/pgp.h (dead) 1.3 +0 -196 src/usr.sbin/pkg_install/sign/pgp_check.c (dead) 1.6 +0 -281 src/usr.sbin/pkg_install/sign/pgp_sign.c (dead) 1.11 +0 -211 src/usr.sbin/pkg_install/sign/pkg_sign.1 (dead) 1.6 +0 -230 src/usr.sbin/pkg_install/sign/sha1.c (dead) 1.6 +0 -150 src/usr.sbin/pkg_install/sign/sign.c (dead) 1.4 +0 -57 src/usr.sbin/pkg_install/sign/stand.c (dead) 1.4 +0 -28 src/usr.sbin/pkg_install/sign/stand.h (dead) 1.6 +0 -428 src/usr.sbin/pkg_install/sign/x509.c (dead) From owner-cvs-src@FreeBSD.ORG Mon Mar 31 13:11:46 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95F291065671; Mon, 31 Mar 2008 13:11:46 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 66F188FC41; Mon, 31 Mar 2008 13:11:46 +0000 (UTC) (envelope-from das@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 m2VDBkX5020708; Mon, 31 Mar 2008 13:11:46 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VDBk2p020707; Mon, 31 Mar 2008 13:11:46 GMT (envelope-from das) Message-Id: <200803311311.m2VDBk2p020707@repoman.freebsd.org> From: David Schultz Date: Mon, 31 Mar 2008 13:11: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/msun/src e_hypotl.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, 31 Mar 2008 13:11:46 -0000 das 2008-03-31 13:11:46 UTC FreeBSD src repository Modified files: lib/msun/src e_hypotl.c Log: Remove a (bogus) remnant of debugging this on sparc64. Revision Changes Path 1.2 +1 -1 src/lib/msun/src/e_hypotl.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 13:25:36 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF6FB1065672 for ; Mon, 31 Mar 2008 13:25:36 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id 78B2C8FC26 for ; Mon, 31 Mar 2008 13:25:36 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from oook.cz (nobody@localhost [127.0.0.1]) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id m2VCwSAD060143; Mon, 31 Mar 2008 14:58:28 +0200 (CEST) (envelope-from pav@FreeBSD.org) From: "Pav Lucistnik" To: Florent Thoumie , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Mon, 31 Mar 2008 14:58:28 +0200 Message-Id: <20080331125802.M816@FreeBSD.org> In-Reply-To: <200803311245.m2VCjICB008584@repoman.freebsd.org> References: <200803311245.m2VCjICB008584@repoman.freebsd.org> X-Mailer: OpenWebMail 2.52 20060502 X-OriginatingIP: 195.122.204.152 (cvs@oook.cz) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 X-Spam-Score: -4.399 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 195.250.144.108 Cc: Subject: Re: cvs commit: src/usr.sbin/pkg_install Makefile src/usr.sbin/pkg_install/sign Makefile README check.c common.c extern.h gzip.c gzip.h main.c pgp.h pgp_check.c pgp_sign.c pkg_sign.1 sha1.c sign.c stand.c stand.h x509.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, 31 Mar 2008 13:25:37 -0000 On Mon, 31 Mar 2008 12:45:18 +0000 (UTC), Florent Thoumie wrote > flz 2008-03-31 12:45:18 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/pkg_install Makefile > Removed files: > usr.sbin/pkg_install/sign Makefile README check.c common.c > extern.h gzip.c gzip.h main.c pgp.h > pgp_check.c pgp_sign.c pkg_sign.1 > sha1.c sign.c stand.c stand.h x509.c > Log: > Retire pkg_sign. It was used to embed signatures in gzip'ed packages. > It's not relevant since we've changed to bzip2 compression. Yay! Is the -lssl -lcrypto needed for anything else? If not, could you yank it out from pkg_install/Makefile.inc ? -- Pav Lucistnik From owner-cvs-src@FreeBSD.ORG Mon Mar 31 13:32:56 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 194971065674; Mon, 31 Mar 2008 13:32:56 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EA34D8FC23; Mon, 31 Mar 2008 13:32:55 +0000 (UTC) (envelope-from pav@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 m2VDWtps021709; Mon, 31 Mar 2008 13:32:55 GMT (envelope-from pav@repoman.freebsd.org) Received: (from pav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VDWtDK021708; Mon, 31 Mar 2008 13:32:55 GMT (envelope-from pav) Message-Id: <200803311332.m2VDWtDK021708@repoman.freebsd.org> From: Pav Lucistnik Date: Mon, 31 Mar 2008 13:32: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 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, 31 Mar 2008 13:32:56 -0000 pav 2008-03-31 13:32:55 UTC FreeBSD src repository (doc,ports committer) Modified files: . Makefile Log: Double up the necessary size of /usr/obj to 800MB PR: misc/99735 Reported by: Philip M. Gollucci , Maxim Konovalov Revision Changes Path 1.347 +1 -1 src/Makefile From owner-cvs-src@FreeBSD.ORG Mon Mar 31 13:56:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E67B1065672; Mon, 31 Mar 2008 13:56:16 +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 5B3528FC13; Mon, 31 Mar 2008 13:56:16 +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 m2VDuGLR025343; Mon, 31 Mar 2008 13:56:16 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VDuGJo025342; Mon, 31 Mar 2008 13:56:16 GMT (envelope-from phk) Message-Id: <200803311356.m2VDuGJo025342@repoman.freebsd.org> From: Poul-Henning Kamp Date: Mon, 31 Mar 2008 13:56: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/usr.sbin/fifolog/fifolog_reader Makefile fifolog_reader.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, 31 Mar 2008 13:56:16 -0000 phk 2008-03-31 13:56:16 UTC FreeBSD src repository Modified files: usr.sbin/fifolog/fifolog_reader Makefile fifolog_reader.c Log: Accept empty -T arguments. Proposed by: clemens fischer Revision Changes Path 1.2 +2 -0 src/usr.sbin/fifolog/fifolog_reader/Makefile 1.2 +3 -1 src/usr.sbin/fifolog/fifolog_reader/fifolog_reader.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 14:11:10 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 183461065671 for ; Mon, 31 Mar 2008 14:11:10 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9293D8FC14 for ; Mon, 31 Mar 2008 14:11:09 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: by rn-out-0910.google.com with SMTP id s46so533001rnb.3 for ; Mon, 31 Mar 2008 07:11:08 -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=QAWx1ErBFcBST8O0j2ggUOzQnNNLCrh0hLkX5Ym3RCg=; b=Ogf8b+lq0TOyiEgOTevjMgM6V6HwgBdMLm3q7PkEUJmibygA3tCVOMk2CHr3D4HM7pgVdztWa3oVCe2oXOOc5qFBXLnf43etgXZVqXd1Miw4r+DjrAhkWKdnd+w8iKC/BlJlYB1HWao6hfA3T23fF9j2OLDU2TgwkcILGdjZvBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=sqA50la55ZBjS0Ro+g098GfkKgDJNMujdq0Rf4ef6fMc8Dom5xADW3iAWettrc/IfTseWit0mJrNea2766AdHOCKeozqciYF5h+PXBhRS1aLpNDP5KGek6PhP0pvWlt9PeOPOxc+gT5X7bdkd3GBd/KFmayNECT75tKv6wDW7Xg= Received: by 10.114.169.2 with SMTP id r2mr9952250wae.118.1206971075902; Mon, 31 Mar 2008 06:44:35 -0700 (PDT) Received: by 10.114.57.4 with HTTP; Mon, 31 Mar 2008 06:44:35 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 14:44:35 +0100 From: "Florent Thoumie" Sender: florent.thoumie@gmail.com To: "Pav Lucistnik" In-Reply-To: <20080331125802.M816@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803311245.m2VCjICB008584@repoman.freebsd.org> <20080331125802.M816@FreeBSD.org> X-Google-Sender-Auth: 67ec9a62927d16c1 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/sign Makefile README check.c common.c extern.h gzip.c gzip.h main.c pgp.h pgp_check.c pgp_sign.c pkg_sign.1 sha1.c sign.c stand.c stand.h x509.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, 31 Mar 2008 14:11:10 -0000 On Mon, Mar 31, 2008 at 1:58 PM, Pav Lucistnik wrote: > On Mon, 31 Mar 2008 12:45:18 +0000 (UTC), Florent Thoumie wrote > > > flz 2008-03-31 12:45:18 UTC > > > > FreeBSD src repository > > > > Modified files: > > usr.sbin/pkg_install Makefile > > Removed files: > > usr.sbin/pkg_install/sign Makefile README check.c common.c > > extern.h gzip.c gzip.h main.c pgp.h > > pgp_check.c pgp_sign.c pkg_sign.1 > > sha1.c sign.c stand.c stand.h x509.c > > Log: > > Retire pkg_sign. It was used to embed signatures in gzip'ed packages. > > It's not relevant since we've changed to bzip2 compression. > > Yay! > > Is the -lssl -lcrypto needed for anything else? If not, could you yank it out > from pkg_install/Makefile.inc ? If it links against libfetch and MK_OPENSSL!=no, it will link against libssl and libcrypto. Now I guess it's just a matter of explicit linking (if you remove those references, it still builds fine). -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer From owner-cvs-src@FreeBSD.ORG Mon Mar 31 14:11:38 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3948E106564A; Mon, 31 Mar 2008 14:11:38 +0000 (UTC) (envelope-from skv@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 171328FC2A; Mon, 31 Mar 2008 14:11:38 +0000 (UTC) (envelope-from skv@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 m2VEBbYB028086; Mon, 31 Mar 2008 14:11:37 GMT (envelope-from skv@repoman.freebsd.org) Received: (from skv@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VEBbb2028085; Mon, 31 Mar 2008 14:11:37 GMT (envelope-from skv) Message-Id: <200803311411.m2VEBbb2028085@repoman.freebsd.org> From: Sergey Skvortsov Date: Mon, 31 Mar 2008 14:11: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/share/man/man8 rc.subr.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, 31 Mar 2008 14:11:38 -0000 skv 2008-03-31 14:11:37 UTC FreeBSD src repository (ports committer) Modified files: share/man/man8 rc.subr.8 Log: Fix punctiation. Approved by: ru Revision Changes Path 1.20 +1 -1 src/share/man/man8/rc.subr.8 From owner-cvs-src@FreeBSD.ORG Mon Mar 31 14:32:07 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5866E106564A; Mon, 31 Mar 2008 14:32:07 +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 5023F8FC17; Mon, 31 Mar 2008 14:32:07 +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 m2VEW7vr031316; Mon, 31 Mar 2008 14:32:07 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VEW7Ha031315; Mon, 31 Mar 2008 14:32:07 GMT (envelope-from emaste) Message-Id: <200803311432.m2VEW7Ha031315@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 14:32: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/dev/aac aac.c aac_cam.c aac_debug.c aac_disk.c aac_pci.c aacvar.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, 31 Mar 2008 14:32:07 -0000 emaste 2008-03-31 14:32:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/aac aac.c aac_cam.c aac_debug.c aac_disk.c aac_pci.c aacvar.h Log: MFC - diff reduction w/ HEAD aac.c 1.131: Diff reduction to Adaptec driver build 15317 (refactoring and code shuffling): - Resource allocation in aac_alloc (moved from from aac_init) - Interrupt setup in aac_setup_intr (from aac_attach) - Container probing in aac_get_container_info (from aac_startup and aac_handle_aif) - Firmware status check moved to aac_check_firmware from aac_init aac.c 1.132, aac_cam.c 1.31, aad_debug.c 1.24, aac_disk.c 1.44, aac_pci.c 1.67, aacvar.h 1.50: Diff reduction to Adaptec's driver (around build 15317): catch up with a change in debugging routines. The fwprintf macro in the AAC_DEBUG case (mapping to printf) isn't from the Adaptec driver. aac.c 1.135: Add \n to the end of a printf string and remove it from panic strings. Revision Changes Path 1.120.2.9 +307 -304 src/sys/dev/aac/aac.c 1.28.2.3 +5 -7 src/sys/dev/aac/aac_cam.c 1.22.2.2 +1 -0 src/sys/dev/aac/aac_debug.c 1.43.10.1 +7 -11 src/sys/dev/aac/aac_disk.c 1.62.2.4 +6 -6 src/sys/dev/aac/aac_pci.c 1.48.2.2 +12 -16 src/sys/dev/aac/aacvar.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 14:44:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACCE01065673; Mon, 31 Mar 2008 14:44:10 +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 8BD998FC16; Mon, 31 Mar 2008 14:44:10 +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 m2VEiAea031853; Mon, 31 Mar 2008 14:44:10 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VEi9oY031852; Mon, 31 Mar 2008 14:44:09 GMT (envelope-from emaste) Message-Id: <200803311444.m2VEi9oY031852@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 14:44:09 +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/aac aac.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, 31 Mar 2008 14:44:10 -0000 emaste 2008-03-31 14:44:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac.c Log: MFC aac.c 1.121: Correct calculation of aac_sg_tablesize. Obtained from: Adaptec, via driver b11669 Revision Changes Path 1.109.2.12 +4 -6 src/sys/dev/aac/aac.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 15:19:32 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D2221065682 for ; Mon, 31 Mar 2008 15:19:32 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33704.mail.mud.yahoo.com (web33704.mail.mud.yahoo.com [68.142.201.201]) by mx1.freebsd.org (Postfix) with SMTP id 2A8058FC1E for ; Mon, 31 Mar 2008 15:19:31 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 93029 invoked by uid 60001); 31 Mar 2008 15:19:31 -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:Cc:MIME-Version:Content-Type:Message-ID; b=qIm1w31ez3qvOqpY+FMthYJwrA2OAR42CwKGxHXG6E3SegGpkQAkD2XY9sMu8fVRohscmHo1ourwGJN5kOi4utgo05xXdPvCKx0+w2XM8hvDV1FopE3f64CR0KyeqIJaz3ezqetpGkSOlOX3Z87qj3oE+T+A+wJ05uUzE3IKTq8=; X-YMail-OSG: ibz22V8VM1mJlp2yP7Bb9yJNv89UuG0W8crF9Mbo_quILXknzIb8TE8D6H3_shzNaE4DlGUoRG9vgv_RZ50bQ99I3ZyLeGT5U9RSNMSgHg4oG7o- Received: from [89.211.3.3] by web33704.mail.mud.yahoo.com via HTTP; Mon, 31 Mar 2008 08:19:31 PDT X-Mailer: YahooMailRC/902.40 YahooMailWebService/0.7.185 Date: Mon, 31 Mar 2008 08:19:31 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: Pyun YongHyeon MIME-Version: 1.0 Message-ID: <265802.92473.qm@web33704.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.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, 31 Mar 2008 15:19:32 -0000 ----- Original Message ---- > From: Pyun YongHyeon > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > Sent: Monday, March 31, 2008 7:03:14 AM > Subject: cvs commit: src/sys/dev/re if_re.c src/sys/pci if_rlreg.h > > yongari 2008-03-31 04:03:14 UTC > > FreeBSD src repository > > Modified files: > sys/dev/re if_re.c > sys/pci if_rlreg.h > Log: > Padding more bytes than necessary one broke another variants of > PCIe RealTek chips. Only pad IP packets if the payload is less than > 28 bytes. > > Obtained from: NetBSD > PR: kern/122221 > > Revision Changes Path > 1.113 +1 -1 src/sys/dev/re/if_re.c > 1.74 +6 -0 src/sys/pci/if_rlreg.h Pyun, Great work thank you! I was about to report that I still face the problem with the RELENG_7 files. http://people.freebsd.org/~yongari/re/if_re.c http://people.freebsd.org/~yongari/re/if_rlreg.h Could you kindly update them? Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com From owner-cvs-src@FreeBSD.ORG Mon Mar 31 15:38:07 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA7761065674; Mon, 31 Mar 2008 15:38:07 +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 C588E8FC13; Mon, 31 Mar 2008 15:38:07 +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 m2VFc7k1035245; Mon, 31 Mar 2008 15:38:07 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VFc7Ao035244; Mon, 31 Mar 2008 15:38:07 GMT (envelope-from sam) Message-Id: <200803311538.m2VFc7Ao035244@repoman.freebsd.org> From: Sam Leffler Date: Mon, 31 Mar 2008 15:38: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/sbin/ifconfig ifclone.c ifconfig.c ifconfig.h ifvlan.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, 31 Mar 2008 15:38:08 -0000 sam 2008-03-31 15:38:07 UTC FreeBSD src repository Modified files: sbin/ifconfig ifclone.c ifconfig.c ifconfig.h ifvlan.c Log: Fix handling of create operation together with setting other parameters: o mark cmds/parameters to indicate they are potential arguments to a clone operation (e.g. vlantag) o when handling a create/clone operation do the callback on seeing the first non-clone cmd line argument so the new device is created and can be used; and re-setup operating state to reflect the newly created device Reviewed by: Eugene Grosbein MFC after: 2 weeks Revision Changes Path 1.4 +2 -2 src/sbin/ifconfig/ifclone.c 1.136 +35 -5 src/sbin/ifconfig/ifconfig.c 1.22 +3 -0 src/sbin/ifconfig/ifconfig.h 1.13 +2 -2 src/sbin/ifconfig/ifvlan.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 17:04:11 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 301F3106566B; Mon, 31 Mar 2008 17:04:11 +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 0B16F8FC1A; Mon, 31 Mar 2008 17:04:11 +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 m2VH4Ao2050549; Mon, 31 Mar 2008 17:04:10 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VH4Ab1050548; Mon, 31 Mar 2008 17:04:10 GMT (envelope-from emaste) Message-Id: <200803311704.m2VH4Ab1050548@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 17:04: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/dev/aac aac.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, 31 Mar 2008 17:04:11 -0000 emaste 2008-03-31 17:04:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac.c Log: MFC aac.c 1.131: Diff reduction to Adaptec driver build 15317 (refactoring and code shuffling): - Resource allocation in aac_alloc (moved from from aac_init) - Interrupt setup in aac_setup_intr (from aac_attach) - Container probing in aac_get_container_info (from aac_startup and aac_handle_aif) - Firmware status check moved to aac_check_firmware from aac_init Revision Changes Path 1.109.2.13 +205 -186 src/sys/dev/aac/aac.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 18:49:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1409F1065677; Mon, 31 Mar 2008 18:49:10 +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 DFE348FC33; Mon, 31 Mar 2008 18:49:09 +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 m2VIn9Kb056335; Mon, 31 Mar 2008 18:49:09 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VIn9CM056334; Mon, 31 Mar 2008 18:49:09 GMT (envelope-from sam) Message-Id: <200803311849.m2VIn9CM056334@repoman.freebsd.org> From: Sam Leffler Date: Mon, 31 Mar 2008 18:49: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/conf files X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 31 Mar 2008 18:49:10 -0000 sam 2008-03-31 18:49:09 UTC FreeBSD src repository Modified files: sys/conf files Log: add include path required to find ah_osdep.h PR: kern/122145 MFC after: 3 days Revision Changes Path 1.1286 +2 -1 src/sys/conf/files From owner-cvs-src@FreeBSD.ORG Mon Mar 31 19:19:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AF271065671 for ; Mon, 31 Mar 2008 19:19:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id A3FAE8FC29 for ; Mon, 31 Mar 2008 19:19:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 26472 invoked by uid 399); 31 Mar 2008 19:27:13 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 31 Mar 2008 19:27:13 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <47F13951.2080907@FreeBSD.org> Date: Mon, 31 Mar 2008 12:19:45 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (X11/20080319) MIME-Version: 1.0 To: Ganbold Tsagaankhuu References: <200803311028.m2VASAxD097068@repoman.freebsd.org> In-Reply-To: <200803311028.m2VASAxD097068@repoman.freebsd.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, yar@freebsd.org, src-committers@FreeBSD.org, Giorgos Keramidas , cvs-all@FreeBSD.org Subject: Re: 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: Mon, 31 Mar 2008 19:19:51 -0000 Ganbold Tsagaankhuu wrote: > ganbold 2008-03-31 10:28:09 UTC > > FreeBSD src repository (doc committer) > > Modified files: > games/fortune/datfiles fortunes > Log: > Improve some quotes of Chinggis Khan. > Remove militant and moralized quotes of Chinggis Khan. > Add one more quote of Chinggis Khan. > > Reviewed by: yar > Approved by: keramida(mentor) > > Revision Changes Path > 1.259 +37 -56 src/games/fortune/datfiles/fortunes > > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h We do not remove fortunes without a very good reason. Can you please replace the ones you deleted? Thanks, Doug -- This .signature sanitized for your protection From owner-cvs-src@FreeBSD.ORG Mon Mar 31 19:21:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C43B1065672; Mon, 31 Mar 2008 19:21:49 +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 7CC098FC12; Mon, 31 Mar 2008 19:21:49 +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 m2VJLnnO058734; Mon, 31 Mar 2008 19:21:49 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VJLnSC058733; Mon, 31 Mar 2008 19:21:49 GMT (envelope-from emaste) Message-Id: <200803311921.m2VJLnSC058733@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 19:21:49 +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/sys aac_ioctl.h src/sys/dev/aac aac.c aac_disk.c aacreg.h aacvar.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, 31 Mar 2008 19:21:49 -0000 emaste 2008-03-31 19:21:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sys aac_ioctl.h sys/dev/aac aac.c aac_disk.c aacreg.h aacvar.h Log: MFC >2TB support aac.c 1.134, aac_disk.c 1.45, aacreg.h 1.25, aacvar.h 1.51: Add 64-bit array support for RAIDs > 2TB. This corresponds to ~ Adaptec driver build 15317. Tested on: Adaptec 2230S, Firmware 4.2-0 (8205) ICP ICP5085BL, Firmware 5.2-0 (12814) aac.c 1.136, aac_ioctl.h 1.13: Implement FSACTL_LNX_GET_FEATURES and FSACTL_GET_FEATURES ioctls. RAID tools (e.g. arcconf) need this to be able to create arrays larger than 2TB. Submitted by: Adaptec, via driver build 15317 The RELENG_7 and HEAD drivers are in sync as of this commit. Revision Changes Path 1.120.2.10 +52 -1 src/sys/dev/aac/aac.c 1.43.10.2 +6 -3 src/sys/dev/aac/aac_disk.c 1.23.2.2 +1 -0 src/sys/dev/aac/aacreg.h 1.48.2.3 +2 -1 src/sys/dev/aac/aacvar.h 1.11.12.2 +20 -0 src/sys/sys/aac_ioctl.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 19:28:13 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98FF01065676; Mon, 31 Mar 2008 19:28:13 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 709B58FC24; Mon, 31 Mar 2008 19:28:13 +0000 (UTC) (envelope-from fjoe@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 m2VJSDTI058976; Mon, 31 Mar 2008 19:28:13 GMT (envelope-from fjoe@repoman.freebsd.org) Received: (from fjoe@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VJSDb6058975; Mon, 31 Mar 2008 19:28:13 GMT (envelope-from fjoe) Message-Id: <200803311928.m2VJSDb6058975@repoman.freebsd.org> From: Max Khon Date: Mon, 31 Mar 2008 19:28:13 +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 Makefile.inc1 src/tools/build 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, 31 Mar 2008 19:28:13 -0000 fjoe 2008-03-31 19:28:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) . Makefile.inc1 tools/build Makefile Log: Conditionally add mklocale and gencat to bootstrap-tools to allow to build RELENG_5 on later FreeBSD versions. Revision Changes Path 1.438.2.23 +10 -0 src/Makefile.inc1 1.7.2.1 +5 -0 src/tools/build/Makefile From owner-cvs-src@FreeBSD.ORG Mon Mar 31 19:35:01 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 161871065671 for ; Mon, 31 Mar 2008 19:35:01 +0000 (UTC) (envelope-from peter@wemm.org) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id CB9B58FC42 for ; Mon, 31 Mar 2008 19:35:00 +0000 (UTC) (envelope-from peter@wemm.org) Received: by an-out-0708.google.com with SMTP id c14so497192anc.13 for ; Mon, 31 Mar 2008 12:34:59 -0700 (PDT) Received: by 10.100.4.1 with SMTP id 1mr16824683and.77.1206992099279; Mon, 31 Mar 2008 12:34:59 -0700 (PDT) Received: by 10.100.8.6 with HTTP; Mon, 31 Mar 2008 12:34:59 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 12:34:59 -0700 From: "Peter Wemm" To: "David Christensen" In-Reply-To: <5D267A3F22FD854F8F48B3D2B523819324EF633FCC@IRVEXCHCCR01.corp.ad.broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802220046.m1M0kMPM008814@repoman.freebsd.org> <5D267A3F22FD854F8F48B3D2B523819324EF633FCC@IRVEXCHCCR01.corp.ad.broadcom.com> Cc: "cvs-src@freebsd.org" , "src-committers@freebsd.org" , "cvs-all@freebsd.org" Subject: Re: cvs commit: src/sys/dev/bce if_bce.c if_bcefw.h if_bcereg.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, 31 Mar 2008 19:35:01 -0000 On Mon, Mar 31, 2008 at 12:13 PM, David Christensen wrote: > > On Thu, Feb 21, 2008 at 5:46 PM, David Christensen > > wrote: > > > Modified files: > > > sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h > > > Log: > > > MFC after: 4 weeks > > > > > > - Added loose RX MTU functionality to allow frames larger > > than 1500 bytes > > > to be accepted even though the interface MTU is set to 1500. > > > - Implemented new TCP header splitting/jumbo frame > > support which uses > > > two chains for receive traffic rather than the original > > single recevie > > > chain. > > > - Added additional debug support code. > > > > > > Revision Changes Path > > > 1.36 +1559 -675 src/sys/dev/bce/if_bce.c > > > 1.5 +6179 -4850 src/sys/dev/bce/if_bcefw.h > > > 1.17 +264 -55 src/sys/dev/bce/if_bcereg.h > > > > This has been devastating on the freebsd.org cluster. > > > > Attached are three test runs. I've done a cold reboot, then 'cd > > /usr/src/sys' and doing a 'cvs -Rq update' where the CVSROOT is over > > nfs. > > > > First, the old driver: > > svn# time cvs -Rq up > > 0.890u 4.577s 1:14.48 7.3% 669+2315k 7379+0io 10094pf+0w > > > > Now, the same test again, but with this change included in the kernel: > > svn# time cvs -Rq up > > 0.940u 359.906s 7:01.04 85.7% 648+2242k 7365+0io 10082pf+0w > > > > Note the massive increase (nearly 100 times increase) in system time, > > and the almost 7-fold increase in wall clock time. > > > > Turning on promisc mode helps a lot, but doesn't solve it. (This was > > found when ps@ was using tcpdump to try and figure out what the > > problem was) > > The change is needed to update the FreeBSD driver so that it can > continue using production firmware for the controllers. The previous > firmware was specific to FreeBSD and was not being maintained. > > I didn't see any performance issues running with netperf. Is the NFS > traffic UDP or TCP? What's the MTU in use? How much system memory is > available? NFS over UDP. We're also seeing problems with NIS/YP (also UDP) on the box with the driver active. The MTU is the standard 1500. Both machines have 8GB of ram. Both are 64 bit kernels. Client is a Dell 2950 (2 x quad core2), the server is a HP DL385 (quad opteron with bge). > If this is a performance problem then the first place I would look is > in the definitions for rx_bd_mbuf_alloc_size and pg_bd_mbuf_alloc_size. > The older version of the driver would use multiple 2KB buffers > (MCLBYTES in size) from a single chain when building a packet so you > would typically have a single mbuf cluster passed to the stack. The > new firmware uses two chains, each of which may be a different size. > The current implementation will use MHLEN bytes for the rx chain and > MCLBYTES for the pg chain. When a packet is received the hardware will > place as much data as possible into a single mbuf in the rx chain, > then place any remaining data into one or more mbufs in the pg chain. > The driver will then stitch together the mbufs before passing them up > the stack. This process is supposed to improve performance for TCP > because the TCP payload will be split from the TCP header and should > be quicker to access. > > A quick test would be to set rx_bd_mbuf_alloc_size to MCLBYTES, which > should for the most part duplicate the older behavior. The driver > will still allocate more mbufs which might be a problem if system > memory is already low. Is anyone else aware of a driver that does > TCP header splitting? It's typically on the TX side to see a packet > with two or three mbufs in a chain but I suspect it's less typical > on the RX side which could be part of the problem. The one thing that I'm very sure of is that system memory isn't low, on either machine. The extraordinary increase in accumulated system time of the process makes me wonder if something odd is going on with the TX path. When sending packets, the network stack and driver code path execution times are charged to the user process doing the writes. On the receive side, the cpu time will be accumulated in either the driver ithread or taskqueue, or the netisr kthread. To be honest, I hadn't been looking to see if excessive cpu time was accumulating there, but I did notice that the system's load average was over 2.0 for the duration of the 'cvs update' on an otherwise idle machine. This suggests to me that both send and receive were bogging down somehow. Perhaps it is something silly like a spin lock being triggered? > > > > Here's the same test, with the new driver, and promisc mode on: > > svn# ifconfig bce0 promisc > > svn# time cvs -Rq up > > 0.967u 50.919s 2:13.97 38.7% 650+2250k 7379+0io 10094pf+0w > > > > It is better.. Only double the wall clock time, but still over 10 > > times as much system time. > > > > It's not clear to me why promiscuous mode would make a difference > here as that should only affect which packets are accepted by the > MAC. Is there any teaming or VLANs used in your configuration? > The RX MTU settings shouldn't be affected by promiscuous mode. There is nothing special going on. Just a plain gige cable to a cisco gige switch. I have no explanation for the promisc thing - one of the freebsd.org admins thought the problem was with YP/NIS. He started up a tcpdump to observe the NIS interactions during ssh login, and the problem mostly went away. BTW; I did the test twice. I ran the machine with cvs HEAD, and backed the driver out to before the commit. I also tried a RELENG_7 kernel, and then put the HEAD bce driver on 7.x - the problem goes with the bce driver change in both 7.x and 8.x/HEAD. There will be 4 more of these machines online sometime today (7.x and 8,x, both 32 and 64 bit). We can experiment with those at will. > > > > > > So please, don't MFC until this is solved.. > > > > I haven't yet as I've received reports from a few other people that > they're having problems, though they're functional problems and not > performance issues. > > -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell **WANTED TO BUY: Garmin Streetpilot 2650 or 2660. Not later model! ** From owner-cvs-src@FreeBSD.ORG Mon Mar 31 19:44:13 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 000C41065675; Mon, 31 Mar 2008 19:44:12 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from mms5.broadcom.com (mms5.broadcom.com [216.31.210.20]) by mx1.freebsd.org (Postfix) with ESMTP id A747E8FC26; Mon, 31 Mar 2008 19:44:12 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from [10.11.16.99] by mms5.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Mon, 31 Mar 2008 12:13:44 -0700 X-Server-Uuid: 93BB6497-3EF8-45A3-B447-1CDF3B37573C Received: by mail-irva-10.broadcom.com (Postfix, from userid 47) id 23CA32B1; Mon, 31 Mar 2008 12:13:44 -0700 (PDT) Received: from mail-irva-8.broadcom.com (mail-irva-8 [10.11.18.52]) by mail-irva-10.broadcom.com (Postfix) with ESMTP id 0C2EE2B0; Mon, 31 Mar 2008 12:13:44 -0700 (PDT) Received: from mail-irva-12.broadcom.com (mail-irva-12.broadcom.com [10.11.16.101]) by mail-irva-8.broadcom.com (MOS 3.7.5a-GA) with ESMTP id GSE14898; Mon, 31 Mar 2008 12:13:12 -0700 (PDT) Received: from NT-IRVA-0751.brcm.ad.broadcom.com ( nt-irva-0751.brcm.ad.broadcom.com [10.8.194.65]) by mail-irva-12.broadcom.com (Postfix) with ESMTP id 155D869CA9; Mon, 31 Mar 2008 12:13:12 -0700 (PDT) Received: from IRVEXCHHUB01.corp.ad.broadcom.com ([10.9.200.131]) by NT-IRVA-0751.brcm.ad.broadcom.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 31 Mar 2008 12:13:11 -0700 Received: from IRVEXCHCCR01.corp.ad.broadcom.com ([10.9.200.129]) by IRVEXCHHUB01.corp.ad.broadcom.com ([10.9.200.131]) with mapi; Mon, 31 Mar 2008 12:13:11 -0700 From: "David Christensen" To: "Peter Wemm" Date: Mon, 31 Mar 2008 12:13:07 -0700 Thread-Topic: cvs commit: src/sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h Thread-Index: AciTAWa1MNJ6yGtbSIeHQCjFnxoYgAAXW0VA Message-ID: <5D267A3F22FD854F8F48B3D2B523819324EF633FCC@IRVEXCHCCR01.corp.ad.broadcom.com> References: <200802220046.m1M0kMPM008814@repoman.freebsd.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US acceptlanguage: en-US MIME-Version: 1.0 X-OriginalArrivalTime: 31 Mar 2008 19:13:11.0662 (UTC) FILETIME=[431600E0:01C89363] X-WSS-ID: 6BEFE8621HS20274077-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: "cvs-src@freebsd.org" , "src-committers@freebsd.org" , "cvs-all@freebsd.org" Subject: RE: cvs commit: src/sys/dev/bce if_bce.c if_bcefw.h if_bcereg.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, 31 Mar 2008 19:44:13 -0000 > On Thu, Feb 21, 2008 at 5:46 PM, David Christensen > wrote: > > Modified files: > > sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h > > Log: > > MFC after: 4 weeks > > > > - Added loose RX MTU functionality to allow frames larger > than 1500 bytes > > to be accepted even though the interface MTU is set to 1500. > > - Implemented new TCP header splitting/jumbo frame > support which uses > > two chains for receive traffic rather than the original > single recevie > > chain. > > - Added additional debug support code. > > > > Revision Changes Path > > 1.36 +1559 -675 src/sys/dev/bce/if_bce.c > > 1.5 +6179 -4850 src/sys/dev/bce/if_bcefw.h > > 1.17 +264 -55 src/sys/dev/bce/if_bcereg.h > > This has been devastating on the freebsd.org cluster. > > Attached are three test runs. I've done a cold reboot, then 'cd > /usr/src/sys' and doing a 'cvs -Rq update' where the CVSROOT is over > nfs. > > First, the old driver: > svn# time cvs -Rq up > 0.890u 4.577s 1:14.48 7.3% 669+2315k 7379+0io 10094pf+0w > > Now, the same test again, but with this change included in the kernel: > svn# time cvs -Rq up > 0.940u 359.906s 7:01.04 85.7% 648+2242k 7365+0io 10082pf+0w > > Note the massive increase (nearly 100 times increase) in system time, > and the almost 7-fold increase in wall clock time. > > Turning on promisc mode helps a lot, but doesn't solve it. (This was > found when ps@ was using tcpdump to try and figure out what the > problem was) The change is needed to update the FreeBSD driver so that it can continue using production firmware for the controllers. The previous firmware was specific to FreeBSD and was not being maintained. I didn't see any performance issues running with netperf. Is the NFS traffic UDP or TCP? What's the MTU in use? How much system memory is available? If this is a performance problem then the first place I would look is in the definitions for rx_bd_mbuf_alloc_size and pg_bd_mbuf_alloc_size. The older version of the driver would use multiple 2KB buffers (MCLBYTES in size) from a single chain when building a packet so you would typically have a single mbuf cluster passed to the stack. The new firmware uses two chains, each of which may be a different size. The current implementation will use MHLEN bytes for the rx chain and MCLBYTES for the pg chain. When a packet is received the hardware will place as much data as possible into a single mbuf in the rx chain, then place any remaining data into one or more mbufs in the pg chain. The driver will then stitch together the mbufs before passing them up the stack. This process is supposed to improve performance for TCP because the TCP payload will be split from the TCP header and should be quicker to access. A quick test would be to set rx_bd_mbuf_alloc_size to MCLBYTES, which should for the most part duplicate the older behavior. The driver will still allocate more mbufs which might be a problem if system memory is already low. Is anyone else aware of a driver that does TCP header splitting? It's typically on the TX side to see a packet with two or three mbufs in a chain but I suspect it's less typical on the RX side which could be part of the problem. > > Here's the same test, with the new driver, and promisc mode on: > svn# ifconfig bce0 promisc > svn# time cvs -Rq up > 0.967u 50.919s 2:13.97 38.7% 650+2250k 7379+0io 10094pf+0w > > It is better.. Only double the wall clock time, but still over 10 > times as much system time. > It's not clear to me why promiscuous mode would make a difference here as that should only affect which packets are accepted by the MAC. Is there any teaming or VLANs used in your configuration? The RX MTU settings shouldn't be affected by promiscuous mode. > > So please, don't MFC until this is solved.. > I haven't yet as I've received reports from a few other people that they're having problems, though they're functional problems and not performance issues. From owner-cvs-src@FreeBSD.ORG Mon Mar 31 19:50:54 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 450C3106564A; Mon, 31 Mar 2008 19:50:54 +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 1CCCD8FC41; Mon, 31 Mar 2008 19:50:54 +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 m2VJorhb059843; Mon, 31 Mar 2008 19:50:53 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VJoraW059842; Mon, 31 Mar 2008 19:50:53 GMT (envelope-from emaste) Message-Id: <200803311950.m2VJoraW059842@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 19:50:53 +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/aac aac.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, 31 Mar 2008 19:50:54 -0000 emaste 2008-03-31 19:50:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac.c Log: MFC aac.c 1.130: Restore creation of passthrough devices with newer controller firmware by putting the correct size in the fib header. Presumably the older firmware silently ignored a bad size field. (This change tested with a 3805 controller. Passthrough devices were created when running firmware build 12814, but not 15323 or later. With this change they're created for both old and new firmware versions.) Submitted by: Adaptec Revision Changes Path 1.109.2.14 +2 -2 src/sys/dev/aac/aac.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 20:03:31 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C74A2106566B; Mon, 31 Mar 2008 20:03:31 +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 9F47B8FC12; Mon, 31 Mar 2008 20:03:31 +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 m2VK3VTA061431; Mon, 31 Mar 2008 20:03:31 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VK3Vbv061430; Mon, 31 Mar 2008 20:03:31 GMT (envelope-from emaste) Message-Id: <200803312003.m2VK3Vbv061430@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 20:03: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/aac aac.c aac_pci.c aacreg.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, 31 Mar 2008 20:03:32 -0000 emaste 2008-03-31 20:03:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac.c aac_pci.c aacreg.h Log: MFC aac.c 1.125, aac_pci.c 1.66, aacreg.h:1.24: Add family support to allow the driver to attach to new devices that share the same interface. Revision Changes Path 1.109.2.15 +17 -5 src/sys/dev/aac/aac.c 1.54.2.11 +23 -5 src/sys/dev/aac/aac_pci.c 1.21.2.3 +52 -0 src/sys/dev/aac/aacreg.h From owner-cvs-src@FreeBSD.ORG Mon Mar 31 20:11:46 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F15FA1065671; Mon, 31 Mar 2008 20:11:46 +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 C9CCD8FC25; Mon, 31 Mar 2008 20:11:46 +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 m2VKBkJG061866; Mon, 31 Mar 2008 20:11:46 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VKBkW9061865; Mon, 31 Mar 2008 20:11:46 GMT (envelope-from emaste) Message-Id: <200803312011.m2VKBkW9061865@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 20:11: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/sys/dev/aac 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: Mon, 31 Mar 2008 20:11:47 -0000 emaste 2008-03-31 20:11:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac_cam.c Log: MFC aac_cam.c 1.30: Merge from Adaptec a 64 bit fix and a workaround for luns != 0 returning CAM_SEL_TIMEOUT on SAS controllers, which prevented passthrough devices from being created. Revision Changes Path 1.20.2.5 +13 -8 src/sys/dev/aac/aac_cam.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 21:02:28 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38F8C106566C; Mon, 31 Mar 2008 21:02:28 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 11DB08FC27; Mon, 31 Mar 2008 21:02:28 +0000 (UTC) (envelope-from kmacy@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 m2VL2RJi074240; Mon, 31 Mar 2008 21:02:27 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from kmacy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VL2RfY074239; Mon, 31 Mar 2008 21:02:27 GMT (envelope-from kmacy) Message-Id: <200803312102.m2VL2RfY074239@repoman.freebsd.org> From: Kip Macy Date: Mon, 31 Mar 2008 21:02: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/dev/cxgb cxgb_adapter.h src/sys/dev/cxgb/sys cxgb_support.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, 31 Mar 2008 21:02:28 -0000 kmacy 2008-03-31 21:02:27 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_adapter.h sys/dev/cxgb/sys cxgb_support.c Log: reduce the size of the jumbo ring on i386 and disable pcpu cluster caching Revision Changes Path 1.31 +5 -0 src/sys/dev/cxgb/cxgb_adapter.h 1.7 +5 -0 src/sys/dev/cxgb/sys/cxgb_support.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 21:54:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E57141065672; Mon, 31 Mar 2008 21:54:06 +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 D9B7D8FC1A; Mon, 31 Mar 2008 21:54:06 +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 m2VLs6uJ077017; Mon, 31 Mar 2008 21:54:06 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VLs6Mi077016; Mon, 31 Mar 2008 21:54:06 GMT (envelope-from scottl) Message-Id: <200803312154.m2VLs6Mi077016@repoman.freebsd.org> From: Scott Long Date: Mon, 31 Mar 2008 21:54: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/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: Mon, 31 Mar 2008 21:54:07 -0000 scottl 2008-03-31 21:54:05 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c Log: The MPT driver treats the "core" module with the same importance and abstraction as the RAID and CAM modules, making it nearly impossible for enough initialization to be done in time for the RAID module to know whether to attach. On top of this, no reset was being done on the controller on attach, in violation of the spec. Additionally, the port enable step was being deferred to the end of the attach process, long after it should have been done to ensure reliable operation from the controller. Fix all of these with a few hacks to force the "attach" and "enable" steps of the core module early on, and ensure that a reset and port enable also happens early on. In the future, the driver needs to be refactored to eliminate the core module abstraction, clean up withe reset/enable steps, and defer event messages until all of the modules are available to recieve them. Revision Changes Path 1.47 +7 -4 src/sys/dev/mpt/mpt.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 21:57:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 287721065672; Mon, 31 Mar 2008 21:57:30 +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 1B18D8FC1A; Mon, 31 Mar 2008 21:57:30 +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 m2VLvThQ077240; Mon, 31 Mar 2008 21:57:29 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VLvTE5077236; Mon, 31 Mar 2008 21:57:29 GMT (envelope-from rwatson) Message-Id: <200803312157.m2VLvTE5077236@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 Mar 2008 21:57: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/sys/conf files src/sys/ddb db_capture.c db_command.c db_textdump.c ddb.h src/sys/kern kern_shutdown.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, 31 Mar 2008 21:57:30 -0000 rwatson 2008-03-31 21:57:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf files sys/ddb db_capture.c db_command.c ddb.h sys/kern kern_shutdown.c Added files: (Branch: RELENG_7) sys/ddb db_textdump.c Log: Merge files:1.1260, db_capture.c:1.2, db_command.c:1.76, db_textdump.c:1.1, ddb.h:1.46, kern_shutdown.c:1.187 from HEAD to RELENG_7: Add textdump(4) facility, which provides an alternative form of kernel dump using mechanically generated/extracted debugging output rather than a simple memory dump. Current sources of debugging output are: - DDB output capture buffer, if there is captured output to save - Kernel message buffer - Kernel configuration, if included in kernel - Kernel version string - Panic message Textdumps are stored in swap/dump partitions as with regular dumps, but are laid out as ustar files in order to allow multiple parts to be stored as a stream of sequentially written blocks. Blocks are written out in reverse order, as the size of a textdump isn't known a priori. As with regular dumps, they will be extracted using savecore(8). One new DDB(4) command is added, "textdump", which accepts "set", "unset", and "status" arguments. By default, normal kernel dumps are generated unless "textdump set" is run in order to schedule a textdump. It can be canceled using "textdump unset" to restore generation of a normal kernel dump. Several sysctls exist to configure aspects of textdumps; debug.ddb.textdump.pending can be set to check whether a textdump is pending, or set/unset in order to control whether the next kernel dump will be a textdump from userspace. While textdumps don't have to be generated as a result of a DDB script run automatically as part of a kernel panic, this is a particular useful way to use them, as instead of generating a complete memory dump, a simple transcript of an automated DDB session can be captured using the DDB output capture and textdump facilities. This can be used to generate quite brief kernel bug reports rich in debugging information but not dependent on kernel symbol tables or precisely synchronized source code. Most textdumps I generate are less than 100k including the full message buffer. Using textdumps with an interactive debugging session is also useful, with capture being enabled/disabled in order to record some but not all of the DDB session. Revision Changes Path 1.1243.2.10 +1 -0 src/sys/conf/files 1.5.2.2 +55 -3 src/sys/ddb/db_capture.c 1.73.2.4 +1 -0 src/sys/ddb/db_command.c 1.3.2.1 +555 -0 src/sys/ddb/db_textdump.c (new) 1.43.2.3 +23 -0 src/sys/ddb/ddb.h 1.182.2.3 +9 -1 src/sys/kern/kern_shutdown.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 22:00:27 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92F3D1065673; Mon, 31 Mar 2008 22:00:27 +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 86FC38FC2D; Mon, 31 Mar 2008 22:00:27 +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 m2VM0RpE077379; Mon, 31 Mar 2008 22:00:27 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VM0RY2077378; Mon, 31 Mar 2008 22:00:27 GMT (envelope-from rwatson) Message-Id: <200803312200.m2VM0RY2077378@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 Mar 2008 22:00: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/share/man/man4 Makefile ddb.4 textdump.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, 31 Mar 2008 22:00:27 -0000 rwatson 2008-03-31 22:00:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile ddb.4 Added files: (Branch: RELENG_7) share/man/man4 textdump.4 Log: Merge Makefile:1.401, ddb.4:1.46, textdump.4:1.1 from HEAD to RELENG_7: Add textdump(4) man page to describe the textdump facility and provide some stock formulas for use. Update ddb(4) to reference the textdump(4) page, list the textdump commands, and suggest using them with scripts and output capture. Update HISTORY section. Hook up textdump(4) to build. Revision Changes Path 1.393.2.7 +1 -0 src/share/man/man4/Makefile 1.42.2.4 +31 -0 src/share/man/man4/ddb.4 1.3.2.1 +162 -0 src/share/man/man4/textdump.4 (new) From owner-cvs-src@FreeBSD.ORG Mon Mar 31 22:02:29 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A851065680; Mon, 31 Mar 2008 22:02:29 +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 E66C18FC36; Mon, 31 Mar 2008 22:02: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 m2VM2SrW077458; Mon, 31 Mar 2008 22:02:28 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VM2SLR077457; Mon, 31 Mar 2008 22:02:28 GMT (envelope-from rwatson) Message-Id: <200803312202.m2VM2SLR077457@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 Mar 2008 22:02: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/share/man/man4 ddb.4 textdump.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, 31 Mar 2008 22:02:29 -0000 rwatson 2008-03-31 22:02:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ddb.4 textdump.4 Log: Merge ddb.4:1.47, textdump.4:1.2 from HEAD to RELENG_7: Minor formatting tweaks; recommend "call doadump; reset" over "panic" from a script as the DDB panic command is unreliable. Revision Changes Path 1.42.2.5 +2 -2 src/share/man/man4/ddb.4 1.3.2.2 +4 -4 src/share/man/man4/textdump.4 From owner-cvs-src@FreeBSD.ORG Mon Mar 31 22:03:54 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0ABA1065682; Mon, 31 Mar 2008 22:03:54 +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 D4FE98FC1C; Mon, 31 Mar 2008 22:03:54 +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 m2VM3sM4078681; Mon, 31 Mar 2008 22:03:54 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VM3sS4078680; Mon, 31 Mar 2008 22:03:54 GMT (envelope-from rwatson) Message-Id: <200803312203.m2VM3sS4078680@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 Mar 2008 22:03:54 +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/savecore savecore.8 savecore.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, 31 Mar 2008 22:03:55 -0000 rwatson 2008-03-31 22:03:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/savecore savecore.8 savecore.c Log: Merge savecore.8:1.26, savecore.c:1.79 from HEAD to RELENG_7: Teach savecore(8) how to extract textdump(4) dumps. Update savecore(8) man page to reflect textdump additions. Merge savecore.c:1.80 from HEAD to RELENG_7: Compare kernel dump header magic with textdump magic using strncmp() rather than the memcmp() which is used for regular dumps: the textdump string is one character shorter, so we need to stop comparing at the end of the string. Use independent version checking logic for architecture-specific version number vs. textdump version number, as the version sequences may (someday) differ. Run into by: rrs Revision Changes Path 1.25.10.1 +11 -0 src/sbin/savecore/savecore.8 1.78.2.1 +189 -88 src/sbin/savecore/savecore.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 22:04:28 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 192471065682; Mon, 31 Mar 2008 22:04: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 E7CEE8FC30; Mon, 31 Mar 2008 22:04:27 +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 m2VM4Rj0078715; Mon, 31 Mar 2008 22:04:27 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VM4R8F078714; Mon, 31 Mar 2008 22:04:27 GMT (envelope-from rwatson) Message-Id: <200803312204.m2VM4R8F078714@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 Mar 2008 22:04: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/sbin/ddb ddb.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, 31 Mar 2008 22:04:28 -0000 rwatson 2008-03-31 22:04:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ddb ddb.8 Log: Merge ddb.8:1.2 from HEAD to RELENG_7: Minor formatting tweaks. Point at ddb(4) and textdump(4) man pages for more script examples. Revision Changes Path 1.3.2.2 +10 -3 src/sbin/ddb/ddb.8 From owner-cvs-src@FreeBSD.ORG Mon Mar 31 22:05:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E1FE1065673; Mon, 31 Mar 2008 22:05:10 +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 DCD698FC13; Mon, 31 Mar 2008 22:05:09 +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 m2VM59ma078791; Mon, 31 Mar 2008 22:05:09 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VM59id078790; Mon, 31 Mar 2008 22:05:09 GMT (envelope-from rwatson) Message-Id: <200803312205.m2VM59id078790@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 Mar 2008 22:05: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/ddb db_textdump.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, 31 Mar 2008 22:05:10 -0000 rwatson 2008-03-31 22:05:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ddb db_textdump.c Log: Merge db_textdump.c:1.2 from HEAD to RELENG_7: Refine textdump comments slightly. Revision Changes Path 1.3.2.2 +12 -10 src/sys/ddb/db_textdump.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 22:09:00 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1DF8106564A; Mon, 31 Mar 2008 22:09:00 +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 8CB548FC25; Mon, 31 Mar 2008 22:09:00 +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 m2VM902a078943; Mon, 31 Mar 2008 22:09:00 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VM908I078942; Mon, 31 Mar 2008 22:09:00 GMT (envelope-from rwatson) Message-Id: <200803312209.m2VM908I078942@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 Mar 2008 22:09:00 +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/ddb db_capture.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, 31 Mar 2008 22:09:00 -0000 rwatson 2008-03-31 22:09:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ddb db_capture.c Log: Merge db_capture.c:1.3 from HEAD to RELENG_7: Rename DB_ constants in db_capture.c to DDB_ so that when they are exposed as kernel compile options, they have more meaningful names. PR: 119993 MFC after: 2 months Suggested by: Scot Hetzel Revision Changes Path 1.5.2.3 +16 -16 src/sys/ddb/db_capture.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 22:16:57 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C22B1065671; Mon, 31 Mar 2008 22:16:57 +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 EF19F8FC12; Mon, 31 Mar 2008 22:16:56 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl136-106.kln.forthnet.gr [77.49.255.106]) (authenticated bits=128) by igloo.linux.gr (8.14.2/8.14.2/Debian-3) with ESMTP id m2VLuiqu028248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 Apr 2008 00:56:52 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m2VLuiWf002873; Tue, 1 Apr 2008 00:56:44 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m2VLuhP9002872; Tue, 1 Apr 2008 00:56:43 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Doug Barton References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> Date: Tue, 01 Apr 2008 00:56:43 +0300 In-Reply-To: <47F13951.2080907@FreeBSD.org> (Doug Barton's message of "Mon, 31 Mar 2008 12:19:45 -0700") Message-ID: <87hcema76s.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m2VLuiqu028248 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.29, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.11, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Ganbold Tsagaankhuu , yar@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: 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: Mon, 31 Mar 2008 22:16:57 -0000 On Mon, 31 Mar 2008 12:19:45 -0700, Doug Barton wrote: > Ganbold Tsagaankhuu wrote: >> ganbold 2008-03-31 10:28:09 UTC >> >> FreeBSD src repository (doc committer) >> >> Modified files: >> games/fortune/datfiles fortunes Log: >> Improve some quotes of Chinggis Khan. >> Remove militant and moralized quotes of Chinggis Khan. >> Add one more quote of Chinggis Khan. >> Reviewed by: yar >> Approved by: keramida(mentor) >> Revision Changes Path >> 1.259 +37 -56 src/games/fortune/datfiles/fortunes >> >> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h > > We do not remove fortunes without a very good reason. Can you please > replace the ones you deleted? This is the age old "these fortune cookies may be offensive to some people" bikeshed. Do we really want to go there again? If removing the ones deleted by Ganbold is considered such a big loss to the consumers of the fortune cookies, then sure, we'll have to backout the removal. I'd prefer if we didn't, but oh well :/ From owner-cvs-src@FreeBSD.ORG Mon Mar 31 23:16:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25F3E10656CB; Mon, 31 Mar 2008 23:16:06 +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 032058FC1C; Mon, 31 Mar 2008 23:16:06 +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 m2VNG59u082171; Mon, 31 Mar 2008 23:16:05 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2VNG5fN082170; Mon, 31 Mar 2008 23:16:05 GMT (envelope-from emaste) Message-Id: <200803312316.m2VNG5fN082170@repoman.freebsd.org> From: Ed Maste Date: Mon, 31 Mar 2008 23:16:05 +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/aac aac.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, 31 Mar 2008 23:16:06 -0000 emaste 2008-03-31 23:16:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac.c Log: MFC aac.c r1.126: Do not recursively acquire aac_io_lock in aac_ioctl_event. Revision Changes Path 1.109.2.16 +1 -3 src/sys/dev/aac/aac.c From owner-cvs-src@FreeBSD.ORG Mon Mar 31 23:57:16 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 639411065670; Mon, 31 Mar 2008 23:57:16 +0000 (UTC) (envelope-from jkh@brierdr.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 479B08FC2D; Mon, 31 Mar 2008 23:57:16 +0000 (UTC) (envelope-from jkh@brierdr.com) Received: from relay12.apple.com (relay12.apple.com [17.128.113.53]) by mail-out3.apple.com (Postfix) with ESMTP id 0EC4C26987BA; Mon, 31 Mar 2008 16:37:45 -0700 (PDT) Received: from relay12.apple.com (unknown [127.0.0.1]) by relay12.apple.com (Symantec Mail Security) with ESMTP id E000D464002; Mon, 31 Mar 2008 16:37:44 -0700 (PDT) X-AuditID: 11807135-ac880bb0000073ca-c3-47f175c828bc Received: from watusi9.apple.com (watusi9.apple.com [17.202.44.77]) by relay12.apple.com (Apple SCV relay) with ESMTP id B80F4420002; Mon, 31 Mar 2008 16:37:44 -0700 (PDT) Message-Id: From: "Jordan K. Hubbard" To: Giorgos Keramidas In-Reply-To: <87hcema76s.fsf@kobe.laptop> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 31 Mar 2008 16:37:44 -0700 References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> X-Mailer: Apple Mail (2.919.2) X-Brightmail-Tracker: AAAAAA== Cc: Ganbold Tsagaankhuu , yar@freebsd.org, Doug Barton , cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org Subject: Re: 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: Mon, 31 Mar 2008 23:57:16 -0000 On Mar 31, 2008, at 2:56 PM, Giorgos Keramidas wrote: > This is the age old "these fortune cookies may be offensive to some > people" bikeshed. Do we really want to go there again? > > If removing the ones deleted by Ganbold is considered such a big > loss to > the consumers of the fortune cookies, then sure, we'll have to backout > the removal. I'd prefer if we didn't, but oh well :/ from fortune(6): "I think the world would be a more peaceful place if people could just keep their fingers out of the fortune files. -- Jordan K. Hubbard" :-) From owner-cvs-src@FreeBSD.ORG Tue Apr 1 00:09:29 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E58C81065670; Tue, 1 Apr 2008 00:09: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 BC4C18FC1D; Tue, 1 Apr 2008 00:09: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 m3109TJ8084835; Tue, 1 Apr 2008 00:09:29 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3109TD5084834; Tue, 1 Apr 2008 00:09:29 GMT (envelope-from emaste) Message-Id: <200804010009.m3109TD5084834@repoman.freebsd.org> From: Ed Maste Date: Tue, 1 Apr 2008 00:09: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/sys/dev/aac 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: Tue, 01 Apr 2008 00:09:30 -0000 emaste 2008-04-01 00:09:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/aac aac_cam.c Log: Acquire Giant in aac_cam_event for xpt_release_simq. Not necessary with MPSAFE CAM so not an MFC. Revision Changes Path 1.20.2.6 +4 -0 src/sys/dev/aac/aac_cam.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 00:21:50 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5095D10658A0; Tue, 1 Apr 2008 00:21: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 27ACB8FC29; Tue, 1 Apr 2008 00:21: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 m310LnFQ085283; Tue, 1 Apr 2008 00:21:49 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m310LnIs085282; Tue, 1 Apr 2008 00:21:49 GMT (envelope-from davidxu) Message-Id: <200804010021.m310LnIs085282@repoman.freebsd.org> From: David Xu Date: Tue, 1 Apr 2008 00:21: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_rwlock.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, 01 Apr 2008 00:21:50 -0000 davidxu 2008-04-01 00:21:49 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_rwlock.c Log: return EAGAIN early rather than running bunch of code later, micro optimize static branch prediction. Revision Changes Path 1.12 +3 -1 src/lib/libthr/thread/thr_rwlock.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 01:03:40 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD080106570C; Tue, 1 Apr 2008 01:03:40 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 711718FC16; Tue, 1 Apr 2008 01:03:40 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.200] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m3113YaZ053450; Mon, 31 Mar 2008 21:03:36 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Mon, 31 Mar 2008 15:04:41 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <200803310255.m2V2toJl053104@repoman.freebsd.org> Message-ID: <20080331150346.R72156@desktop> References: <200803310255.m2V2toJl053104@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_cond.c thr_private.h thr_rwlock.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, 01 Apr 2008 01:03:40 -0000 On Mon, 31 Mar 2008, David Xu wrote: > davidxu 2008-03-31 02:55:50 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c > Log: > Rewrite rwlock to user atomic operations to change rwlock state, this > eliminates internal mutex lock contention when most rwlock operations > are read. > > Orignal patch provided by: jeff Thanks David! Do you still plan to do kernel side support so we can totally eliminate the pthread mutex and condvars from rwlock? I have evidence that this would produce further improvements. Jeff > > Revision Changes Path > 1.24 +53 -0 src/lib/libthr/thread/thr_cond.c > 1.86 +5 -1 src/lib/libthr/thread/thr_private.h > 1.11 +222 -139 src/lib/libthr/thread/thr_rwlock.c > From owner-cvs-src@FreeBSD.ORG Tue Apr 1 01:48:09 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 554BE1065670; Tue, 1 Apr 2008 01:48:09 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2CA508FC1E; Tue, 1 Apr 2008 01:48:09 +0000 (UTC) (envelope-from weongyo@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 m311m8Ze098322; Tue, 1 Apr 2008 01:48:08 GMT (envelope-from weongyo@repoman.freebsd.org) Received: (from weongyo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m311m8CG098321; Tue, 1 Apr 2008 01:48:08 GMT (envelope-from weongyo) Message-Id: <200804010148.m311m8CG098321@repoman.freebsd.org> From: Weongyo Jeong Date: Tue, 1 Apr 2008 01:48: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/dev/malo if_malohal.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, 01 Apr 2008 01:48:09 -0000 weongyo 2008-04-01 01:48:08 UTC FreeBSD src repository Modified files: sys/dev/malo if_malohal.c Log: remove warnings for 64bit aware platforms. Approved by: thompsa (mentor) Revision Changes Path 1.2 +2 -2 src/sys/dev/malo/if_malohal.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 01:55:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC95B106564A; Tue, 1 Apr 2008 01:55:19 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A44638FC19; Tue, 1 Apr 2008 01:55:19 +0000 (UTC) (envelope-from weongyo@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 m311tJcb098735; Tue, 1 Apr 2008 01:55:19 GMT (envelope-from weongyo@repoman.freebsd.org) Received: (from weongyo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m311tJMJ098734; Tue, 1 Apr 2008 01:55:19 GMT (envelope-from weongyo) Message-Id: <200804010155.m311tJMJ098734@repoman.freebsd.org> From: Weongyo Jeong Date: Tue, 1 Apr 2008 01:55: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/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, 01 Apr 2008 01:55:20 -0000 weongyo 2008-04-01 01:55:19 UTC FreeBSD src repository Modified files: sys/modules Makefile Log: Add malo driver to the build Approved by: thompsa (mentor) Revision Changes Path 1.560 +1 -0 src/sys/modules/Makefile From owner-cvs-src@FreeBSD.ORG Tue Apr 1 02:17:28 2008 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 A0915106566C; Tue, 1 Apr 2008 02:17:28 +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 8E4918FC23; Tue, 1 Apr 2008 02:17:28 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from apple.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m312HOXp062786; Tue, 1 Apr 2008 02:17:25 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47F19B89.20601@freebsd.org> Date: Tue, 01 Apr 2008 10:18:49 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803310255.m2V2toJl053104@repoman.freebsd.org> <20080331150346.R72156@desktop> In-Reply-To: <20080331150346.R72156@desktop> 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_cond.c thr_private.h thr_rwlock.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, 01 Apr 2008 02:17:28 -0000 Jeff Roberson wrote: > On Mon, 31 Mar 2008, David Xu wrote: > >> davidxu 2008-03-31 02:55:50 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c >> Log: >> Rewrite rwlock to user atomic operations to change rwlock state, this >> eliminates internal mutex lock contention when most rwlock operations >> are read. >> >> Orignal patch provided by: jeff > > Thanks David! > > Do you still plan to do kernel side support so we can totally eliminate > the pthread mutex and condvars from rwlock? I have evidence that this > would produce further improvements. > > Jeff I have pure kernel version working, sometimes locking kernel sleep chain is more expensive than a pure userland mutex locking, since kernel sleep chain lock is global. I am hestiate adding more code to kernel since I have tested mysql super-smack and sysbench read-only and seen no visible performance differences. all patches are here: http://people.freebsd.org/~davidxu/patch/libthr_umtx_rwlock.diff http://people.freebsd.org/~davidxu/patch/umtx_rwlock.diff Te main bottleneck is in mysql itself, there are lots of lock contention, the following is a list of the main contention points when testing super-smack read benchmark. http://people.freebsd.org/~davidxu/mysql/mysql_lock.txt I don't think it scales beyond 4 cores ( I have tested it on a 4-core machine). Regards, David Xu From owner-cvs-src@FreeBSD.ORG Tue Apr 1 02:30:17 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D2EF106564A; Tue, 1 Apr 2008 02:30:17 +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 1A6B18FC18; Tue, 1 Apr 2008 02:30:17 +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 m312Toww067103; Mon, 31 Mar 2008 19:29:50 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.1/Submit) id m312Tnog067102; Mon, 31 Mar 2008 19:29:49 -0700 (PDT) (envelope-from obrien) Date: Mon, 31 Mar 2008 19:29:49 -0700 From: "David O'Brien" To: Dag-Erling =?unknown-8bit?B?U23DuHJncmF2?= Message-ID: <20080401022949.GB66987@dragon.NUXI.org> References: <200803131852.m2DIqkw3095857@repoman.freebsd.org> <20080314003205.GA94057@dragon.NUXI.org> <20080319133906.GA3872@fnop.net> <867ifoaulz.fsf@ds4.des.no> <20080330232710.GA26455@dragon.NUXI.org> <86fxu7y6wr.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86fxu7y6wr.fsf@ds4.des.no> X-Operating-System: FreeBSD 8.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Rui Paulo , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, "Sean C. Farley" Subject: Re: cvs commit: src/tools/tools/editing freebsd.vim 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: Tue, 01 Apr 2008 02:30:17 -0000 On Mon, Mar 31, 2008 at 04:16:36AM +0200, Dag-Erling Smrgrav wrote: > "David O'Brien" writes: > > This is what should be committed? > > No. My code was intended to replace Martin's, not to be merged with it > into some kind of Frankenstein's monster. OK. I don't know enough about Emacs to know the difference. -- -- David (obrien@FreeBSD.org) From owner-cvs-src@FreeBSD.ORG Tue Apr 1 02:42:56 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CB711065678; Tue, 1 Apr 2008 02:42:56 +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 ED4BC8FC23; Tue, 1 Apr 2008 02:42:55 +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 m312gt7X067396; Mon, 31 Mar 2008 19:42:55 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.1/Submit) id m312gt87067395; Mon, 31 Mar 2008 19:42:55 -0700 (PDT) (envelope-from obrien) Date: Mon, 31 Mar 2008 19:42:55 -0700 From: "David O'Brien" To: John Birrell Message-ID: <20080401024255.GC66987@dragon.NUXI.org> References: <200803282147.m2SLlC0R038334@repoman.freebsd.org> <20080330235811.GA23907@dragon.NUXI.org> <20080331002108.GC61720@what-creek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080331002108.GC61720@what-creek.com> X-Operating-System: FreeBSD 8.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.org, John Birrell , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: CVSROOT exclude 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: Tue, 01 Apr 2008 02:42:56 -0000 On Mon, Mar 31, 2008 at 12:21:08AM +0000, John Birrell wrote: > On Sun, Mar 30, 2008 at 04:58:11PM -0700, David O'Brien wrote: > > On Fri, Mar 28, 2008 at 09:47:11PM +0000, John Birrell wrote: > > > jb 2008-03-28 21:47:11 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > . exclude > > > Log: > > > Add the new CDDL paths which contain external src without FreeBSD IDs. > > > > Why are these being excluded? The repo-copy put them in place, and after > > that they should have $FreeBSD$ ID's as you've told me they are modified > > from the vendor sources. > > The repo copy needed a forced commit without other changes. cvs wouldn't > let me do that without the entry in the exclude file. Ah, yes. I apologize that didn't occur to me, but I didn't see removing these paths from exclude, so I didn't know your plans. I assume these will be removed in the near future? # ZFS sources ^src/compat/opensolaris ^src/contrib/opensolaris ^src/sys/compat/opensolaris ^src/sys/contrib/opensolaris # CDDL sources ^src/cddl/compat/opensolaris ^src/cddl/contrib/opensolaris ^src/sys/cddl/compat/opensolaris ^src/sys/cddl/contrib/opensolaris -- -- David (obrien@FreeBSD.org) From owner-cvs-src@FreeBSD.ORG Tue Apr 1 04:03:50 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC893106564A; Tue, 1 Apr 2008 04:03:50 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id B3CF88FC15; Tue, 1 Apr 2008 04:03:50 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id E60CA732AD; Tue, 1 Apr 2008 04:03:49 +0000 (GMT) Date: Tue, 1 Apr 2008 04:03:49 +0000 From: John Birrell To: David O'Brien Message-ID: <20080401040349.GA74837@what-creek.com> References: <200803282147.m2SLlC0R038334@repoman.freebsd.org> <20080330235811.GA23907@dragon.NUXI.org> <20080331002108.GC61720@what-creek.com> <20080401024255.GC66987@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080401024255.GC66987@dragon.NUXI.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: CVSROOT exclude X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 01 Apr 2008 04:03:51 -0000 On Mon, Mar 31, 2008 at 07:42:55PM -0700, David O'Brien wrote: > I assume these will be removed in the near future? > > # ZFS sources > ^src/compat/opensolaris > ^src/contrib/opensolaris > ^src/sys/compat/opensolaris > ^src/sys/contrib/opensolaris These ones have to stay until the changes are MFC'd to RELENG_7. AFAIK, the cvs server uses the latest version on CVSROOT/exclude for pre-commit checks. I am advised to 'cvs add' the RELENG_7 files despite the fact that the history on that branch is in on the branch now renamed as old_RELENG_7. I think I need to do that initial 'cvs add' without any changes to files -- just a note about where the history is. Once that is done, the corresponding lines can be removed from the exclude file. > # CDDL sources > ^src/cddl/compat/opensolaris > ^src/cddl/contrib/opensolaris > ^src/sys/cddl/compat/opensolaris > ^src/sys/cddl/contrib/opensolaris I will do a followup commit to the src/cddl/compat/opensolaris and src/sys/cddl/compat/opensolaris files to add FreeBSD IDs to them. Then those two lines can be removed from the exclude file. The remaining two lines: ^src/cddl/contrib/opensolaris ^src/sys/cddl/contrib/opensolaris need to stay. -- John Birrell From owner-cvs-src@FreeBSD.ORG Tue Apr 1 04:48:56 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B824A106567A for ; Tue, 1 Apr 2008 04:48:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1384E8FC35 for ; Tue, 1 Apr 2008 04:48:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 1100 invoked by uid 399); 1 Apr 2008 04:56:25 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 1 Apr 2008 04:56:25 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <47F1BEB4.1060104@FreeBSD.org> Date: Mon, 31 Mar 2008 21:48:52 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (X11/20080319) MIME-Version: 1.0 To: "Jordan K. Hubbard" References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ganbold Tsagaankhuu , yar@freebsd.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Giorgos Keramidas Subject: Re: 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: Tue, 01 Apr 2008 04:48:56 -0000 Jordan K. Hubbard wrote: > > On Mar 31, 2008, at 2:56 PM, Giorgos Keramidas wrote: > >> This is the age old "these fortune cookies may be offensive to some >> people" bikeshed. Do we really want to go there again? >> >> If removing the ones deleted by Ganbold is considered such a big loss to >> the consumers of the fortune cookies, then sure, we'll have to backout >> the removal. I'd prefer if we didn't, but oh well :/ > > > from fortune(6): > > "I think the world would be a more peaceful place if people > could just keep their fingers out of the fortune files. > > -- Jordan K. Hubbard" > > :-) My point exactly. We have always erred on the side of NOT removing something since what people find offensive (or humorous) varies hugely across cultures, languages, political persuasions, etc. If you want to make an argument that those fortunes should be moved to the -o file, that might be worth talking about. But flat out removing them is not keeping in the spirit of how things have traditionally been done. Doug -- This .signature sanitized for your protection From owner-cvs-src@FreeBSD.ORG Tue Apr 1 04:51:45 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6308F106564A; Tue, 1 Apr 2008 04:51:45 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0FD798FC13; Tue, 1 Apr 2008 04:51:45 +0000 (UTC) (envelope-from rermilov@team.vega.ru) Received: from [87.242.97.68] (port=60257 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1JgYTI-000EKx-8T; Tue, 01 Apr 2008 04:51:44 +0000 Received: from edoofus.dev.vega.ru (localhost [127.0.0.1]) by edoofus.dev.vega.ru (8.14.2/8.14.2) with ESMTP id m314pf7T007418; Tue, 1 Apr 2008 08:51:41 +0400 (MSD) (envelope-from rermilov@team.vega.ru) Received: (from ru@localhost) by edoofus.dev.vega.ru (8.14.2/8.14.2/Submit) id m314pfBM007352; Tue, 1 Apr 2008 08:51:41 +0400 (MSD) (envelope-from rermilov@team.vega.ru) X-Authentication-Warning: edoofus.dev.vega.ru: ru set sender to rermilov@team.vega.ru using -f Date: Tue, 1 Apr 2008 08:51:40 +0400 From: Ruslan Ermilov To: Florent Thoumie Message-ID: <20080401045140.GB40865@team.vega.ru> References: <200803311245.m2VCjICB008584@repoman.freebsd.org> <20080331125802.M816@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: cvs-src@freebsd.org, Pav Lucistnik , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/pkg_install Makefile src/usr.sbin/pkg_install/sign Makefile README check.c common.c extern.h gzip.c gzip.h main.c pgp.h pgp_check.c pgp_sign.c pkg_sign.1 sha1.c sign.c stand.c stand.h x509.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, 01 Apr 2008 04:51:45 -0000 On Mon, Mar 31, 2008 at 02:44:35PM +0100, Florent Thoumie wrote: > On Mon, Mar 31, 2008 at 1:58 PM, Pav Lucistnik wrote: > > On Mon, 31 Mar 2008 12:45:18 +0000 (UTC), Florent Thoumie wrote > > > > > flz 2008-03-31 12:45:18 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > usr.sbin/pkg_install Makefile > > > Removed files: > > > usr.sbin/pkg_install/sign Makefile README check.c common.c > > > extern.h gzip.c gzip.h main.c pgp.h > > > pgp_check.c pgp_sign.c pkg_sign.1 > > > sha1.c sign.c stand.c stand.h x509.c > > > Log: > > > Retire pkg_sign. It was used to embed signatures in gzip'ed packages. > > > It's not relevant since we've changed to bzip2 compression. > > > > Yay! > > > > Is the -lssl -lcrypto needed for anything else? If not, could you yank it out > > from pkg_install/Makefile.inc ? > > If it links against libfetch and MK_OPENSSL!=no, it will link against > libssl and libcrypto. > > Now I guess it's just a matter of explicit linking (if you remove > those references, it still builds fine). > We support static linking for which they're still necessary. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer From owner-cvs-src@FreeBSD.ORG Tue Apr 1 06:23:09 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43EE0106566B; Tue, 1 Apr 2008 06:23:09 +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 1C9258FC21; Tue, 1 Apr 2008 06:23:09 +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 m316N8tP023998; Tue, 1 Apr 2008 06:23:08 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m316N8x2023997; Tue, 1 Apr 2008 06:23:08 GMT (envelope-from davidxu) Message-Id: <200804010623.m316N8x2023997@repoman.freebsd.org> From: David Xu Date: Tue, 1 Apr 2008 06:23: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/lib/libthr/thread thr_rwlock.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, 01 Apr 2008 06:23:09 -0000 davidxu 2008-04-01 06:23:08 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_rwlock.c Log: Restore normal pthread_cond_signal path to avoid some obscure races. Revision Changes Path 1.13 +3 -2 src/lib/libthr/thread/thr_rwlock.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 06:56:12 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92615106566C; Tue, 1 Apr 2008 06:56:12 +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 6BB198FC23; Tue, 1 Apr 2008 06:56:12 +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 m316uCXP024968; Tue, 1 Apr 2008 06:56:12 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m316uBiS024967; Tue, 1 Apr 2008 06:56:11 GMT (envelope-from davidxu) Message-Id: <200804010656.m316uBiS024967@repoman.freebsd.org> From: David Xu Date: Tue, 1 Apr 2008 06:56: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/lib/libc/stdtime localtime.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, 01 Apr 2008 06:56:12 -0000 davidxu 2008-04-01 06:56:11 UTC FreeBSD src repository Modified files: lib/libc/stdtime localtime.c Log: Normally, we are often reading local time rather than setting time zone, replace mutex with rwlock, this should eliminate lock contention in most cases. Revision Changes Path 1.43 +63 -22 src/lib/libc/stdtime/localtime.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 07:20:05 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24F0D106566C; Tue, 1 Apr 2008 07:20:05 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F21668FC15; Tue, 1 Apr 2008 07:20:04 +0000 (UTC) (envelope-from weongyo@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 m317K4tu026902; Tue, 1 Apr 2008 07:20:04 GMT (envelope-from weongyo@repoman.freebsd.org) Received: (from weongyo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m317K4Am026901; Tue, 1 Apr 2008 07:20:04 GMT (envelope-from weongyo) Message-Id: <200804010720.m317K4Am026901@repoman.freebsd.org> From: Weongyo Jeong Date: Tue, 1 Apr 2008 07:20: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/share/man/man4 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, 01 Apr 2008 07:20:05 -0000 weongyo 2008-04-01 07:20:04 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Log: Connect malo.4 to the build. Approved by: thompsa (mentor) Revision Changes Path 1.413 +1 -0 src/share/man/man4/Makefile From owner-cvs-src@FreeBSD.ORG Tue Apr 1 07:36:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8D9D106566C; Tue, 1 Apr 2008 07:36:30 +0000 (UTC) (envelope-from rink@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 99B6D8FC1D; Tue, 1 Apr 2008 07:36:30 +0000 (UTC) (envelope-from rink@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 m317aUDv027541; Tue, 1 Apr 2008 07:36:30 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m317aULg027540; Tue, 1 Apr 2008 07:36:30 GMT (envelope-from rink) Message-Id: <200804010736.m317aULg027540@repoman.freebsd.org> From: Rink Springer Date: Tue, 1 Apr 2008 07:36: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/share/man/man4 Makefile src/sys/conf NOTES files src/sys/dev/cmx cmx.c cmx_pccard.c cmxreg.h cmxvar.h src/sys/dev/pccard pccarddevs src/sys/modules Makefile src/sys/modules/cmx 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, 01 Apr 2008 07:36:30 -0000 rink 2008-04-01 07:36:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile sys/conf NOTES files sys/dev/pccard pccarddevs sys/modules Makefile Added files: (Branch: RELENG_7) sys/dev/cmx cmx.c cmx_pccard.c cmxreg.h cmxvar.h sys/modules/cmx Makefile Log: MFC: Commit cmx(4), a driver for Omnikey CardMan 4040 PCMCIA smartcard readers. PR: kern/114582 Submitted by: Daniel Roethlisberger Reviewed by: imp, myself Tested by: johans, myself Revision Changes Path 1.393.2.8 +1 -0 src/share/man/man4/Makefile 1.1454.2.4 +2 -0 src/sys/conf/NOTES 1.1243.2.11 +2 -0 src/sys/conf/files 1.1.2.1 +701 -0 src/sys/dev/cmx/cmx.c (new) 1.1.2.1 +115 -0 src/sys/dev/cmx/cmx_pccard.c (new) 1.1.2.1 +66 -0 src/sys/dev/cmx/cmxreg.h (new) 1.1.2.1 +99 -0 src/sys/dev/cmx/cmxvar.h (new) 1.129.2.2 +4 -0 src/sys/dev/pccard/pccarddevs 1.540.2.8 +4 -0 src/sys/modules/Makefile 1.1.2.1 +12 -0 src/sys/modules/cmx/Makefile (new) From owner-cvs-src@FreeBSD.ORG Tue Apr 1 07:57:50 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0625D1065676; Tue, 1 Apr 2008 07:57:50 +0000 (UTC) (envelope-from rink@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BFBA18FC14; Tue, 1 Apr 2008 07:57:48 +0000 (UTC) (envelope-from rink@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 m317vmDv028300; Tue, 1 Apr 2008 07:57:48 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m317vmPR028299; Tue, 1 Apr 2008 07:57:48 GMT (envelope-from rink) Message-Id: <200804010757.m317vmPR028299@repoman.freebsd.org> From: Rink Springer Date: Tue, 1 Apr 2008 07:57: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/share/man/man4 Makefile uslcom.4 src/sys/conf NOTES files src/sys/dev/usb usbdevs uslcom.c src/sys/modules Makefile src/sys/modules/uslcom 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, 01 Apr 2008 07:57:50 -0000 rink 2008-04-01 07:57:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 Makefile sys/conf NOTES files sys/dev/usb usbdevs sys/modules Makefile Added files: (Branch: RELENG_7) share/man/man4 uslcom.4 sys/dev/usb uslcom.c sys/modules/uslcom Makefile Log: MFC: Import uslcom(4) from OpenBSD - this is a driver for Silicon Laboratories CP2101/CP2102 based USB serial adapters. Reviewed by: imp, emaste Obtained from: OpenBSD Revision Changes Path 1.393.2.9 +1 -0 src/share/man/man4/Makefile 1.3.2.1 +97 -0 src/share/man/man4/uslcom.4 (new) 1.1454.2.5 +2 -0 src/sys/conf/NOTES 1.1243.2.12 +1 -0 src/sys/conf/files 1.328.2.6 +26 -0 src/sys/dev/usb/usbdevs 1.2.2.1 +419 -0 src/sys/dev/usb/uslcom.c (new) 1.540.2.9 +1 -0 src/sys/modules/Makefile 1.2.2.1 +10 -0 src/sys/modules/uslcom/Makefile (new) From owner-cvs-src@FreeBSD.ORG Tue Apr 1 07:59:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED05B106564A; Tue, 1 Apr 2008 07:59:39 +0000 (UTC) (envelope-from rink@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C72478FC25; Tue, 1 Apr 2008 07:59:39 +0000 (UTC) (envelope-from rink@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 m317xd8r028414; Tue, 1 Apr 2008 07:59:39 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m317xd04028413; Tue, 1 Apr 2008 07:59:39 GMT (envelope-from rink) Message-Id: <200804010759.m317xd04028413@repoman.freebsd.org> From: Rink Springer Date: Tue, 1 Apr 2008 07:59:39 +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 cmx.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, 01 Apr 2008 07:59:40 -0000 rink 2008-04-01 07:59:39 UTC FreeBSD src repository Added files: (Branch: RELENG_7) share/man/man4 cmx.4 Log: Add cmx.4 file forgotten in previous cmx(4) MFC. Noticed by: brueffer Revision Changes Path 1.2.2.1 +120 -0 src/share/man/man4/cmx.4 (new) From owner-cvs-src@FreeBSD.ORG Tue Apr 1 08:05:31 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 757231065670; Tue, 1 Apr 2008 08:05:31 +0000 (UTC) (envelope-from rink@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 50A328FC2B; Tue, 1 Apr 2008 08:05:31 +0000 (UTC) (envelope-from rink@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 m3185VqF029780; Tue, 1 Apr 2008 08:05:31 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3185VYx029779; Tue, 1 Apr 2008 08:05:31 GMT (envelope-from rink) Message-Id: <200804010805.m3185VYx029779@repoman.freebsd.org> From: Rink Springer Date: Tue, 1 Apr 2008 08:05: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/sys/dev/atkbdc psm.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, 01 Apr 2008 08:05:31 -0000 rink 2008-04-01 08:05:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/atkbdc psm.c Log: MFC: Some PS/2 mice (at least the A4Tech X-7xx) need to be set to Intelli mode first before they can be set to Explorer mode. PR: kern/118578 Submitted by: Andriy Gapon (I added some comments) Reviewed by: philip Revision Changes Path 1.93.2.1 +7 -0 src/sys/dev/atkbdc/psm.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 08:43:08 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D08A21065671 for ; Tue, 1 Apr 2008 08:43:08 +0000 (UTC) (envelope-from florent.thoumie@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 A01278FC1C for ; Tue, 1 Apr 2008 08:43:08 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2422299waf.3 for ; Tue, 01 Apr 2008 01:43:08 -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=Qw6aLqMuYpP8rl2YqM+b4nACpBsSiBGif0UhLksMW/M=; b=ore4hnKhwOPh9QAURWg+6nq20z8+gz9nSQ3veMIUMtZH1HFPUr+1uof7QULI/cMzleapPyB3PlE4E0Uafq6oMyTgcM5otlwIA0e2vzPIkbg7CpkU1cUYatVgF99mvwJIdnXPHNHnsdT8XAZyD62oRwbgNrPD9rDOvlBaO44TXuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=H5TM0BdM7d8Cmo0TkbtWqdccV0ZbNT1YJcsvUMTRfPdzgP8B9mJ3b0+Ur6tZ/cLfCLL6zDN15LbJ4g26Hi7Eyek+GuvmWIIWNF/3HIJatPbXJFAr+CTrFc4DVwKgQzc/0dEI0sJal7yHc3Or+meYjd91VyPlYjTFQRqk32tMWMc= Received: by 10.114.110.12 with SMTP id i12mr11873950wac.73.1207039388024; Tue, 01 Apr 2008 01:43:08 -0700 (PDT) Received: by 10.114.57.4 with HTTP; Tue, 1 Apr 2008 01:43:07 -0700 (PDT) Message-ID: Date: Tue, 1 Apr 2008 09:43:07 +0100 From: "Florent Thoumie" Sender: florent.thoumie@gmail.com To: "Ruslan Ermilov" In-Reply-To: <20080401045140.GB40865@team.vega.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803311245.m2VCjICB008584@repoman.freebsd.org> <20080331125802.M816@FreeBSD.org> <20080401045140.GB40865@team.vega.ru> X-Google-Sender-Auth: b2382d67d6ebc547 Cc: cvs-src@freebsd.org, Pav Lucistnik , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/pkg_install Makefile src/usr.sbin/pkg_install/sign Makefile README check.c common.c extern.h gzip.c gzip.h main.c pgp.h pgp_check.c pgp_sign.c pkg_sign.1 sha1.c sign.c stand.c stand.h x509.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, 01 Apr 2008 08:43:08 -0000 On Tue, Apr 1, 2008 at 5:51 AM, Ruslan Ermilov wrote: > > On Mon, Mar 31, 2008 at 02:44:35PM +0100, Florent Thoumie wrote: > > On Mon, Mar 31, 2008 at 1:58 PM, Pav Lucistnik wrote: > > > On Mon, 31 Mar 2008 12:45:18 +0000 (UTC), Florent Thoumie wrote > > > > > > > flz 2008-03-31 12:45:18 UTC > > > > > > > > FreeBSD src repository > > > > > > > > Modified files: > > > > usr.sbin/pkg_install Makefile > > > > Removed files: > > > > usr.sbin/pkg_install/sign Makefile README check.c common.c > > > > extern.h gzip.c gzip.h main.c pgp.h > > > > pgp_check.c pgp_sign.c pkg_sign.1 > > > > sha1.c sign.c stand.c stand.h x509.c > > > > Log: > > > > Retire pkg_sign. It was used to embed signatures in gzip'ed packages. > > > > It's not relevant since we've changed to bzip2 compression. > > > > > > Yay! > > > > > > Is the -lssl -lcrypto needed for anything else? If not, could you yank it out > > > from pkg_install/Makefile.inc ? > > > > If it links against libfetch and MK_OPENSSL!=no, it will link against > > libssl and libcrypto. > > > > Now I guess it's just a matter of explicit linking (if you remove > > those references, it still builds fine). > > > We support static linking for which they're still necessary. Right. Thanks Ruslan for the clarification. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer From owner-cvs-src@FreeBSD.ORG Tue Apr 1 08:49:47 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E9D21065671; Tue, 1 Apr 2008 08:49:47 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id 36F8B8FC22; Tue, 1 Apr 2008 08:49:47 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JgcBe-000N8o-9o; Tue, 01 Apr 2008 09:49:46 +0100 Date: Tue, 1 Apr 2008 09:49:46 +0100 From: Ceri Davies To: Giorgos Keramidas Message-ID: <20080401084946.GI44028@submonkey.net> References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HENu/cXyPKFN4XCQ" Content-Disposition: inline In-Reply-To: <87hcema76s.fsf@kobe.laptop> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Ceri Davies Cc: Ganbold Tsagaankhuu , yar@freebsd.org, Doug Barton , cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org Subject: Re: 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: Tue, 01 Apr 2008 08:49:47 -0000 --HENu/cXyPKFN4XCQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 01, 2008 at 12:56:43AM +0300, Giorgos Keramidas wrote: > On Mon, 31 Mar 2008 12:19:45 -0700, Doug Barton wrote: > > Ganbold Tsagaankhuu wrote: > >> ganbold 2008-03-31 10:28:09 UTC > >> > >> FreeBSD src repository (doc committer) > >> > >> Modified files: > >> games/fortune/datfiles fortunes Log: > >> Improve some quotes of Chinggis Khan. > >> Remove militant and moralized quotes of Chinggis Khan. > >> Add one more quote of Chinggis Khan. > >> Reviewed by: yar > >> Approved by: keramida(mentor) > >> Revision Changes Path > >> 1.259 +37 -56 src/games/fortune/datfiles/fortunes > >> > >> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortu= nes.diff?&r1=3D1.258&r2=3D1.259&f=3Dh > > > > We do not remove fortunes without a very good reason. Can you please > > replace the ones you deleted? >=20 > This is the age old "these fortune cookies may be offensive to some > people" bikeshed. Do we really want to go there again? Other than perhaps the grammar, I find it impossible to imagine how anyone could be offended by, for example, this one: Strive to the pass of high mountain =20 Cross in the shallow side of the wide ocean =20 Do not give up because of distance =20 Will certainly reach if walks =20 Do not discourage of human =20 Shall overcome if you try You may as well be offended by Rocky. ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --HENu/cXyPKFN4XCQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFH8fcpocfcwTS3JF8RApcIAJkBtC0xn2e+c/DftmZpP7so6Yko+QCZAZfP VP9+l6HaCKI2DtGxOaO5N4Y= =S15K -----END PGP SIGNATURE----- --HENu/cXyPKFN4XCQ-- From owner-cvs-src@FreeBSD.ORG Tue Apr 1 10:41:24 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF021106566B; Tue, 1 Apr 2008 10:41:24 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 9C5548FC14; Tue, 1 Apr 2008 10:41:24 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Jgcj6-000BY4-Ti; Tue, 01 Apr 2008 18:24:21 +0900 Message-ID: <47F1FF48.1090009@micom.mng.net> Date: Tue, 01 Apr 2008 17:24:24 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.12 (X11/20080304) MIME-Version: 1.0 To: Ceri Davies References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> In-Reply-To: <20080401084946.GI44028@submonkey.net> X-Enigmail-Version: 0.95.6 OpenPGP: id=78F6425E Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ganbold Tsagaankhuu , yar@freebsd.org, Doug Barton , cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org, Giorgos Keramidas Subject: Re: 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: Tue, 01 Apr 2008 10:41:25 -0000 Ceri Davies wrote: > On Tue, Apr 01, 2008 at 12:56:43AM +0300, Giorgos Keramidas wrote: > >> On Mon, 31 Mar 2008 12:19:45 -0700, Doug Barton wrote: >> >>> Ganbold Tsagaankhuu wrote: >>> >>>> ganbold 2008-03-31 10:28:09 UTC >>>> >>>> FreeBSD src repository (doc committer) >>>> >>>> Modified files: >>>> games/fortune/datfiles fortunes Log: >>>> Improve some quotes of Chinggis Khan. >>>> Remove militant and moralized quotes of Chinggis Khan. >>>> Add one more quote of Chinggis Khan. >>>> Reviewed by: yar >>>> Approved by: keramida(mentor) >>>> Revision Changes Path >>>> 1.259 +37 -56 src/games/fortune/datfiles/fortunes >>>> >>>> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h >>>> >>> We do not remove fortunes without a very good reason. Can you please >>> replace the ones you deleted? >>> >> This is the age old "these fortune cookies may be offensive to some >> people" bikeshed. Do we really want to go there again? >> > > Other than perhaps the grammar, I find it impossible to imagine how > anyone could be offended by, for example, this one: > > Strive to the pass of high mountain > Cross in the shallow side of the wide ocean > Do not give up because of distance > Will certainly reach if walks > Do not discourage of human > Shall overcome if you try > Above quote was changed to: Ascend to the high mountain pass, Cross the shallow side of the wide ocean. Do not give up to the great distance: It's by going that you will reach your aim. Be not discouraged by human frailty: You will overcome it if you try to. Ganbold > You may as well be offended by Rocky. > > ceri > -- You have a message from the operator. From owner-cvs-src@FreeBSD.ORG Tue Apr 1 10:49:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0D361065675; Tue, 1 Apr 2008 10:49:06 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8B98FC34; Tue, 1 Apr 2008 10:49:06 +0000 (UTC) (envelope-from kib@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 m31An677046403; Tue, 1 Apr 2008 10:49:06 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31An6Xa046402; Tue, 1 Apr 2008 10:49:06 GMT (envelope-from kib) Message-Id: <200804011049.m31An6Xa046402@repoman.freebsd.org> From: Konstantin Belousov Date: Tue, 1 Apr 2008 10:49: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/include unistd.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, 01 Apr 2008 10:49:06 -0000 kib 2008-04-01 10:49:06 UTC FreeBSD src repository Modified files: include unistd.h Log: Correct the prototype for the faccessat(). Reported by: ru Revision Changes Path 1.86 +1 -1 src/include/unistd.h From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:05:26 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 880DF106564A; Tue, 1 Apr 2008 11:05:26 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6193F8FC13; Tue, 1 Apr 2008 11:05:26 +0000 (UTC) (envelope-from flz@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 m31B5QUs048101; Tue, 1 Apr 2008 11:05:26 GMT (envelope-from flz@repoman.freebsd.org) Received: (from flz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31B5QU2048100; Tue, 1 Apr 2008 11:05:26 GMT (envelope-from flz) Message-Id: <200804011105.m31B5QU2048100@repoman.freebsd.org> From: Florent Thoumie Date: Tue, 1 Apr 2008 11:05: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 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, 01 Apr 2008 11:05:26 -0000 flz 2008-04-01 11:05:26 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: Add pkg_check and pkg_sign to ObsoleteFiles.inc Reminded by: Pawel Worach MFC after: 1 week Revision Changes Path 1.136 +5 -0 src/ObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:17:39 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC14A106566C; Tue, 1 Apr 2008 11:17:39 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id 677AE8FC2B; Tue, 1 Apr 2008 11:17:39 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from localhost ([127.0.0.1] helo=galain.elvandar.org) by websrv01.jr-hosting.nl with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JgeV9-000KSc-Ji; Tue, 01 Apr 2008 13:18:03 +0200 Received: from 194.74.82.3 (SquirrelMail authenticated user remko) by galain.elvandar.org with HTTP; Tue, 1 Apr 2008 13:18:03 +0200 (CEST) Message-ID: <32266.194.74.82.3.1207048683.squirrel@galain.elvandar.org> In-Reply-To: <47F1FF48.1090009@micom.mng.net> References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> <47F1FF48.1090009@micom.mng.net> Date: Tue, 1 Apr 2008 13:18:03 +0200 (CEST) From: "Remko Lodder" To: "Ganbold" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Ganbold Tsagaankhuu , yar@freebsd.org, Doug Barton , cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org, Giorgos Keramidas , Ceri Davies Subject: Re: cvs commit: src/games/fortune/datfiles fortunes X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: remko@elvandar.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 11:17:39 -0000 On Tue, April 1, 2008 11:24 am, Ganbold wrote: > Ceri Davies wrote: >> On Tue, Apr 01, 2008 at 12:56:43AM +0300, Giorgos Keramidas wrote: >> >>> On Mon, 31 Mar 2008 12:19:45 -0700, Doug Barton >>> wrote: >>> >>>> Ganbold Tsagaankhuu wrote: >>>> >>>>> ganbold 2008-03-31 10:28:09 UTC >>>>> >>>>> FreeBSD src repository (doc committer) >>>>> >>>>> Modified files: >>>>> games/fortune/datfiles fortunes Log: >>>>> Improve some quotes of Chinggis Khan. >>>>> Remove militant and moralized quotes of Chinggis Khan. >>>>> Add one more quote of Chinggis Khan. >>>>> Reviewed by: yar >>>>> Approved by: keramida(mentor) >>>>> Revision Changes Path >>>>> 1.259 +37 -56 src/games/fortune/datfiles/fortunes >>>>> >>>>> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h >>>>> >>>> We do not remove fortunes without a very good reason. Can you please >>>> replace the ones you deleted? >>>> >>> This is the age old "these fortune cookies may be offensive to some >>> people" bikeshed. Do we really want to go there again? >>> >> >> Other than perhaps the grammar, I find it impossible to imagine how >> anyone could be offended by, for example, this one: >> >> Strive to the pass of high mountain >> Cross in the shallow side of the wide ocean >> Do not give up because of distance >> Will certainly reach if walks >> Do not discourage of human >> Shall overcome if you try >> > > Above quote was changed to: > > Ascend to the high mountain pass, > Cross the shallow side of the wide ocean. > Do not give up to the great distance: > It's by going that you will reach your aim. > Be not discouraged by human frailty: > You will overcome it if you try to. > > > > Ganbold > I dont understand the change this is not offending at all in my believing. Please do not change quotes of people, perhaps they weren't the best people around, but they are quotes, and quotes are not to be changed by anyone. if they are too "hard" or something, they should either be removed, or let them stay, but not changed. (unless it's an obvious typo, that isn't in the original quote ofcourse). thanks, Remko -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:23:32 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BE1D106566B; Tue, 1 Apr 2008 11:23: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 4F1D78FC15; Tue, 1 Apr 2008 11:23: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 m31BNWZd048775; Tue, 1 Apr 2008 11:23:32 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31BNWRm048774; Tue, 1 Apr 2008 11:23:32 GMT (envelope-from rwatson) Message-Id: <200804011123.m31BNWRm048774@repoman.freebsd.org> From: Robert Watson Date: Tue, 1 Apr 2008 11:23:32 +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 options src/sys/ddb db_capture.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, 01 Apr 2008 11:23:32 -0000 rwatson 2008-04-01 11:23:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/conf options sys/ddb db_capture.c Log: Merge options:1.616, db_capture.c:1.4 from HEAD to RELNEG_7: Allow DDB_CAPTURE_DEFAULTBUFSIZE and DDB_CAPTURE_MAXBUFSIZE to be overridden at compile-time using kernel options of the same names. Rather than doing a compile-time CTASSERT of buffer sizes being even multiples of block sizes, just adjust them at boottime, as the failure mode is more user-friendly. MFC after: 2 months PR: 119993 Suggested by: Scot Hetzel Revision Changes Path 1.608.2.2 +2 -0 src/sys/conf/options 1.5.2.4 +18 -13 src/sys/ddb/db_capture.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:31:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 484341065672; Tue, 1 Apr 2008 11:31:19 +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 218938FC15; Tue, 1 Apr 2008 11:31:19 +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 m31BVJHR049085; Tue, 1 Apr 2008 11:31:19 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31BVJVd049084; Tue, 1 Apr 2008 11:31:19 GMT (envelope-from rwatson) Message-Id: <200804011131.m31BVJVd049084@repoman.freebsd.org> From: Robert Watson Date: Tue, 1 Apr 2008 11:31:18 +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/ddb db_capture.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, 01 Apr 2008 11:31:19 -0000 rwatson 2008-04-01 11:31:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ddb db_capture.c Log: Merge db_capture.c:1.5 from HEAD to RELENG_7: Increase maximum DDB capture buffer size to 5MB. PR: 119993 Suggested by: Scot Hetzel Revision Changes Path 1.5.2.5 +1 -1 src/sys/ddb/db_capture.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:38:52 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C7E106566C; Tue, 1 Apr 2008 11:38:52 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2528FC2D; Tue, 1 Apr 2008 11:38:52 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.200] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m31BcjFE027267; Tue, 1 Apr 2008 07:38:46 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 1 Apr 2008 01:39:55 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <47F19B89.20601@freebsd.org> Message-ID: <20080401013919.M72156@desktop> References: <200803310255.m2V2toJl053104@repoman.freebsd.org> <20080331150346.R72156@desktop> <47F19B89.20601@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_cond.c thr_private.h thr_rwlock.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, 01 Apr 2008 11:38:52 -0000 On Tue, 1 Apr 2008, David Xu wrote: > Jeff Roberson wrote: >> On Mon, 31 Mar 2008, David Xu wrote: >> >>> davidxu 2008-03-31 02:55:50 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c >>> Log: >>> Rewrite rwlock to user atomic operations to change rwlock state, this >>> eliminates internal mutex lock contention when most rwlock operations >>> are read. >>> >>> Orignal patch provided by: jeff >> >> Thanks David! >> >> Do you still plan to do kernel side support so we can totally eliminate the >> pthread mutex and condvars from rwlock? I have evidence that this would >> produce further improvements. >> >> Jeff > > I have pure kernel version working, sometimes locking kernel sleep > chain is more expensive than a pure userland mutex locking, since > kernel sleep chain lock is global. I am hestiate adding more code > to kernel since I have tested mysql super-smack and sysbench > read-only and seen no visible performance differences. > all patches are here: > > http://people.freebsd.org/~davidxu/patch/libthr_umtx_rwlock.diff > http://people.freebsd.org/~davidxu/patch/umtx_rwlock.diff > > Te main bottleneck is in mysql itself, there are lots of lock > contention, the following is a list of the main contention points when > testing super-smack read benchmark. > > http://people.freebsd.org/~davidxu/mysql/mysql_lock.txt > > I don't think it scales beyond 4 cores ( I have tested it on a 4-core > machine). On linux it scales to 8 cores. On FreeBSD CVS is limited by poor locking in the buffer cache. I have a local hack so I can test changes to this. I will try my hack with your umtx changes and get back to you. Thanks, Jeff > > Regards, > David Xu > From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:39:04 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95EC1065673; Tue, 1 Apr 2008 11:39:04 +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 C2A648FC23; Tue, 1 Apr 2008 11:39:04 +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 m31Bd4k2049363; Tue, 1 Apr 2008 11:39:04 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31Bd4EA049362; Tue, 1 Apr 2008 11:39:04 GMT (envelope-from rwatson) Message-Id: <200804011139.m31Bd4EA049362@repoman.freebsd.org> From: Robert Watson Date: Tue, 1 Apr 2008 11:39: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/ddb db_textdump.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, 01 Apr 2008 11:39:05 -0000 rwatson 2008-04-01 11:39:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ddb db_textdump.c Log: Merge db_textdump.c:1.3 from HEAD to RELENG_7: Use dump_write() instead of direct calls to di->dumper() in textdumps. Textdumps already do pretty much the same sanity checking, but abstractions and seatbelts are both useful. Revision Changes Path 1.3.2.3 +3 -3 src/sys/ddb/db_textdump.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:48:25 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E612B106566B; Tue, 1 Apr 2008 11:48:25 +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 D95FB8FC1C; Tue, 1 Apr 2008 11:48:25 +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 m31BmP6o049692; Tue, 1 Apr 2008 11:48:25 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31BmPQu049691; Tue, 1 Apr 2008 11:48:25 GMT (envelope-from rwatson) Message-Id: <200804011148.m31BmPQu049691@repoman.freebsd.org> From: Robert Watson Date: Tue, 1 Apr 2008 11:48:25 +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/ddb db_examine.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, 01 Apr 2008 11:48:26 -0000 rwatson 2008-04-01 11:48:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ddb db_examine.c Log: Merge db_examine.c:1.35 from HEAD to RELENG_7: Add a /S mode to DDB "ex" command, which interprets and prints the value at the requested address as a symbol. For example, "ex /S aio_swake" prints the name of the function currently registered in via aio_swake hook. The change as committed differs slightly from the patch in the PR, as I force the size of the retrieved value (and the automatic address increment) to be sizeof(void *). This seems to provide the most useful auto-increment behavior, and defaults using the default size (4), which is not sizeof(void *) on 64-bit platforms. PR: 57976 Submitted by: Dan Strick Revision Changes Path 1.33.2.2 +6 -0 src/sys/ddb/db_examine.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:50:04 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B623C106566B; Tue, 1 Apr 2008 11:50:04 +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 8EF638FC24; Tue, 1 Apr 2008 11:50:04 +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 m31Bo4YP049789; Tue, 1 Apr 2008 11:50:04 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31Bo4Rv049788; Tue, 1 Apr 2008 11:50:04 GMT (envelope-from rwatson) Message-Id: <200804011150.m31Bo4Rv049788@repoman.freebsd.org> From: Robert Watson Date: Tue, 1 Apr 2008 11:50: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/share/man/man4 ddb.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, 01 Apr 2008 11:50:04 -0000 rwatson 2008-04-01 11:50:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ddb.4 Log: Merge ddb.4:1.48 from HEAD to RELENG_7: Update ddb.4 to reflect addition of /S (symbol name) printing mode for examine. PR: 57976 Revision Changes Path 1.42.2.6 +2 -0 src/share/man/man4/ddb.4 From owner-cvs-src@FreeBSD.ORG Tue Apr 1 11:51:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01462106566B; Tue, 1 Apr 2008 11:51:43 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id A36AE8FC1C; Tue, 1 Apr 2008 11:51:42 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Jgf1d-000DQp-43; Tue, 01 Apr 2008 20:51:37 +0900 Message-ID: <47F221CC.8010209@micom.mng.net> Date: Tue, 01 Apr 2008 19:51:40 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.12 (X11/20080304) MIME-Version: 1.0 To: Doug Barton References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> In-Reply-To: <47F13951.2080907@FreeBSD.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=78F6425E Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ganbold Tsagaankhuu , yar@freebsd.org, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Giorgos Keramidas Subject: Re: 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: Tue, 01 Apr 2008 11:51:43 -0000 Doug Barton wrote: > Ganbold Tsagaankhuu wrote: >> ganbold 2008-03-31 10:28:09 UTC >> >> FreeBSD src repository (doc committer) >> >> Modified files: >> games/fortune/datfiles fortunes Log: >> Improve some quotes of Chinggis Khan. >> Remove militant and moralized quotes of Chinggis Khan. >> Add one more quote of Chinggis Khan. >> Reviewed by: yar >> Approved by: keramida(mentor) >> Revision Changes Path >> 1.259 +37 -56 src/games/fortune/datfiles/fortunes >> >> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h >> > > We do not remove fortunes without a very good reason. Can you please > replace the ones you deleted? Sorry, Doug. I have patch that adds missing quotes here: Index: ../src/games/fortune/datfiles/fortunes =================================================================== RCS file: /home/ncvs/src/games/fortune/datfiles/fortunes,v retrieving revision 1.259 diff -u -r1.259 fortunes --- ../src/games/fortune/datfiles/fortunes 31 Mar 2008 10:28:09 -0000 1.259 +++ ../src/games/fortune/datfiles/fortunes 1 Apr 2008 02:21:21 -0000 @@ -46075,6 +46075,12 @@ The greatest griefs are those we cause ourselves. -- Sophocles % +The greatest joy a man can know is to conquer his enemies and drive them +before him. To ride their horses and take away their possessions. To see +the faces of those who were dear to them bedewed with tears, and to clasp +their wives and daughters to his arms. + -- Chinggis (Genghis) Khan +% The greatest love is a mother's, then a dog's, then a sweetheart's. -- Polish proverb % @@ -55303,6 +55309,14 @@ When a man marries again, it is because he adored his first wife. -- Wilde % +When alcohol touches the tongue, +It is as small as a gnat, +But after leaving the tongue +It becomes as big as an elephant. +It ruins the mind +And exhausts the wealth. + -- Boorchi (first of 9 knights of Genghis khan) +% When alerted to an intrusion by tinkling glass or otherwise, 1) Calm yourself 2) Identify the intruder 3) If hostile, kill him. But if you want me back out my last commit please let me know. thanks and my apologies, Ganbold > > Thanks, > > Doug > -- McEwan's Rule of Relative Importance: When traveling with a herd of elephants, don't be the first to lie down and rest. From owner-cvs-src@FreeBSD.ORG Tue Apr 1 13:54:25 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0875A106566B; Tue, 1 Apr 2008 13:54:25 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D3E288FC18; Tue, 1 Apr 2008 13:54:24 +0000 (UTC) (envelope-from bms@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 m31DsOID067705; Tue, 1 Apr 2008 13:54:24 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31DsO18067704; Tue, 1 Apr 2008 13:54:24 GMT (envelope-from bms) Message-Id: <200804011354.m31DsO18067704@repoman.freebsd.org> From: Bruce M Simpson Date: Tue, 1 Apr 2008 13:54: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/contrib/netcat nc.1 netcat.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, 01 Apr 2008 13:54:25 -0000 bms 2008-04-01 13:54:24 UTC FreeBSD src repository Modified files: contrib/netcat nc.1 netcat.c Log: Add an -O option to disable TCP options, for protocol testing purposes. Do this for active and passive (-l switch) TCP sessions. MFC after: 1 week Revision Changes Path 1.8 +9 -3 src/contrib/netcat/nc.1 1.7 +18 -3 src/contrib/netcat/netcat.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 13:55:01 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A564A106564A for ; Tue, 1 Apr 2008 13:55:01 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id 303E28FC2D for ; Tue, 1 Apr 2008 13:55:00 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so3320417fka.11 for ; Tue, 01 Apr 2008 06:54:59 -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=Rs2WPnEM7Gv4S9VJQoZ7luF8YrFZt5XMgqLAKH0XOjU=; b=YAEJrEtSdWrrd6Dx5CI8BdiTatRZROc4XcXLLdoZ6ffsseEHIm3Os6T/eWiavWVHPi0z30CpfD6c2xohMFVzBJqduxVV+56e8bliNitmCoeoAuBqjWW1YKCPg6si5N3iT3TxAfYw6neRmP5ojj8R6HUalKN20G6xhiCvtzxIcCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=rj/26m9colzYnKCIfRyz6gZeD8M2CUx2qdvQlePfHjdQr5/FJ6zMQZSVez9MEeuU4S6spE8XL5daZNoy6eydCEp0ucRrFzVdp4VZOKGpmHJ9+AXG1VijNvJ6d97rQKizoG6UKrRO7R4J3bVNU89HLfKvZxIKkowl4Pi6/AtkVWE= Received: by 10.82.173.1 with SMTP id v1mr19199448bue.11.1207058099481; Tue, 01 Apr 2008 06:54:59 -0700 (PDT) Received: by 10.82.145.1 with HTTP; Tue, 1 Apr 2008 06:54:59 -0700 (PDT) Message-ID: Date: Tue, 1 Apr 2008 17:54:59 +0400 From: "Yar Tikhiy" Sender: yar.tikhiy@gmail.com To: "Doug Barton" In-Reply-To: <47F13951.2080907@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> X-Google-Sender-Auth: 9492f79b934bea08 Cc: Ganbold Tsagaankhuu , src-committers@freebsd.org, Giorgos Keramidas , cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: 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: Tue, 01 Apr 2008 13:55:01 -0000 On Mon, Mar 31, 2008 at 11:19 PM, Doug Barton wrote: > > Ganbold Tsagaankhuu wrote: > > ganbold 2008-03-31 10:28:09 UTC > > > > FreeBSD src repository (doc committer) > > > > Modified files: > > games/fortune/datfiles fortunes > > Log: > > Improve some quotes of Chinggis Khan. > > Remove militant and moralized quotes of Chinggis Khan. > > Add one more quote of Chinggis Khan. > > > > Reviewed by: yar > > Approved by: keramida(mentor) > > > > Revision Changes Path > > 1.259 +37 -56 src/games/fortune/datfiles/fortunes > > > > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h > > We do not remove fortunes without a very good reason. Can you please > replace the ones you deleted? Please note that the fortunes removed were submitted by Ganbold some time ago. The things went as follows: - Ganbold posted a PR on adding quotes from Chinggis Khan; - the original version of the quotes was in rather poor English; - grog@ committed the patch as is without any corrections and left it to rot; - now Ganbold has got his commit bit and wants to finish the task he initially suggested. So I think Ganbold in a way owns the quotes and it's up to him to decide what final cut of Chinggis Khan's wisdom to present to the English-speaking world. Due to poor quality of grog@'s initial commit (which raised no objections BTW), the quotes had been WIP before this commit. IMHO this commit isn't covered by the "don't remove fortunes" rule. -- Yar From owner-cvs-src@FreeBSD.ORG Tue Apr 1 13:58:11 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65CFB1065670; Tue, 1 Apr 2008 13:58:11 +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 3CFE98FC23; Tue, 1 Apr 2008 13:58:11 +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 m31DwBgv067903; Tue, 1 Apr 2008 13:58:11 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31DwBUh067902; Tue, 1 Apr 2008 13:58:11 GMT (envelope-from mav) Message-Id: <200804011358.m31DwBUh067902@repoman.freebsd.org> From: Alexander Motin Date: Tue, 1 Apr 2008 13:58:10 +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 ng_car.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, 01 Apr 2008 13:58:11 -0000 mav 2008-04-01 13:58:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_car.c Log: MFC rev. 1.6-1.7 - Switch from timeval to bintime, to use 1/(2^20) of seconds instead of microseconds. It allows to use bit shifts instead of some heavy 64bit mul/div math operations. - Account all node stats at the shape mode. - Do not check destination hook presence, it will be done by netgraph. - Use u_int instead of int in some places to simplify type conversions. - Use NG_SEND_DATA_ONLY() macro instead of selfmade equivalent. Revision Changes Path 1.4.2.2 +51 -58 src/sys/netgraph/ng_car.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 14:20:02 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E856106564A for ; Tue, 1 Apr 2008 14:20:02 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 717728FC1D for ; Tue, 1 Apr 2008 14:20:01 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so3333061fka.11 for ; Tue, 01 Apr 2008 07:19:59 -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=mBxxZoamTbOqqG7dS3MM6FkoR95tmLN23ikn+PCtl5A=; b=TWJS9XUjI0vkKhYnJprAVgKlk6gQMe4xndePbAQAJnj8JKf6eQGwNHarGXNhxMCWRLoF3fckhcsKlZuEUFfwt6qdMdyDZjRLsvPu1wPSxuQV+bvvS12liGxUQPeLxGDNqNpB+ZXY6pLD0fsPZYD087Zhyn0oB1txg+a91J0NSPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=ZWbRS5WBZc9FaDAHfvWeUP3Ljs8sEMPrN7QYbLs2YptTTo1zRZm1rRPfu+7gvLk3ERPAbsm5us5dkTtnZFHm29+BhRWDbckUsUkVi3a9Zc+ReB9eZgEp2U5Qo491N0ykWCbApj32D0lpQuDiz4R0kx1UfkaJ/uT2nyssx2oiFdk= Received: by 10.82.175.17 with SMTP id x17mr18855391bue.23.1207059599510; Tue, 01 Apr 2008 07:19:59 -0700 (PDT) Received: by 10.82.145.1 with HTTP; Tue, 1 Apr 2008 07:19:59 -0700 (PDT) Message-ID: Date: Tue, 1 Apr 2008 18:19:59 +0400 From: "Yar Tikhiy" Sender: yar.tikhiy@gmail.com To: "Ceri Davies" In-Reply-To: <20080401084946.GI44028@submonkey.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> X-Google-Sender-Auth: a1d21c1a42af6d51 Cc: Ganbold Tsagaankhuu , Doug Barton , cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org, Giorgos Keramidas Subject: Re: 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: Tue, 01 Apr 2008 14:20:02 -0000 On Tue, Apr 1, 2008 at 12:49 PM, Ceri Davies wrote: > On Tue, Apr 01, 2008 at 12:56:43AM +0300, Giorgos Keramidas wrote: > > On Mon, 31 Mar 2008 12:19:45 -0700, Doug Barton wrote: > > > Ganbold Tsagaankhuu wrote: > > >> ganbold 2008-03-31 10:28:09 UTC > > >> > > >> FreeBSD src repository (doc committer) > > >> > > >> Modified files: > > >> games/fortune/datfiles fortunes Log: > > >> Improve some quotes of Chinggis Khan. > > >> Remove militant and moralized quotes of Chinggis Khan. > > >> Add one more quote of Chinggis Khan. > > >> Reviewed by: yar > > >> Approved by: keramida(mentor) > > >> Revision Changes Path > > >> 1.259 +37 -56 src/games/fortune/datfiles/fortunes > > >> > > >> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h > > > > > > We do not remove fortunes without a very good reason. Can you please > > > replace the ones you deleted? > > > > This is the age old "these fortune cookies may be offensive to some > > people" bikeshed. Do we really want to go there again? > > Other than perhaps the grammar, I find it impossible to imagine how > anyone could be offended by, for example, this one: > > > Strive to the pass of high mountain > Cross in the shallow side of the wide ocean > Do not give up because of distance > Will certainly reach if walks > Do not discourage of human > Shall overcome if you try > > You may as well be offended by Rocky. That one wasn't a matter of offense. Perhaps Ganbold should have mentioned in his commit message how the quotes from Chinggis Khan had made their way to the fortunes file. The quotes were originally in Mongolian. More than a year ago (before becoming a committer) Ganbold posted a PR (or maybe wrote a mail to several committers) suggesting to add his English translations of the quotes. Unfortunately, their language wasn't quite ideal; but they were committed anyway by grog@. I had been feeling uneasy about the fortune file pollution since then, but I had failed to persuade grog@ to make the quotes comprehensible. When Ganbold got his commit bit, he and yours truly co-edited the translations of the quotes to bring them up to the language standards. We also wanted to make them as poetic as their originals, so we had to omit certain parts we couldn't express well enough in English. Perhaps it was a job for a committer speaking English as a native language, but none had stepped in to fix the quotes in a year. So please stop criticizing Ganbold's commit. He has just fulfilled a task he initiated, which is a Right Thing many of us don't usually do. But, of course, feel free to offer your effort and poetic talent to make the quotes from Chinggis Khan even better. ;-) -- Yar From owner-cvs-src@FreeBSD.ORG Tue Apr 1 15:05:12 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 422B1106567E; Tue, 1 Apr 2008 15:05:12 +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 191818FC47; Tue, 1 Apr 2008 15:05:12 +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 m31F5BVM072377; Tue, 1 Apr 2008 15:05:11 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31F5Bco072376; Tue, 1 Apr 2008 15:05:11 GMT (envelope-from thompsa) Message-Id: <200804011505.m31F5Bco072376@repoman.freebsd.org> From: Andrew Thompson Date: Tue, 1 Apr 2008 15:05: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/usr.bin/netstat 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, 01 Apr 2008 15:05:12 -0000 thompsa 2008-04-01 15:05:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/netstat route.c Log: MFC r1.85 Add IFT_BRIDGE to the Ethernet section so l2 addresses are formatted correctly Revision Changes Path 1.82.2.5 +1 -0 src/usr.bin/netstat/route.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 15:20:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32BF1065675; Tue, 1 Apr 2008 15:20:49 +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 A94668FC2B; Tue, 1 Apr 2008 15:20:49 +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 m31FKnHi072925; Tue, 1 Apr 2008 15:20:49 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31FKndX072924; Tue, 1 Apr 2008 15:20:49 GMT (envelope-from remko) Message-Id: <200804011520.m31FKndX072924@repoman.freebsd.org> From: Remko Lodder Date: Tue, 1 Apr 2008 15:20:49 +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.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, 01 Apr 2008 15:20:50 -0000 remko 2008-04-01 15:20:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata ata-chipset.c ata-pci.h Log: MFC rev 1.212 ata-chipset.c MFC rev 1.83 ata-pci.h Add proper support for the SATA/AHCI part of IXP[67]00 Approved by: imp (mentor, implicit), sos Revision Changes Path 1.202.2.7 +22 -12 src/sys/dev/ata/ata-chipset.c 1.81.2.2 +6 -0 src/sys/dev/ata/ata-pci.h From owner-cvs-src@FreeBSD.ORG Tue Apr 1 15:36:12 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53691065679; Tue, 1 Apr 2008 15:36:12 +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 30B178FC2B; Tue, 1 Apr 2008 15:36:11 +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.2/8.14.2/Debian-3) with ESMTP id m31FKxcM013958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 Apr 2008 18:21:12 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m31FKsqG002725; Tue, 1 Apr 2008 18:20:54 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m31FKofc002724; Tue, 1 Apr 2008 18:20:50 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: remko@elvandar.org References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> <47F1FF48.1090009@micom.mng.net> <32266.194.74.82.3.1207048683.squirrel@galain.elvandar.org> Date: Tue, 01 Apr 2008 18:20:50 +0300 In-Reply-To: <32266.194.74.82.3.1207048683.squirrel@galain.elvandar.org> (Remko Lodder's message of "Tue, 1 Apr 2008 13:18:03 +0200 (CEST)") Message-ID: <874paly52l.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m31FKxcM013958 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.126, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.27, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Ganbold Tsagaankhuu , yar@freebsd.org, Doug Barton , cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org, Ganbold , Ceri Davies Subject: Re: 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: Tue, 01 Apr 2008 15:36:13 -0000 On Tue, 1 Apr 2008 13:18:03 +0200 (CEST), "Remko Lodder" wrote: >>> Other than perhaps the grammar, I find it impossible to imagine how >>> anyone could be offended by, for example, this one: >>> >>> Strive to the pass of high mountain >>> Cross in the shallow side of the wide ocean >>> Do not give up because of distance >>> Will certainly reach if walks >>> Do not discourage of human >>> Shall overcome if you try >> >> Above quote was changed to: >> >> Ascend to the high mountain pass, >> Cross the shallow side of the wide ocean. >> Do not give up to the great distance: >> It's by going that you will reach your aim. >> Be not discouraged by human frailty: >> You will overcome it if you try to. > > I dont understand the change this is not offending at all in my > believing. Please do not change quotes of people, perhaps they > weren't the best people around, but they are quotes, and quotes are > not to be changed by anyone. > > if they are too "hard" or something, they should either be removed, or > let them stay, but not changed. (unless it's an obvious typo, that > isn't in the original quote ofcourse). There are two sorts of changes in that commit. Grammar and translation fixes by Ganbold (who is a native speaker of the language) and the removal of some militant quotes. He's preparing a backout patch, so please let's not waste anymore time on this :-/ From owner-cvs-src@FreeBSD.ORG Tue Apr 1 16:07:01 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC025106564A; Tue, 1 Apr 2008 16:07:01 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B1F598FC16; Tue, 1 Apr 2008 16:07:01 +0000 (UTC) (envelope-from dfr@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 m31G71sQ075302; Tue, 1 Apr 2008 16:07:01 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31G71DG075301; Tue, 1 Apr 2008 16:07:01 GMT (envelope-from dfr) Message-Id: <200804011607.m31G71DG075301@repoman.freebsd.org> From: Doug Rabson Date: Tue, 1 Apr 2008 16:07: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/sys/kern kern_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: Tue, 01 Apr 2008 16:07:02 -0000 dfr 2008-04-01 16:07:01 UTC FreeBSD src repository Modified files: sys/kern kern_lockf.c Log: Don't try to use an SX lock while holding the vnode interlock. Sponsored by: Isilon Systems Revision Changes Path 1.61 +10 -5 src/sys/kern/kern_lockf.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 17:47:30 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2CD91065673 for ; Tue, 1 Apr 2008 17:47:30 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 244508FC16 for ; Tue, 1 Apr 2008 17:47:29 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2290608fgg.35 for ; Tue, 01 Apr 2008 10:47:28 -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=M4hvTLVGOeAxiA7AoW/m98P4WSYAL5UE47RwtdlMCIQ=; b=VXO+sd1z0NfOzKc4IjQyJfFR54JIVYHqgouR8Yn5nsDR8jEiJJce8oJLkrNfvZT19/LnGVLmgPtXwbYNcxQ470bu/PFgHduaxRk1QZNJUvjsBVEWHTY2jWmx2AtU0zWErkxtqvomLxhc6fO+txjJNrujYdt9KEPBJQkot+ACzZo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=RUic1nR6Ox5rSOiWcKGoufeZ9Fk4GA2yLEUcenZeZ9pTQZuYSLbHNhq0bg9sg34PYUESr2AixwGfb+CfCg5w43cTsZShzSNA1dejOdk+8Fl5Uq66RKj/nn1a5P/777+hdhDwc9a3ChljTgaHmCObAWZoh4kYCDCnMm9zDd1ewm0= Received: by 10.82.159.2 with SMTP id h2mr19759753bue.33.1207072048504; Tue, 01 Apr 2008 10:47:28 -0700 (PDT) Received: by 10.82.145.1 with HTTP; Tue, 1 Apr 2008 10:47:28 -0700 (PDT) Message-ID: Date: Tue, 1 Apr 2008 21:47:28 +0400 From: "Yar Tikhiy" Sender: yar.tikhiy@gmail.com To: "Giorgos Keramidas" In-Reply-To: <874paly52l.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> <47F1FF48.1090009@micom.mng.net> <32266.194.74.82.3.1207048683.squirrel@galain.elvandar.org> <874paly52l.fsf@kobe.laptop> X-Google-Sender-Auth: 656c905233d91bf1 Cc: Ganbold Tsagaankhuu , remko@elvandar.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Doug Barton , Ganbold , Ceri Davies Subject: Re: 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: Tue, 01 Apr 2008 17:47:31 -0000 On Tue, Apr 1, 2008 at 7:20 PM, Giorgos Keramidas wrote: > On Tue, 1 Apr 2008 13:18:03 +0200 (CEST), "Remko Lodder" wrote: > >>> Other than perhaps the grammar, I find it impossible to imagine how > >>> anyone could be offended by, for example, this one: > >>> > >>> Strive to the pass of high mountain > >>> Cross in the shallow side of the wide ocean > >>> Do not give up because of distance > >>> Will certainly reach if walks > >>> Do not discourage of human > >>> Shall overcome if you try > >> > >> Above quote was changed to: > >> > >> Ascend to the high mountain pass, > >> Cross the shallow side of the wide ocean. > >> Do not give up to the great distance: > >> It's by going that you will reach your aim. > >> Be not discouraged by human frailty: > >> You will overcome it if you try to. > > > > > I dont understand the change this is not offending at all in my > > believing. Please do not change quotes of people, perhaps they > > weren't the best people around, but they are quotes, and quotes are > > not to be changed by anyone. > > > > if they are too "hard" or something, they should either be removed, or > > let them stay, but not changed. (unless it's an obvious typo, that > > isn't in the original quote ofcourse). > > There are two sorts of changes in that commit. Grammar and translation > fixes by Ganbold (who is a native speaker of the language) and the > removal of some militant quotes. He's preparing a backout patch, so > please let's not waste anymore time on this :-/ All objections to this commit stemmed from people's not knowing that it was from Ganbold that the quotes came into the fortunes file. I don't think Ganbold should be bothered with any back-outs here, but the final decision is up to you as his mentor. I'd rather we forget the half-baked quotes committed a year ago and consider this commit by Ganbold as introducing new quotes from Chinghis Khan we all are happy to learn. Nobody but Ganbold knows Mongolian here, so he is the ultimate judge in this case anyway. -- Yar From owner-cvs-src@FreeBSD.ORG Tue Apr 1 18:22:37 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B511F106566C; Tue, 1 Apr 2008 18:22:37 +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 8A5128FC1B; Tue, 1 Apr 2008 18:22:37 +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 m31IMbAq093036; Tue, 1 Apr 2008 18:22:37 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31IMbML093035; Tue, 1 Apr 2008 18:22:37 GMT (envelope-from remko) Message-Id: <200804011822.m31IMbML093035@repoman.freebsd.org> From: Remko Lodder Date: Tue, 1 Apr 2008 18:22: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/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: Tue, 01 Apr 2008 18:22:37 -0000 remko 2008-04-01 18:22:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ata ata-chipset.c ata-pci.h Log: MFC rev 1.212 ata-chipset.c MFC rev 1.83 ata-pci.h Add proper support for the SATA/AHCI part of IXP[67]00 Approved by: imp (mentor, implicit), sos Revision Changes Path 1.126.2.27 +22 -12 src/sys/dev/ata/ata-chipset.c 1.49.2.16 +6 -0 src/sys/dev/ata/ata-pci.h From owner-cvs-src@FreeBSD.ORG Tue Apr 1 18:48:09 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A627106564A; Tue, 1 Apr 2008 18:48:09 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id A5DA68FC25; Tue, 1 Apr 2008 18:48:08 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JglWf-000HXM-Q4; Tue, 01 Apr 2008 19:48:05 +0100 Date: Tue, 1 Apr 2008 19:48:05 +0100 From: Ceri Davies To: Yar Tikhiy Message-ID: <20080401184805.GN44028@submonkey.net> References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> <47F1FF48.1090009@micom.mng.net> <32266.194.74.82.3.1207048683.squirrel@galain.elvandar.org> <874paly52l.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MvEh5MSbieV/1Yst" Content-Disposition: inline In-Reply-To: X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Ceri Davies Cc: Ganbold Tsagaankhuu , remko@elvandar.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Doug Barton , Giorgos Keramidas , Ganbold Subject: Re: 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: Tue, 01 Apr 2008 18:48:09 -0000 --MvEh5MSbieV/1Yst Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 01, 2008 at 09:47:28PM +0400, Yar Tikhiy wrote: > On Tue, Apr 1, 2008 at 7:20 PM, Giorgos Keramidas = wrote: > > On Tue, 1 Apr 2008 13:18:03 +0200 (CEST), "Remko Lodder" wrote: > > >>> Other than perhaps the grammar, I find it impossible to imagine how > > >>> anyone could be offended by, for example, this one: > > >>> > > >>> Strive to the pass of high mountain > > >>> Cross in the shallow side of the wide ocean > > >>> Do not give up because of distance > > >>> Will certainly reach if walks > > >>> Do not discourage of human > > >>> Shall overcome if you try > > >> > > >> Above quote was changed to: > > >> > > >> Ascend to the high mountain pass, > > >> Cross the shallow side of the wide ocean. > > >> Do not give up to the great distance: > > >> It's by going that you will reach your aim. > > >> Be not discouraged by human frailty: > > >> You will overcome it if you try to. > > > > > > > > I dont understand the change this is not offending at all in my > > > believing. Please do not change quotes of people, perhaps they > > > weren't the best people around, but they are quotes, and quotes are > > > not to be changed by anyone. > > > > > > if they are too "hard" or something, they should either be removed, = or > > > let them stay, but not changed. (unless it's an obvious typo, that > > > isn't in the original quote ofcourse). > > > > There are two sorts of changes in that commit. Grammar and translation > > fixes by Ganbold (who is a native speaker of the language) and the > > removal of some militant quotes. He's preparing a backout patch, so > > please let's not waste anymore time on this :-/ >=20 > All objections to this commit stemmed from people's not knowing that > it was from Ganbold that the quotes came into the fortunes file. I > don't think Ganbold should be bothered with any back-outs here, but > the final decision is up to you as his mentor. Hmm, I'm not sure that's an accurate summary. I'm perfectly happy with new translations, but I'm not happy about this being removed, for example: The greatest joy a man can know is to conquer his enemies and drive them before him. To ride their horses and take away their possessions. To see the faces of those who were dear to them bedewed with tears, and to clasp their wives and daughters to his arms. -- Chinggis (Genghis) Khan It's not very nice, but I don't believe it deserves to be removed. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --MvEh5MSbieV/1Yst Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFH8oNlocfcwTS3JF8RAjxOAJ9fgCGSXlzUZRbgO57WVEetdNl7EACePCNd RDW4fE0X4mzoYQVegrMKtYA= =5Gew -----END PGP SIGNATURE----- --MvEh5MSbieV/1Yst-- From owner-cvs-src@FreeBSD.ORG Tue Apr 1 19:38:23 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A96EE1065672; Tue, 1 Apr 2008 19:38:23 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 265D98FC24; Tue, 1 Apr 2008 19:38:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47F28F34.7060007@FreeBSD.org> Date: Tue, 01 Apr 2008 21:38:28 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: David Xu References: <200803310255.m2V2toJl053104@repoman.freebsd.org> <20080331150346.R72156@desktop> <47F19B89.20601@freebsd.org> In-Reply-To: <47F19B89.20601@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.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, 01 Apr 2008 19:38:23 -0000 David Xu wrote: > Jeff Roberson wrote: >> On Mon, 31 Mar 2008, David Xu wrote: >> >>> davidxu 2008-03-31 02:55:50 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c >>> Log: >>> Rewrite rwlock to user atomic operations to change rwlock state, this >>> eliminates internal mutex lock contention when most rwlock operations >>> are read. >>> >>> Orignal patch provided by: jeff >> >> Thanks David! >> >> Do you still plan to do kernel side support so we can totally >> eliminate the pthread mutex and condvars from rwlock? I have evidence >> that this would produce further improvements. >> >> Jeff > > I have pure kernel version working, sometimes locking kernel sleep > chain is more expensive than a pure userland mutex locking, since > kernel sleep chain lock is global. I am hestiate adding more code > to kernel since I have tested mysql super-smack and sysbench > read-only and seen no visible performance differences. > all patches are here: > > http://people.freebsd.org/~davidxu/patch/libthr_umtx_rwlock.diff This patch appears to be incomplete (it also doesn't apply cleanly). /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c: In function 'rwlock_rdlock_common': /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c:133: warning: implicit declaration of function '_thr_rwlock_tryrdlock' /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c:173: warning: implicit declaration of function '__thr_rwlock_rdlock' /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c: In function '_pthread_rwlock_trywrlock': /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c:246: warning: implicit declaration of function '_thr_rwlock_trywrlock' /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c: In function '_pthread_rwlock_unlock': /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c:275: warning: implicit declaration of function '_thr_rwlock_unlock' /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c: In function 'rwlock_wrlock_common': /zoo/kris/src8/lib/libthr/thread/thr_rwlock.c:331: warning: implicit declaration of function '__thr_rwlock_wrlock' *** Error code 1 Kris From owner-cvs-src@FreeBSD.ORG Tue Apr 1 20:00:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F1C41065671 for ; Tue, 1 Apr 2008 20:00:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id ADB5D8FC2A for ; Tue, 1 Apr 2008 20:00:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 24831 invoked by uid 399); 1 Apr 2008 20:08:36 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 1 Apr 2008 20:08:36 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <47F29475.9080609@FreeBSD.org> Date: Tue, 01 Apr 2008 13:00:53 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (X11/20080319) MIME-Version: 1.0 To: Ganbold References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <47F221CC.8010209@micom.mng.net> In-Reply-To: <47F221CC.8010209@micom.mng.net> X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ganbold Tsagaankhuu , yar@freebsd.org, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Giorgos Keramidas Subject: Re: 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: Tue, 01 Apr 2008 20:00:59 -0000 Ganbold wrote: > Doug Barton wrote: >> Ganbold Tsagaankhuu wrote: >>> ganbold 2008-03-31 10:28:09 UTC >>> >>> FreeBSD src repository (doc committer) >>> >>> Modified files: >>> games/fortune/datfiles fortunes Log: >>> Improve some quotes of Chinggis Khan. >>> Remove militant and moralized quotes of Chinggis Khan. >>> Add one more quote of Chinggis Khan. >>> Reviewed by: yar >>> Approved by: keramida(mentor) >>> Revision Changes Path >>> 1.259 +37 -56 src/games/fortune/datfiles/fortunes >>> >>> http://www.FreeBSD.org/cgi/cvsweb.cgi/src/games/fortune/datfiles/fortunes.diff?&r1=1.258&r2=1.259&f=h >>> >> >> We do not remove fortunes without a very good reason. Can you please >> replace the ones you deleted? > > Sorry, Doug. I have patch that adds missing quotes here: That looks good, thanks! And since I didn't do it last time, thank you for doing this translation work. Improvements such as bringing things closer to original versions are (IMO) always welcome. Doug -- This .signature sanitized for your protection From owner-cvs-src@FreeBSD.ORG Tue Apr 1 19:56:32 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4294B106566B; Tue, 1 Apr 2008 19:56:32 +0000 (UTC) (envelope-from jkh@brierdr.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB6A8FC22; Tue, 1 Apr 2008 19:56:32 +0000 (UTC) (envelope-from jkh@brierdr.com) Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id EDFEC26B4124; Tue, 1 Apr 2008 12:56:31 -0700 (PDT) Received: from relay13.apple.com (unknown [127.0.0.1]) by relay13.apple.com (Symantec Mail Security) with ESMTP id D8B2C28086; Tue, 1 Apr 2008 12:56:31 -0700 (PDT) X-AuditID: 1180711d-a96fbbb0000008fb-c8-47f2936f0687 Received: from watusi9.apple.com (watusi9.apple.com [17.202.44.77]) by relay13.apple.com (Apple SCV relay) with ESMTP id A13DE28050; Tue, 1 Apr 2008 12:56:31 -0700 (PDT) Message-Id: From: "Jordan K. Hubbard" To: Ceri Davies In-Reply-To: <20080401184805.GN44028@submonkey.net> Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 1 Apr 2008 12:56:31 -0700 References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> <47F1FF48.1090009@micom.mng.net> <32266.194.74.82.3.1207048683.squirrel@galain.elvandar.org> <874paly52l.fsf@kobe.laptop> <20080401184805.GN44028@submonkey.net> X-Mailer: Apple Mail (2.919.2) X-Brightmail-Tracker: AAAAAA== X-Mailman-Approved-At: Tue, 01 Apr 2008 20:29:37 +0000 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ganbold Tsagaankhuu , remko@elvandar.org, src-committers@freebsd.org, Yar Tikhiy , cvs-all@freebsd.org, Doug Barton , Giorgos Keramidas , cvs-src@freebsd.org, Ganbold Subject: Re: 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: Tue, 01 Apr 2008 19:56:32 -0000 On Apr 1, 2008, at 11:48 AM, Ceri Davies wrote: > The greatest joy a man can know is to conquer his enemies and drive > them > before him. To ride their horses and take away their possessions. > To see > the faces of those who were dear to them bedewed with tears, and to > clasp > their wives and daughters to his arms. > -- Chinggis (Genghis) Khan > > It's not very nice, but I don't believe it deserves to be removed. I believe the quote has also been updated (ref: http://en.wikiquote.org/wiki/Conan_the_Barbarian) : Khitan General: We have won again. This is good! But what is best in life? Khitan Warrior: The open steppe, a fleet horse, falcons at your wrist, and the wind in your hair. Khitan General: Wrong! Conan, what is best in life? Conan: To crush your enemies, see them driven before you, and to hear the lamentations of their women! Khitan General: That is good. In honor of the great Arnold Schwarzenegger (who delivered these lines as pure poetry in the first Conan movie), I believe it would only be right to replace Genghis' quote with the above! - Jordan From owner-cvs-src@FreeBSD.ORG Tue Apr 1 20:31:55 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE8FD106566C; Tue, 1 Apr 2008 20:31:55 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 94F538FC1C; Tue, 1 Apr 2008 20:31:55 +0000 (UTC) (envelope-from attilio@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 m31KVtpa000177; Tue, 1 Apr 2008 20:31:55 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31KVtKs000176; Tue, 1 Apr 2008 20:31:55 GMT (envelope-from attilio) Message-Id: <200804012031.m31KVtKs000176@repoman.freebsd.org> From: Attilio Rao Date: Tue, 1 Apr 2008 20:31: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/kern kern_rwlock.c src/sys/sys rwlock.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, 01 Apr 2008 20:31:55 -0000 attilio 2008-04-01 20:31:55 UTC FreeBSD src repository Modified files: sys/kern kern_rwlock.c sys/sys rwlock.h Log: Add rw_try_rlock() and rw_try_wlock() to rwlocks. These functions try the specified operation (rlocking and wlocking) and true is returned if the operation completes, false otherwise. The KPI is enriched by this commit, so __FreeBSD_version bumping and manpage updating will happen soon. Requested by: jeff, kris Revision Changes Path 1.37 +49 -0 src/sys/kern/kern_rwlock.c 1.17 +4 -0 src/sys/sys/rwlock.h From owner-cvs-src@FreeBSD.ORG Tue Apr 1 20:33:07 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D1851065671; Tue, 1 Apr 2008 20:33:07 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ECFD18FC26; Tue, 1 Apr 2008 20:33:06 +0000 (UTC) (envelope-from attilio@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 m31KX6I8000234; Tue, 1 Apr 2008 20:33:06 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31KX6Gs000233; Tue, 1 Apr 2008 20:33:06 GMT (envelope-from attilio) Message-Id: <200804012033.m31KX6Gs000233@repoman.freebsd.org> From: Attilio Rao Date: Tue, 1 Apr 2008 20: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/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, 01 Apr 2008 20:33:07 -0000 attilio 2008-04-01 20:33:06 UTC FreeBSD src repository Modified files: sys/sys param.h Log: Bump __FreeBSD_version in order to reflect rw_try_rlock() and rw_try_wlock() functions introduction. Revision Changes Path 1.346 +1 -1 src/sys/sys/param.h From owner-cvs-src@FreeBSD.ORG Tue Apr 1 20:53:32 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A914106564A; Tue, 1 Apr 2008 20:53:32 +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 5C2FD8FC14; Tue, 1 Apr 2008 20:53:32 +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 m31KrWOs010091; Tue, 1 Apr 2008 20:53:32 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31KrWAl010090; Tue, 1 Apr 2008 20:53:32 GMT (envelope-from emaste) Message-Id: <200804012053.m31KrWAl010090@repoman.freebsd.org> From: Ed Maste Date: Tue, 1 Apr 2008 20:53: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/dev/aac aac.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, 01 Apr 2008 20:53:32 -0000 emaste 2008-04-01 20:53:32 UTC FreeBSD src repository Modified files: sys/dev/aac aac.c Log: Calling RequestSupplementAdapterInfo before RequestAdapterInfo appears to trip a bug causing the latter to return a zeroed struct aac_adapter_info. This causes two issues. One is cosmetic only -- a verbose boot prints information about the controller, and shows all zero: aac0: Unknown processor 0MHz, 0MB memory (0MB cache, 0MB execution), unknown battery platform The second problem is that the firmware version information is stored away for aac_rev_check, for userland tools (like aaccli) to query via the FSACTL_MINIPORT_REV_CHECK and FSACTL_LNX_MINIPORT_REV_CHECK ioctls. When aaccli encounters this issue it prints Command Error: Move the RequestSupplementAdapterInfo call after RequestAdapterInfo, which seems to fix both problems. Revision Changes Path 1.137 +17 -17 src/sys/dev/aac/aac.c From owner-cvs-src@FreeBSD.ORG Tue Apr 1 20:56:46 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CD08106566B; Tue, 1 Apr 2008 20:56:46 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D87FC8FC19; Tue, 1 Apr 2008 20:56:45 +0000 (UTC) (envelope-from attilio@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 m31Kujfa010271; Tue, 1 Apr 2008 20:56:45 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31KujVi010270; Tue, 1 Apr 2008 20:56:45 GMT (envelope-from attilio) Message-Id: <200804012056.m31KujVi010270@repoman.freebsd.org> From: Attilio Rao Date: Tue, 1 Apr 2008 20:56: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/man9 Makefile rwlock.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, 01 Apr 2008 20:56:46 -0000 attilio 2008-04-01 20:56:45 UTC FreeBSD src repository Modified files: share/man/man9 Makefile rwlock.9 Log: Add manpages for rw_try_rlock() and rw_try_wlock() functions. Revision Changes Path 1.334 +2 -0 src/share/man/man9/Makefile 1.15 +19 -1 src/share/man/man9/rwlock.9 From owner-cvs-src@FreeBSD.ORG Tue Apr 1 22:28:06 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97FC71065671 for ; Tue, 1 Apr 2008 22:28:06 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 30BBC8FC1C for ; Tue, 1 Apr 2008 22:28:05 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-067-234-219.pools.arcor-ip.net [88.67.234.219]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1JgoxY48sE-0002BK; Wed, 02 Apr 2008 00:28:05 +0200 Received: (qmail 53899 invoked from network); 1 Apr 2008 22:27:08 -0000 Received: from myhost.laiers.local (192.168.4.151) by mx.laiers.local with SMTP; 1 Apr 2008 22:27:08 -0000 From: Max Laier Organization: FreeBSD To: Attilio Rao Date: Wed, 2 Apr 2008 00:25:57 +0200 User-Agent: KMail/1.9.9 References: <200804012031.m31KVtKs000176@repoman.freebsd.org> In-Reply-To: <200804012031.m31KVtKs000176@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804020025.57684.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19ZNhMWoXz2vZEvfzGPuguGmDj3qGmQgwcAHhk 6ThalVEEHxFmxzxtmNh3g9+A3xMkmYOKc93ULZIhPmx4t6wKNQ ZjHF/DG7kAIVV3HXimgIw== Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 01 Apr 2008 22:28:06 -0000 On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: > attilio 2008-04-01 20:31:55 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_rwlock.c > sys/sys rwlock.h > Log: > Add rw_try_rlock() and rw_try_wlock() to rwlocks. > These functions try the specified operation (rlocking and wlocking) > and true is returned if the operation completes, false otherwise. hmmm ... I'm certainly missing something here, but what's a possible usecase for these? It seems there is not much you can do if you can't obtain a rw_lock. I can understand the need for sx_try_* where you want to avoid sleeping, but I can't figure out the need for it on a locking primitive that will only spin or wait (not 100% sure about the terminology here). This is especially strange for rw_try_wlock, unless you plan to sleep manually on fail. But then again you'd have a good chance that you have to do it over and over again if timing is unfortunate. > The KPI is enriched by this commit, so __FreeBSD_version bumping and > manpage updating will happen soon. > > Requested by: jeff, kris > > Revision Changes Path > 1.37 +49 -0 src/sys/kern/kern_rwlock.c > 1.17 +4 -0 src/sys/sys/rwlock.h -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-cvs-src@FreeBSD.ORG Tue Apr 1 22:51:38 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17993106564A; Tue, 1 Apr 2008 22:51:38 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id CD8B98FC26; Tue, 1 Apr 2008 22:51:37 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.200] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m31MpWCJ030416; Tue, 1 Apr 2008 18:51:33 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 1 Apr 2008 12:52:45 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Max Laier In-Reply-To: <200804020025.57684.max@love2party.net> Message-ID: <20080401123951.J72156@desktop> References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 01 Apr 2008 22:51:38 -0000 On Wed, 2 Apr 2008, Max Laier wrote: > On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: >> attilio 2008-04-01 20:31:55 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern kern_rwlock.c >> sys/sys rwlock.h >> Log: >> Add rw_try_rlock() and rw_try_wlock() to rwlocks. >> These functions try the specified operation (rlocking and wlocking) >> and true is returned if the operation completes, false otherwise. > > hmmm ... I'm certainly missing something here, but what's a possible > usecase for these? It seems there is not much you can do if you can't > obtain a rw_lock. I can understand the need for sx_try_* where you want > to avoid sleeping, but I can't figure out the need for it on a locking > primitive that will only spin or wait (not 100% sure about the > terminology here). This is especially strange for rw_try_wlock, unless > you plan to sleep manually on fail. But then again you'd have a good > chance that you have to do it over and over again if timing is > unfortunate. I asked for it. We have a try operation for mtx already. I was experimenting with converting some code to use rwlocks from mtx and it required it. The specific case is in the softdep code where it uses trylock to avoid deadlocking. With trylock you can violate the lockorder. Thanks, Jeff > >> The KPI is enriched by this commit, so __FreeBSD_version bumping and >> manpage updating will happen soon. >> >> Requested by: jeff, kris >> >> Revision Changes Path >> 1.37 +49 -0 src/sys/kern/kern_rwlock.c >> 1.17 +4 -0 src/sys/sys/rwlock.h > > > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News > From owner-cvs-src@FreeBSD.ORG Tue Apr 1 23:15:42 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C00EB1065670; Tue, 1 Apr 2008 23:15:42 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3F6E8FC25; Tue, 1 Apr 2008 23:15:40 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47F2C223.6010705@FreeBSD.org> Date: Wed, 02 Apr 2008 01:15:47 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Max Laier References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> In-Reply-To: <200804020025.57684.max@love2party.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Attilio Rao , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 01 Apr 2008 23:15:42 -0000 Max Laier wrote: > On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: >> attilio 2008-04-01 20:31:55 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern kern_rwlock.c >> sys/sys rwlock.h >> Log: >> Add rw_try_rlock() and rw_try_wlock() to rwlocks. >> These functions try the specified operation (rlocking and wlocking) >> and true is returned if the operation completes, false otherwise. > > hmmm ... I'm certainly missing something here, but what's a possible > usecase for these? It seems there is not much you can do if you can't > obtain a rw_lock. I can understand the need for sx_try_* where you want > to avoid sleeping, but I can't figure out the need for it on a locking > primitive that will only spin or wait (not 100% sure about the > terminology here). This is especially strange for rw_try_wlock, unless > you plan to sleep manually on fail. But then again you'd have a good > chance that you have to do it over and over again if timing is > unfortunate. One situation is that try_[rw]lock can be used to bail out completely if you are doing something optional. e.g. you might have code that is doing some optimization like prefetching of data that can be just skipped if the lock (read or write) cannot be immediately obtained. Kris From owner-cvs-src@FreeBSD.ORG Tue Apr 1 23:40:33 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6DCD106566B; Tue, 1 Apr 2008 23:40:33 +0000 (UTC) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 900798FC13; Tue, 1 Apr 2008 23:40:33 +0000 (UTC) (envelope-from iedowse@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 m31NeXkv020570; Tue, 1 Apr 2008 23:40:33 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31NeXb8020569; Tue, 1 Apr 2008 23:40:33 GMT (envelope-from iedowse) Message-Id: <200804012340.m31NeXb8020569@repoman.freebsd.org> From: Ian Dowse Date: Tue, 1 Apr 2008 23:40: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/net if.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, 01 Apr 2008 23:40:33 -0000 iedowse 2008-04-01 23:40:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if.h Log: MFC 1.113: Add IFF_NEEDSGIANT to IFF_CANTCHANGE to prevent userland code from clearing IFF_NEEDSGIANT. Revision Changes Path 1.108.2.1 +2 -1 src/sys/net/if.h From owner-cvs-src@FreeBSD.ORG Wed Apr 2 00:02:48 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49A38106564A; Wed, 2 Apr 2008 00:02:48 +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 2BEE28FC15; Wed, 2 Apr 2008 00:02:48 +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 m3202lAI013472; Tue, 1 Apr 2008 17:02:47 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.1/Submit) id m3202l9A013471; Tue, 1 Apr 2008 17:02:47 -0700 (PDT) (envelope-from obrien) Date: Tue, 1 Apr 2008 17:02:47 -0700 From: "David O'Brien" To: John Birrell Message-ID: <20080402000247.GA12975@dragon.NUXI.org> References: <200803282147.m2SLlC0R038334@repoman.freebsd.org> <20080330235811.GA23907@dragon.NUXI.org> <20080331002108.GC61720@what-creek.com> <20080401024255.GC66987@dragon.NUXI.org> <20080401040349.GA74837@what-creek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080401040349.GA74837@what-creek.com> X-Operating-System: FreeBSD 8.0-CURRENT 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: CVSROOT exclude 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: Wed, 02 Apr 2008 00:02:48 -0000 On Tue, Apr 01, 2008 at 04:03:49AM +0000, John Birrell wrote: > The remaining two lines: > ^src/cddl/contrib/opensolaris > ^src/sys/cddl/contrib/opensolaris > need to stay. Why do they need to stay, if we've made changes to every one of the files in these trees (the claim I've heard). -- -- David (obrien@FreeBSD.org) From owner-cvs-src@FreeBSD.ORG Wed Apr 2 00:03:07 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92308106567A for ; Wed, 2 Apr 2008 00:03:07 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id 2885F8FC2C for ; Wed, 2 Apr 2008 00:03:06 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-067-234-219.pools.arcor-ip.net [88.67.234.219]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1JgqRV31PW-0003pn; Wed, 02 Apr 2008 02:03:05 +0200 Received: (qmail 55145 invoked from network); 2 Apr 2008 00:02:09 -0000 Received: from myhost.laiers.local (192.168.4.151) by router.laiers.local with SMTP; 2 Apr 2008 00:02:09 -0000 From: Max Laier Organization: FreeBSD To: Jeff Roberson Date: Wed, 2 Apr 2008 02:00:57 +0200 User-Agent: KMail/1.9.9 References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> <20080401123951.J72156@desktop> In-Reply-To: <20080401123951.J72156@desktop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804020200.58006.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19sdEqiRIvCKzr8TftKTR6WGJ4+wJ6Ky3Qz8TP brRNGm7w9EXM4tF1jIHqDQSTo078Hv5AjaDJBEcWKmaAt9I9wG 6a/6XHrjJj4mQ4kKJiEaA== Cc: Attilio Rao , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 00:03:07 -0000 On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: > On Wed, 2 Apr 2008, Max Laier wrote: > > On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: > >> attilio 2008-04-01 20:31:55 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/kern kern_rwlock.c > >> sys/sys rwlock.h > >> Log: > >> Add rw_try_rlock() and rw_try_wlock() to rwlocks. > >> These functions try the specified operation (rlocking and > >> wlocking) and true is returned if the operation completes, false > >> otherwise. > > > > hmmm ... I'm certainly missing something here, but what's a possible > > usecase for these? It seems there is not much you can do if you > > can't obtain a rw_lock. I can understand the need for sx_try_* where > > you want to avoid sleeping, but I can't figure out the need for it on > > a locking primitive that will only spin or wait (not 100% sure about > > the terminology here). This is especially strange for rw_try_wlock, > > unless you plan to sleep manually on fail. But then again you'd have > > a good chance that you have to do it over and over again if timing is > > unfortunate. > > I asked for it. We have a try operation for mtx already. I was > experimenting with converting some code to use rwlocks from mtx and it > required it. The specific case is in the softdep code where it uses > trylock to avoid deadlocking. With trylock you can violate the > lockorder. Makes sense, thanks! A little follow-up, though about something I'm wondering about for quite some time now. Take the following scenario: Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK Thread C: rw_wlock(RW) ... UNLOCK Can this deadlock? How? If thread C did: rw_wlock(RW) ... mtx_lock(MTX) ... UNLOCK or the other way around, I can see that it will[1] deadlock, but with the wlock without a lock order wrt the MTX, I can't see it. Plus, can we teach WITNESS to keep quite about thread A and B unless we also see a lock order with the wlock and the mutex? [1] In fact, thinking about it right now ... if thread C did: mtx_lock(MTX) ... rw_slock(RW) ... UNLOCK it might still be okay. IIRC we allow rlocks to succeed as long as there are other rlocks held. Though this might be historical behavior to support recursion. I see that we wouldn't want to rely on this to avoid live locks. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-cvs-src@FreeBSD.ORG Wed Apr 2 00:23:25 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80E2A106568A for ; Wed, 2 Apr 2008 00:23:25 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 001148FC33 for ; Wed, 2 Apr 2008 00:23:24 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2419640fgg.35 for ; Tue, 01 Apr 2008 17:23:23 -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=Cv2i8D0EBXBzk/NDFknYW9oNaN+z9JRcXnEOOnHJEww=; b=OOOFnbRK9LfJcxAAOahPBIOMXs0rmEVboCMwvspi9eDBQwvj6W84OC5S6+vkYICfGhMGwen1E64ISwMsdL/XEfZhsEkKjXq6CTBayP4j91qdb2A/sqLdN8cKJLgoNrt+FxSAj1C3s5Z5NEDBtTGkbKCWtDkGWPywfOVlTheYsvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=l8AzjfMebCfI2VLin6U8QtILrhM2mT6LMngiDQHxVcDrXSXlaI3L6eNrk1zg0ZzujomxLn/4szKkL7PcIkSLZ2AyYIHiBELgoT1eNq2wDURYbysVC89QFFACONP3Bb4TMQ2eRyd3hatXlK0Y2ABldMxTnVGMQI17mDVEL2TpFks= Received: by 10.86.51.2 with SMTP id y2mr5838735fgy.15.1207095803816; Tue, 01 Apr 2008 17:23:23 -0700 (PDT) Received: by 10.86.73.10 with HTTP; Tue, 1 Apr 2008 17:23:23 -0700 (PDT) Message-ID: <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> Date: Wed, 2 Apr 2008 02:23:23 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Max Laier" In-Reply-To: <200804020200.58006.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> <20080401123951.J72156@desktop> <200804020200.58006.max@love2party.net> X-Google-Sender-Auth: 889e7848b7dd8c3b Cc: Jeff Roberson , src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 00:23:25 -0000 2008/4/2, Max Laier : > On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: > > On Wed, 2 Apr 2008, Max Laier wrote: > > > On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: > > >> attilio 2008-04-01 20:31:55 UTC > > >> > > >> FreeBSD src repository > > >> > > >> Modified files: > > >> sys/kern kern_rwlock.c > > >> sys/sys rwlock.h > > >> Log: > > >> Add rw_try_rlock() and rw_try_wlock() to rwlocks. > > >> These functions try the specified operation (rlocking and > > >> wlocking) and true is returned if the operation completes, false > > >> otherwise. > > > > > > hmmm ... I'm certainly missing something here, but what's a possible > > > usecase for these? It seems there is not much you can do if you > > > can't obtain a rw_lock. I can understand the need for sx_try_* where > > > you want to avoid sleeping, but I can't figure out the need for it on > > > a locking primitive that will only spin or wait (not 100% sure about > > > the terminology here). This is especially strange for rw_try_wlock, > > > unless you plan to sleep manually on fail. But then again you'd have > > > a good chance that you have to do it over and over again if timing is > > > unfortunate. > > > > I asked for it. We have a try operation for mtx already. I was > > experimenting with converting some code to use rwlocks from mtx and it > > required it. The specific case is in the softdep code where it uses > > trylock to avoid deadlocking. With trylock you can violate the > > lockorder. > > > Makes sense, thanks! A little follow-up, though about something I'm > wondering about for quite some time now. Take the following scenario: > > Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK > Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK > Thread C: rw_wlock(RW) ... UNLOCK This can't deadlock simply because rw_rlock() is not mutually exclusive. > Can this deadlock? How? > > If thread C did: rw_wlock(RW) ... mtx_lock(MTX) ... UNLOCK or the other > way around, I can see that it will[1] deadlock, but with the wlock > without a lock order wrt the MTX, I can't see it. Plus, can we teach > WITNESS to keep quite about thread A and B unless we also see a lock > order with the wlock and the mutex? You mean skipping possible LORs for shared instances of double-sided primitives? Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Wed Apr 2 00:48:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BB52106566B; Wed, 2 Apr 2008 00:48:39 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.freebsd.org (Postfix) with ESMTP id 44D898FC1C; Wed, 2 Apr 2008 00:48:39 +0000 (UTC) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id B9EB6731C9; Wed, 2 Apr 2008 00:48:38 +0000 (GMT) Date: Wed, 2 Apr 2008 00:48:38 +0000 From: John Birrell To: David O'Brien Message-ID: <20080402004838.GA84296@what-creek.com> References: <200803282147.m2SLlC0R038334@repoman.freebsd.org> <20080330235811.GA23907@dragon.NUXI.org> <20080331002108.GC61720@what-creek.com> <20080401024255.GC66987@dragon.NUXI.org> <20080401040349.GA74837@what-creek.com> <20080402000247.GA12975@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080402000247.GA12975@dragon.NUXI.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: CVSROOT exclude X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Apr 2008 00:48:39 -0000 On Tue, Apr 01, 2008 at 05:02:47PM -0700, David O'Brien wrote: > On Tue, Apr 01, 2008 at 04:03:49AM +0000, John Birrell wrote: > > The remaining two lines: > > ^src/cddl/contrib/opensolaris > > ^src/sys/cddl/contrib/opensolaris > > need to stay. > > Why do they need to stay, if we've made changes to every one of the files > in these trees (the claim I've heard). Most files. Not all. -- John Birrell From owner-cvs-src@FreeBSD.ORG Wed Apr 2 01:10:01 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD53106566B; Wed, 2 Apr 2008 01:10:01 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id EEA7F8FC1D; Wed, 2 Apr 2008 01:10:00 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.200] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m3219whv061389; Tue, 1 Apr 2008 21:09:59 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 1 Apr 2008 15:11:11 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Attilio Rao In-Reply-To: <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> Message-ID: <20080401150918.F72156@desktop> References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> <20080401123951.J72156@desktop> <200804020200.58006.max@love2party.net> <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Max Laier , src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 01:10:01 -0000 On Wed, 2 Apr 2008, Attilio Rao wrote: > 2008/4/2, Max Laier : >> On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: >> > On Wed, 2 Apr 2008, Max Laier wrote: >> >> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: >> >>> attilio 2008-04-01 20:31:55 UTC >> >>> >> >>> FreeBSD src repository >> >>> >> >>> Modified files: >> >>> sys/kern kern_rwlock.c >> >>> sys/sys rwlock.h >> >>> Log: >> >>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. >> >>> These functions try the specified operation (rlocking and >> >>> wlocking) and true is returned if the operation completes, false >> >>> otherwise. >> >> >> >> hmmm ... I'm certainly missing something here, but what's a possible >> >> usecase for these? It seems there is not much you can do if you >> >> can't obtain a rw_lock. I can understand the need for sx_try_* where >> >> you want to avoid sleeping, but I can't figure out the need for it on >> >> a locking primitive that will only spin or wait (not 100% sure about >> >> the terminology here). This is especially strange for rw_try_wlock, >> >> unless you plan to sleep manually on fail. But then again you'd have >> >> a good chance that you have to do it over and over again if timing is >> >> unfortunate. >> > >> > I asked for it. We have a try operation for mtx already. I was >> > experimenting with converting some code to use rwlocks from mtx and it >> > required it. The specific case is in the softdep code where it uses >> > trylock to avoid deadlocking. With trylock you can violate the >> > lockorder. >> >> >> Makes sense, thanks! A little follow-up, though about something I'm >> wondering about for quite some time now. Take the following scenario: >> >> Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK >> Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK >> Thread C: rw_wlock(RW) ... UNLOCK > > This can't deadlock simply because rw_rlock() is not mutually exclusive. It can deadlock if there is a writer waiting in queue depending on whether we prefer readers or writers. I think we should consider the reader/writer perference an implementation detail to prevent code like this from cropping up. Readers are only allowed to proceed with a read lock if they already own a read lock, not just if the lock is already read locked. This changed in current recently. So a single recursive read acqusition can't deadlock but get multiple threads and a writer involved with writer preference and you can. Jeff > >> Can this deadlock? How? >> >> If thread C did: rw_wlock(RW) ... mtx_lock(MTX) ... UNLOCK or the other >> way around, I can see that it will[1] deadlock, but with the wlock >> without a lock order wrt the MTX, I can't see it. Plus, can we teach >> WITNESS to keep quite about thread A and B unless we also see a lock >> order with the wlock and the mutex? > > You mean skipping possible LORs for shared instances of double-sided primitives? > > Thanks, > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein > From owner-cvs-src@FreeBSD.ORG Wed Apr 2 01:15:00 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19E0D1065686 for ; Wed, 2 Apr 2008 01:15:00 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 93D708FC26 for ; Wed, 2 Apr 2008 01:14:59 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so3664199fka.11 for ; Tue, 01 Apr 2008 18:14:58 -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=OH0GiJHSeUbR1oXiYE2eRICxJzCaqvufRP/xHeJ58Pg=; b=a/MnAig3ph2B+P+QhmdYVV6L6t8WuuUGtVNSPowUCLuglEjhnkWAxyxafqhQhbpOQdi82JkZkcCx+CCYqxAk7t1a4GGJrIdPlf0+bHNOS1hoKengd8wfR/q0NVJPVynw0UIp9wLWJT/xQlaREVnBcg66LNIEKt9bSPKUGu02xcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=fO/8ZDOdgrnSR/9ydMBqA2SC2BoC4X74ZOIiiSg0fEvwj0i98BN5oQpjl3edYhzWGu9QODEN8bCxv/1ZKgvwc9KSLoJDG70BYzzWshjNj10Y96QKsVpZ2VqAa+nYeHbuofNIGqqzMMbbUfjqce3SF+bnnxACW3X3GdPniIE83tY= Received: by 10.82.175.17 with SMTP id x17mr21727911bue.19.1207098897798; Tue, 01 Apr 2008 18:14:57 -0700 (PDT) Received: by 10.82.145.1 with HTTP; Tue, 1 Apr 2008 18:14:57 -0700 (PDT) Message-ID: Date: Wed, 2 Apr 2008 05:14:57 +0400 From: "Yar Tikhiy" Sender: yar.tikhiy@gmail.com To: "Ceri Davies" In-Reply-To: <20080401184805.GN44028@submonkey.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <20080401084946.GI44028@submonkey.net> <47F1FF48.1090009@micom.mng.net> <32266.194.74.82.3.1207048683.squirrel@galain.elvandar.org> <874paly52l.fsf@kobe.laptop> <20080401184805.GN44028@submonkey.net> X-Google-Sender-Auth: 91965ad622cc746e Cc: Ganbold Tsagaankhuu , remko@elvandar.org, src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Doug Barton , Giorgos Keramidas , Ganbold Subject: Re: 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: Wed, 02 Apr 2008 01:15:00 -0000 On Tue, Apr 1, 2008 at 10:48 PM, Ceri Davies wrote: > > On Tue, Apr 01, 2008 at 09:47:28PM +0400, Yar Tikhiy wrote: > > On Tue, Apr 1, 2008 at 7:20 PM, Giorgos Keramidas wrote: > > > On Tue, 1 Apr 2008 13:18:03 +0200 (CEST), "Remko Lodder" wrote: > > > >>> Other than perhaps the grammar, I find it impossible to imagine how > > > >>> anyone could be offended by, for example, this one: > > > >>> > > > >>> Strive to the pass of high mountain > > > >>> Cross in the shallow side of the wide ocean > > > >>> Do not give up because of distance > > > >>> Will certainly reach if walks > > > >>> Do not discourage of human > > > >>> Shall overcome if you try > > > >> > > > >> Above quote was changed to: > > > >> > > > >> Ascend to the high mountain pass, > > > >> Cross the shallow side of the wide ocean. > > > >> Do not give up to the great distance: > > > >> It's by going that you will reach your aim. > > > >> Be not discouraged by human frailty: > > > >> You will overcome it if you try to. > > > > > > > > > > > I dont understand the change this is not offending at all in my > > > > believing. Please do not change quotes of people, perhaps they > > > > weren't the best people around, but they are quotes, and quotes are > > > > not to be changed by anyone. > > > > > > > > if they are too "hard" or something, they should either be removed, or > > > > let them stay, but not changed. (unless it's an obvious typo, that > > > > isn't in the original quote ofcourse). > > > > > > There are two sorts of changes in that commit. Grammar and translation > > > fixes by Ganbold (who is a native speaker of the language) and the > > > removal of some militant quotes. He's preparing a backout patch, so > > > please let's not waste anymore time on this :-/ > > > > All objections to this commit stemmed from people's not knowing that > > it was from Ganbold that the quotes came into the fortunes file. I > > don't think Ganbold should be bothered with any back-outs here, but > > the final decision is up to you as his mentor. > > Hmm, I'm not sure that's an accurate summary. I'm perfectly happy with > new translations, but I'm not happy about this being removed, for > example: > > > The greatest joy a man can know is to conquer his enemies and drive them > before him. To ride their horses and take away their possessions. To see > the faces of those who were dear to them bedewed with tears, and to clasp > their wives and daughters to his arms. > -- Chinggis (Genghis) Khan > > It's not very nice, but I don't believe it deserves to be removed. You have a point here! It appears that this quote had been in the fortunes file before the collection translated by Ganbold was initially committed. According to the CVS history, it used to be the only quote from Genghis Khan in our fortunes file, so let's restore it and thus conclude this thread. Sorry, it was my idea to axe it. -- Yar From owner-cvs-src@FreeBSD.ORG Wed Apr 2 02:14:40 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 698131065674 for ; Wed, 2 Apr 2008 02:14:40 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id 029CB8FC1D for ; Wed, 2 Apr 2008 02:14:39 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-067-234-219.pools.arcor-ip.net [88.67.234.219]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1JgsUo3E5Y-0002U1; Wed, 02 Apr 2008 04:14:39 +0200 Received: (qmail 65609 invoked from network); 2 Apr 2008 02:13:42 -0000 Received: from myhost.laiers.local (192.168.4.151) by mx.laiers.local with SMTP; 2 Apr 2008 02:13:42 -0000 From: Max Laier Organization: FreeBSD To: Jeff Roberson Date: Wed, 2 Apr 2008 04:12:30 +0200 User-Agent: KMail/1.9.9 References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> <20080401150918.F72156@desktop> In-Reply-To: <20080401150918.F72156@desktop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804020412.30624.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19YMMlALgyIVu2uTNJK6hRj4AAAQ0q2fxHtawl bIriDvoMfwUUMkwA0kFQAHE6AjCDuGQuygOZG2C24Rizqzsrhq RhFOmutQq/7QDPR5NZkKQ== Cc: Attilio Rao , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 02:14:40 -0000 On Wednesday 02 April 2008 03:11:11 Jeff Roberson wrote: > On Wed, 2 Apr 2008, Attilio Rao wrote: > > 2008/4/2, Max Laier : > >> On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: > >> > On Wed, 2 Apr 2008, Max Laier wrote: > >> >> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: > >> >>> attilio 2008-04-01 20:31:55 UTC > >> >>> > >> >>> FreeBSD src repository > >> >>> > >> >>> Modified files: > >> >>> sys/kern kern_rwlock.c > >> >>> sys/sys rwlock.h > >> >>> Log: > >> >>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. > >> >>> These functions try the specified operation (rlocking and > >> >>> wlocking) and true is returned if the operation completes, false > >> >>> otherwise. > >> >> > >> >> hmmm ... I'm certainly missing something here, but what's a > >> >> possible usecase for these? It seems there is not much you can > >> >> do if you can't obtain a rw_lock. I can understand the need for > >> >> sx_try_* where you want to avoid sleeping, but I can't figure out > >> >> the need for it on a locking primitive that will only spin or > >> >> wait (not 100% sure about the terminology here). This is > >> >> especially strange for rw_try_wlock, unless you plan to sleep > >> >> manually on fail. But then again you'd have a good chance that > >> >> you have to do it over and over again if timing is unfortunate. > >> > > >> > I asked for it. We have a try operation for mtx already. I was > >> > experimenting with converting some code to use rwlocks from mtx > >> > and it required it. The specific case is in the softdep code > >> > where it uses trylock to avoid deadlocking. With trylock you can > >> > violate the lockorder. > >> > >> Makes sense, thanks! A little follow-up, though about something I'm > >> wondering about for quite some time now. Take the following > >> scenario: > >> > >> Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK > >> Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK > >> Thread C: rw_wlock(RW) ... UNLOCK > > > > This can't deadlock simply because rw_rlock() is not mutually > > exclusive. > > It can deadlock if there is a writer waiting in queue depending on > whether we prefer readers or writers. I think we should consider the > reader/writer perference an implementation detail to prevent code like > this from cropping up. Sorry, I still don't understand this. Even if there is a writer (thread C) waiting and we prefer writers, the reader (A or B) has to wait, but eventually the writer will give up the lock (as it can make progress independently of whether the mutex is held or not) and the readers can progress. What am I missing? I don't think this is a good thing either, but I also think that there are some cases where there just are different access orders. I'd rather want a clean way out of this than a lot of difficult per-instance hacks. This does not mean that these can't be fixed cleanly, but I think it's really hard sometimes especially for code we import from elsewhere (hence the personal interest). > Readers are only allowed to proceed with a read lock if they already > own a read lock, not just if the lock is already read locked. This > changed in current recently. So a single recursive read acqusition > can't deadlock but get multiple threads and a writer involved with > writer preference and you can. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-cvs-src@FreeBSD.ORG Wed Apr 2 02:28:45 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6BEB1065671; Wed, 2 Apr 2008 02:28:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5C3818FC1D; Wed, 2 Apr 2008 02:28:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 4936E28449; Wed, 2 Apr 2008 10:28:44 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 85C12EBA16C; Wed, 2 Apr 2008 10:28:43 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id K2Y22Uc1gDUR; Wed, 2 Apr 2008 10:28:38 +0800 (CST) Received: from charlie.delphij.net (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 ESMTPSA id A2781EB5BB4; Wed, 2 Apr 2008 10:28:37 +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:content-transfer-encoding; b=nJSoklJylyp1G4Rmbq2Sl+s8Uy4Qny3KtllHE0Srp74HrCLR2NieVNNlgWylEeRhI wDnbWTAXJ3CPNsqr00rbg== Message-ID: <47F2EF52.4090104@delphij.net> Date: Tue, 01 Apr 2008 19:28:34 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080312) MIME-Version: 1.0 To: Bruce M Simpson References: <200804011354.m31DsO18067704@repoman.freebsd.org> In-Reply-To: <200804011354.m31DsO18067704@repoman.freebsd.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc 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/contrib/netcat nc.1 netcat.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: Wed, 02 Apr 2008 02:28:45 -0000 Bruce M Simpson wrote: > bms 2008-04-01 13:54:24 UTC > > FreeBSD src repository > > Modified files: > contrib/netcat nc.1 netcat.c > Log: > Add an -O option to disable TCP options, for protocol testing purposes. > Do this for active and passive (-l switch) TCP sessions. > > MFC after: 1 week Could you please consider submitting this to OpenBSD as well? Cheers, -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! From owner-cvs-src@FreeBSD.ORG Wed Apr 2 04:08:37 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA2E81065673; Wed, 2 Apr 2008 04:08: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 C2E168FC1D; Wed, 2 Apr 2008 04:08: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 m3248bBE044861; Wed, 2 Apr 2008 04:08:37 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3248bnW044860; Wed, 2 Apr 2008 04:08:37 GMT (envelope-from davidxu) Message-Id: <200804020408.m3248bnW044860@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 04: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/sys umtx.h src/sys/kern kern_umtx.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, 02 Apr 2008 04:08:38 -0000 davidxu 2008-04-02 04:08:37 UTC FreeBSD src repository Modified files: sys/sys umtx.h sys/kern kern_umtx.c Log: Introduce kernel based userland rwlock. Each umtx chain now has two lists, one for readers and one for writers, other types of synchronization object just use first list. Asked by: jeff Revision Changes Path 1.65 +487 -45 src/sys/kern/kern_umtx.c 1.31 +21 -1 src/sys/sys/umtx.h From owner-cvs-src@FreeBSD.ORG Wed Apr 2 04:27:00 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42B091065671; Wed, 2 Apr 2008 04:27:00 +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 1BCF48FC19; Wed, 2 Apr 2008 04:27:00 +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 m324Qx9Z045425; Wed, 2 Apr 2008 04:26:59 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m324Qxav045424; Wed, 2 Apr 2008 04:26:59 GMT (envelope-from davidxu) Message-Id: <200804020426.m324Qxav045424@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 04:26: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/kern kern_umtx.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, 02 Apr 2008 04:27:00 -0000 davidxu 2008-04-02 04:26:59 UTC FreeBSD src repository Modified files: sys/kern kern_umtx.c Log: Er, don't restart a timeout version. Revision Changes Path 1.66 +4 -2 src/sys/kern/kern_umtx.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 04:32:31 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B54C106564A; Wed, 2 Apr 2008 04:32:31 +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 7326A8FC1B; Wed, 2 Apr 2008 04:32:31 +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 m324WVAM045631; Wed, 2 Apr 2008 04:32:31 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m324WVwe045630; Wed, 2 Apr 2008 04:32:31 GMT (envelope-from davidxu) Message-Id: <200804020432.m324WVwe045630@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 04:32: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/lib/libthr/thread thr_private.h thr_rwlock.c thr_umtx.c thr_umtx.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, 02 Apr 2008 04:32:31 -0000 davidxu 2008-04-02 04:32:31 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_private.h thr_rwlock.c thr_umtx.c thr_umtx.h Log: Replace userland rwlock with a pure kernel based rwlock, the new implementation does not switch pointers when it resumes waiters. Asked by: jeff Revision Changes Path 1.87 +1 -6 src/lib/libthr/thread/thr_private.h 1.14 +93 -217 src/lib/libthr/thread/thr_rwlock.c 1.14 +24 -0 src/lib/libthr/thread/thr_umtx.c 1.12 +81 -0 src/lib/libthr/thread/thr_umtx.h From owner-cvs-src@FreeBSD.ORG Wed Apr 2 04:39:48 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 397831065673; Wed, 2 Apr 2008 04:39:48 +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 127E48FC2C; Wed, 2 Apr 2008 04:39:48 +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 m324dlAJ045881; Wed, 2 Apr 2008 04:39:47 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m324dlU9045880; Wed, 2 Apr 2008 04:39:47 GMT (envelope-from alc) Message-Id: <200804020439.m324dlU9045880@repoman.freebsd.org> From: Alan Cox Date: Wed, 2 Apr 2008 04:39: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/amd64/amd64 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: Wed, 02 Apr 2008 04:39:48 -0000 alc 2008-04-02 04:39:47 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: Optimize pmap_pml4e() and pmap_pdpe() based upon two observations: The given pmap is never NULL, and therefore pmap_pml4e() can never return NULL. The pervasive use of these inline functions throughout the pmap makes these simple changes worthwhile. Revision Changes Path 1.611 +1 -3 src/sys/amd64/amd64/pmap.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 05:54:42 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55B75106566B; Wed, 2 Apr 2008 05:54:42 +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 2D9458FC1B; Wed, 2 Apr 2008 05:54:42 +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 m325sgTH059350; Wed, 2 Apr 2008 05:54:42 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m325sfx4059349; Wed, 2 Apr 2008 05:54:41 GMT (envelope-from davidxu) Message-Id: <200804020554.m325sfx4059349@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 05:54: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/sys/kern kern_umtx.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, 02 Apr 2008 05:54:42 -0000 davidxu 2008-04-02 05:54:41 UTC FreeBSD src repository Modified files: sys/kern kern_umtx.c Log: Fix compiling problem for amd64. Revision Changes Path 1.67 +2 -2 src/sys/kern/kern_umtx.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 07:04:50 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 269981065670; Wed, 2 Apr 2008 07:04:50 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id DF7D68FC1B; Wed, 2 Apr 2008 07:04:49 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.200] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m3274gYn006881; Wed, 2 Apr 2008 03:04:43 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 1 Apr 2008 21:05:57 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <200804020408.m3248bnW044860@repoman.freebsd.org> Message-ID: <20080401210132.V72156@desktop> References: <200804020408.m3248bnW044860@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/sys umtx.h src/sys/kern kern_umtx.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, 02 Apr 2008 07:04:50 -0000 On Wed, 2 Apr 2008, David Xu wrote: > davidxu 2008-04-02 04:08:37 UTC > > FreeBSD src repository > > Modified files: > sys/sys umtx.h > sys/kern kern_umtx.c > Log: > Introduce kernel based userland rwlock. Each umtx chain now has two lists, > one for readers and one for writers, other types of synchronization > object just use first list. Hey great David! This made an even bigger difference than I originally measured. Once we get a little more concurrency in the io layer with myisam it'll really shine. Thanks, Jeff > > Asked by: jeff > > Revision Changes Path > 1.65 +487 -45 src/sys/kern/kern_umtx.c > 1.31 +21 -1 src/sys/sys/umtx.h > From owner-cvs-src@FreeBSD.ORG Wed Apr 2 07:14:13 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A67FD106566B; Wed, 2 Apr 2008 07:14:13 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE498FC2A; Wed, 2 Apr 2008 07:14:13 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.200] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m327EAnk007662; Wed, 2 Apr 2008 03:14:11 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 1 Apr 2008 21:15:25 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Max Laier In-Reply-To: <200804020412.30624.max@love2party.net> Message-ID: <20080401210738.E72156@desktop> References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> <20080401150918.F72156@desktop> <200804020412.30624.max@love2party.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 07:14:13 -0000 On Wed, 2 Apr 2008, Max Laier wrote: > On Wednesday 02 April 2008 03:11:11 Jeff Roberson wrote: >> On Wed, 2 Apr 2008, Attilio Rao wrote: >>> 2008/4/2, Max Laier : >>>> On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: >>>>> On Wed, 2 Apr 2008, Max Laier wrote: >>>>>> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: >>>>>>> attilio 2008-04-01 20:31:55 UTC >>>>>>> >>>>>>> FreeBSD src repository >>>>>>> >>>>>>> Modified files: >>>>>>> sys/kern kern_rwlock.c >>>>>>> sys/sys rwlock.h >>>>>>> Log: >>>>>>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. >>>>>>> These functions try the specified operation (rlocking and >>>>>>> wlocking) and true is returned if the operation completes, false >>>>>>> otherwise. >>>>>> >>>>>> hmmm ... I'm certainly missing something here, but what's a >>>>>> possible usecase for these? It seems there is not much you can >>>>>> do if you can't obtain a rw_lock. I can understand the need for >>>>>> sx_try_* where you want to avoid sleeping, but I can't figure out >>>>>> the need for it on a locking primitive that will only spin or >>>>>> wait (not 100% sure about the terminology here). This is >>>>>> especially strange for rw_try_wlock, unless you plan to sleep >>>>>> manually on fail. But then again you'd have a good chance that >>>>>> you have to do it over and over again if timing is unfortunate. >>>>> >>>>> I asked for it. We have a try operation for mtx already. I was >>>>> experimenting with converting some code to use rwlocks from mtx >>>>> and it required it. The specific case is in the softdep code >>>>> where it uses trylock to avoid deadlocking. With trylock you can >>>>> violate the lockorder. >>>> >>>> Makes sense, thanks! A little follow-up, though about something I'm >>>> wondering about for quite some time now. Take the following >>>> scenario: >>>> >>>> Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK >>>> Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK >>>> Thread C: rw_wlock(RW) ... UNLOCK >>> >>> This can't deadlock simply because rw_rlock() is not mutually >>> exclusive. >> >> It can deadlock if there is a writer waiting in queue depending on >> whether we prefer readers or writers. I think we should consider the >> reader/writer perference an implementation detail to prevent code like >> this from cropping up. > > Sorry, I still don't understand this. Even if there is a writer (thread > C) waiting and we prefer writers, the reader (A or B) has to wait, but > eventually the writer will give up the lock (as it can make progress > independently of whether the mutex is held or not) and the readers can > progress. What am I missing? Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK Thread C: rw_wlock(RW) ... UNLOCK Thread A: Thread B: Thread C: rw_rlock(rw) mtx_lock(mtx) rw_wlock(rw) <- Blocked waiting for a rw_rlock(rw) <- Blocked waiting for c due to write fairness mtx_lock(mtx) <- Blocked waiting for B Does that help? > > I don't think this is a good thing either, but I also think that there are > some cases where there just are different access orders. I'd rather want > a clean way out of this than a lot of difficult per-instance hacks. This > does not mean that these can't be fixed cleanly, but I think it's really > hard sometimes especially for code we import from elsewhere (hence the > personal interest). I think the best solution is to treat rlocks as wlocks in terms of access orders. > >> Readers are only allowed to proceed with a read lock if they already >> own a read lock, not just if the lock is already read locked. This >> changed in current recently. So a single recursive read acqusition >> can't deadlock but get multiple threads and a writer involved with >> writer preference and you can. Thanks, Jeff > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News > From owner-cvs-src@FreeBSD.ORG Wed Apr 2 07:41:25 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B13FA1065673; Wed, 2 Apr 2008 07:41:25 +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 9E7D68FC23; Wed, 2 Apr 2008 07:41:25 +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 m327fPdn065206; Wed, 2 Apr 2008 07:41:25 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m327fP1W065205; Wed, 2 Apr 2008 07:41:25 GMT (envelope-from davidxu) Message-Id: <200804020741.m327fP1W065205@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 07:41: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/lib/libthr/arch/amd64 Makefile.inc src/lib/libthr/arch/amd64/include pthread_md.h src/lib/libthr/arch/i386 Makefile.inc src/lib/libthr/arch/i386/include pthread_md.h src/lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.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, 02 Apr 2008 07:41:25 -0000 davidxu 2008-04-02 07:41:25 UTC FreeBSD src repository Modified files: lib/libthr/arch/amd64 Makefile.inc lib/libthr/arch/amd64/include pthread_md.h lib/libthr/arch/i386 Makefile.inc lib/libthr/arch/i386/include pthread_md.h lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.c Added files: lib/libthr/arch/amd64/amd64 _umtx_op_err.S lib/libthr/arch/i386/i386 _umtx_op_err.S Log: Replace function _umtx_op with _umtx_op_err, the later function directly returns errno, because errno can be mucked by user's signal handler and most of pthread api heavily depends on errno to be correct, this change should improve stability of the thread library. Revision Changes Path 1.4 +1 -1 src/lib/libthr/arch/amd64/Makefile.inc 1.1 +37 -0 src/lib/libthr/arch/amd64/amd64/_umtx_op_err.S (new) 1.5 +3 -0 src/lib/libthr/arch/amd64/include/pthread_md.h 1.4 +1 -1 src/lib/libthr/arch/i386/Makefile.inc 1.1 +36 -0 src/lib/libthr/arch/i386/i386/_umtx_op_err.S (new) 1.9 +3 -0 src/lib/libthr/arch/i386/include/pthread_md.h 1.88 +2 -0 src/lib/libthr/thread/thr_private.h 1.7 +1 -1 src/lib/libthr/thread/thr_rtld.c 1.15 +28 -48 src/lib/libthr/thread/thr_umtx.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 08:06:35 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01C0F106566B; Wed, 2 Apr 2008 08:06:35 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id C6F468FC1B; Wed, 2 Apr 2008 08:06:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 4BB6E46C31; Wed, 2 Apr 2008 04:06:34 -0400 (EDT) Date: Wed, 2 Apr 2008 09:06:34 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Jeff Roberson In-Reply-To: <20080401210738.E72156@desktop> Message-ID: <20080402090327.D14932@fledge.watson.org> References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> <20080401150918.F72156@desktop> <200804020412.30624.max@love2party.net> <20080401210738.E72156@desktop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , Max Laier , src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 08:06:35 -0000 On Tue, 1 Apr 2008, Jeff Roberson wrote: >> I don't think this is a good thing either, but I also think that there are >> some cases where there just are different access orders. I'd rather want a >> clean way out of this than a lot of difficult per-instance hacks. This >> does not mean that these can't be fixed cleanly, but I think it's really >> hard sometimes especially for code we import from elsewhere (hence the >> personal interest). > > I think the best solution is to treat rlocks as wlocks in terms of access > orders. The 'problem' is that there are certain usage cases for rwlocks where 99% of paths use only recursive read locks, with rather incestuous lock orders with respect to other locks, and 1% of paths use write locks and are very conservative about the calling path. I'm sure the example that Max has in mind is pfil, where you may get pfil invocation as you enter the stack or as you exit it, but whose lock should not ever lead to deadlock as it's only acquired readable in those paths. The key missing bit of the picture is that the write path must be constructed very, very carefully so that it is never called holding any locks that interact with the read locks. What would be very nice is if witness fired if the write path got it wrong in those cases, since using rwlocks effectively as a reference count to prevent subsystem reconfiguration while in use is a structure likely to be used elsewhere. Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Wed Apr 2 08:33:42 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFD2C1065670; Wed, 2 Apr 2008 08:33:42 +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 B612B8FC35; Wed, 2 Apr 2008 08:33:42 +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 m328Xgp3070354; Wed, 2 Apr 2008 08:33:42 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m328XgED070353; Wed, 2 Apr 2008 08:33:42 GMT (envelope-from davidxu) Message-Id: <200804020833.m328XgED070353@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 08: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/lib/libthr/thread thr_cond.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: Wed, 02 Apr 2008 08:33:43 -0000 davidxu 2008-04-02 08:33:42 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_cond.c thr_private.h Log: Remove unused functions. Revision Changes Path 1.25 +0 -53 src/lib/libthr/thread/thr_cond.c 1.89 +0 -2 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Wed Apr 2 08:53:18 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDF871065671; Wed, 2 Apr 2008 08:53:18 +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 C343A8FC13; Wed, 2 Apr 2008 08:53:18 +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 m328rINY080068; Wed, 2 Apr 2008 08:53:18 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m328rIeB080067; Wed, 2 Apr 2008 08:53:18 GMT (envelope-from davidxu) Message-Id: <200804020853.m328rIeB080067@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 08:53:18 +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/include namespace.h un-namespace.h src/lib/libthr/thread 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: Wed, 02 Apr 2008 08:53:19 -0000 davidxu 2008-04-02 08:53:18 UTC FreeBSD src repository Modified files: lib/libc/include namespace.h un-namespace.h lib/libthr/thread thr_private.h Log: Add pthread_setaffinity_np and pthread_getaffinity_np to libc namespace. Revision Changes Path 1.23 +2 -0 src/lib/libc/include/namespace.h 1.20 +2 -0 src/lib/libc/include/un-namespace.h 1.90 +0 -2 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Wed Apr 2 09:29:40 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 984341065671; Wed, 2 Apr 2008 09:29:40 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6C1048FC1F; Wed, 2 Apr 2008 09:29:40 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.200] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m329TSWe018312; Wed, 2 Apr 2008 05:29:36 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 1 Apr 2008 23:30:29 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Max Laier In-Reply-To: <20080401210738.E72156@desktop> Message-ID: <20080401232749.C72156@desktop> References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> <20080401150918.F72156@desktop> <200804020412.30624.max@love2party.net> <20080401210738.E72156@desktop> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 09:29:40 -0000 On Tue, 1 Apr 2008, Jeff Roberson wrote: > On Wed, 2 Apr 2008, Max Laier wrote: > >> On Wednesday 02 April 2008 03:11:11 Jeff Roberson wrote: >>> On Wed, 2 Apr 2008, Attilio Rao wrote: >>>> 2008/4/2, Max Laier : >>>>> On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: >>>>>> On Wed, 2 Apr 2008, Max Laier wrote: >>>>>>> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: >>>>>>>> attilio 2008-04-01 20:31:55 UTC >>>>>>>> >>>>>>>> FreeBSD src repository >>>>>>>> >>>>>>>> Modified files: >>>>>>>> sys/kern kern_rwlock.c >>>>>>>> sys/sys rwlock.h >>>>>>>> Log: >>>>>>>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. >>>>>>>> These functions try the specified operation (rlocking and >>>>>>>> wlocking) and true is returned if the operation completes, false >>>>>>>> otherwise. >>>>>>> >>>>>>> hmmm ... I'm certainly missing something here, but what's a >>>>>>> possible usecase for these? It seems there is not much you can >>>>>>> do if you can't obtain a rw_lock. I can understand the need for >>>>>>> sx_try_* where you want to avoid sleeping, but I can't figure out >>>>>>> the need for it on a locking primitive that will only spin or >>>>>>> wait (not 100% sure about the terminology here). This is >>>>>>> especially strange for rw_try_wlock, unless you plan to sleep >>>>>>> manually on fail. But then again you'd have a good chance that >>>>>>> you have to do it over and over again if timing is unfortunate. >>>>>> >>>>>> I asked for it. We have a try operation for mtx already. I was >>>>>> experimenting with converting some code to use rwlocks from mtx >>>>>> and it required it. The specific case is in the softdep code >>>>>> where it uses trylock to avoid deadlocking. With trylock you can >>>>>> violate the lockorder. >>>>> >>>>> Makes sense, thanks! A little follow-up, though about something I'm >>>>> wondering about for quite some time now. Take the following >>>>> scenario: >>>>> >>>>> Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK >>>>> Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK >>>>> Thread C: rw_wlock(RW) ... UNLOCK >>>> >>>> This can't deadlock simply because rw_rlock() is not mutually >>>> exclusive. >>> >>> It can deadlock if there is a writer waiting in queue depending on >>> whether we prefer readers or writers. I think we should consider the >>> reader/writer perference an implementation detail to prevent code like >>> this from cropping up. >> >> Sorry, I still don't understand this. Even if there is a writer (thread >> C) waiting and we prefer writers, the reader (A or B) has to wait, but >> eventually the writer will give up the lock (as it can make progress >> independently of whether the mutex is held or not) and the readers can >> progress. What am I missing? > > Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK > Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK > Thread C: rw_wlock(RW) ... UNLOCK > I should mention one more variation on this. If the following preceeded the diagram below there would be no deadlock: rw_rlock(rw); ^^^^^^^^^^^^^ > Thread A: Thread B: Thread C: > rw_rlock(rw) > mtx_lock(mtx) > rw_wlock(rw) <- Blocked waiting for a > rw_rlock(rw) <- Blocked waiting for c due to write fairness > mtx_lock(mtx) <- Blocked waiting for B The recursive acquisition is not blocked by a write waiter because that could certainly lead to deadlock. Note that this reverts us to a strict order which can be verified by witness regardless of the reader/write type of the lock. Jeff > > Does that help? > >> >> I don't think this is a good thing either, but I also think that there are >> some cases where there just are different access orders. I'd rather want >> a clean way out of this than a lot of difficult per-instance hacks. This >> does not mean that these can't be fixed cleanly, but I think it's really >> hard sometimes especially for code we import from elsewhere (hence the >> personal interest). > > I think the best solution is to treat rlocks as wlocks in terms of access > orders. > >> >>> Readers are only allowed to proceed with a read lock if they already >>> own a read lock, not just if the lock is already read locked. This >>> changed in current recently. So a single recursive read acqusition >>> can't deadlock but get multiple threads and a writer involved with >>> writer preference and you can. > > Thanks, > Jeff > >> >> -- >> /"\ Best regards, | mlaier@freebsd.org >> \ / Max Laier | ICQ #67774661 >> X http://pf4freebsd.love2party.net/ | mlaier@EFnet >> / \ ASCII Ribbon Campaign | Against HTML Mail and News >> > From owner-cvs-src@FreeBSD.ORG Wed Apr 2 09:41:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B908106566C; Wed, 2 Apr 2008 09:41:30 +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 40E588FC1D; Wed, 2 Apr 2008 09:41:30 +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 m329fUNv083421; Wed, 2 Apr 2008 09:41:30 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m329fUvO083420; Wed, 2 Apr 2008 09:41:30 GMT (envelope-from ru) Message-Id: <200804020941.m329fUvO083420@repoman.freebsd.org> From: Ruslan Ermilov Date: Wed, 2 Apr 2008 09:41: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.bin/ktrace ktrace.1 ktrace.c src/usr.bin/kdump kdump.1 kdump.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, 02 Apr 2008 09:41:30 -0000 ru 2008-04-02 09:41:30 UTC FreeBSD src repository Modified files: usr.bin/ktrace ktrace.1 ktrace.c usr.bin/kdump kdump.1 kdump.c Log: Spell -t option's argument by name. Revision Changes Path 1.17 +2 -2 src/usr.bin/kdump/kdump.1 1.42 +1 -1 src/usr.bin/kdump/kdump.c 1.20 +3 -3 src/usr.bin/ktrace/ktrace.1 1.24 +2 -2 src/usr.bin/ktrace/ktrace.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 10:05:36 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F241065672 for ; Wed, 2 Apr 2008 10:05:36 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 1B53E8FC2C for ; Wed, 2 Apr 2008 10:05:35 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2619026fgg.35 for ; Wed, 02 Apr 2008 03:05:35 -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=FmJg47EUCOl3xjg8kFBvO7OQ+0WEsDeDZOsl/NZibyk=; b=O4U0UVAYQ4xEGQQ+QLWjDHdB0xZZl7+QjnTWb1NDesdiorH4bapDUmzsKepz7uhaHomgf5tBe/oF1B0dzjOw3+nH/uds4YyeZcYUGoqZNd+OFNRhiKYold5sib3RBF3zJ+XWjqQQvCg812hjK7bDdEIQW4Lp8j2jOtWOUvDlM8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=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=OJBK5Ar48MZg3OFLcpSyRKAjZqLnbYsi5wBLw42lfdMcZRsETEX5eKnzSBvlfXl0LtJvmmjR+NKxAu75lXMu6KINX5ftPHO+xPkOmWR6b0MU/5sgrb0+dpiwzzE0QjTens47A58GXDsTuHEmBUSgxPe3TYNP7CI1WuqIlcbfDjk= Received: by 10.86.82.16 with SMTP id f16mr6186649fgb.60.1207130734951; Wed, 02 Apr 2008 03:05:34 -0700 (PDT) Received: by 10.86.73.10 with HTTP; Wed, 2 Apr 2008 03:05:34 -0700 (PDT) Message-ID: <3bbf2fe10804020305r624ab142j18f00b84f2ae240f@mail.gmail.com> Date: Wed, 2 Apr 2008 12:05:34 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Jeff Roberson" In-Reply-To: <20080401150918.F72156@desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> <20080401123951.J72156@desktop> <200804020200.58006.max@love2party.net> <3bbf2fe10804011723w69e38ed7sc5760ea269600654@mail.gmail.com> <20080401150918.F72156@desktop> X-Google-Sender-Auth: 53314ec7a23bd491 Cc: Max Laier , src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 10:05:36 -0000 2008/4/2, Jeff Roberson : > > On Wed, 2 Apr 2008, Attilio Rao wrote: > > > > 2008/4/2, Max Laier : > > > > > On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: > > > > On Wed, 2 Apr 2008, Max Laier wrote: > > > >> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: > > > >>> attilio 2008-04-01 20:31:55 UTC > > > >>> > > > >>> FreeBSD src repository > > > >>> > > > >>> Modified files: > > > >>> sys/kern kern_rwlock.c > > > >>> sys/sys rwlock.h > > > >>> Log: > > > >>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. > > > >>> These functions try the specified operation (rlocking and > > > >>> wlocking) and true is returned if the operation completes, false > > > >>> otherwise. > > > >> > > > >> hmmm ... I'm certainly missing something here, but what's a possible > > > >> usecase for these? It seems there is not much you can do if you > > > >> can't obtain a rw_lock. I can understand the need for sx_try_* where > > > >> you want to avoid sleeping, but I can't figure out the need for it on > > > >> a locking primitive that will only spin or wait (not 100% sure about > > > >> the terminology here). This is especially strange for rw_try_wlock, > > > >> unless you plan to sleep manually on fail. But then again you'd have > > > >> a good chance that you have to do it over and over again if timing is > > > >> unfortunate. > > > > > > > > I asked for it. We have a try operation for mtx already. I was > > > > experimenting with converting some code to use rwlocks from mtx and it > > > > required it. The specific case is in the softdep code where it uses > > > > trylock to avoid deadlocking. With trylock you can violate the > > > > lockorder. > > > > > > > > > Makes sense, thanks! A little follow-up, though about something I'm > > > wondering about for quite some time now. Take the following scenario: > > > > > > Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK > > > Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK > > > Thread C: rw_wlock(RW) ... UNLOCK > > > > > > > This can't deadlock simply because rw_rlock() is not mutually exclusive. > > > > It can deadlock if there is a writer waiting in queue depending on whether > we prefer readers or writers. I think we should consider the reader/writer > perference an implementation detail to prevent code like this from cropping > up. Ah, right, the writer starvation avoidance will lead to a deadlock here. Thanks, I didn't consider it, so it is still valid / better to treact read locks as all the other locks for WITNESS. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Wed Apr 2 10:40:04 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9444A1065673; Wed, 2 Apr 2008 10:40:04 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 69AB48FC19; Wed, 2 Apr 2008 10:40:04 +0000 (UTC) (envelope-from jeff@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 m32Ae4jV087615; Wed, 2 Apr 2008 10:40:04 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32Ae4Lh087614; Wed, 2 Apr 2008 10:40:04 GMT (envelope-from jeff) Message-Id: <200804021040.m32Ae4Lh087614@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 2 Apr 2008 10:40: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/kern vfs_subr.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, 02 Apr 2008 10:40:04 -0000 jeff 2008-04-02 10:40:03 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: - Destroy the bo mtx when the vnode is destroyed. Revision Changes Path 1.727 +1 -0 src/sys/kern/vfs_subr.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 11:11:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40D28106566B; Wed, 2 Apr 2008 11:11:59 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1612F8FC23; Wed, 2 Apr 2008 11:11:59 +0000 (UTC) (envelope-from kib@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 m32BBwiP089686; Wed, 2 Apr 2008 11:11:58 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32BBwdL089685; Wed, 2 Apr 2008 11:11:58 GMT (envelope-from kib) Message-Id: <200804021111.m32BBwdL089685@repoman.freebsd.org> From: Konstantin Belousov Date: Wed, 2 Apr 2008 11:11: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/sys/kern kern_conf.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, 02 Apr 2008 11:11:59 -0000 kib 2008-04-02 11:11:58 UTC FreeBSD src repository Modified files: sys/kern kern_conf.c Log: Add two missed chunks from the rev. 1.210, for the giant_read() and giant_ioctl(). PR: kern/122287 MFC after: 3 days Revision Changes Path 1.211 +2 -4 src/sys/kern/kern_conf.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 11:20:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80992106566C; Wed, 2 Apr 2008 11:20:30 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEBC8FC1C; Wed, 2 Apr 2008 11:20:30 +0000 (UTC) (envelope-from jeff@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 m32BKUCT089977; Wed, 2 Apr 2008 11:20:30 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32BKUYX089976; Wed, 2 Apr 2008 11:20:30 GMT (envelope-from jeff) Message-Id: <200804021120.m32BKUYX089976@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 2 Apr 2008 11:20: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/sys/sys callout.h src/sys/kern kern_clock.c kern_intr.c kern_timeout.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, 02 Apr 2008 11:20:30 -0000 jeff 2008-04-02 11:20:30 UTC FreeBSD src repository Modified files: sys/sys callout.h sys/kern kern_clock.c kern_intr.c kern_timeout.c Log: Implement per-cpu callout threads, wheels, and locks. - Move callout thread creation from kern_intr.c to kern_timeout.c - Call callout_tick() on every processor via hardclock_cpu() rather than inspecting callout internal details in kern_clock.c. - Remove callout implementation details from callout.h - Package up all of the global variables into a per-cpu callout structure. - Start one thread per-cpu. Threads are not strictly bound. They prefer to execute on the native cpu but may migrate temporarily if interrupts are starving callout processing. - Run all callouts by default in the thread for cpu0 to maintain current ordering and concurrency guarantees. Many consumers may not properly handle concurrent execution. - The new callout_reset_on() api allows specifying a particular cpu to execute the callout on. This may migrate a callout to a new cpu. callout_reset() schedules on the last assigned cpu while callout_reset_curcpu() schedules on the current cpu. Reviewed by: phk Sponsored by: Nokia Revision Changes Path 1.209 +2 -23 src/sys/kern/kern_clock.c 1.158 +14 -11 src/sys/kern/kern_intr.c 1.112 +246 -124 src/sys/kern/kern_timeout.c 1.33 +9 -7 src/sys/sys/callout.h From owner-cvs-src@FreeBSD.ORG Wed Apr 2 11:21:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36D8D106566C; Wed, 2 Apr 2008 11:21:43 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0BB6B8FC29; Wed, 2 Apr 2008 11:21:43 +0000 (UTC) (envelope-from jeff@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 m32BLgYR090075; Wed, 2 Apr 2008 11:21:42 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32BLgYP090074; Wed, 2 Apr 2008 11:21:42 GMT (envelope-from jeff) Message-Id: <200804021121.m32BLgYP090074@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 2 Apr 2008 11:21: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/kern kern_event.c subr_sleepqueue.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, 02 Apr 2008 11:21:43 -0000 jeff 2008-04-02 11:21:42 UTC FreeBSD src repository Modified files: sys/kern kern_event.c subr_sleepqueue.c Log: - Convert two timeout users to the new callout_reset_curcpu() api. Sponsored by: Nokia Revision Changes Path 1.118 +3 -3 src/sys/kern/kern_event.c 1.52 +1 -1 src/sys/kern/subr_sleepqueue.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 11:41:13 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47FB11065678; Wed, 2 Apr 2008 11:41:13 +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 1D7D68FC16; Wed, 2 Apr 2008 11:41:13 +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 m32BfCi1091003; Wed, 2 Apr 2008 11:41:12 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32BfCrA091002; Wed, 2 Apr 2008 11:41:12 GMT (envelope-from davidxu) Message-Id: <200804021141.m32BfCrA091002@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 11:41: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/lib/libthr/thread thr_affinity.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, 02 Apr 2008 11:41:13 -0000 davidxu 2008-04-02 11:41:12 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_affinity.c Log: Non-portable functions are in pthread_np.h, fix compiling problem. Revision Changes Path 1.3 +1 -1 src/lib/libthr/thread/thr_affinity.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 13:59:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC1E81065670; Wed, 2 Apr 2008 13:59:43 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C096B8FC27; Wed, 2 Apr 2008 13:59:43 +0000 (UTC) (envelope-from gallatin@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 m32Dxh06007048; Wed, 2 Apr 2008 13:59:43 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32DxhH8007047; Wed, 2 Apr 2008 13:59:43 GMT (envelope-from gallatin) Message-Id: <200804021359.m32DxhH8007047@repoman.freebsd.org> From: Andrew Gallatin Date: Wed, 2 Apr 2008 13:59: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/sys/dev/mxge if_mxge.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, 02 Apr 2008 13:59:44 -0000 gallatin 2008-04-02 13:59:43 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Initialize if_baudrate using IF_Gbps() macro. Note that if_baudrate is a long, and 32-bits isn't enough to properly represent 10Gb/s. Pointed out by: dwhite Revision Changes Path 1.49 +1 -1 src/sys/dev/mxge/if_mxge.c From owner-cvs-src@FreeBSD.ORG Wed Apr 2 14:47:37 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 857A5106566B for ; Wed, 2 Apr 2008 14:47:37 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id 180348FC1C for ; Wed, 2 Apr 2008 14:47:36 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-067-234-219.pools.arcor-ip.net [88.67.234.219]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1Jh4FQ1JY5-0003YX; Wed, 02 Apr 2008 16:47:36 +0200 Received: (qmail 74675 invoked from network); 2 Apr 2008 14:46:33 -0000 Received: from myhost.laiers.local (192.168.4.151) by laiers.local with SMTP; 2 Apr 2008 14:46:33 -0000 From: Max Laier Organization: FreeBSD To: Jeff Roberson Date: Wed, 2 Apr 2008 16:45:19 +0200 User-Agent: KMail/1.9.9 References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020412.30624.max@love2party.net> <20080401210738.E72156@desktop> In-Reply-To: <20080401210738.E72156@desktop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804021645.19331.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18qS5LSLBzRDiAO+GGT6FhTlEIcNglgtWVsLTn d7CAvNp35B2Y6IvjRl5bRNqfqxvsdcWNUevATk34kemUEe3EWR 5l2ys1BED5dj6h24TE0GA== Cc: Attilio Rao , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 14:47:37 -0000 On Wednesday 02 April 2008 09:15:25 Jeff Roberson wrote: > On Wed, 2 Apr 2008, Max Laier wrote: > > On Wednesday 02 April 2008 03:11:11 Jeff Roberson wrote: > >> On Wed, 2 Apr 2008, Attilio Rao wrote: > >>> 2008/4/2, Max Laier : > >>>> On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: > >>>>> On Wed, 2 Apr 2008, Max Laier wrote: > >>>>>> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: > >>>>>>> attilio 2008-04-01 20:31:55 UTC > >>>>>>> > >>>>>>> FreeBSD src repository > >>>>>>> > >>>>>>> Modified files: > >>>>>>> sys/kern kern_rwlock.c > >>>>>>> sys/sys rwlock.h > >>>>>>> Log: > >>>>>>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. > >>>>>>> These functions try the specified operation (rlocking and > >>>>>>> wlocking) and true is returned if the operation completes, > >>>>>>> false otherwise. > >>>>>> > >>>>>> hmmm ... I'm certainly missing something here, but what's a > >>>>>> possible usecase for these? It seems there is not much you can > >>>>>> do if you can't obtain a rw_lock. I can understand the need for > >>>>>> sx_try_* where you want to avoid sleeping, but I can't figure > >>>>>> out the need for it on a locking primitive that will only spin > >>>>>> or wait (not 100% sure about the terminology here). This is > >>>>>> especially strange for rw_try_wlock, unless you plan to sleep > >>>>>> manually on fail. But then again you'd have a good chance that > >>>>>> you have to do it over and over again if timing is unfortunate. > >>>>> > >>>>> I asked for it. We have a try operation for mtx already. I was > >>>>> experimenting with converting some code to use rwlocks from mtx > >>>>> and it required it. The specific case is in the softdep code > >>>>> where it uses trylock to avoid deadlocking. With trylock you can > >>>>> violate the lockorder. > >>>> > >>>> Makes sense, thanks! A little follow-up, though about something > >>>> I'm wondering about for quite some time now. Take the following > >>>> scenario: > >>>> > >>>> Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK > >>>> Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK > >>>> Thread C: rw_wlock(RW) ... UNLOCK > >>> > >>> This can't deadlock simply because rw_rlock() is not mutually > >>> exclusive. > >> > >> It can deadlock if there is a writer waiting in queue depending on > >> whether we prefer readers or writers. I think we should consider > >> the reader/writer perference an implementation detail to prevent > >> code like this from cropping up. > > > > Sorry, I still don't understand this. Even if there is a writer > > (thread C) waiting and we prefer writers, the reader (A or B) has to > > wait, but eventually the writer will give up the lock (as it can make > > progress independently of whether the mutex is held or not) and the > > readers can progress. What am I missing? > > Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK > Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK > Thread C: rw_wlock(RW) ... UNLOCK > > Thread A: Thread B: Thread C: > rw_rlock(rw) > mtx_lock(mtx) > rw_wlock(rw) <- Blocked waiting for a > rw_rlock(rw) <- Blocked waiting for c due to write > fairness mtx_lock(mtx) <- Blocked waiting for B > > Does that help? Yes it does, thanks. Do you know what the situation for rm_locks is? If I understand correctly they implement full priority propagation. In this scenario C would boost A via the RM and A would boost B via MTX so B could run and avoid the deadlock. Or am I missing something again? In any case doing "while (!rw_try_wlock(rw));" instead of a plain "rw_wlock(rw);" would now be a possible workaround - if we don't care about starvation of thread C, right? > > I don't think this is a good thing either, but I also think that > > there are some cases where there just are different access orders. > > I'd rather want a clean way out of this than a lot of difficult > > per-instance hacks. This does not mean that these can't be fixed > > cleanly, but I think it's really hard sometimes especially for code > > we import from elsewhere (hence the personal interest). > > I think the best solution is to treat rlocks as wlocks in terms of > access orders. > > >> Readers are only allowed to proceed with a read lock if they already > >> own a read lock, not just if the lock is already read locked. This > >> changed in current recently. So a single recursive read acqusition > >> can't deadlock but get multiple threads and a writer involved with > >> writer preference and you can. > > Thanks, > Jeff > > > -- > > /"\ Best regards, | mlaier@freebsd.org > > \ / Max Laier | ICQ #67774661 > > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > > / \ ASCII Ribbon Campaign | Against HTML Mail and News -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-cvs-src@FreeBSD.ORG Wed Apr 2 14:53:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB822106564A; Wed, 2 Apr 2008 14:53:19 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6CAB18FC2F; Wed, 2 Apr 2008 14:53:19 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.2/8.14.2) with ESMTP id m32EtKwP021559; Wed, 2 Apr 2008 10:55:20 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m32EtKVE021558; Wed, 2 Apr 2008 10:55:20 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Wed, 2 Apr 2008 10:55:20 -0400 From: David Schultz To: Jeff Roberson Message-ID: <20080402145520.GA21462@zim.MIT.EDU> Mail-Followup-To: Jeff Roberson , Max Laier , Attilio Rao , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> <20080401123951.J72156@desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080401123951.J72156@desktop> Cc: Attilio Rao , Max Laier , src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-src@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 02 Apr 2008 14:53:20 -0000 On Tue, Apr 01, 2008, Jeff Roberson wrote: > On Wed, 2 Apr 2008, Max Laier wrote: > > >On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: > >>attilio 2008-04-01 20:31:55 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/kern kern_rwlock.c > >> sys/sys rwlock.h > >> Log: > >> Add rw_try_rlock() and rw_try_wlock() to rwlocks. > >> These functions try the specified operation (rlocking and wlocking) > >>and true is returned if the operation completes, false otherwise. > > > >hmmm ... I'm certainly missing something here, but what's a possible > >usecase for these? It seems there is not much you can do if you can't > >obtain a rw_lock. I can understand the need for sx_try_* where you want > >to avoid sleeping, but I can't figure out the need for it on a locking > >primitive that will only spin or wait (not 100% sure about the > >terminology here). This is especially strange for rw_try_wlock, unless > >you plan to sleep manually on fail. But then again you'd have a good > >chance that you have to do it over and over again if timing is > >unfortunate. > > I asked for it. We have a try operation for mtx already. I was > experimenting with converting some code to use rwlocks from mtx and it > required it. The specific case is in the softdep code where it uses > trylock to avoid deadlocking. With trylock you can violate the lockorder. One reason that many systems don't provide a rw_try_wlock() primitive is that a constant stream of readers can easily starve threads attempting to acquire the write lock without waiting. There are probably situations where this isn't a problem, though, e.g., if readers rarely hold the lock for a long time... From owner-cvs-src@FreeBSD.ORG Wed Apr 2 14:56:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3B02106566B; Wed, 2 Apr 2008 14:56:16 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9538FC15; Wed, 2 Apr 2008 14:56:15 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [82.95.250.254]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id m32EuCvq025909; Wed, 2 Apr 2008 16:56:13 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.14.2/8.13.3) with ESMTP id m32EuCsP082861; Wed, 2 Apr 2008 16:56:12 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.14.2/8.14.2/Submit) id m32EuBKY082856; Wed, 2 Apr 2008 16:56:11 +0200 (CEST) (envelope-from wb) Date: Wed, 2 Apr 2008 16:56:11 +0200 From: Wilko Bulte To: Doug Barton Message-ID: <20080402145611.GB82144@freebie.xs4all.nl> References: <200803311028.m2VASAxD097068@repoman.freebsd.org> <47F13951.2080907@FreeBSD.org> <87hcema76s.fsf@kobe.laptop> <47F1BEB4.1060104@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47F1BEB4.1060104@FreeBSD.org> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Ganbold Tsagaankhuu , yar@FreeBSD.org, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, "Jordan K. Hubbard" , cvs-all@FreeBSD.org, Giorgos Keramidas Subject: Re: 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: Wed, 02 Apr 2008 14:56:16 -0000 Quoting Doug Barton, who wrote on Mon, Mar 31, 2008 at 09:48:52PM -0700 .. > Jordan K. Hubbard wrote: > > > >On Mar 31, 2008, at 2:56 PM, Giorgos Keramidas wrote: > > > >>This is the age old "these fortune cookies may be offensive to some > >>people" bikeshed. Do we really want to go there again? > >> > >>If removing the ones deleted by Ganbold is considered such a big loss to > >>the consumers of the fortune cookies, then sure, we'll have to backout > >>the removal. I'd prefer if we didn't, but oh well :/ > > > > > >from fortune(6): > > > >"I think the world would be a more peaceful place if people > >could just keep their fingers out of the fortune files. > > > > -- Jordan K. Hubbard" > > > >:-) > > My point exactly. We have always erred on the side of NOT removing > something since what people find offensive (or humorous) varies hugely > across cultures, languages, political persuasions, etc. > > If you want to make an argument that those fortunes should be moved to > the -o file, that might be worth talking about. But flat out removing > them is not keeping in the spirit of how things have traditionally > been done. If all the soft-skinned creatures who cannot handle fortunes just rm -rf fortune? Then we could just go on with life. Political correctness has never served any useful purpose in this world. Wilko -- Wilko Bulte wilko@FreeBSD.org From owner-cvs-src@FreeBSD.ORG Wed Apr 2 16:17:20 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D599106564A; Wed, 2 Apr 2008 16:17:20 +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 11EEA8FC16; Wed, 2 Apr 2008 16:17:20 +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 m32GHJTn030362; Wed, 2 Apr 2008 16:17:19 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32GHJxr030361; Wed, 2 Apr 2008 16:17:19 GMT (envelope-from imp) Message-Id: <200804021617.m32GHJxr030361@repoman.freebsd.org> From: Warner Losh Date: Wed, 2 Apr 2008 16:17: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/sys/conf 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: Wed, 02 Apr 2008 16:17:20 -0000 imp 2008-04-02 16:17:19 UTC FreeBSD src repository Modified files: sys/conf NOTES Log: Add zyd, ural, and rum. They were missing. Revision Changes Path 1.1479 +10 -0 src/sys/conf/NOTES From owner-cvs-src@FreeBSD.ORG Wed Apr 2 16:40:05 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 515031065673; Wed, 2 Apr 2008 16:40:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.76]) by mx1.freebsd.org (Postfix) with ESMTP id 30B358FC29; Wed, 2 Apr 2008 16:40:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp002-s [10.150.69.65]) by smtpoutm.mac.com (Xserve/smtpout013/MantshX 4.0) with ESMTP id m32Ge5Of014710; Wed, 2 Apr 2008 09:40:05 -0700 (PDT) Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp002/MantshX 4.0) with ESMTP id m32Ge2AA017735 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 2 Apr 2008 09:40:02 -0700 (PDT) Message-Id: <77FDA3DB-B81A-42D1-871E-AB04CD86C150@mac.com> From: Marcel Moolenaar To: David Xu In-Reply-To: <200804020741.m327fP1W065205@repoman.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 2 Apr 2008 09:39:56 -0700 References: <200804020741.m327fP1W065205@repoman.freebsd.org> X-Mailer: Apple Mail (2.919.2) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libthr/arch/amd64 Makefile.inc src/lib/libthr/arch/amd64/include pthread_md.h src/lib/libthr/arch/i386 Makefile.inc src/lib/libthr/arch/i386/include pthread_md.h src/lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.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, 02 Apr 2008 16:40:05 -0000 On Apr 2, 2008, at 12:41 AM, David Xu wrote: > davidxu 2008-04-02 07:41:25 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/arch/amd64 Makefile.inc > lib/libthr/arch/amd64/include pthread_md.h > lib/libthr/arch/i386 Makefile.inc > lib/libthr/arch/i386/include pthread_md.h > lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.c > Added files: > lib/libthr/arch/amd64/amd64 _umtx_op_err.S > lib/libthr/arch/i386/i386 _umtx_op_err.S > Log: > Replace function _umtx_op with _umtx_op_err, the later function > directly > returns errno, because errno can be mucked by user's signal handler > and > most of pthread api heavily depends on errno to be correct, this > change > should improve stability of the thread library. Doesn't this also apply to !i386 & !amd64? -- Marcel Moolenaar xcllnt@mac.com From owner-cvs-src@FreeBSD.ORG Wed Apr 2 16:52:28 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A2E91065670; Wed, 2 Apr 2008 16:52:28 +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 2E0928FC18; Wed, 2 Apr 2008 16:52:28 +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 m32GqSIl040959; Wed, 2 Apr 2008 16:52:28 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32GqSoj040958; Wed, 2 Apr 2008 16:52:28 GMT (envelope-from brueffer) Message-Id: <200804021652.m32GqSoj040958@repoman.freebsd.org> From: Christian Brueffer Date: Wed, 2 Apr 2008 16:52: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/share/man/man4 arcmsr.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, 02 Apr 2008 16:52:28 -0000 brueffer 2008-04-02 16:52:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 arcmsr.4 Log: MFC: rev. 1.6 ARC-1680 is supported. Revision Changes Path 1.5.2.1 +3 -1 src/share/man/man4/arcmsr.4 From owner-cvs-src@FreeBSD.ORG Wed Apr 2 16:53:05 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1355B1065671; Wed, 2 Apr 2008 16:53:05 +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 DC9FA8FC25; Wed, 2 Apr 2008 16:53:04 +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 m32Gr4Ep041019; Wed, 2 Apr 2008 16:53:04 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32Gr4Bb041018; Wed, 2 Apr 2008 16:53:04 GMT (envelope-from brueffer) Message-Id: <200804021653.m32Gr4Bb041018@repoman.freebsd.org> From: Christian Brueffer Date: Wed, 2 Apr 2008 16:53: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/share/man/man4 arcmsr.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, 02 Apr 2008 16:53:05 -0000 brueffer 2008-04-02 16:53:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 arcmsr.4 Log: MFC: rev. 1.6 ARC-1680 is supported. Revision Changes Path 1.3.4.3 +3 -1 src/share/man/man4/arcmsr.4 From owner-cvs-src@FreeBSD.ORG Wed Apr 2 17:24:23 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32D4D106567B; Wed, 2 Apr 2008 17:24:23 +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 06DB08FC22; Wed, 2 Apr 2008 17:24:23 +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 m32HOMbj044399; Wed, 2 Apr 2008 17:24:22 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32HOMFe044398; Wed, 2 Apr 2008 17:24:22 GMT (envelope-from obrien) Message-Id: <200804021724.m32HOMFe044398@repoman.freebsd.org> From: "David E. O'Brien" Date: Wed, 2 Apr 2008 17:24: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/share/mk sys.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Apr 2008 17:24:23 -0000 obrien 2008-04-02 17:24:22 UTC FreeBSD src repository Modified files: share/mk sys.mk Log: PR ports/121363 (& ports/73797) has been committed, so we can now go back to JB's revision 1.96 change to remove -fno-strict-aliasing from CFLAGS. This makes the default CFLAGS to match the simple defaults that the tinderboxes use. By using -fno-strict-aliasing by default we are choosing to ignore problems in code which had the potential to shoot ourselves in the foot. Revision Changes Path 1.100 +2 -2 src/share/mk/sys.mk From owner-cvs-src@FreeBSD.ORG Wed Apr 2 18:17:46 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFA221065789; Wed, 2 Apr 2008 18:17:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B3FC78FC28; Wed, 2 Apr 2008 18:17:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 4F5661A4D90; Wed, 2 Apr 2008 11:17:46 -0700 (PDT) From: John Baldwin To: Jeff Roberson Date: Wed, 2 Apr 2008 14:17:19 -0400 User-Agent: KMail/1.9.7 References: <200804021120.m32BKUYX089976@repoman.freebsd.org> In-Reply-To: <200804021120.m32BKUYX089976@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804021417.20141.jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys callout.h src/sys/kern kern_clock.c kern_intr.c kern_timeout.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, 02 Apr 2008 18:17:47 -0000 On Wednesday 02 April 2008 07:20:30 am Jeff Roberson wrote: > jeff 2008-04-02 11:20:30 UTC > > FreeBSD src repository > > Modified files: > sys/sys callout.h > sys/kern kern_clock.c kern_intr.c kern_timeout.c > Log: > Implement per-cpu callout threads, wheels, and locks. > > - Move callout thread creation from kern_intr.c to kern_timeout.c > - Call callout_tick() on every processor via hardclock_cpu() rather than > inspecting callout internal details in kern_clock.c. > - Remove callout implementation details from callout.h > - Package up all of the global variables into a per-cpu callout > structure. - Start one thread per-cpu. Threads are not strictly bound. > They prefer to execute on the native cpu but may migrate temporarily if > interrupts are starving callout processing. > - Run all callouts by default in the thread for cpu0 to maintain current > ordering and concurrency guarantees. Many consumers may not properly > handle concurrent execution. > - The new callout_reset_on() api allows specifying a particular cpu to > execute the callout on. This may migrate a callout to a new cpu. > callout_reset() schedules on the last assigned cpu while > callout_reset_curcpu() schedules on the current cpu. > > Reviewed by: phk > Sponsored by: Nokia This still has the bug in kern_intr.c:swi_add() as per previous e-mail. Surprised gcc didn't warn about it. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Wed Apr 2 19:29:17 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 364D81065679; Wed, 2 Apr 2008 19:29:17 +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 0979A8FC19; Wed, 2 Apr 2008 19:29:17 +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 m32JTGME051672; Wed, 2 Apr 2008 19:29:16 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32JTGCo051671; Wed, 2 Apr 2008 19:29:16 GMT (envelope-from dougb) Message-Id: <200804021929.m32JTGCo051671@repoman.freebsd.org> From: Doug Barton Date: Wed, 2 Apr 2008 19:29: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/etc/rc.d zfs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Apr 2008 19:29:17 -0000 dougb 2008-04-02 19:29:16 UTC FreeBSD src repository Modified files: etc/rc.d zfs Log: Back out revision 1.6, the addition of "BEFORE: mountcritremote". mountcritremote REQUIREs FILESYSTEMS, and that script REQUIREs zfs, so this change is a noop. By removing it we make life a little easier both for rcorder(8) and for debugging down the road. Approved by: 2 weeks of silence from pjd Revision Changes Path 1.7 +0 -1 src/etc/rc.d/zfs From owner-cvs-src@FreeBSD.ORG Wed Apr 2 22:00:36 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D56D91065673; Wed, 2 Apr 2008 22:00:36 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BFE638FC1C; Wed, 2 Apr 2008 22:00:36 +0000 (UTC) (envelope-from jfv@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 m32M0aEi070655; Wed, 2 Apr 2008 22:00:36 GMT (envelope-from jfv@repoman.freebsd.org) Received: (from jfv@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m32M0aNY070654; Wed, 2 Apr 2008 22:00:36 GMT (envelope-from jfv) Message-Id: <200804022200.m32M0aNY070654@repoman.freebsd.org> From: Jack F Vogel Date: Wed, 2 Apr 2008 22:00: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/conf files src/sys/dev/em e1000_80003es2lan.c e1000_82540.c e1000_82541.c e1000_82542.c e1000_82543.c e1000_82571.c e1000_82571.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_ich8lan.c e1000_ich8lan.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, 02 Apr 2008 22:00:37 -0000 jfv 2008-04-02 22:00:36 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/em e1000_80003es2lan.c e1000_82540.c e1000_82541.c e1000_82542.c e1000_82543.c e1000_82571.c e1000_82571.h e1000_api.c e1000_api.h e1000_defines.h e1000_hw.h e1000_ich8lan.c e1000_ich8lan.h e1000_mac.c e1000_mac.h e1000_manage.c e1000_nvm.c e1000_nvm.h e1000_osdep.h e1000_phy.c e1000_phy.h if_em.c if_em.h sys/dev/igb e1000_mac.c if_igb.c sys/modules/em Makefile sys/modules/igb Makefile Added files: sys/dev/em e1000_osdep.c sys/dev/igb e1000_osdep.c Log: This update primarily addresses the ability to have both the em and the igb driver static in the kernel. But it also reflects some other bug fixes in my development stream at Intel. PR 122373 is also fixed in this code. Revision Changes Path 1.1287 +8 -16 src/sys/conf/files 1.6 +131 -128 src/sys/dev/em/e1000_80003es2lan.c 1.6 +81 -85 src/sys/dev/em/e1000_82540.c 1.6 +146 -150 src/sys/dev/em/e1000_82541.c 1.6 +87 -53 src/sys/dev/em/e1000_82542.c 1.6 +106 -102 src/sys/dev/em/e1000_82543.c 1.6 +147 -182 src/sys/dev/em/e1000_82571.c 1.6 +3 -12 src/sys/dev/em/e1000_82571.h 1.6 +140 -119 src/sys/dev/em/e1000_api.c 1.6 +6 -4 src/sys/dev/em/e1000_api.h 1.6 +3 -25 src/sys/dev/em/e1000_defines.h 1.6 +38 -35 src/sys/dev/em/e1000_hw.h 1.6 +186 -259 src/sys/dev/em/e1000_ich8lan.c 1.6 +3 -9 src/sys/dev/em/e1000_ich8lan.h 1.6 +152 -27 src/sys/dev/em/e1000_mac.c 1.6 +12 -4 src/sys/dev/em/e1000_mac.h 1.6 +10 -11 src/sys/dev/em/e1000_manage.c 1.6 +80 -47 src/sys/dev/em/e1000_nvm.c 1.6 +8 -8 src/sys/dev/em/e1000_nvm.h 1.1 +101 -0 src/sys/dev/em/e1000_osdep.c (new) 1.6 +38 -40 src/sys/dev/em/e1000_osdep.h 1.6 +268 -333 src/sys/dev/em/e1000_phy.c 1.6 +13 -8 src/sys/dev/em/e1000_phy.h 1.191 +123 -179 src/sys/dev/em/if_em.c 1.68 +0 -3 src/sys/dev/em/if_em.h 1.2 +3 -3 src/sys/dev/igb/e1000_mac.c 1.1 +101 -0 src/sys/dev/igb/e1000_osdep.c (new) 1.6 +97 -141 src/sys/dev/igb/if_igb.c 1.12 +1 -1 src/sys/modules/em/Makefile 1.3 +1 -1 src/sys/modules/igb/Makefile From owner-cvs-src@FreeBSD.ORG Thu Apr 3 00:25:09 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA1D31065672; Thu, 3 Apr 2008 00:25:09 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 927668FC16; Thu, 3 Apr 2008 00:25:09 +0000 (UTC) (envelope-from jfv@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 m330P9fw086627; Thu, 3 Apr 2008 00:25:09 GMT (envelope-from jfv@repoman.freebsd.org) Received: (from jfv@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m330P9KW086626; Thu, 3 Apr 2008 00:25:09 GMT (envelope-from jfv) Message-Id: <200804030025.m330P9KW086626@repoman.freebsd.org> From: Jack F Vogel Date: Thu, 3 Apr 2008 00:25: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/dev/igb if_igb.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, 03 Apr 2008 00:25:09 -0000 jfv 2008-04-03 00:25:09 UTC FreeBSD src repository Modified files: sys/dev/igb if_igb.c Log: Fix minor bug in last checkin, NO_STRICT_ALIGNMENT code. Revision Changes Path 1.7 +1 -1 src/sys/dev/igb/if_igb.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 01:48:11 2008 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 7E1C21065679; Thu, 3 Apr 2008 01:48: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 69FCD8FC24; Thu, 3 Apr 2008 01:48:11 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from apple.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m331m7Y9025777; Thu, 3 Apr 2008 01:48:09 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47F437AD.2070304@freebsd.org> Date: Thu, 03 Apr 2008 09:49:33 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Marcel Moolenaar References: <200804020741.m327fP1W065205@repoman.freebsd.org> <77FDA3DB-B81A-42D1-871E-AB04CD86C150@mac.com> In-Reply-To: <77FDA3DB-B81A-42D1-871E-AB04CD86C150@mac.com> 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/arch/amd64 Makefile.inc src/lib/libthr/arch/amd64/include pthread_md.h src/lib/libthr/arch/i386 Makefile.inc src/lib/libthr/arch/i386/include pthread_md.h src/lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.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, 03 Apr 2008 01:48:11 -0000 Marcel Moolenaar wrote: > > On Apr 2, 2008, at 12:41 AM, David Xu wrote: >> davidxu 2008-04-02 07:41:25 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libthr/arch/amd64 Makefile.inc >> lib/libthr/arch/amd64/include pthread_md.h >> lib/libthr/arch/i386 Makefile.inc >> lib/libthr/arch/i386/include pthread_md.h >> lib/libthr/thread thr_private.h thr_rtld.c thr_umtx.c >> Added files: >> lib/libthr/arch/amd64/amd64 _umtx_op_err.S >> lib/libthr/arch/i386/i386 _umtx_op_err.S >> Log: >> Replace function _umtx_op with _umtx_op_err, the later function directly >> returns errno, because errno can be mucked by user's signal handler and >> most of pthread api heavily depends on errno to be correct, this change >> should improve stability of the thread library. > > Doesn't this also apply to !i386 & !amd64? > Marcel, you are welcomed to improve it since I only know x86. Regards, From owner-cvs-src@FreeBSD.ORG Thu Apr 3 02:13:52 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DA701065670; Thu, 3 Apr 2008 02:13:52 +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 070368FC15; Thu, 3 Apr 2008 02:13:52 +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 m332DpSh005823; Thu, 3 Apr 2008 02:13:51 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m332DpI8005822; Thu, 3 Apr 2008 02:13:51 GMT (envelope-from davidxu) Message-Id: <200804030213.m332DpI8005822@repoman.freebsd.org> From: David Xu Date: Thu, 3 Apr 2008 02:13: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/lib/libthr/thread 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: Thu, 03 Apr 2008 02:13:52 -0000 davidxu 2008-04-03 02:13:51 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_private.h Log: add __hidden suffix to _umtx_op_err, this eliminates PLT. Revision Changes Path 1.91 +1 -1 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Thu Apr 3 02:41:55 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10092106564A; Thu, 3 Apr 2008 02:41:55 +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 DDBB28FC16; Thu, 3 Apr 2008 02:41:54 +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 m332fsIR006871; Thu, 3 Apr 2008 02:41:54 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m332fsCs006870; Thu, 3 Apr 2008 02:41:54 GMT (envelope-from kevlo) Message-Id: <200804030241.m332fsCs006870@repoman.freebsd.org> From: Kevin Lo Date: Thu, 3 Apr 2008 02:41: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/lib/libc/sys aio_cancel.2 aio_suspend.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: Thu, 03 Apr 2008 02:41:55 -0000 kevlo 2008-04-03 02:41:54 UTC FreeBSD src repository Modified files: lib/libc/sys aio_cancel.2 aio_suspend.2 Log: style(9) cleanup Revision Changes Path 1.23 +1 -1 src/lib/libc/sys/aio_cancel.2 1.23 +1 -1 src/lib/libc/sys/aio_suspend.2 From owner-cvs-src@FreeBSD.ORG Thu Apr 3 02:47:36 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D0F106566C; Thu, 3 Apr 2008 02:47:36 +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 408918FC1F; Thu, 3 Apr 2008 02:47:36 +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 m332laUQ007083; Thu, 3 Apr 2008 02:47:36 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m332ladb007082; Thu, 3 Apr 2008 02:47:36 GMT (envelope-from davidxu) Message-Id: <200804030247.m332ladb007082@repoman.freebsd.org> From: David Xu Date: Thu, 3 Apr 2008 02:47: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/lib/libthr/thread 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: Thu, 03 Apr 2008 02:47:36 -0000 davidxu 2008-04-03 02:47:35 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_private.h Log: put THR_CRITICAL_LEAVE into do .. while statement. Revision Changes Path 1.92 +4 -2 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Thu Apr 3 05:26:55 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B1A01065671; Thu, 3 Apr 2008 05:26:55 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D8D498FC16; Thu, 3 Apr 2008 05:26:54 +0000 (UTC) (envelope-from gnn@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 m335QsTq024855; Thu, 3 Apr 2008 05:26:54 GMT (envelope-from gnn@repoman.freebsd.org) Received: (from gnn@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m335QsKw024854; Thu, 3 Apr 2008 05:26:54 GMT (envelope-from gnn) Message-Id: <200804030526.m335QsKw024854@repoman.freebsd.org> From: "George V. Neville-Neil" Date: Thu, 3 Apr 2008 05:26: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/tools/tools/mctest Makefile mctest.1 mctest.cc mctest.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, 03 Apr 2008 05:26:55 -0000 gnn 2008-04-03 05:26:54 UTC FreeBSD src repository Modified files: tools/tools/mctest mctest.cc mctest.h Added files: tools/tools/mctest Makefile mctest.1 Log: Add a manual page and a Makefile. Add code to reflect packets back from the sink so that we can measure round trip at the source. Revision Changes Path 1.1 +9 -0 src/tools/tools/mctest/Makefile (new) 1.1 +100 -0 src/tools/tools/mctest/mctest.1 (new) 1.3 +110 -5 src/tools/tools/mctest/mctest.cc 1.2 +1 -0 src/tools/tools/mctest/mctest.h From owner-cvs-src@FreeBSD.ORG Thu Apr 3 06:07:46 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55E1D1065681; Thu, 3 Apr 2008 06:07:46 +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 30D6A8FC1C; Thu, 3 Apr 2008 06:07:46 +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 m3367kOa027206; Thu, 3 Apr 2008 06:07:46 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3367ke1027205; Thu, 3 Apr 2008 06:07:46 GMT (envelope-from imp) Message-Id: <200804030607.m3367ke1027205@repoman.freebsd.org> From: Warner Losh Date: Thu, 3 Apr 2008 06:07: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/arm/at91 kb920x_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: Thu, 03 Apr 2008 06:07:46 -0000 imp 2008-04-03 06:07:45 UTC FreeBSD src repository Modified files: sys/arm/at91 kb920x_machdep.c Log: Remove unnecessary #define. Revision Changes Path 1.29 +0 -1 src/sys/arm/at91/kb920x_machdep.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 06:14:25 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33910106564A; Thu, 3 Apr 2008 06:14:25 +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 0E3DA8FC2D; Thu, 3 Apr 2008 06:14:25 +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 m336EOsj027444; Thu, 3 Apr 2008 06:14:24 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m336EOfN027443; Thu, 3 Apr 2008 06:14:24 GMT (envelope-from imp) Message-Id: <200804030614.m336EOfN027443@repoman.freebsd.org> From: Warner Losh Date: Thu, 3 Apr 2008 06:14: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/arm/xscale/ixp425 avila_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: Thu, 03 Apr 2008 06:14:25 -0000 imp 2008-04-03 06:14:23 UTC FreeBSD src repository Modified files: sys/arm/xscale/ixp425 avila_machdep.c Log: KERNBASE + 0x00200000 is the same thing as KERNVIRTADDR on this platform, so use the latter in preference to the former. This makes the fake_preload setup be the same between kb920x_machdep.c and avila_machdep.c.... Revision Changes Path 1.7 +2 -3 src/sys/arm/xscale/ixp425/avila_machdep.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 06:14:52 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15C4D1065673; Thu, 3 Apr 2008 06:14:52 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E4C0D8FC28; Thu, 3 Apr 2008 06:14:51 +0000 (UTC) (envelope-from das@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 m336EpHq027506; Thu, 3 Apr 2008 06:14:51 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m336EpMS027505; Thu, 3 Apr 2008 06:14:51 GMT (envelope-from das) Message-Id: <200804030614.m336EpMS027505@repoman.freebsd.org> From: David Schultz Date: Thu, 3 Apr 2008 06:14: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/lib/msun/src s_fma.c s_fmal.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, 03 Apr 2008 06:14:52 -0000 das 2008-04-03 06:14:51 UTC FreeBSD src repository Modified files: lib/msun/src s_fma.c s_fmal.c Log: Fix some corner cases: - fma(x, y, z) returns z, not NaN, if z is infinite, x and y are finite, x*y overflows, and x*y and z have opposite signs. - fma(x, y, z) doesn't generate an overflow, underflow, or inexact exception if z is NaN or infinite, as per IEEE 754R. - If the rounding mode is set to FE_DOWNWARD, fma(1.0, 0.0, -0.0) is -0.0, not +0.0. Revision Changes Path 1.5 +10 -5 src/lib/msun/src/s_fma.c 1.4 +10 -5 src/lib/msun/src/s_fmal.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 06:15:58 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC01F106564A; Thu, 3 Apr 2008 06:15:58 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B658E8FC25; Thu, 3 Apr 2008 06:15:58 +0000 (UTC) (envelope-from das@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 m336FwiT027594; Thu, 3 Apr 2008 06:15:58 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m336Fwcv027593; Thu, 3 Apr 2008 06:15:58 GMT (envelope-from das) Message-Id: <200804030615.m336Fwcv027593@repoman.freebsd.org> From: David Schultz Date: Thu, 3 Apr 2008 06:15: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/tools/regression/lib/msun Makefile test-fma.c test-fma.t X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Apr 2008 06:15:59 -0000 das 2008-04-03 06:15:58 UTC FreeBSD src repository Modified files: tools/regression/lib/msun Makefile Added files: tools/regression/lib/msun test-fma.c test-fma.t Log: Add some tests for fma(), fmaf(), and fmal(). Revision Changes Path 1.12 +1 -1 src/tools/regression/lib/msun/Makefile 1.1 +413 -0 src/tools/regression/lib/msun/test-fma.c (new) 1.1 +10 -0 src/tools/regression/lib/msun/test-fma.t (new) From owner-cvs-src@FreeBSD.ORG Thu Apr 3 06:17:17 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0923B106566B; Thu, 3 Apr 2008 06:17:17 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D85F78FC12; Thu, 3 Apr 2008 06:17:16 +0000 (UTC) (envelope-from jfv@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 m336HG1H027676; Thu, 3 Apr 2008 06:17:16 GMT (envelope-from jfv@repoman.freebsd.org) Received: (from jfv@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m336HGav027675; Thu, 3 Apr 2008 06:17:16 GMT (envelope-from jfv) Message-Id: <200804030617.m336HGav027675@repoman.freebsd.org> From: Jack F Vogel Date: Thu, 3 Apr 2008 06:17: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/dev/igb if_igb.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, 03 Apr 2008 06:17:17 -0000 jfv 2008-04-03 06:17:16 UTC FreeBSD src repository Modified files: sys/dev/igb if_igb.c Log: Fix a lint issue in the build. Revision Changes Path 1.8 +12 -12 src/sys/dev/igb/if_igb.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 06:45:38 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 806D01065671; Thu, 3 Apr 2008 06:45:38 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 57D07900DA; Thu, 3 Apr 2008 06:45:38 +0000 (UTC) (envelope-from jfv@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 m336jcQ8028663; Thu, 3 Apr 2008 06:45:38 GMT (envelope-from jfv@repoman.freebsd.org) Received: (from jfv@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m336jcMX028662; Thu, 3 Apr 2008 06:45:38 GMT (envelope-from jfv) Message-Id: <200804030645.m336jcMX028662@repoman.freebsd.org> From: Jack F Vogel Date: Thu, 3 Apr 2008 06:45: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/sys/dev/igb if_igb.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, 03 Apr 2008 06:45:38 -0000 jfv 2008-04-03 06:45:38 UTC FreeBSD src repository Modified files: sys/dev/igb if_igb.c Log: Another build fix Revision Changes Path 1.9 +1 -1 src/sys/dev/igb/if_igb.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 06:50:48 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EEB210656B5; Thu, 3 Apr 2008 06:50:48 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id CD53A8FD41; Thu, 3 Apr 2008 06:50:47 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 00E333F63AD; Thu, 3 Apr 2008 08:50:46 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id C626D3F6360; Thu, 3 Apr 2008 08:50:45 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id D57DA9BF12; Thu, 3 Apr 2008 06:49:08 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id C132A405F; Thu, 3 Apr 2008 08:49:08 +0200 (CEST) Date: Thu, 3 Apr 2008 08:49:08 +0200 From: Jeremie Le Hen To: "M. Warner Losh" Message-ID: <20080403064908.GA77598@obiwan.tataz.chchile.org> References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> <20080329.221050.1649770238.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080329.221050.1649770238.imp@bsdimp.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: src-committers@FreeBSD.org, aryeh.friedman@gmail.com, cvs-src@FreeBSD.org, csjp@FreeBSD.org, cvs-all@FreeBSD.org, ryba@sylow.cs.qc.cuny.edu Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 03 Apr 2008 06:50:48 -0000 Hi, On Sat, Mar 29, 2008 at 10:10:50PM -0600, M. Warner Losh wrote: > Because the kernel based ntfs works and is BSD. FUSE is GPL, and new > GPL components are to be avoided. For the records, Ithink NetBSD has developped a BSDish solution API-compatible with FUSE, ironically named refuse :-). This is just a compatibility layer on top of a kernel based component named puffs. http://www.netbsd.org/docs/puffs/ Maybe this should end up in the project idea page. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-cvs-src@FreeBSD.ORG Thu Apr 3 09:06:29 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5036C106564A; Thu, 3 Apr 2008 09:06:29 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2A2078FC1D; Thu, 3 Apr 2008 09:06:28 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta1.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JYQ00CCERYR7MW0@mta1.srv.hcvlny.cv.net>; Thu, 03 Apr 2008 05:06:27 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m3396Pjm098809; Thu, 03 Apr 2008 05:06:26 -0400 Date: Thu, 03 Apr 2008 05:06:20 -0400 From: "Aryeh M. Friedman" In-reply-to: <20080403064908.GA77598@obiwan.tataz.chchile.org> To: Jeremie Le Hen Message-id: <47F49E0C.7010202@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> <20080329.221050.1649770238.imp@bsdimp.com> <20080403064908.GA77598@obiwan.tataz.chchile.org> User-Agent: Thunderbird 2.0.0.12 (X11/20080329) Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, csjp@FreeBSD.org, cvs-all@FreeBSD.org, ryba@sylow.cs.qc.cuny.edu, "M. Warner Losh" Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 03 Apr 2008 09:06:29 -0000 Jeremie Le Hen wrote: > Hi, > > On Sat, Mar 29, 2008 at 10:10:50PM -0600, M. Warner Losh wrote: > >> Because the kernel based ntfs works and is BSD. FUSE is GPL, and new >> GPL components are to be avoided. >> > > For the records, Ithink NetBSD has developped a BSDish solution > API-compatible with FUSE, ironically named refuse :-). This is just a > compatibility layer on top of a kernel based component named puffs. > > http://www.netbsd.org/docs/puffs/ > > Maybe this should end up in the project idea page. Any guess on the time commitment.... if long enough I can add it to my list of applied for SoC projects, From owner-cvs-src@FreeBSD.ORG Thu Apr 3 09:29:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC120106564A; Thu, 3 Apr 2008 09:29:44 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 828728FC30; Thu, 3 Apr 2008 09:29:44 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.199] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m339TYFM017691; Thu, 3 Apr 2008 05:29:38 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Wed, 2 Apr 2008 23:30:01 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Schultz In-Reply-To: <20080402145520.GA21462@zim.MIT.EDU> Message-ID: <20080402232758.L949@desktop> References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020025.57684.max@love2party.net> <20080401123951.J72156@desktop> <20080402145520.GA21462@zim.MIT.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , Max Laier , src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-src@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 03 Apr 2008 09:29:44 -0000 On Wed, 2 Apr 2008, David Schultz wrote: > On Tue, Apr 01, 2008, Jeff Roberson wrote: >> On Wed, 2 Apr 2008, Max Laier wrote: >> >>> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: >>>> attilio 2008-04-01 20:31:55 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> sys/kern kern_rwlock.c >>>> sys/sys rwlock.h >>>> Log: >>>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. >>>> These functions try the specified operation (rlocking and wlocking) >>>> and true is returned if the operation completes, false otherwise. >>> >>> hmmm ... I'm certainly missing something here, but what's a possible >>> usecase for these? It seems there is not much you can do if you can't >>> obtain a rw_lock. I can understand the need for sx_try_* where you want >>> to avoid sleeping, but I can't figure out the need for it on a locking >>> primitive that will only spin or wait (not 100% sure about the >>> terminology here). This is especially strange for rw_try_wlock, unless >>> you plan to sleep manually on fail. But then again you'd have a good >>> chance that you have to do it over and over again if timing is >>> unfortunate. >> >> I asked for it. We have a try operation for mtx already. I was >> experimenting with converting some code to use rwlocks from mtx and it >> required it. The specific case is in the softdep code where it uses >> trylock to avoid deadlocking. With trylock you can violate the lockorder. > > One reason that many systems don't provide a rw_try_wlock() > primitive is that a constant stream of readers can easily starve > threads attempting to acquire the write lock without waiting. > There are probably situations where this isn't a problem, though, > e.g., if readers rarely hold the lock for a long time... > The same applies to constant streams of lockers with a normal mutex. We have found a few cases now where trylock was used that basically never succeeded and caused pessimal behavior. I'm not really a fan of it myself but it is (ab)used in some scenarios and having it in rw will make changing from mtx easier. I think it would be a good task for someone to attempt to remove uses of trylock by restructuring the locking. Thanks, Jeff From owner-cvs-src@FreeBSD.ORG Thu Apr 3 09:48:04 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AF6F106566B; Thu, 3 Apr 2008 09:48:04 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9448FC1D; Thu, 3 Apr 2008 09:48:03 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6B0E046B40; Thu, 3 Apr 2008 05:48:03 -0400 (EDT) Date: Thu, 3 Apr 2008 10:48:03 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Jeremie Le Hen In-Reply-To: <20080403064908.GA77598@obiwan.tataz.chchile.org> Message-ID: <20080403104327.B42859@fledge.watson.org> References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> <20080329.221050.1649770238.imp@bsdimp.com> <20080403064908.GA77598@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@FreeBSD.org, aryeh.friedman@gmail.com, cvs-src@FreeBSD.org, csjp@FreeBSD.org, ryba@sylow.cs.qc.cuny.edu, cvs-all@FreeBSD.org, "M. Warner Losh" Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 03 Apr 2008 09:48:04 -0000 On Thu, 3 Apr 2008, Jeremie Le Hen wrote: > On Sat, Mar 29, 2008 at 10:10:50PM -0600, M. Warner Losh wrote: > >> Because the kernel based ntfs works and is BSD. FUSE is GPL, and new GPL >> components are to be avoided. > > For the records, Ithink NetBSD has developped a BSDish solution > API-compatible with FUSE, ironically named refuse :-). This is just a > compatibility layer on top of a kernel based component named puffs. > > http://www.netbsd.org/docs/puffs/ > > Maybe this should end up in the project idea page. We currently have two user file system frameworks in ports (fuse, Arla nnpfs) and one in the kernel already (Coda). And no doubt more I don't know about. We're actively discussing importing nnpfs to make access to AFS easier out of the box. I'd be careful to recommend a determination of whether it makes a useful further contribution or not, rather than just recommending a port of the code. I have a loose recollection from the AsiaBSDCon puffs talk last year that fast path access to local cache (container) files wasn't implemented in puffs, which would put it at a significant disadvantage performance-wise to nnpfs. However, a year is a long time, so it may well be that puffs has now picked up that support in the mean time. Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Thu Apr 3 10:22:56 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF2931065672; Thu, 3 Apr 2008 10:22:56 +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 D404E8FC33; Thu, 3 Apr 2008 10:22:56 +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 m33AMuEs050138; Thu, 3 Apr 2008 10:22:56 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33AMuum050137; Thu, 3 Apr 2008 10:22:56 GMT (envelope-from yar) Message-Id: <200804031022.m33AMuum050137@repoman.freebsd.org> From: Yar Tikhiy Date: Thu, 3 Apr 2008 10:22: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/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: Thu, 03 Apr 2008 10:22:57 -0000 yar 2008-04-03 10:22:56 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: Put back the quote from Chinggis Khan removed in rev. 1.259. The quote predated rev. 1.232, which rev. 1.259 was to correct; therefore it was protected by the "Don't remove fortunes" rule. Noticed by: ceri Pointy hat to: yar Revision Changes Path 1.260 +6 -0 src/games/fortune/datfiles/fortunes From owner-cvs-src@FreeBSD.ORG Thu Apr 3 10:36:04 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A284B106564A; Thu, 3 Apr 2008 10:36:04 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 827C18FC15; Thu, 3 Apr 2008 10:36:04 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.199] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m33AZv0f024601; Thu, 3 Apr 2008 06:36:00 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Thu, 3 Apr 2008 00:36:24 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Max Laier In-Reply-To: <200804021645.19331.max@love2party.net> Message-ID: <20080403003059.D949@desktop> References: <200804012031.m31KVtKs000176@repoman.freebsd.org> <200804020412.30624.max@love2party.net> <20080401210738.E72156@desktop> <200804021645.19331.max@love2party.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_rwlock.c src/sys/sys rwlock.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, 03 Apr 2008 10:36:04 -0000 On Wed, 2 Apr 2008, Max Laier wrote: > On Wednesday 02 April 2008 09:15:25 Jeff Roberson wrote: >> On Wed, 2 Apr 2008, Max Laier wrote: >>> On Wednesday 02 April 2008 03:11:11 Jeff Roberson wrote: >>>> On Wed, 2 Apr 2008, Attilio Rao wrote: >>>>> 2008/4/2, Max Laier : >>>>>> On Wednesday 02 April 2008 00:52:45 Jeff Roberson wrote: >>>>>>> On Wed, 2 Apr 2008, Max Laier wrote: >>>>>>>> On Tuesday 01 April 2008 22:31:55 Attilio Rao wrote: >>>>>>>>> attilio 2008-04-01 20:31:55 UTC >>>>>>>>> >>>>>>>>> FreeBSD src repository >>>>>>>>> >>>>>>>>> Modified files: >>>>>>>>> sys/kern kern_rwlock.c >>>>>>>>> sys/sys rwlock.h >>>>>>>>> Log: >>>>>>>>> Add rw_try_rlock() and rw_try_wlock() to rwlocks. >>>>>>>>> These functions try the specified operation (rlocking and >>>>>>>>> wlocking) and true is returned if the operation completes, >>>>>>>>> false otherwise. >>>>>>>> >>>>>>>> hmmm ... I'm certainly missing something here, but what's a >>>>>>>> possible usecase for these? It seems there is not much you can >>>>>>>> do if you can't obtain a rw_lock. I can understand the need for >>>>>>>> sx_try_* where you want to avoid sleeping, but I can't figure >>>>>>>> out the need for it on a locking primitive that will only spin >>>>>>>> or wait (not 100% sure about the terminology here). This is >>>>>>>> especially strange for rw_try_wlock, unless you plan to sleep >>>>>>>> manually on fail. But then again you'd have a good chance that >>>>>>>> you have to do it over and over again if timing is unfortunate. >>>>>>> >>>>>>> I asked for it. We have a try operation for mtx already. I was >>>>>>> experimenting with converting some code to use rwlocks from mtx >>>>>>> and it required it. The specific case is in the softdep code >>>>>>> where it uses trylock to avoid deadlocking. With trylock you can >>>>>>> violate the lockorder. >>>>>> >>>>>> Makes sense, thanks! A little follow-up, though about something >>>>>> I'm wondering about for quite some time now. Take the following >>>>>> scenario: >>>>>> >>>>>> Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK >>>>>> Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK >>>>>> Thread C: rw_wlock(RW) ... UNLOCK >>>>> >>>>> This can't deadlock simply because rw_rlock() is not mutually >>>>> exclusive. >>>> >>>> It can deadlock if there is a writer waiting in queue depending on >>>> whether we prefer readers or writers. I think we should consider >>>> the reader/writer perference an implementation detail to prevent >>>> code like this from cropping up. >>> >>> Sorry, I still don't understand this. Even if there is a writer >>> (thread C) waiting and we prefer writers, the reader (A or B) has to >>> wait, but eventually the writer will give up the lock (as it can make >>> progress independently of whether the mutex is held or not) and the >>> readers can progress. What am I missing? >> >> Thread A: rw_rlock(RW) ... mtx_lock(MTX) ... UNLOCK >> Thread B: mtx_lock(MTX) ... rw_rlock(RW) ... UNLOCK >> Thread C: rw_wlock(RW) ... UNLOCK >> >> Thread A: Thread B: Thread C: >> rw_rlock(rw) >> mtx_lock(mtx) >> rw_wlock(rw) <- Blocked waiting for a >> rw_rlock(rw) <- Blocked waiting for c due to write >> fairness mtx_lock(mtx) <- Blocked waiting for B >> >> Does that help? > > Yes it does, thanks. Do you know what the situation for rm_locks is? If > I understand correctly they implement full priority propagation. In this > scenario C would boost A via the RM and A would boost B via MTX so B > could run and avoid the deadlock. Or am I missing something again? I know that in rm ups tracks individual owners and has the ability to do pp when a reader blocks a writer. I don't know if that is hooked up or not. However, the issue blocking B, which really is the problem, isn't one of priority. You would have to detect this loop, which would be possible, but then you'd have to force thread b's acquire to succeed despite the lock fairness. I don't think that's a very clean design. turnstiles and rwlocks would have to be much more integrated for it to work. > > In any case doing "while (!rw_try_wlock(rw));" instead of a > plain "rw_wlock(rw);" would now be a possible workaround - if we don't > care about starvation of thread C, right? I hope you aren't considering doing this in practice. There is no guarantee how long the lock will be held even if the owners hold it over very brief snippits of code. They may be preempted by something of a higher priority which runs for a very long time causing the spinning code above to consume excessive amounts of cpu. Thanks, Jeff > >>> I don't think this is a good thing either, but I also think that >>> there are some cases where there just are different access orders. >>> I'd rather want a clean way out of this than a lot of difficult >>> per-instance hacks. This does not mean that these can't be fixed >>> cleanly, but I think it's really hard sometimes especially for code >>> we import from elsewhere (hence the personal interest). >> >> I think the best solution is to treat rlocks as wlocks in terms of >> access orders. >> >>>> Readers are only allowed to proceed with a read lock if they already >>>> own a read lock, not just if the lock is already read locked. This >>>> changed in current recently. So a single recursive read acqusition >>>> can't deadlock but get multiple threads and a writer involved with >>>> writer preference and you can. >> >> Thanks, >> Jeff >> >>> -- >>> /"\ Best regards, | mlaier@freebsd.org >>> \ / Max Laier | ICQ #67774661 >>> X http://pf4freebsd.love2party.net/ | mlaier@EFnet >>> / \ ASCII Ribbon Campaign | Against HTML Mail and News > > > > -- > /"\ Best regards, | mlaier@freebsd.org > \ / Max Laier | ICQ #67774661 > X http://pf4freebsd.love2party.net/ | mlaier@EFnet > / \ ASCII Ribbon Campaign | Against HTML Mail and News > From owner-cvs-src@FreeBSD.ORG Thu Apr 3 11:49:21 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 506AA1065670; Thu, 3 Apr 2008 11:49:21 +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 2766A8FC25; Thu, 3 Apr 2008 11:49:21 +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 m33BnKWn057214; Thu, 3 Apr 2008 11:49:21 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33BnK56057211; Thu, 3 Apr 2008 11:49:20 GMT (envelope-from davidxu) Message-Id: <200804031149.m33BnK56057211@repoman.freebsd.org> From: David Xu Date: Thu, 3 Apr 2008 11: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/sys/kern kern_umtx.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, 03 Apr 2008 11:49:21 -0000 davidxu 2008-04-03 11:49:20 UTC FreeBSD src repository Modified files: sys/kern kern_umtx.c Log: let umtxq_busy() only spin on mp machine. make function name do_rwlock_unlock to be consistent with others. Revision Changes Path 1.68 +13 -9 src/sys/kern/kern_umtx.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 11:50:43 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 627771065675 for ; Thu, 3 Apr 2008 11:50:43 +0000 (UTC) (envelope-from ivoras@freebsd.org) Received: from labs3.cc.fer.hr (labs3.cc.fer.hr [161.53.72.21]) by mx1.freebsd.org (Postfix) with ESMTP id C595B8FC1A for ; Thu, 3 Apr 2008 11:50:42 +0000 (UTC) (envelope-from ivoras@freebsd.org) Received: from sluga.fer.hr (sluga.cc.fer.hr [161.53.72.14]) by labs3.cc.fer.hr (8.13.8+Sun/8.12.10) with ESMTP id m33BeV0p021590 for ; Thu, 3 Apr 2008 13:40:31 +0200 (CEST) Received: from [161.53.72.113] ([161.53.72.113]) by sluga.fer.hr with Microsoft SMTPSVC(6.0.3790.3959); Thu, 3 Apr 2008 13:40:30 +0200 Message-ID: <47F4C22E.8030208@freebsd.org> Date: Thu, 03 Apr 2008 13:40:30 +0200 From: Ivan Voras User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> <20080329.221050.1649770238.imp@bsdimp.com> <20080403064908.GA77598@obiwan.tataz.chchile.org> <47F49E0C.7010202@gmail.com> In-Reply-To: <47F49E0C.7010202@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig31C992BA075247EFEC836376" X-OriginalArrivalTime: 03 Apr 2008 11:40:30.0939 (UTC) FILETIME=[8545D2B0:01C8957F] Cc: cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_subr.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, 03 Apr 2008 11:50:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig31C992BA075247EFEC836376 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Aryeh M. Friedman wrote: > Jeremie Le Hen wrote: >> Hi, >> >> On Sat, Mar 29, 2008 at 10:10:50PM -0600, M. Warner Losh wrote: >> =20 >>> Because the kernel based ntfs works and is BSD. FUSE is GPL, and new= >>> GPL components are to be avoided. >>> =20 >> >> For the records, Ithink NetBSD has developped a BSDish solution >> API-compatible with FUSE, ironically named refuse :-). This is just a= >> compatibility layer on top of a kernel based component named puffs. >> >> http://www.netbsd.org/docs/puffs/ >> >> Maybe this should end up in the project idea page. >=20 > Any guess on the time commitment.... if long enough I can add it to my > list of applied for SoC projects, See this: http://blogs.freebsdish.org/anderson/2007/11/27/puffs-for-freeb= sd/ --------------enig31C992BA075247EFEC836376 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.6 (GNU/Linux) iD8DBQFH9MIuldnAQVacBcgRAq08AJ4vXDn91N4S82for7+EwEzCIyKP6wCfUdm2 Pn6sR6IsVG3GLEekCe+rf74= =weq/ -----END PGP SIGNATURE----- --------------enig31C992BA075247EFEC836376-- From owner-cvs-src@FreeBSD.ORG Thu Apr 3 12:21:06 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C98231065670 for ; Thu, 3 Apr 2008 12:21:06 +0000 (UTC) (envelope-from peter@wemm.org) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 814068FC1B for ; Thu, 3 Apr 2008 12:21:06 +0000 (UTC) (envelope-from peter@wemm.org) Received: by an-out-0708.google.com with SMTP id c14so860607anc.13 for ; Thu, 03 Apr 2008 05:21:05 -0700 (PDT) Received: by 10.100.3.4 with SMTP id 4mr10200065anc.81.1207225265780; Thu, 03 Apr 2008 05:21:05 -0700 (PDT) Received: by 10.100.8.6 with HTTP; Thu, 3 Apr 2008 05:21:05 -0700 (PDT) Message-ID: Date: Thu, 3 Apr 2008 05:21:05 -0700 From: "Peter Wemm" To: "David Christensen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802220046.m1M0kMPM008814@repoman.freebsd.org> <5D267A3F22FD854F8F48B3D2B523819324EF633FCC@IRVEXCHCCR01.corp.ad.broadcom.com> Cc: "cvs-src@freebsd.org" , "src-committers@freebsd.org" , "cvs-all@freebsd.org" Subject: Re: cvs commit: src/sys/dev/bce if_bce.c if_bcefw.h if_bcereg.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, 03 Apr 2008 12:21:06 -0000 On Mon, Mar 31, 2008 at 12:34 PM, Peter Wemm wrote: > > On Mon, Mar 31, 2008 at 12:13 PM, David Christensen > wrote: > > > On Thu, Feb 21, 2008 at 5:46 PM, David Christensen > > > wrote: > > > > Modified files: > > > > sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h > > > > Log: > > > > MFC after: 4 weeks > > > > > > > > - Added loose RX MTU functionality to allow frames larger > > > than 1500 bytes > > > > to be accepted even though the interface MTU is set to 1500. > > > > - Implemented new TCP header splitting/jumbo frame > > > support which uses > > > > two chains for receive traffic rather than the original > > > single recevie > > > > chain. > > > > - Added additional debug support code. > > > > > > > > Revision Changes Path > > > > 1.36 +1559 -675 src/sys/dev/bce/if_bce.c > > > > 1.5 +6179 -4850 src/sys/dev/bce/if_bcefw.h > > > > 1.17 +264 -55 src/sys/dev/bce/if_bcereg.h > > > > > > This has been devastating on the freebsd.org cluster. > > > > > > Attached are three test runs. I've done a cold reboot, then 'cd > > > /usr/src/sys' and doing a 'cvs -Rq update' where the CVSROOT is over > > > nfs. > > > > > > First, the old driver: > > > svn# time cvs -Rq up > > > 0.890u 4.577s 1:14.48 7.3% 669+2315k 7379+0io 10094pf+0w > > > > > > Now, the same test again, but with this change included in the kernel: > > > svn# time cvs -Rq up > > > 0.940u 359.906s 7:01.04 85.7% 648+2242k 7365+0io 10082pf+0w > > > > > > Note the massive increase (nearly 100 times increase) in system time, > > > and the almost 7-fold increase in wall clock time. > > > > > > Turning on promisc mode helps a lot, but doesn't solve it. (This was > > > found when ps@ was using tcpdump to try and figure out what the > > > problem was) > > > > The change is needed to update the FreeBSD driver so that it can > > continue using production firmware for the controllers. The previous > > firmware was specific to FreeBSD and was not being maintained. > > > > I didn't see any performance issues running with netperf. Is the NFS > > traffic UDP or TCP? What's the MTU in use? How much system memory is > > available? > > NFS over UDP. We're also seeing problems with NIS/YP (also UDP) on > the box with the driver active. The MTU is the standard 1500. Both > machines have 8GB of ram. Both are 64 bit kernels. Client is a Dell > 2950 (2 x quad core2), the server is a HP DL385 (quad opteron with > bge). > > > > If this is a performance problem then the first place I would look is > > in the definitions for rx_bd_mbuf_alloc_size and pg_bd_mbuf_alloc_size. > > The older version of the driver would use multiple 2KB buffers > > (MCLBYTES in size) from a single chain when building a packet so you > > would typically have a single mbuf cluster passed to the stack. The > > new firmware uses two chains, each of which may be a different size. > > The current implementation will use MHLEN bytes for the rx chain and > > MCLBYTES for the pg chain. When a packet is received the hardware will > > place as much data as possible into a single mbuf in the rx chain, > > then place any remaining data into one or more mbufs in the pg chain. > > The driver will then stitch together the mbufs before passing them up > > the stack. This process is supposed to improve performance for TCP > > because the TCP payload will be split from the TCP header and should > > be quicker to access. > > > > A quick test would be to set rx_bd_mbuf_alloc_size to MCLBYTES, which > > should for the most part duplicate the older behavior. The driver > > will still allocate more mbufs which might be a problem if system > > memory is already low. Is anyone else aware of a driver that does > > TCP header splitting? It's typically on the TX side to see a packet > > with two or three mbufs in a chain but I suspect it's less typical > > on the RX side which could be part of the problem. > > The one thing that I'm very sure of is that system memory isn't low, > on either machine. The extraordinary increase in accumulated system > time of the process makes me wonder if something odd is going on with > the TX path. When sending packets, the network stack and driver code > path execution times are charged to the user process doing the writes. > On the receive side, the cpu time will be accumulated in either the > driver ithread or taskqueue, or the netisr kthread. To be honest, I > hadn't been looking to see if excessive cpu time was accumulating > there, but I did notice that the system's load average was over 2.0 > for the duration of the 'cvs update' on an otherwise idle machine. > This suggests to me that both send and receive were bogging down > somehow. > > Perhaps it is something silly like a spin lock being triggered? > > > > > > > > Here's the same test, with the new driver, and promisc mode on: > > > svn# ifconfig bce0 promisc > > > svn# time cvs -Rq up > > > 0.967u 50.919s 2:13.97 38.7% 650+2250k 7379+0io 10094pf+0w > > > > > > It is better.. Only double the wall clock time, but still over 10 > > > times as much system time. > > > > > > > It's not clear to me why promiscuous mode would make a difference > > here as that should only affect which packets are accepted by the > > MAC. Is there any teaming or VLANs used in your configuration? > > The RX MTU settings shouldn't be affected by promiscuous mode. > > There is nothing special going on. Just a plain gige cable to a cisco > gige switch. I have no explanation for the promisc thing - one of the > freebsd.org admins thought the problem was with YP/NIS. He started up > a tcpdump to observe the NIS interactions during ssh login, and the > problem mostly went away. > > BTW; I did the test twice. I ran the machine with cvs HEAD, and > backed the driver out to before the commit. I also tried a RELENG_7 > kernel, and then put the HEAD bce driver on 7.x - the problem goes > with the bce driver change in both 7.x and 8.x/HEAD. > > There will be 4 more of these machines online sometime today (7.x and > 8,x, both 32 and 64 bit). We can experiment with those at will. > > > > > > > > > > > > So please, don't MFC until this is solved.. > > > > > > > I haven't yet as I've received reports from a few other people that > > they're having problems, though they're functional problems and not > > performance issues. On 8.0/i386, with PAE enabled, I get messages on the console and the system hangs when trying to do a nfs mount. Backing out the driver fixes it. The same driver doesn't cause quite as spectacular a failure on 8.0/amd64, but it isn't exactly happy.. Additional IP options:.^M Mounting NFS file systebcms:e1: link state changed to UP^M bce1: discard frame w/o leading ethernet header (len 0 pkt len 0)^M bce1: discard frame w/o leading ethernet header (len 0 pkt len 0)^M bce1: discard frame w/o leading ethernet header (len 0 pkt len 0)^M bce1: discard frame w/o leading ethernet header (len 0 pkt len 0)^M [..forever..] NFS over UDP, fwiw. Server is a netapp. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell **WANTED TO BUY: Garmin Streetpilot 2650 or 2660. Not later model! ** From owner-cvs-src@FreeBSD.ORG Thu Apr 3 13:27:31 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 122F1106566B; Thu, 3 Apr 2008 13:27:31 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 95E498FC12; Thu, 3 Apr 2008 13:27:30 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 09CB53F63C5; Thu, 3 Apr 2008 15:27:29 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id E58523F6368; Thu, 3 Apr 2008 15:27:28 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 4FD8F9BF12; Thu, 3 Apr 2008 13:25:51 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 3E8F4405B; Thu, 3 Apr 2008 15:25:51 +0200 (CEST) Date: Thu, 3 Apr 2008 15:25:51 +0200 From: Jeremie Le Hen To: Robert Watson Message-ID: <20080403132551.GB77598@obiwan.tataz.chchile.org> References: <200803300219.m2U2JSjv016162@repoman.freebsd.org> <47EEF9CA.9080008@gmail.com> <20080329.221050.1649770238.imp@bsdimp.com> <20080403064908.GA77598@obiwan.tataz.chchile.org> <20080403104327.B42859@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080403104327.B42859@fledge.watson.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/sys/fs/ntfs ntfs_subr.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, 03 Apr 2008 13:27:31 -0000 Hi Robert, On Thu, Apr 03, 2008 at 10:48:03AM +0100, Robert Watson wrote: > On Thu, 3 Apr 2008, Jeremie Le Hen wrote: > > For the records, Ithink NetBSD has developped a BSDish solution > > API-compatible with FUSE, ironically named refuse :-). This is just a > > compatibility layer on top of a kernel based component named puffs. > > > > http://www.netbsd.org/docs/puffs/ > > > > Maybe this should end up in the project idea page. > > We currently have two user file system frameworks in ports (fuse, Arla > nnpfs) and one in the kernel already (Coda). And no doubt more I don't know > about. We're actively discussing importing nnpfs to make access to AFS > easier out of the box. I'd be careful to recommend a determination of > whether it makes a useful further contribution or not, rather than just > recommending a port of the code. I have a loose recollection from the > AsiaBSDCon puffs talk last year that fast path access to local cache > (container) files wasn't implemented in puffs, which would put it at a > significant disadvantage performance-wise to nnpfs. However, a year is a > long time, so it may well be that puffs has now picked up that support in > the mean time. I don't know anything about Arla or Coda, so I won't make any performance-wise comments about those filesystem. However, there seem to be quite a community around FUSE. I think this is mostly because people are more confident with userland coding. There are really plenty of filesystems using FUSE, albeit most of them seem to be very silly IMHO. See http://fuse.sf.net/wiki/index.php/FileSystems . Yet some of them could be useful for people needing compatibility before performance. NTFS is a good example, FUSEPod, SshFS are good ones too. Once we'd have gathered FreeBSD fellows around puffs/refuse, some of them may tackle the performance problem. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-cvs-src@FreeBSD.ORG Thu Apr 3 14:39:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58CD11065671; Thu, 3 Apr 2008 14:39:49 +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 2A90B8FC1B; Thu, 3 Apr 2008 14:39:49 +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 m33EdneH079445; Thu, 3 Apr 2008 14:39:49 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33EdnX8079444; Thu, 3 Apr 2008 14:39:49 GMT (envelope-from scottl) Message-Id: <200804031439.m33EdnX8079444@repoman.freebsd.org> From: Scott Long Date: Thu, 3 Apr 2008 14:39: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/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: Thu, 03 Apr 2008 14:39:49 -0000 scottl 2008-04-03 14:39:48 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c Log: Don't force a reset at driver attach time. It doesn't work on some adapters, apparently. Revision Changes Path 1.48 +1 -1 src/sys/dev/mpt/mpt.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 14:46:05 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24AF7106566B; Thu, 3 Apr 2008 14:46:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.69]) by mx1.freebsd.org (Postfix) with ESMTP id E039B8FC16; Thu, 3 Apr 2008 14:46:04 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp010-s [10.150.69.73]) by smtpoutm.mac.com (Xserve/smtpout006/MantshX 4.0) with ESMTP id m33Ek4BW015229; Thu, 3 Apr 2008 07:46:04 -0700 (PDT) Received: from [192.168.1.100] (209-128-86-226.bayarea.net [209.128.86.226]) (authenticated bits=0) by mac.com (Xserve/asmtp010/MantshX 4.0) with ESMTP id m33Ek2Mo004676 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 3 Apr 2008 07:46:03 -0700 (PDT) Message-Id: From: Marcel Moolenaar To: Scott Long In-Reply-To: <200804031439.m33EdnX8079444@repoman.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 3 Apr 2008 07:46:01 -0700 References: <200804031439.m33EdnX8079444@repoman.freebsd.org> X-Mailer: Apple Mail (2.919.2) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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: Thu, 03 Apr 2008 14:46:05 -0000 On Apr 3, 2008, at 7:39 AM, Scott Long wrote: > scottl 2008-04-03 14:39:48 UTC > > FreeBSD src repository > > Modified files: > sys/dev/mpt mpt.c > Log: > Don't force a reset at driver attach time. It doesn't work on some > adapters, apparently. Thanks! -- Marcel Moolenaar xcllnt@mac.com From owner-cvs-src@FreeBSD.ORG Thu Apr 3 16:21:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C13EA1065670; Thu, 3 Apr 2008 16:21:43 +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 93FF48FC27; Thu, 3 Apr 2008 16:21:43 +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 m33GLh09084994; Thu, 3 Apr 2008 16:21:43 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33GLhMI084993; Thu, 3 Apr 2008 16:21:43 GMT (envelope-from ru) Message-Id: <200804031621.m33GLhMI084993@repoman.freebsd.org> From: Ruslan Ermilov Date: Thu, 3 Apr 2008 16:21: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/gen msgctl.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: Thu, 03 Apr 2008 16:21:43 -0000 ru 2008-04-03 16:21:43 UTC FreeBSD src repository Modified files: lib/libc/gen msgctl.3 Log: Fix descriptions of "struct msqid_ds and "struct ipc_perm" to match harsh reality. Revision Changes Path 1.21 +11 -11 src/lib/libc/gen/msgctl.3 From owner-cvs-src@FreeBSD.ORG Thu Apr 3 16:44:52 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F35611065674; Thu, 3 Apr 2008 16:44: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 DC8F48FC21; Thu, 3 Apr 2008 16:44: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 m33GipqA085903; Thu, 3 Apr 2008 16:44:51 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33Gip5R085902; Thu, 3 Apr 2008 16:44:51 GMT (envelope-from imp) Message-Id: <200804031644.m33Gip5R085902@repoman.freebsd.org> From: Warner Losh Date: Thu, 3 Apr 2008 16: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/sys/arm/arm machdep.c src/sys/arm/at91 kb920x_machdep.c src/sys/arm/include machdep.h src/sys/arm/sa11x0 assabet_machdep.c src/sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c src/sys/arm/xscale/i8134x crb_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: Thu, 03 Apr 2008 16:44:52 -0000 imp 2008-04-03 16:44:50 UTC FreeBSD src repository Modified files: sys/arm/arm machdep.c sys/arm/at91 kb920x_machdep.c sys/arm/include machdep.h sys/arm/sa11x0 assabet_machdep.c sys/arm/xscale/i80321 ep80219_machdep.c iq31244_machdep.c sys/arm/xscale/i8134x crb_machdep.c sys/arm/xscale/ixp425 avila_machdep.c Log: Take the first baby step towards unifying and cleaning up arminit(): - Pull all the code to deal with the trampoline stuff into one centeralized place and use it from everywhere. - Some minor style tidiness Reviewed by: tinguely Revision Changes Path 1.30 +57 -0 src/sys/arm/arm/machdep.c 1.30 +3 -53 src/sys/arm/at91/kb920x_machdep.c 1.3 +5 -5 src/sys/arm/include/machdep.h 1.23 +7 -43 src/sys/arm/sa11x0/assabet_machdep.c 1.9 +2 -53 src/sys/arm/xscale/i80321/ep80219_machdep.c 1.30 +2 -50 src/sys/arm/xscale/i80321/iq31244_machdep.c 1.5 +2 -54 src/sys/arm/xscale/i8134x/crb_machdep.c 1.8 +1 -48 src/sys/arm/xscale/ixp425/avila_machdep.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 17:38:27 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FF991065672; Thu, 3 Apr 2008 17:38:27 +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 52D408FC28; Thu, 3 Apr 2008 17:38:27 +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 m33HcRPM097718; Thu, 3 Apr 2008 17:38:27 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33HcRpf097717; Thu, 3 Apr 2008 17:38:27 GMT (envelope-from marcel) Message-Id: <200804031738.m33HcRpf097717@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 3 Apr 2008 17:38: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/powerpc/psim openpic_iobus.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, 03 Apr 2008 17:38:27 -0000 marcel 2008-04-03 17:38:27 UTC FreeBSD src repository Modified files: sys/powerpc/psim openpic_iobus.c Log: Set sc_psim so that the openpic core can correct the off-by-one error in the number of IRQs that PSIM gives us. Revision Changes Path 1.10 +5 -0 src/sys/powerpc/psim/openpic_iobus.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 17:40:22 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2283106566C; Thu, 3 Apr 2008 17:40:22 +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 C55698FC15; Thu, 3 Apr 2008 17:40:22 +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 m33HeMUu097817; Thu, 3 Apr 2008 17:40:22 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33HeMP0097816; Thu, 3 Apr 2008 17:40:22 GMT (envelope-from marcel) Message-Id: <200804031740.m33HeMP0097816@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 3 Apr 2008 17:40: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/powerpc/include asm.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, 03 Apr 2008 17:40:23 -0000 marcel 2008-04-03 17:40:20 UTC FreeBSD src repository Modified files: sys/powerpc/include asm.h Log: Align functions to 16-byte boundaries due to profiling granularity. Revision Changes Path 1.11 +1 -1 src/sys/powerpc/include/asm.h From owner-cvs-src@FreeBSD.ORG Thu Apr 3 18:20:42 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 776B2106566C; Thu, 3 Apr 2008 18:20:42 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4AAE88FC15; Thu, 3 Apr 2008 18:20:42 +0000 (UTC) (envelope-from raj@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 m33IKgpB000400; Thu, 3 Apr 2008 18:20:42 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33IKd0b000399; Thu, 3 Apr 2008 18:20:39 GMT (envelope-from raj) Message-Id: <200804031820.m33IKd0b000399@repoman.freebsd.org> From: Rafal Jaworowski Date: Thu, 3 Apr 2008 18:20: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/sys/arm/xscale/ixp425 avila_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: Thu, 03 Apr 2008 18:20:42 -0000 raj 2008-04-03 18:20:39 UTC FreeBSD src repository Modified files: sys/arm/xscale/ixp425 avila_machdep.c Log: Fix AVILA build. Reviewed by: sam Approved by: cognet(mentor) Revision Changes Path 1.9 +2 -2 src/sys/arm/xscale/ixp425/avila_machdep.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 18:22:08 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82E121065673; Thu, 3 Apr 2008 18:22:08 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6C35D8FC22; Thu, 3 Apr 2008 18:22:08 +0000 (UTC) (envelope-from raj@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 m33IM8hv000864; Thu, 3 Apr 2008 18:22:08 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33IM8nV000863; Thu, 3 Apr 2008 18:22:08 GMT (envelope-from raj) Message-Id: <200804031822.m33IM8nV000863@repoman.freebsd.org> From: Rafal Jaworowski Date: Thu, 3 Apr 2008 18:22: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/arm/sa11x0 files.sa11x0 sa11x0_io.c src/sys/arm/xscale/i80321 files.ep80219 files.i80219 files.i80321 files.iq31244 obio_space.c src/sys/arm/xscale/i8134x obio_space.c src/sys/arm/xscale/ixp425 files.avila files.ixp425 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Apr 2008 18:22:08 -0000 raj 2008-04-03 18:22:08 UTC FreeBSD src repository Modified files: sys/arm/sa11x0 files.sa11x0 sa11x0_io.c sys/arm/xscale/i80321 files.ep80219 files.i80219 files.i80321 files.iq31244 obio_space.c sys/arm/xscale/i8134x obio_space.c sys/arm/xscale/ixp425 files.avila files.ixp425 ixp425_a4x_space.c ixp425_space.c Log: Refactor certain ARM bus space methods: instead of having multiple copies of the same code introduce sys/arm/arm/bus_space_generic.c for a shared set of routines. Reviewed by: sam Approved by: cognet (mentor) Revision Changes Path 1.4 +1 -0 src/sys/arm/sa11x0/files.sa11x0 1.11 +7 -120 src/sys/arm/sa11x0/sa11x0_io.c 1.2 +1 -0 src/sys/arm/xscale/i80321/files.ep80219 1.2 +1 -0 src/sys/arm/xscale/i80321/files.i80219 1.4 +1 -0 src/sys/arm/xscale/i80321/files.i80321 1.3 +1 -0 src/sys/arm/xscale/i80321/files.iq31244 1.5 +6 -103 src/sys/arm/xscale/i80321/obio_space.c 1.2 +6 -103 src/sys/arm/xscale/i8134x/obio_space.c 1.3 +1 -0 src/sys/arm/xscale/ixp425/files.avila 1.5 +1 -0 src/sys/arm/xscale/ixp425/files.ixp425 1.2 +6 -7 src/sys/arm/xscale/ixp425/ixp425_a4x_space.c 1.2 +6 -91 src/sys/arm/xscale/ixp425/ixp425_space.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 18:28:35 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04A0A1065735; Thu, 3 Apr 2008 18:28:35 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CB9178FC12; Thu, 3 Apr 2008 18:28:34 +0000 (UTC) (envelope-from raj@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 m33ISYHK001078; Thu, 3 Apr 2008 18:28:34 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33ISY8A001077; Thu, 3 Apr 2008 18:28:34 GMT (envelope-from raj) Message-Id: <200804031828.m33ISY8A001077@repoman.freebsd.org> From: Rafal Jaworowski Date: Thu, 3 Apr 2008 18: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/arm/arm bus_space_generic.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, 03 Apr 2008 18:28:35 -0000 raj 2008-04-03 18:28:34 UTC FreeBSD src repository Added files: sys/arm/arm bus_space_generic.c Log: Now really add the bus_space_generic.c file... Reviewed by: sam Approved by: cognet (mentor) Revision Changes Path 1.1 +146 -0 src/sys/arm/arm/bus_space_generic.c (new) From owner-cvs-src@FreeBSD.ORG Thu Apr 3 18:46:56 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3998D1065670; Thu, 3 Apr 2008 18:46: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 0C8E98FC13; Thu, 3 Apr 2008 18:46: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 m33Ikt8b001712; Thu, 3 Apr 2008 18:46:55 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33Ikq4d001711; Thu, 3 Apr 2008 18:46:52 GMT (envelope-from jhb) Message-Id: <200804031846.m33Ikq4d001711@repoman.freebsd.org> From: John Baldwin Date: Thu, 3 Apr 2008 18:46: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/gnu/usr.bin/gdb/kgdb kld.c 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: Thu, 03 Apr 2008 18:46:56 -0000 jhb 2008-04-03 18:46:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) gnu/usr.bin/gdb/kgdb kld.c main.c Log: MFC: Initialize list of kld's correctly when there are no kld's and catch errors in kgdb_parse() so it returns 0 for invalid expressions. This fixes the kld loading for 6.x and 7.x. Revision Changes Path 1.6.2.2 +1 -0 src/gnu/usr.bin/gdb/kgdb/kld.c 1.11.2.2 +9 -6 src/gnu/usr.bin/gdb/kgdb/main.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 18:47:05 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9914F10657C6; Thu, 3 Apr 2008 18:47:05 +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 6C6CC8FC20; Thu, 3 Apr 2008 18:47:05 +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 m33Il5fr001768; Thu, 3 Apr 2008 18:47:05 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33Il5pv001767; Thu, 3 Apr 2008 18:47:05 GMT (envelope-from jhb) Message-Id: <200804031847.m33Il5pv001767@repoman.freebsd.org> From: John Baldwin Date: Thu, 3 Apr 2008 18:47:05 +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/gnu/usr.bin/gdb/kgdb kld.c 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: Thu, 03 Apr 2008 18:47:05 -0000 jhb 2008-04-03 18:47:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) gnu/usr.bin/gdb/kgdb kld.c main.c Log: MFC: Initialize list of kld's correctly when there are no kld's and catch errors in kgdb_parse() so it returns 0 for invalid expressions. This fixes the kld loading for 6.x and 7.x. Revision Changes Path 1.6.4.2 +1 -0 src/gnu/usr.bin/gdb/kgdb/kld.c 1.7.2.6 +9 -6 src/gnu/usr.bin/gdb/kgdb/main.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 18:49:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47E401065670; Thu, 3 Apr 2008 18:49: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 1B88C8FC1C; Thu, 3 Apr 2008 18:49: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 m33In6MR001843; Thu, 3 Apr 2008 18:49:06 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33In55P001842; Thu, 3 Apr 2008 18:49:05 GMT (envelope-from jhb) Message-Id: <200804031849.m33In55P001842@repoman.freebsd.org> From: John Baldwin Date: Thu, 3 Apr 2008 18:49:05 +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/gnu/usr.bin/gdb/kgdb trgt.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, 03 Apr 2008 18:49:06 -0000 jhb 2008-04-03 18:49:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) gnu/usr.bin/gdb/kgdb trgt.c Log: MFC: Add the 'tid' command to select a thread using a kernel thread ID. Revision Changes Path 1.2.2.5 +28 -0 src/gnu/usr.bin/gdb/kgdb/trgt.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 18:51:14 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CF6D106566B; Thu, 3 Apr 2008 18:51:14 +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 D37488FC17; Thu, 3 Apr 2008 18:51: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 m33IpDGI001995; Thu, 3 Apr 2008 18:51:13 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33IpDQR001994; Thu, 3 Apr 2008 18:51:13 GMT (envelope-from jhb) Message-Id: <200804031851.m33IpDQR001994@repoman.freebsd.org> From: John Baldwin Date: Thu, 3 Apr 2008 18:51: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/gnu/fs/ext2fs ext2_vfsops.c src/sys/ufs/ffs ffs_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: Thu, 03 Apr 2008 18:51:14 -0000 jhb 2008-04-03 18:51:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/gnu/fs/ext2fs ext2_vfsops.c sys/ufs/ffs ffs_vfsops.c Log: MFC: Fix a nit with the 'nofoo' options where 'foo' is mapped to 'nonofoo' so that filesystems will consider 'nonofoo' a valid option. Revision Changes Path 1.165.2.1 +1 -1 src/sys/gnu/fs/ext2fs/ext2_vfsops.c 1.329.2.3 +3 -3 src/sys/ufs/ffs/ffs_vfsops.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 19:39:48 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA1AB106566B; Thu, 3 Apr 2008 19:39:48 +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 AD9538FC1D; Thu, 3 Apr 2008 19:39:48 +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 m33JdmGR005934; Thu, 3 Apr 2008 19:39:48 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33Jdm4b005933; Thu, 3 Apr 2008 19:39:48 GMT (envelope-from jhb) Message-Id: <200804031939.m33Jdm4b005933@repoman.freebsd.org> From: John Baldwin Date: Thu, 3 Apr 2008 19:39: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/kern kern_shutdown.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, 03 Apr 2008 19:39:49 -0000 jhb 2008-04-03 19:39:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_shutdown.c Log: MFC: Make it possible to continue working after calling doadump() manually. Revision Changes Path 1.182.2.4 +1 -0 src/sys/kern/kern_shutdown.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 19:40:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C9B11065671; Thu, 3 Apr 2008 19:40:59 +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 E429B8FC28; Thu, 3 Apr 2008 19:40:58 +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 m33JewQF006023; Thu, 3 Apr 2008 19:40:58 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33Jewtq006022; Thu, 3 Apr 2008 19:40:58 GMT (envelope-from jhb) Message-Id: <200804031940.m33Jewtq006022@repoman.freebsd.org> From: John Baldwin Date: Thu, 3 Apr 2008 19:40:58 +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_shutdown.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, 03 Apr 2008 19:40:59 -0000 jhb 2008-04-03 19:40:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_shutdown.c Log: MFC: Make it possible to continue working after calling doadump() manually. Revision Changes Path 1.174.2.5 +1 -0 src/sys/kern/kern_shutdown.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 20:36:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EACA71065675; Thu, 3 Apr 2008 20:36:44 +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 BE2BA8FC20; Thu, 3 Apr 2008 20:36:44 +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 m33Kaibw013469; Thu, 3 Apr 2008 20:36:44 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33KaiJi013468; Thu, 3 Apr 2008 20:36:44 GMT (envelope-from imp) Message-Id: <200804032036.m33KaiJi013468@repoman.freebsd.org> From: Warner Losh Date: Thu, 3 Apr 2008 20:36: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/lib/libc/gen err.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, 03 Apr 2008 20:36:45 -0000 imp 2008-04-03 20:36:44 UTC FreeBSD src repository Modified files: lib/libc/gen err.c Log: Minor style(9) nit: move to using ANSI definition of functions. Revision Changes Path 1.15 +5 -19 src/lib/libc/gen/err.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 20:37:38 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D10D11065675; Thu, 3 Apr 2008 20:37:38 +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 A48738FC16; Thu, 3 Apr 2008 20:37:38 +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 m33KbcOk016498; Thu, 3 Apr 2008 20:37:38 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33Kbc1r016497; Thu, 3 Apr 2008 20:37:38 GMT (envelope-from imp) Message-Id: <200804032037.m33Kbc1r016497@repoman.freebsd.org> From: Warner Losh Date: Thu, 3 Apr 2008 20:37: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/sbin/restore dirs.c interactive.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, 03 Apr 2008 20:37:38 -0000 imp 2008-04-03 20:37:38 UTC FreeBSD src repository Modified files: sbin/restore dirs.c interactive.c Log: Use safer string handling. Reviewed by: security-team Revision Changes Path 1.32 +4 -5 src/sbin/restore/dirs.c 1.19 +4 -6 src/sbin/restore/interactive.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 20:42:37 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93E0B106564A; Thu, 3 Apr 2008 20:42:37 +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 6793D8FC17; Thu, 3 Apr 2008 20:42:37 +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 m33Kgb3D017249; Thu, 3 Apr 2008 20:42:37 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33KgaBh017248; Thu, 3 Apr 2008 20:42:36 GMT (envelope-from imp) Message-Id: <200804032042.m33KgaBh017248@repoman.freebsd.org> From: Warner Losh Date: Thu, 3 Apr 2008 20:42: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/conf Makefile.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: Thu, 03 Apr 2008 20:42:37 -0000 imp 2008-04-03 20:42:36 UTC FreeBSD src repository Modified files: sys/conf Makefile.arm Log: Always build kernel.tramp. This should be helpful for a lot of people, as well making sure it doesn't break. Revision Changes Path 1.36 +2 -0 src/sys/conf/Makefile.arm From owner-cvs-src@FreeBSD.ORG Thu Apr 3 20:58:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 101F31065675; Thu, 3 Apr 2008 20:58:19 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D7EBA8FC25; Thu, 3 Apr 2008 20:58:18 +0000 (UTC) (envelope-from jfv@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 m33KwIPM027014; Thu, 3 Apr 2008 20:58:18 GMT (envelope-from jfv@repoman.freebsd.org) Received: (from jfv@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33KwI2g027013; Thu, 3 Apr 2008 20:58:18 GMT (envelope-from jfv) Message-Id: <200804032058.m33KwI2g027013@repoman.freebsd.org> From: Jack F Vogel Date: Thu, 3 Apr 2008 20:58:18 +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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Apr 2008 20:58:19 -0000 jfv 2008-04-03 20:58:18 UTC FreeBSD src repository Modified files: sys/conf files Log: Fix the build breakage, need the | between dependencies, I didn't realize that :( Revision Changes Path 1.1288 +8 -8 src/sys/conf/files From owner-cvs-src@FreeBSD.ORG Thu Apr 3 21:33:15 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A86E9106566B; Thu, 3 Apr 2008 21:33:15 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2A68FC0C; Thu, 3 Apr 2008 21:33:15 +0000 (UTC) (envelope-from brooks@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 m33LXFgS031339; Thu, 3 Apr 2008 21:33:15 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33LXF0G031338; Thu, 3 Apr 2008 21:33:15 GMT (envelope-from brooks) Message-Id: <200804032133.m33LXF0G031338@repoman.freebsd.org> From: Brooks Davis Date: Thu, 3 Apr 2008 21:33:15 +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/ddb ddb.8 ddb.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, 03 Apr 2008 21:33:15 -0000 brooks 2008-04-03 21:33:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ddb ddb.8 ddb.c Log: NFC the ability to read a file of commands to ddb(8) modeled after the feature in ipfw(8). Revision Changes Path 1.3.2.3 +14 -0 src/sbin/ddb/ddb.8 1.2.2.2 +67 -5 src/sbin/ddb/ddb.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 21:36:12 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ECCC1065671; Thu, 3 Apr 2008 21:36:12 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 39E558FC19; Thu, 3 Apr 2008 21:36:12 +0000 (UTC) (envelope-from brooks@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 m33LaCPU031719; Thu, 3 Apr 2008 21:36:12 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33LaC6X031718; Thu, 3 Apr 2008 21:36:12 GMT (envelope-from brooks) Message-Id: <200804032136.m33LaC6X031718@repoman.freebsd.org> From: Brooks Davis Date: Thu, 3 Apr 2008 21:36: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/etc Makefile ddb.conf src/etc/defaults rc.conf src/etc/rc.d Makefile ddb 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: Thu, 03 Apr 2008 21:36:12 -0000 brooks 2008-04-03 21:36:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc Makefile etc/defaults rc.conf etc/rc.d Makefile share/man/man5 rc.conf.5 Added files: (Branch: RELENG_7) etc ddb.conf etc/rc.d ddb Log: MFC: Use the new command file feature of ddb(8) to support setting ddb(4) scripts at boot. This is currently disabled by default. /etc/ddb.conf contains some potentially reasonable default scripts. PR: conf/119995 Submitted by: Scot Hetzel (Earlier version) Revision Changes Path 1.360.2.4 +1 -1 src/etc/Makefile 1.1.2.1 +15 -0 src/etc/ddb.conf (new) 1.318.2.6 +2 -0 src/etc/defaults/rc.conf 1.84.2.3 +1 -1 src/etc/rc.d/Makefile 1.1.2.1 +32 -0 src/etc/rc.d/ddb (new) 1.327.2.3 +13 -0 src/share/man/man5/rc.conf.5 From owner-cvs-src@FreeBSD.ORG Thu Apr 3 23:29:32 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AB2C106566C; Thu, 3 Apr 2008 23:29:32 +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 155898FC0C; Thu, 3 Apr 2008 23:29:32 +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 m33NTWeJ048734; Thu, 3 Apr 2008 23:29:32 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33NTV6r048733; Thu, 3 Apr 2008 23:29:31 GMT (envelope-from emaste) Message-Id: <200804032329.m33NTV6r048733@repoman.freebsd.org> From: Ed Maste Date: Thu, 3 Apr 2008 23:29: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/dev/aac aac_disk.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, 03 Apr 2008 23:29:32 -0000 emaste 2008-04-03 23:29:31 UTC FreeBSD src repository Modified files: sys/dev/aac aac_disk.c Log: Allow crashdumps on machines with >4GB of RAM as long as the adapter can do 64-bit S/G. Submitted by: Alex Bencz Reviewed by: scottl Revision Changes Path 1.46 +54 -13 src/sys/dev/aac/aac_disk.c From owner-cvs-src@FreeBSD.ORG Thu Apr 3 23:43:27 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E21FC1065670; Thu, 3 Apr 2008 23:43:27 +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 AB1938FC19; Thu, 3 Apr 2008 23:43:27 +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 m33NhRi1051648; Thu, 3 Apr 2008 23:43:27 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33NhRMM051642; Thu, 3 Apr 2008 23:43:27 GMT (envelope-from sam) Message-Id: <200804032343.m33NhRMM051642@repoman.freebsd.org> From: Sam Leffler Date: Thu, 3 Apr 2008 23:43:25 +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 if.h src/sbin/ifconfig ifconfig.8 ifconfig.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, 03 Apr 2008 23:43:28 -0000 sam 2008-04-03 23:43:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if.h sbin/ifconfig ifconfig.8 ifconfig.c Log: MFC: WOL infrastructure support Revision Changes Path 1.142.2.2 +16 -1 src/sbin/ifconfig/ifconfig.8 1.134.2.1 +9 -1 src/sbin/ifconfig/ifconfig.c 1.108.2.2 +7 -3 src/sys/net/if.h From owner-cvs-src@FreeBSD.ORG Fri Apr 4 00:16:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09BAE1065676 for ; Fri, 4 Apr 2008 00:16:51 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id D61D48FC25 for ; Fri, 4 Apr 2008 00:16:50 +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; Thu, 03 Apr 2008 17:25:22 -0700 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 0758A2D61E2; Thu, 3 Apr 2008 17:16:47 -0700 (PDT) Message-ID: <47F57371.4000904@elischer.org> Date: Thu, 03 Apr 2008 17:16:49 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Brooks Davis References: <200804032133.m33LXF0G031338@repoman.freebsd.org> In-Reply-To: <200804032133.m33LXF0G031338@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/sbin/ddb ddb.8 ddb.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, 04 Apr 2008 00:16:51 -0000 Brooks Davis wrote: > brooks 2008-04-03 21:33:15 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sbin/ddb ddb.8 ddb.c > Log: > NFC the ability to read a file of commands to ddb(8) modeled after the > feature in ipfw(8). > > Revision Changes Path > 1.3.2.3 +14 -0 src/sbin/ddb/ddb.8 > 1.2.2.2 +67 -5 src/sbin/ddb/ddb.c NFC? "Nuke from current"? From owner-cvs-src@FreeBSD.ORG Fri Apr 4 01:03:24 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3AC61065672; Fri, 4 Apr 2008 01:03:24 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 88B528FC0C; Fri, 4 Apr 2008 01:03:24 +0000 (UTC) (envelope-from jeff@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 m3413Oj3074117; Fri, 4 Apr 2008 01:03:24 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3413ODX074116; Fri, 4 Apr 2008 01:03:24 GMT (envelope-from jeff) Message-Id: <200804040103.m3413ODX074116@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 4 Apr 2008 01:03: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/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: Fri, 04 Apr 2008 01:03:24 -0000 jeff 2008-04-04 01:03:23 UTC FreeBSD src repository Modified files: sys/kern kern_intr.c Log: - Fix a mis-merge that crept in during the softclock changes. Spotted by: jhb Revision Changes Path 1.159 +0 -2 src/sys/kern/kern_intr.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 01:04:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 489CC106566C; Fri, 4 Apr 2008 01:04:44 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC6E8FC17; Fri, 4 Apr 2008 01:04:44 +0000 (UTC) (envelope-from jeff@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 m3414hnj074164; Fri, 4 Apr 2008 01:04:43 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3414hJj074163; Fri, 4 Apr 2008 01:04:43 GMT (envelope-from jeff) Message-Id: <200804040104.m3414hJj074163@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 4 Apr 2008 01:04: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/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: Fri, 04 Apr 2008 01:04:44 -0000 jeff 2008-04-04 01:04:43 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Don't check for the ITHD pri class in tdq_load_add and rem. 4BSD doesn't do this either. Simply check P_NOLOAD. It'd be nice if this was in a thread flag so we didn't have an extra cache miss every time we add and remove a thread from the run-queue. Revision Changes Path 1.239 +6 -12 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 01:16:19 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 611601065677; Fri, 4 Apr 2008 01:16:19 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3FFE18FC17; Fri, 4 Apr 2008 01:16:19 +0000 (UTC) (envelope-from jeff@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 m341GJMF074574; Fri, 4 Apr 2008 01:16:19 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m341GJsD074573; Fri, 4 Apr 2008 01:16:19 GMT (envelope-from jeff) Message-Id: <200804040116.m341GJsD074573@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 4 Apr 2008 01:16:18 +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 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: Fri, 04 Apr 2008 01:16:19 -0000 jeff 2008-04-04 01:16:18 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Allow static_boost to specify no boost with '0', traditional kernel fixed pri boost with '1' or any priority less than the current thread's priority with a value greater than two. Default the boost to PRI_MIN_TIMESHARE to prevent regular user-space threads from starving threads in the kernel. This prevents these user-threads from also being scheduled as if they are high fixed-priority kernel threads. - Restore the setting of lowpri in tdq_choose(). It has to be either here or in sched_switch(). I accidentally removed it from both places. Tested by: kris Revision Changes Path 1.240 +6 -2 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 01:22:05 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88DBD1065671; Fri, 4 Apr 2008 01:22:05 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB918FC17; Fri, 4 Apr 2008 01:22:05 +0000 (UTC) (envelope-from jeff@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 m341M5W3074848; Fri, 4 Apr 2008 01:22:05 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m341M554074847; Fri, 4 Apr 2008 01:22:05 GMT (envelope-from jeff) Message-Id: <200804040122.m341M554074847@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 4 Apr 2008 01:22: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/sys cpuset.h src/sys/kern kern_cpuset.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, 04 Apr 2008 01:22:05 -0000 jeff 2008-04-04 01:22:04 UTC FreeBSD src repository Modified files: sys/sys cpuset.h sys/kern kern_cpuset.c Log: - Add a Nokia copyright to cpuset to reflect their generous contribution to this work. Revision Changes Path 1.8 +3 -0 src/sys/kern/kern_cpuset.c 1.6 +3 -0 src/sys/sys/cpuset.h From owner-cvs-src@FreeBSD.ORG Fri Apr 4 01:23:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB1341065671; Fri, 4 Apr 2008 01:23:39 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA888FC18; Fri, 4 Apr 2008 01:23:39 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [10.0.1.199] (cpe-24-94-72-120.hawaii.res.rr.com [24.94.72.120]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m341NWk5055028; Thu, 3 Apr 2008 21:23:35 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Thu, 3 Apr 2008 15:24:03 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Jeff Roberson In-Reply-To: <200804040116.m341GJsD074573@repoman.freebsd.org> Message-ID: <20080403152038.W949@desktop> References: <200804040116.m341GJsD074573@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/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: Fri, 04 Apr 2008 01:23:40 -0000 On Fri, 4 Apr 2008, Jeff Roberson wrote: > jeff 2008-04-04 01:16:18 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > - Allow static_boost to specify no boost with '0', traditional kernel > fixed pri boost with '1' or any priority less than the current thread's > priority with a value greater than two. Default the boost to > PRI_MIN_TIMESHARE to prevent regular user-space threads from starving > threads in the kernel. This prevents these user-threads from also > being scheduled as if they are high fixed-priority kernel threads. This is one of those unfortunate cases where one setting doesn't work for everything and I just had to pick a value in the middle somewhere that makes sense. I am likely to remove this tunable before 8.0 is complete but if you notice any serious regressions please try setting kern.sched.static_boost = 1. Thanks, Jeff > - Restore the setting of lowpri in tdq_choose(). It has to be either here > or in sched_switch(). I accidentally removed it from both places. > > Tested by: kris > > Revision Changes Path > 1.240 +6 -2 src/sys/kern/sched_ule.c > From owner-cvs-src@FreeBSD.ORG Fri Apr 4 01:50:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 043F2106566C; Fri, 4 Apr 2008 01:50:59 +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 C001B8FC14; Fri, 4 Apr 2008 01:50:58 +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 m341owvn075761; Fri, 4 Apr 2008 01:50:58 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m341owGT075760; Fri, 4 Apr 2008 01:50:58 GMT (envelope-from rodrigc) Message-Id: <200804040150.m341owGT075760@repoman.freebsd.org> From: Craig Rodrigues Date: Fri, 4 Apr 2008 01:50: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/sbin/fsck_ffs 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: Fri, 04 Apr 2008 01:50:59 -0000 rodrigc 2008-04-04 01:50:58 UTC FreeBSD src repository Modified files: sbin/fsck_ffs main.c Log: Add comment about specifying "ro" mount option when doing an update mount on a read-only file system. Requested by: yar Revision Changes Path 1.50 +4 -0 src/sbin/fsck_ffs/main.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 02:20:17 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76E511065670; Fri, 4 Apr 2008 02:20:17 +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 401258FC1B; Fri, 4 Apr 2008 02:20:17 +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 m342KGIu077762; Fri, 4 Apr 2008 02:20:16 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m342KGSh077761; Fri, 4 Apr 2008 02:20:16 GMT (envelope-from rodrigc) Message-Id: <200804040220.m342KGSh077761@repoman.freebsd.org> From: Craig Rodrigues Date: Fri, 4 Apr 2008 02:20: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/sbin/fsck_ffs 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: Fri, 04 Apr 2008 02:20:17 -0000 rodrigc 2008-04-04 02:20:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/fsck_ffs main.c Log: MFC 1.49-1.50: - do not upgrade a read-only mount to read-write when we fsck it PR: 120319 Revision Changes Path 1.47.2.1 +7 -1 src/sbin/fsck_ffs/main.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 03:57:47 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98054106567B; Fri, 4 Apr 2008 03:57:47 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 66A148FC68; Fri, 4 Apr 2008 03:57:47 +0000 (UTC) (envelope-from grog@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 m343vlQY083008; Fri, 4 Apr 2008 03:57:47 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m343vlQ8083007; Fri, 4 Apr 2008 03:57:47 GMT (envelope-from grog) Message-Id: <200804040357.m343vlQ8083007@repoman.freebsd.org> From: Greg Lehey Date: Fri, 4 Apr 2008 03:57: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/bin/ls ls.1 ls.c ls.h print.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, 04 Apr 2008 03:57:47 -0000 grog 2008-04-04 03:57:47 UTC FreeBSD src repository Modified files: bin/ls ls.1 ls.c ls.h print.c Log: Add -D option to specify exact format of date and time output with ls -l. Revision Changes Path 1.101 +28 -6 src/bin/ls/ls.1 1.86 +6 -2 src/bin/ls/ls.c 1.23 +2 -1 src/bin/ls/ls.h 1.77 +10 -7 src/bin/ls/print.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 05:55:43 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48F6B1065672; Fri, 4 Apr 2008 05:55:43 +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 1CA638FC14; Fri, 4 Apr 2008 05:55:43 +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 m345tg92098536; Fri, 4 Apr 2008 05:55:42 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m345tgVE098535; Fri, 4 Apr 2008 05:55:42 GMT (envelope-from ru) Message-Id: <200804040555.m345tgVE098535@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 4 Apr 2008 05:55: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/bin/ls ls.1 util.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, 04 Apr 2008 05:55:43 -0000 ru 2008-04-04 05:55:42 UTC FreeBSD src repository Modified files: bin/ls ls.1 util.c Log: - Add -D to usage(). - Bump document date for the addition of the -D option. - Reformat a sentence to look like a real sentence. Revision Changes Path 1.102 +3 -2 src/bin/ls/ls.1 1.41 +2 -2 src/bin/ls/util.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 07:31:45 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96CC9106564A; Fri, 4 Apr 2008 07:31:45 +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 6D7878FC21; Fri, 4 Apr 2008 07:31:45 +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 m347VjZ9004689; Fri, 4 Apr 2008 07:31:45 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m347Vijq004688; Fri, 4 Apr 2008 07:31:44 GMT (envelope-from ru) Message-Id: <200804040731.m347Vijq004688@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 4 Apr 2008 07:31: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/sbin/ddb ddb.8 ddb.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, 04 Apr 2008 07:31:45 -0000 ru 2008-04-04 07:31:43 UTC FreeBSD src repository Modified files: sbin/ddb ddb.8 ddb.c Log: - Normalize usage(), add "ddb pathname" syntax. - Revise the manpage. Revision Changes Path 1.4 +23 -20 src/sbin/ddb/ddb.8 1.3 +5 -5 src/sbin/ddb/ddb.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 08:57:42 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 036F71065678 for ; Fri, 4 Apr 2008 08:57:42 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 810168FC23 for ; Fri, 4 Apr 2008 08:57:41 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so5405814fka.11 for ; Fri, 04 Apr 2008 01:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; bh=yIhSgvb0oX4c3Wr9B6BolWX3bR5+HKN0sb8qWmyLUg0=; b=Jw/k806wlOwscOlIjlZnwc66dvB3XoxIRxjFbRGAzdX5bs5vxkui32O+WL8rWBeJDD3N2O3hsa1OuDL7WvqcffD8T5QCRQXCWc8fYSyiZFZ1X/Mtmp3zMEZRjYwzMo4cVkabd8cl8k2OB2TrBALay7lymg0HJ7qEgxWPl4PP+VQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; b=aEqTWF8YNzbAPWhqtEBZ/+mrrwGD1vH7AaWwcJGYhpO9e5gSQyJcKy7X1nVc5cibATqZTpxK70D1IK9pbov1Pfyz7olcQQxXv4opEhQIrNX3ioUoYJtfEryI91c7esb4+Qdv1DM1y/MV4LjBuWbrWl0+A5LwhcoK9zIyEQWHlUs= Received: by 10.78.179.12 with SMTP id b12mr2576365huf.61.1207299459993; Fri, 04 Apr 2008 01:57:39 -0700 (PDT) Received: from dg.local ( [83.237.58.223]) by mx.google.com with ESMTPS id e9sm16392225muf.0.2008.04.04.01.57.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Apr 2008 01:57:39 -0700 (PDT) Date: Fri, 4 Apr 2008 12:57:46 +0400 From: Yar Tikhiy To: Craig Rodrigues Message-ID: <20080404085746.GB19086@dg.local> References: <200804040150.m341owGT075760@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804040150.m341owGT075760@repoman.freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Yar Tikhiy Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/fsck_ffs 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: Fri, 04 Apr 2008 08:57:42 -0000 On Fri, Apr 04, 2008 at 01:50:58AM +0000, Craig Rodrigues wrote: > rodrigc 2008-04-04 01:50:58 UTC > > FreeBSD src repository > > Modified files: > sbin/fsck_ffs main.c > Log: > Add comment about specifying "ro" mount option when > doing an update mount on a read-only file system. > > Requested by: yar > > Revision Changes Path > 1.50 +4 -0 src/sbin/fsck_ffs/main.c Thanks! (But see below.) > Index: src/sbin/fsck_ffs/main.c > diff -u src/sbin/fsck_ffs/main.c:1.49 src/sbin/fsck_ffs/main.c:1.50 > --- src/sbin/fsck_ffs/main.c:1.49 Wed Mar 5 08:25:49 2008 > +++ src/sbin/fsck_ffs/main.c Fri Apr 4 01:50:58 2008 > @@ -541,6 +541,10 @@ > build_iovec(&iov, &iovlen, "errmsg", errmsg, > sizeof(errmsg)); > build_iovec(&iov, &iovlen, "update", NULL, 0); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ As I've already pointed out, this line you also added is dangerous because it installs the string "update" to among the root mount point options, which may blow up later with more changes to the mount framework. The option still needs to be spelled MNT_UPDATE and passed as a flag for now. > + /* > + * XX: We need the following line until we clean up > + * nmount parsing of root mounts and NFS root mounts. > + */ > build_iovec(&iov, &iovlen, "ro", NULL, 0); > if (nmount(iov, iovlen, fflags) == 0) { > return (0); -- Yar From owner-cvs-src@FreeBSD.ORG Fri Apr 4 09:37:57 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FEF41065672; Fri, 4 Apr 2008 09:37:57 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7992D8FC20; Fri, 4 Apr 2008 09:37:57 +0000 (UTC) (envelope-from kib@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 m349bv5A019844; Fri, 4 Apr 2008 09:37:57 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m349bvJR019843; Fri, 4 Apr 2008 09:37:57 GMT (envelope-from kib) Message-Id: <200804040937.m349bvJR019843@repoman.freebsd.org> From: Konstantin Belousov Date: Fri, 4 Apr 2008 09:37: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/fs/fdescfs fdesc_vnops.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, 04 Apr 2008 09:37:57 -0000 kib 2008-04-04 09:37:57 UTC FreeBSD src repository Modified files: sys/fs/fdescfs fdesc_vnops.c Log: The temporary workaround for the call to the vget() without lock type in the fdesc_allocvp(). The caller of the fdesc_allocvp() expects that the returned vnode is not reclaimed. Do lock the vnode exclusive and drop the lock after. Reported by: pho Reviewed by: jeff Revision Changes Path 1.108 +3 -1 src/sys/fs/fdescfs/fdesc_vnops.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 09:43:04 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 426BB1065671; Fri, 4 Apr 2008 09:43:04 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1B7458FC30; Fri, 4 Apr 2008 09:43:04 +0000 (UTC) (envelope-from dfr@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 m349h3fm020080; Fri, 4 Apr 2008 09:43:03 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m349h3U3020079; Fri, 4 Apr 2008 09:43:03 GMT (envelope-from dfr) Message-Id: <200804040943.m349h3U3020079@repoman.freebsd.org> From: Doug Rabson Date: Fri, 4 Apr 2008 09:43: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/lib/libc/include libc_private.h src/lib/libc/sys Makefile.inc fcntl.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, 04 Apr 2008 09:43:04 -0000 dfr 2008-04-04 09:43:03 UTC FreeBSD src repository Modified files: lib/libc/include libc_private.h lib/libc/sys Makefile.inc Added files: lib/libc/sys fcntl.c Log: Add some compatibility code so that software which is built to use the new struct flock with l_sysid member can work properly on an an old kernel which doesn't support l_sysid. Sponsored by: Isilon Systems Revision Changes Path 1.18 +3 -0 src/lib/libc/include/libc_private.h 1.133 +2 -1 src/lib/libc/sys/Makefile.inc 1.1 +87 -0 src/lib/libc/sys/fcntl.c (new) From owner-cvs-src@FreeBSD.ORG Fri Apr 4 10:00:47 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D680106564A; Fri, 4 Apr 2008 10:00:47 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2091B8FC16; Fri, 4 Apr 2008 10:00:47 +0000 (UTC) (envelope-from jeff@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 m34A0kq4020626; Fri, 4 Apr 2008 10:00:46 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34A0kSL020625; Fri, 4 Apr 2008 10:00:46 GMT (envelope-from jeff) Message-Id: <200804041000.m34A0kSL020625@repoman.freebsd.org> From: Jeff Roberson Date: Fri, 4 Apr 2008 10:00: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/sys/kern kern_rwlock.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, 04 Apr 2008 10:00:47 -0000 jeff 2008-04-04 10:00:46 UTC FreeBSD src repository Modified files: sys/kern kern_rwlock.c Log: - Add sysctls at debug.rwlock to control the behavior of the speculative spinning when readers hold a lock. This spinning is speculative because, unlike the write case, we can not test whether the owners are running. - Add speculative read spinning for readers who are blocked by pending writers while a read lock is still held. This allows the thread to spin until the write lock succeeds after which it may spin until the writer has released the lock. This prevents excessive context switches when readers and writers both hold the lock for brief periods. Sponsored by: Nokia Revision Changes Path 1.38 +26 -3 src/sys/kern/kern_rwlock.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 12:44:21 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5C17106566C; Fri, 4 Apr 2008 12:44:21 +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 7E6278FC0C; Fri, 4 Apr 2008 12:44:21 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [128.205.32.76] (bauer.cse.buffalo.edu [128.205.32.76]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id m34CiBI3049151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Apr 2008 08:44:12 -0400 (EDT) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: Julian Elischer In-Reply-To: <47F57371.4000904@elischer.org> References: <200804032133.m33LXF0G031338@repoman.freebsd.org> <47F57371.4000904@elischer.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-mffaBM306kdOaBI3dd/Z" Organization: U. Buffalo CSE Department Date: Fri, 04 Apr 2008 08:44:11 -0400 Message-Id: <1207313051.38068.5.camel@bauer.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 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: cvs-src@FreeBSD.org, Brooks Davis , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sbin/ddb ddb.8 ddb.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, 04 Apr 2008 12:44:21 -0000 --=-mffaBM306kdOaBI3dd/Z Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-04-03 at 17:16 -0700, Julian Elischer wrote: > Brooks Davis wrote: > > brooks 2008-04-03 21:33:15 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: (Branch: RELENG_7) > > sbin/ddb ddb.8 ddb.c=20 > > Log: > > NFC the ability to read a file of commands to ddb(8) modeled after th= e > > feature in ipfw(8). > > =20 > > Revision Changes Path > > 1.3.2.3 +14 -0 src/sbin/ddb/ddb.8 > > 1.2.2.2 +67 -5 src/sbin/ddb/ddb.c >=20 >=20 > NFC? >=20 > "Nuke from current"? >=20 Julian criticizing someone for a typo. Isn't that sorta like me criticizing someone for being late? Sorry, couldn't resist. I tried. Honest. :-) --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-mffaBM306kdOaBI3dd/Z 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) iD8DBQBH9iKS/G14VSmup/YRAgDrAJ9RB+b22dN4AVCLhTSlJ39NSkGnxQCgmagj wWMpNcOPxBeSJZSqti1RqGY= =OGRb -----END PGP SIGNATURE----- --=-mffaBM306kdOaBI3dd/Z-- From owner-cvs-src@FreeBSD.ORG Fri Apr 4 13:03:57 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A031065674 for ; Fri, 4 Apr 2008 13:03:57 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id AC4228FC14 for ; Fri, 4 Apr 2008 13:03:56 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA03.westchester.pa.mail.comcast.net with comcast id 9Nmq1Z00A0xGWP8530CA00; Fri, 04 Apr 2008 13:02:33 +0000 Received: from discordia ([24.60.135.75]) by OMTA12.westchester.pa.mail.comcast.net with comcast id 9R3r1Z0021dmTCQ3Y00000; Fri, 04 Apr 2008 13:03:51 +0000 X-Authority-Analysis: v=1.0 c=1 a=6eF-X8R40wEA:10 a=c5sTgUsrrxMA:10 a=8rdVjMYyj-7qDsFZfWIA:9 a=XtHRz7TRzOPr6HrImDsA:7 a=oO2Ig4266IqOnElsEk0d6ZbzNjwA:4 a=ZKlmZI38X7UA:10 Received: by discordia (Postfix, from userid 103) id 030981636F9; Fri, 4 Apr 2008 09:03:51 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id AC2191636F8; Fri, 4 Apr 2008 09:03:36 -0400 (EDT) Message-ID: <47F6272D.4050400@FreeBSD.org> Date: Fri, 04 Apr 2008 09:03:41 -0400 From: Coleman Kane Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080312) MIME-Version: 1.0 To: Ken Smith References: <200804032133.m33LXF0G031338@repoman.freebsd.org> <47F57371.4000904@elischer.org> <1207313051.38068.5.camel@bauer.cse.buffalo.edu> In-Reply-To: <1207313051.38068.5.camel@bauer.cse.buffalo.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, Brooks Davis , Julian Elischer , src-committers@FreeBSD.org Subject: Re: cvs commit: src/sbin/ddb ddb.8 ddb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@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: Fri, 04 Apr 2008 13:03:57 -0000 Ken Smith wrote: > On Thu, 2008-04-03 at 17:16 -0700, Julian Elischer wrote: > >> Brooks Davis wrote: >> >>> brooks 2008-04-03 21:33:15 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: (Branch: RELENG_7) >>> sbin/ddb ddb.8 ddb.c >>> Log: >>> NFC the ability to read a file of commands to ddb(8) modeled after the >>> feature in ipfw(8). >>> >>> Revision Changes Path >>> 1.3.2.3 +14 -0 src/sbin/ddb/ddb.8 >>> 1.2.2.2 +67 -5 src/sbin/ddb/ddb.c >>> >> NFC? >> >> "Nuke from current"? >> >> > > Julian criticizing someone for a typo. Isn't that sorta like me > criticizing someone for being late? > > Sorry, couldn't resist. I tried. Honest. :-) > I think we've just stumbled upon a new term for feature removal. I like it. -- Coleman Kane From owner-cvs-src@FreeBSD.ORG Fri Apr 4 13:29:48 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CBFD1065671; Fri, 4 Apr 2008 13:29:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 81BB98FC30; Fri, 4 Apr 2008 13:29:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 32AAC1A4D7E; Fri, 4 Apr 2008 06:29:48 -0700 (PDT) From: John Baldwin To: Jeff Roberson Date: Fri, 4 Apr 2008 09:04:37 -0400 User-Agent: KMail/1.9.7 References: <200804040104.m3414hJj074163@repoman.freebsd.org> In-Reply-To: <200804040104.m3414hJj074163@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804040904.37819.jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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: Fri, 04 Apr 2008 13:29:48 -0000 On Thursday 03 April 2008 09:04:43 pm Jeff Roberson wrote: > jeff 2008-04-04 01:04:43 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > - Don't check for the ITHD pri class in tdq_load_add and rem. 4BSD > doesn't do this either. Simply check P_NOLOAD. It'd be nice if this was > in a thread flag so we didn't have an extra cache miss every time we add > and remove a thread from the run-queue. Actually, now that all interrupt threads are in a single process, it should be a per-thread flag. It was only ever intended to mask softclock since that is what did the load calculation on 4BSD so that 4BSD wouldn't always return a load of 1 even on an idle box (since softclock was always running when the load was checked). -- John Baldwin From owner-cvs-src@FreeBSD.ORG Fri Apr 4 15:07:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC9251065671 for ; Fri, 4 Apr 2008 15:07:06 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outU.internet-mail-service.net (outu.internet-mail-service.net [216.240.47.244]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBFB8FC1B for ; Fri, 4 Apr 2008 15:07:06 +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; Fri, 04 Apr 2008 10:30:23 -0700 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 5630D2D6016; Fri, 4 Apr 2008 08:07:03 -0700 (PDT) Message-ID: <47F64418.7020003@elischer.org> Date: Fri, 04 Apr 2008 08:07:04 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Ken Smith References: <200804032133.m33LXF0G031338@repoman.freebsd.org> <47F57371.4000904@elischer.org> <1207313051.38068.5.camel@bauer.cse.buffalo.edu> In-Reply-To: <1207313051.38068.5.camel@bauer.cse.buffalo.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Brooks Davis , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sbin/ddb ddb.8 ddb.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, 04 Apr 2008 15:07:06 -0000 Ken Smith wrote: > On Thu, 2008-04-03 at 17:16 -0700, Julian Elischer wrote: >> Brooks Davis wrote: >>> brooks 2008-04-03 21:33:15 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: (Branch: RELENG_7) >>> sbin/ddb ddb.8 ddb.c >>> Log: >>> NFC the ability to read a file of commands to ddb(8) modeled after the >>> feature in ipfw(8). >>> >>> Revision Changes Path >>> 1.3.2.3 +14 -0 src/sbin/ddb/ddb.8 >>> 1.2.2.2 +67 -5 src/sbin/ddb/ddb.c >> >> NFC? >> >> "Nuke from current"? >> > > Julian criticizing someone for a typo. Isn't that sorta like me > criticizing someone for being late? > > Sorry, couldn't resist. I tried. Honest. :-) > it wsa a joke you know.. (as was yours I know..) From owner-cvs-src@FreeBSD.ORG Fri Apr 4 16:32:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BC62106566B; Fri, 4 Apr 2008 16:32:06 +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 48D8B8FC19; Fri, 4 Apr 2008 16:32:06 +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 m34GW6vA070362; Fri, 4 Apr 2008 16:32:06 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34GW6w4070361; Fri, 4 Apr 2008 16:32:06 GMT (envelope-from scottl) Message-Id: <200804041632.m34GW6w4070361@repoman.freebsd.org> From: Scott Long Date: Fri, 4 Apr 2008 16:32:06 +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/iir iir.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, 04 Apr 2008 16:32:06 -0000 scottl 2008-04-04 16:32:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/iir iir.c Log: Merge rev 1.20: Fix a buffer overflow in the processing of various SCSI commands. This likely fixes a great number of weird problems that have been reported with this driver. Revision Changes Path 1.19.2.1 +42 -26 src/sys/dev/iir/iir.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 16:42:17 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC887106566B; Fri, 4 Apr 2008 16:42:17 +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 C887A8FC23; Fri, 4 Apr 2008 16:42:17 +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 m34GgHK9071170; Fri, 4 Apr 2008 16:42:17 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34GgHUu071169; Fri, 4 Apr 2008 16:42:17 GMT (envelope-from scottl) Message-Id: <200804041642.m34GgHUu071169@repoman.freebsd.org> From: Scott Long Date: Fri, 4 Apr 2008 16:42: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/dev/iir iir.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, 04 Apr 2008 16:42:18 -0000 scottl 2008-04-04 16:42:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/iir iir.c Log: Merge rev 1.20: Fix a buffer overflow in the processing of various SCSI commands. This likely fixes a great number of weird problems that have been reported with this driver. Revision Changes Path 1.13.2.2 +42 -26 src/sys/dev/iir/iir.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 16:59:58 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD292106564A; Fri, 4 Apr 2008 16:59:58 +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 785DB8FC17; Fri, 4 Apr 2008 16:59:58 +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 m34GxwKN081402; Fri, 4 Apr 2008 16:59:58 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34Gxwat081401; Fri, 4 Apr 2008 16:59:58 GMT (envelope-from imp) Message-Id: <200804041659.m34Gxwat081401@repoman.freebsd.org> From: Warner Losh Date: Fri, 4 Apr 2008 16:59: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/man9 sleep.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: Fri, 04 Apr 2008 16:59:58 -0000 imp 2008-04-04 16:59:58 UTC FreeBSD src repository Modified files: share/man/man9 sleep.9 Log: Add note about PZERO being obsolete, because so much code uses it. Feel free to improve the verbage, since this was a compromise between conflicting feedback I got on my original version. Revision Changes Path 1.62 +5 -1 src/share/man/man9/sleep.9 From owner-cvs-src@FreeBSD.ORG Fri Apr 4 17:35:25 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32442106566C; Fri, 4 Apr 2008 17:35:25 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 083758FC1C; Fri, 4 Apr 2008 17:35:25 +0000 (UTC) (envelope-from raj@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 m34HZOWj084614; Fri, 4 Apr 2008 17:35:24 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34HZOe7084609; Fri, 4 Apr 2008 17:35:24 GMT (envelope-from raj) Message-Id: <200804041735.m34HZOe7084609@repoman.freebsd.org> From: Rafal Jaworowski Date: Fri, 4 Apr 2008 17:35: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/arm/arm elf_trampoline.c src/sys/conf Makefile.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: Fri, 04 Apr 2008 17:35:25 -0000 raj 2008-04-04 17:35:24 UTC FreeBSD src repository Modified files: sys/arm/arm elf_trampoline.c sys/conf Makefile.arm Log: Make kernel.tramp build properly on ARM9E. Reviewed by: imp Approved by: cognet (mentor) Revision Changes Path 1.20 +2 -0 src/sys/arm/arm/elf_trampoline.c 1.37 +1 -1 src/sys/conf/Makefile.arm From owner-cvs-src@FreeBSD.ORG Fri Apr 4 18:00:22 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E50D106564A; Fri, 4 Apr 2008 18:00:22 +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 62C768FC1C; Fri, 4 Apr 2008 18:00:22 +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 m34I0Mia085734; Fri, 4 Apr 2008 18:00:22 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34I0MP6085733; Fri, 4 Apr 2008 18:00:22 GMT (envelope-from alc) Message-Id: <200804041800.m34I0MP6085733@repoman.freebsd.org> From: Alan Cox Date: Fri, 4 Apr 2008 18:00: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/amd64/amd64 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: Fri, 04 Apr 2008 18:00:22 -0000 alc 2008-04-04 18:00:22 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c Log: Eliminate an unnecessary test and its misleading comment from pmap_enter(). Revision Changes Path 1.612 +0 -6 src/sys/amd64/amd64/pmap.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 18:08:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E04F31065673; Fri, 4 Apr 2008 18:08:51 +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 B34D88FC19; Fri, 4 Apr 2008 18:08:51 +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 m34I8ps5089273; Fri, 4 Apr 2008 18:08:51 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34I8p9x089272; Fri, 4 Apr 2008 18:08:51 GMT (envelope-from julian) Message-Id: <200804041808.m34I8p9x089272@repoman.freebsd.org> From: Julian Elischer Date: Fri, 4 Apr 2008 18:08: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/sbin/ipfw ipfw.8 ipfw2.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, 04 Apr 2008 18:08:52 -0000 julian 2008-04-04 18:08:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ipfw ipfw.8 ipfw2.c Log: MFC: ipfw2.c 1.114 ipfw.8 1.209 Use an explicit argument to display table args a IP addresses. Revision Changes Path 1.203.2.3 +5 -0 src/sbin/ipfw/ipfw.8 1.108.2.5 +9 -6 src/sbin/ipfw/ipfw2.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 18:10:50 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E47CC1065677; Fri, 4 Apr 2008 18:10:50 +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 B78058FC2B; Fri, 4 Apr 2008 18:10:50 +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 m34IAofb089405; Fri, 4 Apr 2008 18:10:50 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34IAobh089404; Fri, 4 Apr 2008 18:10:50 GMT (envelope-from julian) Message-Id: <200804041810.m34IAobh089404@repoman.freebsd.org> From: Julian Elischer Date: Fri, 4 Apr 2008 18:10: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/sbin/ipfw ipfw.8 ipfw2.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, 04 Apr 2008 18:10:51 -0000 julian 2008-04-04 18:10:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/ipfw ipfw.8 ipfw2.c Log: MFC: ipfw2.c 1.114 ipfw.8 1.209 Use an explicit argument to format table args as IP addresses. Revision Changes Path 1.175.2.14 +5 -0 src/sbin/ipfw/ipfw.8 1.76.2.21 +9 -6 src/sbin/ipfw/ipfw2.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 18:22:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D694D106566B; Fri, 4 Apr 2008 18:22:16 +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 A8FD58FC2A; Fri, 4 Apr 2008 18:22:16 +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 m34IMGoC089860; Fri, 4 Apr 2008 18:22:16 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34IMGoL089859; Fri, 4 Apr 2008 18:22:16 GMT (envelope-from imp) Message-Id: <200804041822.m34IMGoL089859@repoman.freebsd.org> From: Warner Losh Date: Fri, 4 Apr 2008 18:22: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/arm/sa11x0 assabet_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: Fri, 04 Apr 2008 18:22:16 -0000 imp 2008-04-04 18:22:16 UTC FreeBSD src repository Modified files: sys/arm/sa11x0 assabet_machdep.c Log: Fix stupid typo Revision Changes Path 1.24 +1 -1 src/sys/arm/sa11x0/assabet_machdep.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 18:41:12 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95E1106566B; Fri, 4 Apr 2008 18:41:12 +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 D2CFC8FC1C; Fri, 4 Apr 2008 18:41:12 +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 m34IfCph094820; Fri, 4 Apr 2008 18:41:12 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34IfCmE094819; Fri, 4 Apr 2008 18:41:12 GMT (envelope-from alc) Message-Id: <200804041841.m34IfCmE094819@repoman.freebsd.org> From: Alan Cox Date: Fri, 4 Apr 2008 18:41: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/sys/i386/i386 pmap.c src/sys/kern kern_mbuf.c src/sys/vm uma.h uma_core.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, 04 Apr 2008 18:41:13 -0000 alc 2008-04-04 18:41:12 UTC FreeBSD src repository Modified files: sys/i386/i386 pmap.c sys/kern kern_mbuf.c sys/vm uma.h uma_core.c Log: Reintroduce UMA_SLAB_KMAP; however, change its spelling to UMA_SLAB_KERNEL for consistency with its sibling UMA_SLAB_KMEM. (UMA_SLAB_KMAP met its original demise in revision 1.30 of vm/uma_core.c.) UMA_SLAB_KERNEL is now required by the jumbo frame allocators. Without it, UMA cannot correctly return pages from the jumbo frame zones to the VM system because it resets the pages' object field to NULL instead of the kernel object. In more detail, the jumbo frame zones are created with the option UMA_ZONE_REFCNT. This causes UMA to overwrite the pages' object field with the address of the slab. However, when UMA wants to release these pages, it doesn't know how to restore the object field, so it sets it to NULL. This change teaches UMA how to reset the object field to the kernel object. Crashes reported by: kris Fix tested by: kris Fix discussed with: jeff MFC after: 6 weeks Revision Changes Path 1.614 +3 -1 src/sys/i386/i386/pmap.c 1.40 +2 -1 src/sys/kern/kern_mbuf.c 1.32 +1 -0 src/sys/vm/uma.h 1.149 +4 -0 src/sys/vm/uma_core.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 19:14:59 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 278671065670; Fri, 4 Apr 2008 19:14:59 +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 EA72B8FC13; Fri, 4 Apr 2008 19:14:58 +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 m34JEwft097098; Fri, 4 Apr 2008 19:14:58 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34JEwX1097097; Fri, 4 Apr 2008 19:14:58 GMT (envelope-from alc) Message-Id: <200804041914.m34JEwX1097097@repoman.freebsd.org> From: Alan Cox Date: Fri, 4 Apr 2008 19:14: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/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, 04 Apr 2008 19:14:59 -0000 alc 2008-04-04 19:14:58 UTC FreeBSD src repository Modified files: sys/vm vm_map.c Log: Update a comment to vm_map_pmap_enter(). Revision Changes Path 1.394 +2 -2 src/sys/vm/vm_map.c From owner-cvs-src@FreeBSD.ORG Fri Apr 4 19:33:10 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54ECB1065675; Fri, 4 Apr 2008 19:33:10 +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 224FF8FC24; Fri, 4 Apr 2008 19:33:10 +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 m34JXAp3097826; Fri, 4 Apr 2008 19:33:10 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34JXABh097825; Fri, 4 Apr 2008 19:33:10 GMT (envelope-from imp) Message-Id: <200804041933.m34JXABh097825@repoman.freebsd.org> From: Warner Losh Date: Fri, 4 Apr 2008 19:33: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/conf Makefile.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: Fri, 04 Apr 2008 19:33:10 -0000 imp 2008-04-04 19:33:10 UTC FreeBSD src repository Modified files: sys/conf Makefile.arm Log: If you build a compiler with TARGET_BIG_ENDIAN, and then try to build a little endian kernel, things break. Be explicit about the endian choice by setting it in the little endian case as well. Revision Changes Path 1.38 +4 -0 src/sys/conf/Makefile.arm From owner-cvs-src@FreeBSD.ORG Fri Apr 4 20:59:27 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 553E4106566B; Fri, 4 Apr 2008 20:59:27 +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 35C1A8FC0C; Fri, 4 Apr 2008 20:59:27 +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 m34KxR6w022574; Fri, 4 Apr 2008 20:59:27 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34KxRAT022573; Fri, 4 Apr 2008 20:59:27 GMT (envelope-from imp) Message-Id: <200804042059.m34KxRAT022573@repoman.freebsd.org> From: Warner Losh Date: Fri, 4 Apr 2008 20:59: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/libexec/rtld-elf rtld.c rtld.h src/libexec/rtld-elf/mips reloc.c rtld_machdep.h rtld_start.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Apr 2008 20:59:27 -0000 imp 2008-04-04 20:59:26 UTC FreeBSD src repository Modified files: libexec/rtld-elf rtld.c rtld.h Added files: libexec/rtld-elf/mips reloc.c rtld_machdep.h rtld_start.S Log: MFp4: Add mips support for dynamic linking. This code came from the merged mips2 and Juniper mips repositories. Warner Losh, Randall Seager, Oleksandr Tymoshenko and Olivier Houchard worked to merge, debug and integrate this code. This code may also contain code derived from NetBSD. Revision Changes Path 1.1 +357 -0 src/libexec/rtld-elf/mips/reloc.c (new) 1.1 +74 -0 src/libexec/rtld-elf/mips/rtld_machdep.h (new) 1.1 +127 -0 src/libexec/rtld-elf/mips/rtld_start.S (new) 1.125 +39 -5 src/libexec/rtld-elf/rtld.c 1.39 +5 -0 src/libexec/rtld-elf/rtld.h From owner-cvs-src@FreeBSD.ORG Fri Apr 4 21:12:40 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1417106566B; Fri, 4 Apr 2008 21:12:40 +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 696AF8FC24; Fri, 4 Apr 2008 21:12:40 +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 m34LCelc024356; Fri, 4 Apr 2008 21:12:40 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34LCebO024355; Fri, 4 Apr 2008 21:12:40 GMT (envelope-from imp) Message-Id: <200804042112.m34LCebO024355@repoman.freebsd.org> From: Warner Losh Date: Fri, 4 Apr 2008 21:12: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/share/mk sys.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Apr 2008 21:12:40 -0000 imp 2008-04-04 21:12:40 UTC FreeBSD src repository Modified files: share/mk sys.mk Log: MFp4 (mips2-jnpr): o Default to -O on mips as well as arm. -O2 has been strongly implicated in many problems in the past, so we're taking a conservative approach until the problems are well understood. Revision Changes Path 1.101 +1 -1 src/share/mk/sys.mk From owner-cvs-src@FreeBSD.ORG Fri Apr 4 21:33:42 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56401106566B; Fri, 4 Apr 2008 21:33:42 +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 1D7DA8FC0A; Fri, 4 Apr 2008 21:33:42 +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 m34LXgjS025009; Fri, 4 Apr 2008 21:33:42 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34LXgMt025008; Fri, 4 Apr 2008 21:33:42 GMT (envelope-from imp) Message-Id: <200804042133.m34LXgMt025008@repoman.freebsd.org> From: Warner Losh Date: Fri, 4 Apr 2008 21: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/usr.bin/gprof gprof.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, 04 Apr 2008 21:33:42 -0000 imp 2008-04-04 21:33:42 UTC FreeBSD src repository Modified files: usr.bin/gprof gprof.h Log: Add mips support. Revision Changes Path 1.26 +3 -0 src/usr.bin/gprof/gprof.h From owner-cvs-src@FreeBSD.ORG Fri Apr 4 21:35:13 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5BE3106567A; Fri, 4 Apr 2008 21:35:13 +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 6D1938FC25; Fri, 4 Apr 2008 21:35:13 +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 m34LZDW2025231; Fri, 4 Apr 2008 21:35:13 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34LZD9l025230; Fri, 4 Apr 2008 21:35:13 GMT (envelope-from imp) Message-Id: <200804042135.m34LZD9l025230@repoman.freebsd.org> From: Warner Losh Date: Fri, 4 Apr 2008 21:35: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/usr.bin/xlint/lint1 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: Fri, 04 Apr 2008 21:35:13 -0000 imp 2008-04-04 21:35:13 UTC FreeBSD src repository Modified files: usr.bin/xlint/lint1 param.h Log: MFp4(mips2-jnpr): Add mips support. Revision Changes Path 1.10 +3 -0 src/usr.bin/xlint/lint1/param.h From owner-cvs-src@FreeBSD.ORG Fri Apr 4 23:22:02 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0850D1065671; Fri, 4 Apr 2008 23:22:02 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BEE458FC20; Fri, 4 Apr 2008 23:22:01 +0000 (UTC) (envelope-from cperciva@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 m34NM1nU032198; Fri, 4 Apr 2008 23:22:01 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34NM1SF032197; Fri, 4 Apr 2008 23:22:01 GMT (envelope-from cperciva) Message-Id: <200804042322.m34NM1SF032197@repoman.freebsd.org> From: Colin Percival Date: Fri, 4 Apr 2008 23:22:01 +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/freebsd-update freebsd-update.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, 04 Apr 2008 23:22:02 -0000 cperciva 2008-04-04 23:22:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/freebsd-update freebsd-update.sh Log: MFC revisions 1.13, 1.14: Don't try to compute the SHA256 hashes of files which don't exist; and fix the handling of symlinks to dynamically linked libraries. Revision Changes Path 1.8.2.3 +16 -16 src/usr.sbin/freebsd-update/freebsd-update.sh From owner-cvs-src@FreeBSD.ORG Fri Apr 4 23:22:49 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8C251065672; Fri, 4 Apr 2008 23:22:49 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9B5798FC21; Fri, 4 Apr 2008 23:22:49 +0000 (UTC) (envelope-from cperciva@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 m34NMnvG032243; Fri, 4 Apr 2008 23:22:49 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34NMnj9032242; Fri, 4 Apr 2008 23:22:49 GMT (envelope-from cperciva) Message-Id: <200804042322.m34NMnj9032242@repoman.freebsd.org> From: Colin Percival Date: Fri, 4 Apr 2008 23:22:49 +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/freebsd-update freebsd-update.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, 04 Apr 2008 23:22:50 -0000 cperciva 2008-04-04 23:22:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/freebsd-update freebsd-update.sh Log: MFC revisions 1.13, 1.14: Don't try to compute the SHA256 hashes of files which don't exist; and fix the handling of symlinks to dynamically linked libraries. Revision Changes Path 1.2.2.9 +16 -16 src/usr.sbin/freebsd-update/freebsd-update.sh From owner-cvs-src@FreeBSD.ORG Fri Apr 4 23:24:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB49B106564A; Fri, 4 Apr 2008 23:24:44 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9E90F8FC1B; Fri, 4 Apr 2008 23:24:44 +0000 (UTC) (envelope-from cperciva@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 m34NOiIo032313; Fri, 4 Apr 2008 23:24:44 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34NOiOI032312; Fri, 4 Apr 2008 23:24:44 GMT (envelope-from cperciva) Message-Id: <200804042324.m34NOiOI032312@repoman.freebsd.org> From: Colin Percival Date: Fri, 4 Apr 2008 23:24: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/etc freebsd-update.conf X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Apr 2008 23:24:45 -0000 cperciva 2008-04-04 23:24:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) etc freebsd-update.conf Log: MFC revision 1.4: Add /boot/devices.hints to the default list of files which have local modifications merged during upgrading. Revision Changes Path 1.1.4.3 +1 -1 src/etc/freebsd-update.conf From owner-cvs-src@FreeBSD.ORG Fri Apr 4 23:25:08 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71DDD1065675; Fri, 4 Apr 2008 23:25:08 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 34F328FC21; Fri, 4 Apr 2008 23:25:08 +0000 (UTC) (envelope-from cperciva@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 m34NP80O032403; Fri, 4 Apr 2008 23:25:08 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m34NP8C4032402; Fri, 4 Apr 2008 23:25:08 GMT (envelope-from cperciva) Message-Id: <200804042325.m34NP8C4032402@repoman.freebsd.org> From: Colin Percival Date: Fri, 4 Apr 2008 23:25: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/etc freebsd-update.conf X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Apr 2008 23:25:08 -0000 cperciva 2008-04-04 23:25:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc freebsd-update.conf Log: MFC revision 1.4: Add /boot/devices.hints to the default list of files which have local modifications merged during upgrading. Revision Changes Path 1.1.2.4 +1 -1 src/etc/freebsd-update.conf From owner-cvs-src@FreeBSD.ORG Sat Apr 5 00:52:11 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CDE8106566B; Sat, 5 Apr 2008 00:52:11 +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 0A5558FC24; Sat, 5 Apr 2008 00:52:11 +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 m350qArU045432; Sat, 5 Apr 2008 00:52:10 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m350q7jg045431; Sat, 5 Apr 2008 00:52:07 GMT (envelope-from yongari) Message-Id: <200804050052.m350q7jg045431@repoman.freebsd.org> From: Pyun YongHyeon Date: Sat, 5 Apr 2008 00:52: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 ip1000phy.c ip1000phyreg.h 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: Sat, 05 Apr 2008 00:52:11 -0000 yongari 2008-04-05 00:52:07 UTC FreeBSD src repository Modified files: sys/dev/mii ip1000phy.c ip1000phyreg.h miidevs Log: Add support for IC Plus IP1001 PHY. Tested by: Stuart Fraser < stuart AT stuartfraser DOT net > Revision Changes Path 1.3 +58 -21 src/sys/dev/mii/ip1000phy.c 1.2 +45 -0 src/sys/dev/mii/ip1000phyreg.h 1.52 +1 -0 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Sat Apr 5 04:18:29 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6C18106564A; Sat, 5 Apr 2008 04:18:29 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C59BD8FC13; Sat, 5 Apr 2008 04:18:29 +0000 (UTC) (envelope-from kib@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 m354IT0E063309; Sat, 5 Apr 2008 04:18:29 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m354ITDJ063308; Sat, 5 Apr 2008 04:18:29 GMT (envelope-from kib) Message-Id: <200804050418.m354ITDJ063308@repoman.freebsd.org> From: Konstantin Belousov Date: Sat, 5 Apr 2008 04:18: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/kern kern_conf.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, 05 Apr 2008 04:18:30 -0000 kib 2008-04-05 04:18:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_conf.c Log: MFC rev. 1.211: Add two missed chunks from the rev. 1.210, for the giant_read() and giant_ioctl(). Revision Changes Path 1.208.2.3 +2 -4 src/sys/kern/kern_conf.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 05:02:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD382106566B; Sat, 5 Apr 2008 05:02:53 +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 AE0AA8FC15; Sat, 5 Apr 2008 05:02:53 +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 m3552rkc074149; Sat, 5 Apr 2008 05:02:53 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3552rLi074148; Sat, 5 Apr 2008 05:02:53 GMT (envelope-from alc) Message-Id: <200804050502.m3552rLi074148@repoman.freebsd.org> From: Alan Cox Date: Sat, 5 Apr 2008 05:02: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/sys/vm vm_phys.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, 05 Apr 2008 05:02:53 -0000 alc 2008-04-05 05:02:53 UTC FreeBSD src repository Modified files: sys/vm vm_phys.c Log: Eliminate an unnecessary test from vm_phys_unfree_page(). Revision Changes Path 1.8 +1 -1 src/sys/vm/vm_phys.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 05:17:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33AB9106566C; Sat, 5 Apr 2008 05:17:44 +0000 (UTC) (envelope-from nyan@jp.FreeBSD.org) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.freebsd.org (Postfix) with ESMTP id CCEEA8FC0C; Sat, 5 Apr 2008 05:17:43 +0000 (UTC) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) by watery.cc.kogakuin.ac.jp (unknown) with ESMTP id m354pBN8045041; Sat, 5 Apr 2008 13:51:11 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Sat, 05 Apr 2008 13:50:51 +0900 (JST) Message-Id: <20080405.135051.193733780.nyan@jp.FreeBSD.org> To: phk@FreeBSD.org From: Takahashi Yoshihiro In-Reply-To: <200803262009.m2QK9MAo082269@repoman.freebsd.org> References: <200803262009.m2QK9MAo082269@repoman.freebsd.org> X-Mailer: Mew version 5.2 on Emacs 22.1 / 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/sys/amd64/include clock.h timerreg.h src/sys/amd64/isa clock.c src/sys/dev/speaker spkr.c src/sys/dev/syscons syscons.c src/sys/i386/i386 trap.c src/sys/i386/include clock.h timerreg.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: Sat, 05 Apr 2008 05:17:44 -0000 In article <200803262009.m2QK9MAo082269@repoman.freebsd.org> Poul-Henning Kamp writes: > In the other function, sc_bell() it seems to get the period from > the KDMKTONE ioctl in terms if 1/1193182th second, so we hardcode > the 1193182 and leave it at that. It's probably not important. PC98 uses the different frequency. It's 1996800 or 2457600. Please see i8254_init(). --- TAKAHASHI Yoshihiro From owner-cvs-src@FreeBSD.ORG Sat Apr 5 07:53:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDDE3106566C; Sat, 5 Apr 2008 07:53:53 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.freebsd.org (Postfix) with ESMTP id 4651D8FC1A; Sat, 5 Apr 2008 07:53:53 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m357rmnU026599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Apr 2008 18:53:50 +1100 Date: Sat, 5 Apr 2008 17:53:48 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Takahashi Yoshihiro In-Reply-To: <20080405.135051.193733780.nyan@jp.FreeBSD.org> Message-ID: <20080405171736.T4685@besplex.bde.org> References: <200803262009.m2QK9MAo082269@repoman.freebsd.org> <20080405.135051.193733780.nyan@jp.FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, phk@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/include clock.h timerreg.h src/sys/amd64/isa clock.c src/sys/dev/speaker spkr.c src/sys/dev/syscons syscons.c src/sys/i386/i386 trap.c src/sys/i386/include clock.h timerreg.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: Sat, 05 Apr 2008 07:53:53 -0000 On Sat, 5 Apr 2008, Takahashi Yoshihiro wrote: > In article <200803262009.m2QK9MAo082269@repoman.freebsd.org> > Poul-Henning Kamp writes: > >> In the other function, sc_bell() it seems to get the period from >> the KDMKTONE ioctl in terms if 1/1193182th second, so we hardcode >> the 1193182 and leave it at that. It's probably not important. > > PC98 uses the different frequency. It's 1996800 or 2457600. > Please see i8254_init(). The period of 1/1193182th seconds is part of the (broken as designed or implemented) KDMKTONE ioctl and/or the syscons bell escape sequence. Conversion to these units is broken almost everywhere. I use the following fix for this in kbdcontrol (except I actually use visual bell since I can't hear either bell without hearing aids. With hearing aids, I can hear the non-broken bell at 800 Hz but not the broken bell at 1193182/800 = 1491 Hz). IIRC, the default is a broken bell, with sc->bell_pitch = BELL_PITCH = 800. 800 is correct for the pitch, but it is passed without conversion to sysbeep(pitch, period), and sysbeep()'s pitch arg is actually the period in IBM-PC-i8254 cycles, while sysbeep()'s period arg actually is a period, but it is the period of the beep and is named better elsewhere as the duration of the beep. This for the i386 sysbeep(). IIRC, alpha and ia64 sysbeep()'s actually expected the pitch arg to be a pitch -- they inverted it and used to panic for division by 0 when the pitch was 0. The pcvt passed a "pitch" of 1493 IBM-PC-i8254 cycles to sysbeep(), so its default was correct. Magic numbers near 800 and 1491 (but rarely ones that actually give exactly 800 Hz) appeared in a few other places. E.g., i386/machdep.c had the the slightly different pitch 880 and scaled it with the slightly wrong scale TIMER_FREQ. The follow change converts to the syscons ABI in kbdcontrol, so that kbdcontrol actually sets the pitch in hertz as documented if the pitch is specified explicitly, but it preserves the broken default of a period of 800 cycles otherwise. (The units for these cycles are supposed to be 1/1193182th seconds, but they are in fact very machine-dependent, with alpha and ia64 inverting them and PC98 having a different timer frequency. 2457600/800 = 3072 Hz would be an even more unusual and harder to hear default beep frequency than 1491 Hz.) % Index: kbdcontrol.c % =================================================================== % RCS file: /home/ncvs/src/usr.sbin/kbdcontrol/kbdcontrol.c,v % retrieving revision 1.47 % diff -u -2 -r1.47 kbdcontrol.c % --- kbdcontrol.c 3 May 2003 21:06:37 -0000 1.47 % +++ kbdcontrol.c 4 May 2003 03:14:51 -0000 % @@ -903,5 +903,5 @@ % set_bell_values(char *opt) % { % - int bell, duration, pitch; % + int bell, duration, period, pitch; % % bell = 0; % @@ -910,10 +910,15 @@ % opt += 6; % } % - if (!strcmp(opt, "visual")) % + if (!strcmp(opt, "visual")) { % bell |= 1; % - else if (!strcmp(opt, "normal")) % - duration = 5, pitch = 800; % + duration = 0, period = 0; /* XXX */ % + } else if (!strcmp(opt, "normal")) % + /* % + * XXX the historical normal "pitch" of 800 Hz is actually % + * a period of 800 IBM-PC-i8254 cycles or 670 usec. % + */ % + duration = 5, period = 800; % else if (!strcmp(opt, "off")) % - duration = 0, pitch = 0; % + duration = 0, period = 0; /* XXX */ % else { % char *v1; % @@ -931,5 +936,17 @@ % } % if (pitch != 0) % - pitch = 1193182 / pitch; /* in Hz */ % + /* % + * XXX the boundary cases are broken. The kernel % + * silently truncates large periods modulo 0x10000 % + * (18.2 msec). I'm not sure what a period of 0 % + * does. % + */ % + period = 1193182 / pitch; /* in i8254 cycles */ % + else % + /* % + * A pitch of 0 should give a period of "infinity" % + * (actually 65535). But be bug for bug compatible. % + */ % + period = 0; % duration /= 10; /* in 10 m sec */ % } % @@ -937,5 +954,5 @@ % ioctl(0, CONS_BELLTYPE, &bell); % if ((bell & ~2) == 0) % - fprintf(stderr, "[=%d;%dB", pitch, duration); % + fprintf(stderr, "[=%d;%dB", period, duration); % } % Bruce From owner-cvs-src@FreeBSD.ORG Sat Apr 5 10:26:20 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA8ED106568B; Sat, 5 Apr 2008 10:26:20 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 785D48FC1B; Sat, 5 Apr 2008 10:26:20 +0000 (UTC) (envelope-from dfr@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 m35AQKcU099932; Sat, 5 Apr 2008 10:26:20 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35AQKoW099931; Sat, 5 Apr 2008 10:26:20 GMT (envelope-from dfr) Message-Id: <200804051026.m35AQKoW099931@repoman.freebsd.org> From: Doug Rabson Date: Sat, 5 Apr 2008 10:26: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/btxld btxld.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, 05 Apr 2008 10:26:20 -0000 dfr 2008-04-05 10:26:20 UTC FreeBSD src repository Modified files: usr.sbin/btxld btxld.c Log: Allow for a zero length 'loader'. Revision Changes Path 1.11 +2 -0 src/usr.sbin/btxld/btxld.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 14:21:02 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70D071065672; Sat, 5 Apr 2008 14:21:02 +0000 (UTC) (envelope-from takawata@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4988FC13; Sat, 5 Apr 2008 14:21:02 +0000 (UTC) (envelope-from takawata@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 m35EL2Xi026105; Sat, 5 Apr 2008 14:21:02 GMT (envelope-from takawata@repoman.freebsd.org) Received: (from takawata@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35EL2nW026104; Sat, 5 Apr 2008 14:21:02 GMT (envelope-from takawata) Message-Id: <200804051421.m35EL2nW026104@repoman.freebsd.org> From: Takanori Watanabe Date: Sat, 5 Apr 2008 14:21: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/sys/dev/acpica/Osd OsdSynch.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, 05 Apr 2008 14:21:02 -0000 takawata 2008-04-05 14:21:01 UTC FreeBSD src repository Modified files: sys/dev/acpica/Osd OsdSynch.c Log: GPE lock may recurse on resume path. Revision Changes Path 1.33 +1 -1 src/sys/dev/acpica/Osd/OsdSynch.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 15:03:29 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2BE2106566B; Sat, 5 Apr 2008 15:03:29 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0538FC16; Sat, 5 Apr 2008 15:03:29 +0000 (UTC) (envelope-from dfr@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 m35F3TbM029254; Sat, 5 Apr 2008 15:03:29 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35F3T9e029253; Sat, 5 Apr 2008 15:03:29 GMT (envelope-from dfr) Message-Id: <200804051503.m35F3T9e029253@repoman.freebsd.org> From: Doug Rabson Date: Sat, 5 Apr 2008 15:03: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/lib/libstand nfs.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, 05 Apr 2008 15:03:29 -0000 dfr 2008-04-05 15:03:29 UTC FreeBSD src repository Modified files: lib/libstand nfs.c Log: On i386, don't try to do network-type stuff if the device name is'nt pxeN. Revision Changes Path 1.13 +7 -0 src/lib/libstand/nfs.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 15:51:15 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A58F106566B; Sat, 5 Apr 2008 15:51:15 +0000 (UTC) (envelope-from ceri@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4231E8FC1E; Sat, 5 Apr 2008 15:51:15 +0000 (UTC) (envelope-from ceri@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 m35FpF8a031036; Sat, 5 Apr 2008 15:51:15 GMT (envelope-from ceri@repoman.freebsd.org) Received: (from ceri@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35FpFNq031035; Sat, 5 Apr 2008 15:51:15 GMT (envelope-from ceri) Message-Id: <200804051551.m35FpFNq031035@repoman.freebsd.org> From: Ceri Davies Date: Sat, 5 Apr 2008 15:51: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/tools/tools README X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Apr 2008 15:51:15 -0000 ceri 2008-04-05 15:51:14 UTC FreeBSD src repository Modified files: tools/tools README Log: Correct typo. Revision Changes Path 1.52 +1 -1 src/tools/tools/README From owner-cvs-src@FreeBSD.ORG Sat Apr 5 17:24:45 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83CB2106564A; Sat, 5 Apr 2008 17:24:45 +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 3D3438FC18; Sat, 5 Apr 2008 17:24:45 +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 m35HOjUe046351; Sat, 5 Apr 2008 17:24:45 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35HOiM3046350; Sat, 5 Apr 2008 17:24:44 GMT (envelope-from jhb) Message-Id: <200804051724.m35HOiM3046350@repoman.freebsd.org> From: John Baldwin Date: Sat, 5 Apr 2008 17:24: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/de if_de.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, 05 Apr 2008 17:24:45 -0000 jhb 2008-04-05 17:24:44 UTC FreeBSD src repository Modified files: sys/dev/de if_de.c Log: During attach on some de(4) adapters the driver sends out a test packet as part of detecting the media. Explicitly ensure that we don't send it to bpf(4) as bpf(4) isn't setup yet. This worked by accident before the bpf interface stuff was reworked to avoid other races (bpf_peers_present, etc.) but now it needs an explicit check to avoid a panic. MFC after: 3 days PR: kern/120915 Revision Changes Path 1.184 +6 -2 src/sys/dev/de/if_de.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 18:07:06 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 113201065675; Sat, 5 Apr 2008 18:07:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 236E88FC24; Sat, 5 Apr 2008 18:07:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 238053066-1834499 for multiple; Sat, 05 Apr 2008 14:07:51 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m35I6hZ3019241; Sat, 5 Apr 2008 14:07:01 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Takanori Watanabe Date: Sat, 5 Apr 2008 13:50:20 -0400 User-Agent: KMail/1.9.7 References: <200804051421.m35EL2nW026104@repoman.freebsd.org> In-Reply-To: <200804051421.m35EL2nW026104@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804051350.20354.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Sat, 05 Apr 2008 14:07:02 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6617/Sat Apr 5 12:28:01 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/acpica/Osd OsdSynch.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, 05 Apr 2008 18:07:06 -0000 On Saturday 05 April 2008 10:21:01 am Takanori Watanabe wrote: > takawata 2008-04-05 14:21:01 UTC > > FreeBSD src repository > > Modified files: > sys/dev/acpica/Osd OsdSynch.c > Log: > GPE lock may recurse on resume path. I think there were two PR's for this? I think it was the Global lock that got recursed on in at least one instance rather than the GPE lock too. It would be nice if we could only tag certain ACPI locks with recursion rather than all of them. :( -- John Baldwin From owner-cvs-src@FreeBSD.ORG Sat Apr 5 18:11:40 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BAB3106566B; Sat, 5 Apr 2008 18:11:40 +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 38A6A8FC0A; Sat, 5 Apr 2008 18:11:40 +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 m35IBe0s049252; Sat, 5 Apr 2008 18:11:40 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35IBeOi049251; Sat, 5 Apr 2008 18:11:40 GMT (envelope-from bmah) Message-Id: <200804051811.m35IBeOi049251@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sat, 5 Apr 2008 18:11: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/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: Sat, 05 Apr 2008 18:11:40 -0000 bmah 2008-04-05 18:11:39 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: New release notes: ULE default (+MFC), aac(4) >2TB volume support (+MFC), kernel-mode NLM, adduser(8) -M (+MFC), ls(1) -D, nc(1) -O, pkg_sign/pkg_check gone. MFCs noted: textdump(4), cmx(4), uslcom(4), Revision Changes Path 1.1084 +31 -4 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Sat Apr 5 18:19:07 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18684106566B; Sat, 5 Apr 2008 18:19:07 +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 CA6108FC0C; Sat, 5 Apr 2008 18:19:06 +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 m35IJ6H0049594; Sat, 5 Apr 2008 18:19:06 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35IJ61U049593; Sat, 5 Apr 2008 18:19:06 GMT (envelope-from bmah) Message-Id: <200804051819.m35IJ61U049593@repoman.freebsd.org> From: "Bruce A. Mah" Date: Sat, 5 Apr 2008 18:19:06 +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: Sat, 05 Apr 2008 18:19:07 -0000 bmah 2008-04-05 18:19:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: BTX real mode, tzdata2008b. Revision Changes Path 1.22.2.448 +6 -1 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Sat Apr 5 19:40:07 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B89B41065672; Sat, 5 Apr 2008 19:40:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5B3E28FC0C; Sat, 5 Apr 2008 19:40:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 859BC41C758; Sat, 5 Apr 2008 21:40:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id h8wzs4EqtNqT; Sat, 5 Apr 2008 21:40:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 3623C41C751; Sat, 5 Apr 2008 21:40:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id A34EF44487F; Sat, 5 Apr 2008 19:40:02 +0000 (UTC) Date: Sat, 5 Apr 2008 19:40:02 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Greg Lehey In-Reply-To: <200804040357.m343vlQ8083007@repoman.freebsd.org> Message-ID: <20080405193851.J66744@maildrop.int.zabbadoz.net> References: <200804040357.m343vlQ8083007@repoman.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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/bin/ls ls.1 ls.c ls.h print.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, 05 Apr 2008 19:40:07 -0000 On Fri, 4 Apr 2008, Greg Lehey wrote: > grog 2008-04-04 03:57:47 UTC > > FreeBSD src repository > > Modified files: > bin/ls ls.1 ls.c ls.h print.c > Log: > Add -D option to specify exact format of date and time output with ls -l. > > Revision Changes Path > 1.101 +28 -6 src/bin/ls/ls.1 > 1.86 +6 -2 src/bin/ls/ls.c > 1.23 +2 -1 src/bin/ls/ls.h > 1.77 +10 -7 src/bin/ls/print.c I think something went wrong here. Could you please fix this. Thanks. bz@dopt:/local/building/freebsd/HEAD/bin/ls> ll total 80 drwxr-xr-x 2 bz wheel 512 Apr 5 15:18 CVS/ -rw-r--r-- 1 bz wheel 300 May 25 2004 Makefile -rw-r--r-- 1 bz wheel 4803 Mar 24 2006 cmp.c -rw-r--r-- 1 bz wheel 2852 Mar 24 2006 extern.h ^^^^ -rw-r--r-- 1 bz wheel 16646 Apr 5 15:18 ls.1 -rw-r--r-- 1 bz wheel 22427 Apr 5 15:18 ls.c -rw-r--r-- 1 bz wheel 3335 Apr 5 15:18 ls.h -rw-r--r-- 1 bz wheel 15078 Apr 5 15:18 print.c -rw-r--r-- 1 bz wheel 5647 Apr 5 15:18 util.c -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time. From owner-cvs-src@FreeBSD.ORG Sat Apr 5 19:58:30 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15171065670; Sat, 5 Apr 2008 19:58: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 AAF798FC0C; Sat, 5 Apr 2008 19:58: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 m35JwUui054032; Sat, 5 Apr 2008 19:58:30 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35JwUhb054031; Sat, 5 Apr 2008 19:58:30 GMT (envelope-from jhb) Message-Id: <200804051958.m35JwUhb054031@repoman.freebsd.org> From: John Baldwin Date: Sat, 5 Apr 2008 19:58: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/sys/amd64/amd64 intr_machdep.c src/sys/arm/arm intr.c src/sys/i386/i386 intr_machdep.c src/sys/ia64/ia64 interrupt.c src/sys/kern kern_intr.c src/sys/powerpc/powerpc intr_machdep.c src/sys/sparc64/sparc64 intr_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: Sat, 05 Apr 2008 19:58:30 -0000 jhb 2008-04-05 19:58:30 UTC FreeBSD src repository Modified files: sys/amd64/amd64 intr_machdep.c sys/arm/arm intr.c sys/i386/i386 intr_machdep.c sys/ia64/ia64 interrupt.c sys/kern kern_intr.c sys/powerpc/powerpc intr_machdep.c sys/sparc64/sparc64 intr_machdep.c sys/sun4v/sun4v intr_machdep.c sys/sys interrupt.h Log: Add a MI intr_event_handle() routine for the non-INTR_FILTER case. This allows all the INTR_FILTER #ifdef's to be removed from the MD interrupt code. - Rename the intr_event 'eoi', 'disable', and 'enable' hooks to 'post_filter', 'pre_ithread', and 'post_ithread' to be less x86-centric. Also, add a comment describe what the MI code expects them to do. - On amd64, i386, and powerpc this is effectively a NOP. - On arm, don't bother masking the interrupt unless the ithread is scheduled in the non-INTR_FILTER case to match what INTR_FILTER did. Also, don't bother unmasking the interrupt in the post_filter case if we never masked it. The INTR_FILTER case had been doing this by having arm_unmask_irq for the post_filter (formerly 'eoi') hook. - On ia64, stray interrupts are now masked for the non-INTR_FILTER case. They were already masked in the INTR_FILTER case. - On sparc64, use the a NULL pre_ithread hook and use intr_enable_eoi() for both the 'post_filter' and 'post_ithread' hooks to match what the non-INTR_FILTER code did. - On sun4v, retire the ithread wrapper hack by using an appropriate 'post_ithread' hook instead (it's what 'post_ithread'/'enable' was designed to do even in 5.x). Glanced at by: piso Reviewed by: marius Requested by: marius [1], [5] Tested on: amd64, i386, arm, sparc64 Revision Changes Path 1.40 +2 -111 src/sys/amd64/amd64/intr_machdep.c 1.20 +3 -43 src/sys/arm/arm/intr.c 1.35 +2 -121 src/sys/i386/i386/intr_machdep.c 1.65 +4 -46 src/sys/ia64/ia64/interrupt.c 1.160 +105 -21 src/sys/kern/kern_intr.c 1.20 +1 -45 src/sys/powerpc/powerpc/intr_machdep.c 1.31 +3 -51 src/sys/sparc64/sparc64/intr_machdep.c 1.10 +14 -79 src/sys/sun4v/sun4v/intr_machdep.c 1.40 +34 -17 src/sys/sys/interrupt.h From owner-cvs-src@FreeBSD.ORG Sat Apr 5 20:13:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5373106566B; Sat, 5 Apr 2008 20:13: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 A98F58FC20; Sat, 5 Apr 2008 20:13: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 m35KDGb3055726; Sat, 5 Apr 2008 20:13:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35KDGJ0055725; Sat, 5 Apr 2008 20:13:16 GMT (envelope-from jhb) Message-Id: <200804052013.m35KDGJ0055725@repoman.freebsd.org> From: John Baldwin Date: Sat, 5 Apr 2008 20:13: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/conf options src/sys/dev/asmc asmc.c 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: Sat, 05 Apr 2008 20:13:17 -0000 jhb 2008-04-05 20:13:15 UTC FreeBSD src repository Modified files: sys/conf options sys/dev/asmc asmc.c sys/kern kern_intr.c Log: Move INTR_FILTER from opt_global.h to its own header. Revision Changes Path 1.624 +1 -1 src/sys/conf/options 1.3 +2 -0 src/sys/dev/asmc/asmc.c 1.161 +1 -0 src/sys/kern/kern_intr.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 20:36:21 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 276101065671 for ; Sat, 5 Apr 2008 20:36:21 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id BE50E8FC15 for ; Sat, 5 Apr 2008 20:36:20 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so1116670pyb.10 for ; Sat, 05 Apr 2008 13:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=elqlY1RJ0s87GPZd+b0QOpKCJaV2lDDXWCcglPwZpOc=; b=vTMd3ysRGDmp4e5psIO/CQkTxbNuR5Vizo4gpwq1rSkngnFH/sMnMTcj15E68+nHVMdoS9ue7Ygj+u5pNn278lxwwm1P6pj4qOFH9MiexCXYuArIJiqs+JOvtC1Z6Tb9UMr1G0YsejlxH9oF6CwiPVkKqUWl8ZzioSnV1hESW8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=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=b0zcTPKop37v7iduJib7p+3oZoJZQEbEWeclPnV7XVlB835hVlXMOnQRdgJh91AT2W1NxpgsUvEQ2ihSNtN/Gpp6VdQFsNINl0wBJ05zDf/So8OAocdqDQWKQPOGanZSjyooLRTFriMLrgc8g6EZmRYDs4i42K8fXAB+9eUph0I= Received: by 10.35.95.1 with SMTP id x1mr5208737pyl.59.1207426189401; Sat, 05 Apr 2008 13:09:49 -0700 (PDT) Received: by 10.35.38.6 with HTTP; Sat, 5 Apr 2008 13:09:49 -0700 (PDT) Message-ID: Date: Sat, 5 Apr 2008 22:09:49 +0200 From: "Antoine Brodin" Sender: antoine.brodin.freebsd@gmail.com To: "Bjoern A. Zeeb" In-Reply-To: <20080405193851.J66744@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804040357.m343vlQ8083007@repoman.freebsd.org> <20080405193851.J66744@maildrop.int.zabbadoz.net> X-Google-Sender-Auth: b63a68afe6b77239 Cc: Greg Lehey , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/bin/ls ls.1 ls.c ls.h print.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, 05 Apr 2008 20:36:21 -0000 On Sat, Apr 5, 2008 at 9:40 PM, Bjoern A. Zeeb wrote: > On Fri, 4 Apr 2008, Greg Lehey wrote: > > grog 2008-04-04 03:57:47 UTC > > > > FreeBSD src repository > > > > Modified files: > > bin/ls ls.1 ls.c ls.h print.c > > Log: > > Add -D option to specify exact format of date and time output with ls -l. > > > > Revision Changes Path > > 1.101 +28 -6 src/bin/ls/ls.1 > > 1.86 +6 -2 src/bin/ls/ls.c > > 1.23 +2 -1 src/bin/ls/ls.h > > 1.77 +10 -7 src/bin/ls/print.c > > > > I think something went wrong here. Could you please fix this. Thanks. > > bz@dopt:/local/building/freebsd/HEAD/bin/ls> ll > total 80 > drwxr-xr-x 2 bz wheel 512 Apr 5 15:18 CVS/ > -rw-r--r-- 1 bz wheel 300 May 25 2004 Makefile > -rw-r--r-- 1 bz wheel 4803 Mar 24 2006 cmp.c > -rw-r--r-- 1 bz wheel 2852 Mar 24 2006 extern.h > ^^^^ > -rw-r--r-- 1 bz wheel 16646 Apr 5 15:18 ls.1 > -rw-r--r-- 1 bz wheel 22427 Apr 5 15:18 ls.c > -rw-r--r-- 1 bz wheel 3335 Apr 5 15:18 ls.h > -rw-r--r-- 1 bz wheel 15078 Apr 5 15:18 print.c > -rw-r--r-- 1 bz wheel 5647 Apr 5 15:18 util.c The problem is that there is a tab instead of a space lines 171 and 391 of print.c Cheers, Antoine From owner-cvs-src@FreeBSD.ORG Sat Apr 5 20:46:02 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B6F3106566C; Sat, 5 Apr 2008 20:46:02 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from gw.sandvine.com (gw.sandvine.com [199.243.201.138]) by mx1.freebsd.org (Postfix) with ESMTP id 266878FC17; Sat, 5 Apr 2008 20:46:02 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 5 Apr 2008 16:34:00 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id 528ED11618; Sat, 5 Apr 2008 16:34:00 -0400 (EDT) Date: Sat, 5 Apr 2008 16:34:00 -0400 From: Ed Maste To: John Baldwin Message-ID: <20080405203400.GA89620@sandvine.com> References: <200804051421.m35EL2nW026104@repoman.freebsd.org> <200804051350.20354.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804051350.20354.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 05 Apr 2008 20:34:00.0517 (UTC) FILETIME=[614B4F50:01C8975C] Cc: Takanori Watanabe , src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/dev/acpica/Osd OsdSynch.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, 05 Apr 2008 20:46:02 -0000 On Sat, Apr 05, 2008 at 01:50:20PM -0400, John Baldwin wrote: > On Saturday 05 April 2008 10:21:01 am Takanori Watanabe wrote: > > takawata 2008-04-05 14:21:01 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/acpica/Osd OsdSynch.c > > Log: > > GPE lock may recurse on resume path. > > I think there were two PR's for this? I think it was the Global lock that got > recursed on in at least one instance rather than the GPE lock too. It would > be nice if we could only tag certain ACPI locks with recursion rather than > all of them. :( The PRs I'm aware of are kern/114649 and kern/114113. -Ed From owner-cvs-src@FreeBSD.ORG Sat Apr 5 21:26:28 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544501065670; Sat, 5 Apr 2008 21:26:28 +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 1CD918FC15; Sat, 5 Apr 2008 21:26:28 +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 m35LQScI068589; Sat, 5 Apr 2008 21:26:28 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35LQR4Z068588; Sat, 5 Apr 2008 21:26:27 GMT (envelope-from imp) Message-Id: <200804052126.m35LQR4Z068588@repoman.freebsd.org> From: Warner Losh Date: Sat, 5 Apr 2008 21:26: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/bin/ls print.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, 05 Apr 2008 21:26:28 -0000 imp 2008-04-05 21:26:25 UTC FreeBSD src repository Modified files: bin/ls print.c Log: Turn a tab into a space. This fixes a misalignment for ls -l. Tabs Noticed by: Antoine Brodin Revision Changes Path 1.78 +2 -2 src/bin/ls/print.c From owner-cvs-src@FreeBSD.ORG Sat Apr 5 21:51:12 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BCC1106564A; Sat, 5 Apr 2008 21:51:12 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 14FA18FC23; Sat, 5 Apr 2008 21:51:12 +0000 (UTC) (envelope-from cognet@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 m35LpB7O069540; Sat, 5 Apr 2008 21:51:11 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35LpBE2069539; Sat, 5 Apr 2008 21:51:11 GMT (envelope-from cognet) Message-Id: <200804052151.m35LpBE2069539@repoman.freebsd.org> From: Olivier Houchard Date: Sat, 5 Apr 2008 21:51: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/sys/arm/xscale/i8134x files.i81342 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Apr 2008 21:51:12 -0000 cognet 2008-04-05 21:51:11 UTC FreeBSD src repository Modified files: sys/arm/xscale/i8134x files.i81342 Log: Add bus_space_generic.c for the i81342 as well. Revision Changes Path 1.2 +1 -0 src/sys/arm/xscale/i8134x/files.i81342 From owner-cvs-src@FreeBSD.ORG Sat Apr 5 21:57:11 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED8F8106566B; Sat, 5 Apr 2008 21:57:11 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B60F88FC20; Sat, 5 Apr 2008 21:57:11 +0000 (UTC) (envelope-from cognet@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 m35LvB4Y069762; Sat, 5 Apr 2008 21:57:11 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m35LvBpt069761; Sat, 5 Apr 2008 21:57:11 GMT (envelope-from cognet) Message-Id: <200804052157.m35LvBpt069761@repoman.freebsd.org> From: Olivier Houchard Date: Sat, 5 Apr 2008 21:57: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/sys/arm/xscale/i80321 files.ep80219 files.iq31244 src/sys/arm/xscale/ixp425 files.avila X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Apr 2008 21:57:12 -0000 cognet 2008-04-05 21:57:11 UTC FreeBSD src repository Modified files: sys/arm/xscale/i80321 files.ep80219 files.iq31244 sys/arm/xscale/ixp425 files.avila Log: Remove bus_space_generic.c from the per-plarform files. Having it in the per-cpu files should be enough. Revision Changes Path 1.3 +0 -1 src/sys/arm/xscale/i80321/files.ep80219 1.4 +0 -1 src/sys/arm/xscale/i80321/files.iq31244 1.4 +0 -1 src/sys/arm/xscale/ixp425/files.avila