From owner-cvs-src@FreeBSD.ORG Sun Mar 2 00:52: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 545ED106567A; Sun, 2 Mar 2008 00:52:50 +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 418688FC15; Sun, 2 Mar 2008 00:52:50 +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 m220qoWt003759; Sun, 2 Mar 2008 00:52:50 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m220qoYi003758; Sun, 2 Mar 2008 00:52:50 GMT (envelope-from marcel) Message-Id: <200803020052.m220qoYi003758@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 2 Mar 2008 00:52: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/conf files options src/sys/geom/part g_part_vtoc8.c src/sys/sys vtoc.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, 02 Mar 2008 00:52:50 -0000 marcel 2008-03-02 00:52:49 UTC FreeBSD src repository Modified files: sys/conf files options Added files: sys/geom/part g_part_vtoc8.c sys/sys vtoc.h Log: Add support for VTOC8 labels (aka sun disk labels). When a label does not have VTOC information about the partitions, it will be created. This is because the VTOC information is used for the partition type and FreeBSD's sunlabel(8) does not create nor use VTOC information. For this purpose, new tags have been added to support FreeBSD's partition types. Revision Changes Path 1.1274 +1 -0 src/sys/conf/files 1.619 +1 -0 src/sys/conf/options 1.1 +480 -0 src/sys/geom/part/g_part_vtoc8.c (new) 1.1 +106 -0 src/sys/sys/vtoc.h (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 2 01:35: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 328ED1065670; Sun, 2 Mar 2008 01:35:38 +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 0677E8FC15; Sun, 2 Mar 2008 01:35:38 +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 m221ZbC6006288; Sun, 2 Mar 2008 01:35:37 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m221Zbfo006287; Sun, 2 Mar 2008 01:35:37 GMT (envelope-from obrien) Message-Id: <200803020135.m221Zbfo006287@repoman.freebsd.org> From: "David E. O'Brien" Date: Sun, 2 Mar 2008 01:35: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/ufs/ufs ufs_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: Sun, 02 Mar 2008 01:35:38 -0000 obrien 2008-03-02 01:35:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/ufs/ufs ufs_vnops.c Log: MFC: rev 1.278: correct typo in comment. Also sync comment layout changes and spelling fixes. Revision Changes Path 1.271.2.11 +7 -7 src/sys/ufs/ufs/ufs_vnops.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 01:47: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 D7FBA1065673; Sun, 2 Mar 2008 01:47: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 AC5788FC15; Sun, 2 Mar 2008 01:47: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 m221lww6006660; Sun, 2 Mar 2008 01:47:58 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m221lwG0006659; Sun, 2 Mar 2008 01:47:58 GMT (envelope-from das) Message-Id: <200803020147.m221lwG0006659@repoman.freebsd.org> From: David Schultz Date: Sun, 2 Mar 2008 01:47: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/lib/msun/src e_sqrt.c e_sqrtl.c math.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, 02 Mar 2008 01:47:59 -0000 das 2008-03-02 01:47:58 UTC FreeBSD src repository Modified files: lib/msun/src e_sqrt.c math.h Added files: lib/msun/src e_sqrtl.c Log: MI implementation of sqrtl(). This is very slow and should be overridden when hardware sqrt is available. Revision Changes Path 1.11 +8 -3 src/lib/msun/src/e_sqrt.c 1.1 +159 -0 src/lib/msun/src/e_sqrtl.c (new) 1.70 +1 -1 src/lib/msun/src/math.h From owner-cvs-src@FreeBSD.ORG Sun Mar 2 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 37E681065670; Sun, 2 Mar 2008 01:48:09 +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 0B4E38FC17; Sun, 2 Mar 2008 01:48:09 +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 m221m8so006714; Sun, 2 Mar 2008 01:48:08 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m221m8wv006713; Sun, 2 Mar 2008 01:48:08 GMT (envelope-from das) Message-Id: <200803020148.m221m8wv006713@repoman.freebsd.org> From: David Schultz Date: Sun, 2 Mar 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/lib/msun/amd64 e_sqrtl.S src/lib/msun/i387 e_sqrtl.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, 02 Mar 2008 01:48:09 -0000 das 2008-03-02 01:48:08 UTC FreeBSD src repository Added files: lib/msun/amd64 e_sqrtl.S lib/msun/i387 e_sqrtl.S Log: MD implementations of sqrtl(). Revision Changes Path 1.1 +33 -0 src/lib/msun/amd64/e_sqrtl.S (new) 1.1 +43 -0 src/lib/msun/i387/e_sqrtl.S (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 2 01:48: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 4ED3010656C6; Sun, 2 Mar 2008 01:48:23 +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 C999A8FC25; Sun, 2 Mar 2008 01:48:17 +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 m221mHX3006807; Sun, 2 Mar 2008 01:48:17 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m221mHaI006806; Sun, 2 Mar 2008 01:48:17 GMT (envelope-from das) Message-Id: <200803020148.m221mHaI006806@repoman.freebsd.org> From: David Schultz Date: Sun, 2 Mar 2008 01:48: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/msun Makefile Symbol.map src/lib/msun/amd64 Makefile.inc src/lib/msun/i387 Makefile.inc src/lib/msun/man sqrt.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, 02 Mar 2008 01:48:23 -0000 das 2008-03-02 01:48:17 UTC FreeBSD src repository Modified files: lib/msun Makefile Symbol.map lib/msun/amd64 Makefile.inc lib/msun/i387 Makefile.inc lib/msun/man sqrt.3 Log: Hook up sqrtl() to the build. Revision Changes Path 1.90 +2 -2 src/lib/msun/Makefile 1.15 +1 -0 src/lib/msun/Symbol.map 1.9 +1 -1 src/lib/msun/amd64/Makefile.inc 1.12 +1 -1 src/lib/msun/i387/Makefile.inc 1.15 +19 -9 src/lib/msun/man/sqrt.3 From owner-cvs-src@FreeBSD.ORG Sun Mar 2 01:55: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 93CE91065670; Sun, 2 Mar 2008 01:55:24 +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 39ABC8FC13; Sun, 2 Mar 2008 01:55:24 +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 m221tnwM050768; Sat, 1 Mar 2008 20:55:49 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m221tnwA050767; Sat, 1 Mar 2008 20:55:49 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Sat, 1 Mar 2008 20:55:49 -0500 From: David Schultz To: src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20080302015549.GA50747@zim.MIT.EDU> Mail-Followup-To: src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803020147.m221lwG0006659@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803020147.m221lwG0006659@repoman.freebsd.org> Cc: Subject: Re: cvs commit: src/lib/msun/src e_sqrt.c e_sqrtl.c math.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, 02 Mar 2008 01:55:24 -0000 On Sun, Mar 02, 2008, David Schultz wrote: > das 2008-03-02 01:47:58 UTC > > FreeBSD src repository > > Modified files: > lib/msun/src e_sqrt.c math.h > Added files: > lib/msun/src e_sqrtl.c > Log: > MI implementation of sqrtl(). This is very slow and should > be overridden when hardware sqrt is available. Submitted by: Steve Kargl (earlier version) From owner-cvs-src@FreeBSD.ORG Sun Mar 2 03:11: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 661281065671; Sun, 2 Mar 2008 03:11:49 +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 3AC268FC28; Sun, 2 Mar 2008 03:11:49 +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 m223BnVZ015736; Sun, 2 Mar 2008 03:11:49 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m223BnEn015735; Sun, 2 Mar 2008 03:11:49 GMT (envelope-from obrien) Message-Id: <200803020311.m223BnEn015735@repoman.freebsd.org> From: "David E. O'Brien" Date: Sun, 2 Mar 2008 03:11:48 +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/contrib/cvs/src log.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 03:11:49 -0000 obrien 2008-03-02 03:11:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) contrib/cvs/src log.c Log: MFC: rev 1.3: '-n' option which is the opposite of '-N'. Revision Changes Path 1.2.8.1 +10 -2 src/contrib/cvs/src/log.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 05:54: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 8D2A21065671; Sun, 2 Mar 2008 05:54:34 +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 64DB78FC1E; Sun, 2 Mar 2008 05:54:34 +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 m225sY0V032514; Sun, 2 Mar 2008 05:54:34 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m225sYci032513; Sun, 2 Mar 2008 05:54:34 GMT (envelope-from marcel) Message-Id: <200803020554.m225sYci032513@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 2 Mar 2008 05:54: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/modules/geom Makefile src/sys/modules/geom/geom_part 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, 02 Mar 2008 05:54:34 -0000 marcel 2008-03-02 05:54:34 UTC FreeBSD src repository Modified files: sys/modules/geom Makefile Added files: sys/modules/geom/geom_part Makefile Log: Add geom_part module. Revision Changes Path 1.23 +1 -0 src/sys/modules/geom/Makefile 1.1 +18 -0 src/sys/modules/geom/geom_part/Makefile (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 2 05:59: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 AB6D31065670; Sun, 2 Mar 2008 05:59:25 +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 827AD8FC18; Sun, 2 Mar 2008 05:59:25 +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 m225xPgM032744; Sun, 2 Mar 2008 05:59:25 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m225xPWx032743; Sun, 2 Mar 2008 05:59:25 GMT (envelope-from marcel) Message-Id: <200803020559.m225xPWx032743@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 2 Mar 2008 05:59:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/modules/geom/geom_apple Makefile src/sys/modules/geom/geom_gpt 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, 02 Mar 2008 05:59:25 -0000 marcel 2008-03-02 05:59:25 UTC FreeBSD src repository Removed files: sys/modules/geom/geom_apple Makefile sys/modules/geom/geom_gpt Makefile Log: Remove makefiles for geom_apple and geom_gpt. These are non-existent for while. Revision Changes Path 1.2 +0 -8 src/sys/modules/geom/geom_apple/Makefile (dead) 1.2 +0 -8 src/sys/modules/geom/geom_gpt/Makefile (dead) From owner-cvs-src@FreeBSD.ORG Sun Mar 2 06:24: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 CBD0D106566B; Sun, 2 Mar 2008 06:24:29 +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 A48598FC17; Sun, 2 Mar 2008 06:24:29 +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 m226OT0q035163; Sun, 2 Mar 2008 06:24:29 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m226OTgn035162; Sun, 2 Mar 2008 06:24:29 GMT (envelope-from marcel) Message-Id: <200803020624.m226OTgn035162@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 2 Mar 2008 06:24:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/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: Sun, 02 Mar 2008 06:24:30 -0000 marcel 2008-03-02 06:24:29 UTC FreeBSD src repository Modified files: sys/conf NOTES Log: Add the SMI VTOC8 disk label option. Revision Changes Path 1.1472 +1 -0 src/sys/conf/NOTES From owner-cvs-src@FreeBSD.ORG Sun Mar 2 06:33: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 51E011065679; Sun, 2 Mar 2008 06:33:11 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2ADC38FC25; Sun, 2 Mar 2008 06:33:11 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m226XBRN035508; Sun, 2 Mar 2008 06:33:11 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from jkoshy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m226XBZZ035507; Sun, 2 Mar 2008 06:33:11 GMT (envelope-from jkoshy) Message-Id: <200803020633.m226XBZZ035507@repoman.freebsd.org> From: Joseph Koshy Date: Sun, 2 Mar 2008 06:33: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/libelf gelf_rel.c gelf_rela.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 06:33:11 -0000 jkoshy 2008-03-02 06:33:11 UTC FreeBSD src repository Modified files: lib/libelf gelf_rel.c gelf_rela.c Log: Translate the r_info field of ELF relocation records when converting between 64 and 32 bit variants. Submitted by: kaiw Revision Changes Path 1.2 +11 -2 src/lib/libelf/gelf_rel.c 1.2 +12 -2 src/lib/libelf/gelf_rela.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:01: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 3B9D5106566B; Sun, 2 Mar 2008 07:01:02 +0000 (UTC) (envelope-from kaiw@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 155388FC26; Sun, 2 Mar 2008 07:01:02 +0000 (UTC) (envelope-from kaiw@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22711K4036542; Sun, 2 Mar 2008 07:01:01 GMT (envelope-from kaiw@repoman.freebsd.org) Received: (from kaiw@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227115K036541; Sun, 2 Mar 2008 07:01:01 GMT (envelope-from kaiw) Message-Id: <200803020701.m227115K036541@repoman.freebsd.org> From: Kai Wang Date: Sun, 2 Mar 2008 07:01:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/ar write.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 07:01:02 -0000 kaiw 2008-03-02 07:01:01 UTC FreeBSD src repository Modified files: usr.bin/ar write.c Log: - Do not malloc buffer for 0-size member when reading from archive. - Fix a malloc buffer overrun: Use a while loop to check whether the string buffer is big enough after resizing, since doubling once might not be enough when a very long member name or symbol name is provided. - Fix typo. Reported by: Michael Plass Tested by: Michael Plass Reviewed by: jkoshy Approved by: jkoshy Revision Changes Path 1.4 +17 -11 src/usr.bin/ar/write.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:19: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 E17B31065671; Sun, 2 Mar 2008 07:19:35 +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 BAD908FC20; Sun, 2 Mar 2008 07:19:35 +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 m227JZZn038265; Sun, 2 Mar 2008 07:19:35 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227JZhe038264; Sun, 2 Mar 2008 07:19:35 GMT (envelope-from jeff) Message-Id: <200803020719.m227JZhe038264@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 07:19:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys sched.h src/sys/kern sched_4bsd.c sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 07:19:36 -0000 jeff 2008-03-02 07:19:35 UTC FreeBSD src repository Modified files: sys/sys sched.h sys/kern sched_4bsd.c sched_ule.c Log: - Add a new sched_affinity() api to be used in the upcoming cpuset implementation. - Add empty implementations of sched_affinity() to 4BSD and ULE. Sponsored by: Nokia Revision Changes Path 1.113 +5 -0 src/sys/kern/sched_4bsd.c 1.224 +5 -0 src/sys/kern/sched_ule.c 1.34 +2 -1 src/sys/sys/sched.h From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:39: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 AF5771065670; Sun, 2 Mar 2008 07:39:23 +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 A12C28FC15; Sun, 2 Mar 2008 07:39:23 +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 m227dNj6039428; Sun, 2 Mar 2008 07:39:23 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227dNLe039427; Sun, 2 Mar 2008 07:39:23 GMT (envelope-from jeff) Message-Id: <200803020739.m227dNLe039427@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 07:39: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/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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, 02 Mar 2008 07:39:23 -0000 jeff 2008-03-02 07:39:22 UTC FreeBSD src repository Modified files: sys/conf files sys/kern init_main.c kern_thread.c syscalls.master sys/sys _types.h types.h proc.h lib/libc/sys Symbol.map Added files: sys/kern kern_cpuset.c sys/sys cpuset.h Log: Add cpuset, an api for thread to cpu binding and cpu resource grouping and assignment. - Add a reference to a struct cpuset in each thread that is inherited from the thread that created it. - Release the reference when the thread is destroyed. - Add prototypes for syscalls and macros for manipulating cpusets in sys/cpuset.h - Add syscalls to create, get, and set new numbered cpusets: cpuset(), cpuset_{get,set}id() - Add syscalls for getting and setting affinity masks for cpusets or individual threads: cpuid_{get,set}affinity() - Add types for the 'level' and 'which' parameters for the cpuset. This will permit expansion of the api to cover cpu masks for other objects identifiable with an id_t integer. For example, IRQs and Jails may be coming soon. - The root set 0 contains all valid cpus. All thread initially belong to cpuset 1. This permits migrating all threads off of certain cpus to reserve them for special applications. Sponsored by: Nokia Discussed with: arch, rwatson, brooks, davidxu, deischen Reviewed by: antoine Revision Changes Path 1.10 +15 -0 src/lib/libc/sys/Symbol.map 1.1275 +1 -0 src/sys/conf/files 1.291 +2 -0 src/sys/kern/init_main.c 1.1 +907 -0 src/sys/kern/kern_cpuset.c (new) 1.266 +5 -1 src/sys/kern/kern_thread.c 1.238 +13 -0 src/sys/kern/syscalls.master 1.24 +3 -0 src/sys/sys/_types.h 1.1 +146 -0 src/sys/sys/cpuset.h (new) 1.504 +2 -1 src/sys/sys/proc.h 1.98 +4 -0 src/sys/sys/types.h From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:41: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 1B0A41065676; Sun, 2 Mar 2008 07:41:11 +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 DAAEC8FC1C; Sun, 2 Mar 2008 07:41:10 +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 m227fAeK039645; Sun, 2 Mar 2008 07:41:10 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227fAoJ039644; Sun, 2 Mar 2008 07:41:10 GMT (envelope-from jeff) Message-Id: <200803020741.m227fAoJ039644@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 07:41: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/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: Sun, 02 Mar 2008 07:41:11 -0000 jeff 2008-03-02 07:41:10 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 for cpuset Sponsored by: Nokia Revision Changes Path 1.234 +6 -1 src/sys/kern/init_sysent.c 1.218 +6 -1 src/sys/kern/syscalls.c 1.18 +48 -0 src/sys/kern/systrace_args.c 1.215 +7 -2 src/sys/sys/syscall.h 1.170 +7 -2 src/sys/sys/syscall.mk 1.219 +39 -1 src/sys/sys/sysproto.h From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:51: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 230781065670; Sun, 2 Mar 2008 07:51: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 F13EB8FC20; Sun, 2 Mar 2008 07:51:29 +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 m227pTud040062; Sun, 2 Mar 2008 07:51:29 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227pTiI040061; Sun, 2 Mar 2008 07:51:29 GMT (envelope-from jeff) Message-Id: <200803020751.m227pTiI040061@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 07:51: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/usr.bin/cpuset Makefile 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, 02 Mar 2008 07:51:30 -0000 jeff 2008-03-02 07:51:29 UTC FreeBSD src repository Added files: usr.bin/cpuset Makefile cpuset.c Log: Add a simple utility for manipulating cpusets. Man page will be available soon. - Lists of cpus may be specified with -l with ranges specified as low-high and commas between individual cpus and ranges. ie -l 0-2,4,6-8. - cpuset can modified -p pids, -t tids, or -s cpusetids. - cpuset can -g get the current mask for any of the above. Sponsored by: Nokia Revision Changes Path 1.1 +7 -0 src/usr.bin/cpuset/Makefile (new) 1.1 +328 -0 src/usr.bin/cpuset/cpuset.c (new) From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:52: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 D4A541065672; Sun, 2 Mar 2008 07:52:26 +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 AF81C8FC19; Sun, 2 Mar 2008 07:52:26 +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 m227qQbF040102; Sun, 2 Mar 2008 07:52:26 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227qQPv040101; Sun, 2 Mar 2008 07:52:26 GMT (envelope-from jeff) Message-Id: <200803020752.m227qQPv040101@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 07:52: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/usr.bin 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, 02 Mar 2008 07:52:27 -0000 jeff 2008-03-02 07:52:26 UTC FreeBSD src repository Modified files: usr.bin Makefile Log: - Add cpuset to the build. Sponsored by: Nokia Revision Changes Path 1.311 +1 -0 src/usr.bin/Makefile From owner-cvs-src@FreeBSD.ORG Sun Mar 2 07:58: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 881DF106566B; Sun, 2 Mar 2008 07:58:42 +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 799D68FC19; Sun, 2 Mar 2008 07:58:42 +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 m227wgtl040484; Sun, 2 Mar 2008 07:58:42 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m227wgH9040483; Sun, 2 Mar 2008 07:58:42 GMT (envelope-from jeff) Message-Id: <200803020758.m227wgH9040483@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 07:58: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/amd64/amd64 identcpu.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 identcpu.c mp_machdep.c src/sys/i386/include smp.h src/sys/ia64/ia64 mp_machdep.c src/sys/kern sched_ule.c subr_smp.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 07:58:42 -0000 jeff 2008-03-02 07:58:42 UTC FreeBSD src repository Modified files: sys/amd64/amd64 identcpu.c mp_machdep.c sys/amd64/include smp.h sys/i386/i386 identcpu.c mp_machdep.c sys/i386/include smp.h sys/ia64/ia64 mp_machdep.c sys/kern sched_ule.c subr_smp.c sys/powerpc/powerpc mp_machdep.c sys/sparc64/sparc64 mp_machdep.c sys/sun4v/sun4v mp_machdep.c sys/sys smp.h Log: - Remove the old smp cpu topology specification with a new, more flexible tree structure that encodes the level of cache sharing and other properties. - Provide several convenience functions for creating one and two level cpu trees as well as a default flat topology. The system now always has some topology. - On i386 and amd64 create a seperate level in the hierarchy for HTT and multi-core cpus. This will allow the scheduler to intelligently load balance non-uniform cores. Presently we don't detect what level of the cache hierarchy is shared at each level in the topology. - Add a mechanism for testing common topologies that have more information than the MD code is able to provide via the kern.smp.topology tunable. This should be considered a debugging tool only and not a stable api. Sponsored by: Nokia Revision Changes Path 1.158 +7 -1 src/sys/amd64/amd64/identcpu.c 1.288 +30 -41 src/sys/amd64/amd64/mp_machdep.c 1.92 +4 -1 src/sys/amd64/include/smp.h 1.184 +6 -1 src/sys/i386/i386/identcpu.c 1.283 +30 -41 src/sys/i386/i386/mp_machdep.c 1.91 +4 -1 src/sys/i386/include/smp.h 1.68 +7 -0 src/sys/ia64/ia64/mp_machdep.c 1.225 +1 -64 src/sys/kern/sched_ule.c 1.204 +188 -14 src/sys/kern/subr_smp.c 1.14 +7 -0 src/sys/powerpc/powerpc/mp_machdep.c 1.37 +7 -0 src/sys/sparc64/sparc64/mp_machdep.c 1.9 +7 -0 src/sys/sun4v/sun4v/mp_machdep.c 1.87 +32 -9 src/sys/sys/smp.h From owner-cvs-src@FreeBSD.ORG Sun Mar 2 08:03: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 E2590106566C; Sun, 2 Mar 2008 08:03:32 +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 892908FC18; Sun, 2 Mar 2008 08:03:32 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m2283T2L017204; Sun, 2 Mar 2008 03:03:30 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sat, 1 Mar 2008 22:05:38 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Jeff Roberson In-Reply-To: <200803020758.m227wgH9040483@repoman.freebsd.org> Message-ID: <20080301220410.P920@desktop> References: <200803020758.m227wgH9040483@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/amd64/amd64 identcpu.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 identcpu.c mp_machdep.c src/sys/i386/include smp.h src/sys/ia64/ia64 mp_machdep.c src/sys/kern sched_ule.c subr_smp.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 08:03:33 -0000 On Sun, 2 Mar 2008, Jeff Roberson wrote: > jeff 2008-03-02 07:58:42 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/amd64 identcpu.c mp_machdep.c > sys/amd64/include smp.h > sys/i386/i386 identcpu.c mp_machdep.c > sys/i386/include smp.h > sys/ia64/ia64 mp_machdep.c > sys/kern sched_ule.c subr_smp.c > sys/powerpc/powerpc mp_machdep.c > sys/sparc64/sparc64 mp_machdep.c > sys/sun4v/sun4v mp_machdep.c > sys/sys smp.h > Log: > - Remove the old smp cpu topology specification with a new, more flexible > tree structure that encodes the level of cache sharing and other Should read 'replace'. > properties. > - Provide several convenience functions for creating one and two level > cpu trees as well as a default flat topology. The system now always > has some topology. > - On i386 and amd64 create a seperate level in the hierarchy for HTT > and multi-core cpus. This will allow the scheduler to intelligently > load balance non-uniform cores. Presently we don't detect what level > of the cache hierarchy is shared at each level in the topology. s/seperate/separate/ Hopefully I coded better than I spelled. Thanks, Jeff > - Add a mechanism for testing common topologies that have more information > than the MD code is able to provide via the kern.smp.topology tunable. > This should be considered a debugging tool only and not a stable api. > > Sponsored by: Nokia > > Revision Changes Path > 1.158 +7 -1 src/sys/amd64/amd64/identcpu.c > 1.288 +30 -41 src/sys/amd64/amd64/mp_machdep.c > 1.92 +4 -1 src/sys/amd64/include/smp.h > 1.184 +6 -1 src/sys/i386/i386/identcpu.c > 1.283 +30 -41 src/sys/i386/i386/mp_machdep.c > 1.91 +4 -1 src/sys/i386/include/smp.h > 1.68 +7 -0 src/sys/ia64/ia64/mp_machdep.c > 1.225 +1 -64 src/sys/kern/sched_ule.c > 1.204 +188 -14 src/sys/kern/subr_smp.c > 1.14 +7 -0 src/sys/powerpc/powerpc/mp_machdep.c > 1.37 +7 -0 src/sys/sparc64/sparc64/mp_machdep.c > 1.9 +7 -0 src/sys/sun4v/sun4v/mp_machdep.c > 1.87 +32 -9 src/sys/sys/smp.h > From owner-cvs-src@FreeBSD.ORG Sun Mar 2 08:21: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 6F59E1065672; Sun, 2 Mar 2008 08:21:00 +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 646BA8FC29; Sun, 2 Mar 2008 08:21:00 +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 m228L076042390; Sun, 2 Mar 2008 08:21:00 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m228L0Yw042389; Sun, 2 Mar 2008 08:21:00 GMT (envelope-from jeff) Message-Id: <200803020821.m228L0Yw042389@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Mar 2008 08:21: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/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 08:21:00 -0000 jeff 2008-03-02 08:20:59 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: Add support for the new cpu topology api: - When searching for affinity search backwards in the tree from the last cpu we ran on while the thread still has affinity for the group. This can take advantage of knowledge of shared L2 or L3 caches among a group of cores. - When searching for the least loaded cpu find the least loaded cpu via the least loaded path through the tree. This load balances system bus links, individual cache levels, and hyper-threaded/SMT cores. - Make the periodic balancer recursively balance the highest and lowest loaded cpu across each link. Add support for cpusets: - Convert the cpuset to a simple native cpumask_t while the kernel still only supports cpumask. - Pass the derived cpumask down through the cpu_search functions to restrict the result cpus. - Make the various steal functions resilient to failure since all threads can not run on all cpus any longer. General improvements: - Precisely track the lowest priority thread on every runq with tdq_setlowpri(). Before it was more advisory but this ended up having pathological behaviors. - Remove many #ifdef SMP conditions to simplify the code. - Get rid of the old cumbersome tdq_group. This is more naturally expressed via the cpu_group tree. Sponsored by: Nokia Testing by: kris Revision Changes Path 1.226 +443 -501 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 08:27: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 4368B1065670; Sun, 2 Mar 2008 08:27: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 E1A0C8FC2B; Sun, 2 Mar 2008 08:27:43 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m228RftC019065; Sun, 2 Mar 2008 03:27:42 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sat, 1 Mar 2008 22:29:50 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Jeff Roberson In-Reply-To: <200803020821.m228L0Yw042389@repoman.freebsd.org> Message-ID: <20080301222513.Y920@desktop> References: <200803020821.m228L0Yw042389@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: Sun, 02 Mar 2008 08:27:44 -0000 On Sun, 2 Mar 2008, Jeff Roberson wrote: > jeff 2008-03-02 08:20:59 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > Add support for the new cpu topology api: > - When searching for affinity search backwards in the tree from the last > cpu we ran on while the thread still has affinity for the group. This > can take advantage of knowledge of shared L2 or L3 caches among a > group of cores. > - When searching for the least loaded cpu find the least loaded cpu via > the least loaded path through the tree. This load balances system bus > links, individual cache levels, and hyper-threaded/SMT cores. > - Make the periodic balancer recursively balance the highest and lowest > loaded cpu across each link. > > Add support for cpusets: > - Convert the cpuset to a simple native cpumask_t while the kernel still > only supports cpumask. > - Pass the derived cpumask down through the cpu_search functions to > restrict the result cpus. > - Make the various steal functions resilient to failure since all threads > can not run on all cpus any longer. > > General improvements: > - Precisely track the lowest priority thread on every runq with > tdq_setlowpri(). Before it was more advisory but this ended up having > pathological behaviors. > - Remove many #ifdef SMP conditions to simplify the code. > - Get rid of the old cumbersome tdq_group. This is more naturally > expressed via the cpu_group tree. > With these changes ULE is the only scheduler that supports the new cpuset api. It succeeds on 4BSD but the scheduler doesn't obey the masks. I don't presently have a plan to implement it on 4BSD as it will be potentially very inefficient to search the runq for a compatible thread on every context switch. I won't object if someone else wants to implement this, otherwise I'll make the syscalls return ENOSYS if 4BSD is compiled in. The improved cpu topology load balancing is a mixed bag. On some workloads we see considerable improvements. Right now mysql suffers when it has large numbers of threads but other things seem much improved. I will be continuing to tune this however and in most cases it's a win already. Kris has done some excellent benchmarking as usual. Here you can see the improvement in postgres depending on various scheduler debug settings: http://people.freebsd.org/~kris/scaling/pgsql-16cpu.png The horrible green line is 7.0 for reference. The blue line is the same 16core machine with half of the cores disabled. Thanks, Jeff > Sponsored by: Nokia > Testing by: kris > > Revision Changes Path > 1.226 +443 -501 src/sys/kern/sched_ule.c > From owner-cvs-src@FreeBSD.ORG Sun Mar 2 08:40: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 CF560106566C; Sun, 2 Mar 2008 08:40:52 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C4D058FC1B; Sun, 2 Mar 2008 08:40:52 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m228eqsD043996; Sun, 2 Mar 2008 08:40:52 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m228elUH043992; Sun, 2 Mar 2008 08:40:47 GMT (envelope-from bz) Message-Id: <200803020840.m228elUH043992@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sun, 2 Mar 2008 08:40: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/netinet tcp_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 08:40:53 -0000 bz 2008-03-02 08:40:47 UTC FreeBSD src repository Modified files: sys/netinet tcp_input.c Log: Some "cleanup" of tcp_mss(): - Move the assigment of the socket down before we first need it. No need to do it at the beginning and then drop out the function by one of the returns before using it 100 lines further down. - Use t_maxopd which was assigned the "tcp_mssdflt" for the corrrect AF already instead of another #ifdef ? : #endif block doing the same. - Remove an unneeded (duplicate) assignment of mss to t_maxseg just before we possibly change mss and re-do the assignment without using t_maxseg in between. Reviewed by: silby No objections: net@ (silence) MFC after: 5 days Revision Changes Path 1.373 +4 -8 src/sys/netinet/tcp_input.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 08:54: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 08E01106566B; Sun, 2 Mar 2008 08:54:33 +0000 (UTC) (envelope-from blackend@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D89B88FC15; Sun, 2 Mar 2008 08:54:32 +0000 (UTC) (envelope-from blackend@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m228sWhX053464; Sun, 2 Mar 2008 08:54:32 GMT (envelope-from blackend@repoman.freebsd.org) Received: (from blackend@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m228sWKJ053463; Sun, 2 Mar 2008 08:54:32 GMT (envelope-from blackend) Message-Id: <200803020854.m228sWKJ053463@repoman.freebsd.org> From: Marc Fonvieille Date: Sun, 2 Mar 2008 08:54: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: CVSROOT access.doc_src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 08:54:33 -0000 blackend 2008-03-02 08:54:32 UTC FreeBSD src repository (doc committer) Modified files: . access.doc_src Log: Changes to email forwards can be made without doceng's approval. Please use "Approved by: core (implicit), doceng (implicit)" to that type of commits. Approved by: core (implicit), doceng (implicit) Revision Changes Path 1.46 +3 -0 CVSROOT/access.doc_src From owner-cvs-src@FreeBSD.ORG Sun Mar 2 08:57: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 DE3C3106566B; Sun, 2 Mar 2008 08:57:44 +0000 (UTC) (envelope-from blackend@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B94C08FC14; Sun, 2 Mar 2008 08:57:44 +0000 (UTC) (envelope-from blackend@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m228viMh053765; Sun, 2 Mar 2008 08:57:44 GMT (envelope-from blackend@repoman.freebsd.org) Received: (from blackend@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m228viuj053764; Sun, 2 Mar 2008 08:57:44 GMT (envelope-from blackend) Message-Id: <200803020857.m228viuj053764@repoman.freebsd.org> From: Marc Fonvieille Date: Sun, 2 Mar 2008 08:57: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: CVSROOT access.doc_src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 08:57:45 -0000 blackend 2008-03-02 08:57:44 UTC FreeBSD src repository (doc committer) Modified files: . access.doc_src Log: Add missing "core (implicit)," to the text. Pointy Hat: blackend (implicit) Approved by: core (implicit), doceng (implicit) Revision Changes Path 1.47 +2 -1 CVSROOT/access.doc_src From owner-cvs-src@FreeBSD.ORG Sun Mar 2 09:01: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 71B8D10656C0; Sun, 2 Mar 2008 09:01:11 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id E80A28FC15; Sun, 2 Mar 2008 09:01:10 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.1) with ESMTP id m22919Fg026286; Sun, 2 Mar 2008 12:01:09 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 2 Mar 2008 12:01:09 +0300 (MSK) From: Dmitry Morozovsky To: Marc Fonvieille In-Reply-To: <200803020857.m228viuj053764@repoman.freebsd.org> Message-ID: <20080302120034.L49885@woozle.rinet.ru> References: <200803020857.m228viuj053764@repoman.freebsd.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Sun, 02 Mar 2008 12:01:09 +0300 (MSK) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: CVSROOT access.doc_src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 09:01:11 -0000 On Sun, 2 Mar 2008, Marc Fonvieille wrote: MF> blackend 2008-03-02 08:57:44 UTC MF> MF> FreeBSD src repository (doc committer) MF> MF> Modified files: MF> . access.doc_src MF> Log: MF> Add missing "core (implicit)," to the text. MF> MF> Pointy Hat: blackend (implicit) MF> Approved by: core (implicit), doceng (implicit) Implicit approval of impicit passing the implicit Pointy Hat [tm]? ;-P Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-cvs-src@FreeBSD.ORG Sun Mar 2 09: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 511F91065670; Sun, 2 Mar 2008 09:11:01 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id B9ED28FC1E; Sun, 2 Mar 2008 09:10:59 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id m228uExo068668; Sun, 2 Mar 2008 09:56:14 +0100 (CET) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.2/8.14.1) with ESMTP id m228uEUS001135; Sun, 2 Mar 2008 09:56:14 +0100 (CET) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.2/8.14.1/Submit) id m228uE5f001134; Sun, 2 Mar 2008 09:56:14 +0100 (CET) (envelope-from marc) Date: Sun, 2 Mar 2008 09:56:14 +0100 From: Marc Fonvieille To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20080302085614.GB1048@gothic.blackend.org> References: <200803020854.m228sWKJ053463@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803020854.m228sWKJ053463@repoman.freebsd.org> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 7.0-STABLE User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: cvs commit: CVSROOT access.doc_src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 09:11:01 -0000 On Sun, Mar 02, 2008 at 08:54:32AM +0000, Marc Fonvieille wrote: > blackend 2008-03-02 08:54:32 UTC > > FreeBSD src repository (doc committer) > > Modified files: > . access.doc_src > Log: > Changes to email forwards can be made without doceng's approval. > Please use "Approved by: core (implicit), doceng (implicit)" to that > type of commits. > > Approved by: core (implicit), doceng (implicit) > > Revision Changes Path > 1.46 +3 -0 CVSROOT-src/access.doc_src > > http://cvsweb.FreeBSD.org/CVSROOT-src/access.doc_src.diff?r1=1.45&r2=1.46 > | --- CVSROOT-src/access.doc_src 2007/03/01 11:52:22 1.45 > | +++ CVSROOT-src/access.doc_src 2008/03/02 08:54:32 1.46 > | @@ -1,5 +1,5 @@ > | # > | -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/CVSROOT-src/access.doc_src,v 1.45 2007/03/01 11:52:22 blackend Exp $ > | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/CVSROOT-src/access.doc_src,v 1.46 2008/03/02 08:54:32 blackend Exp $ > | # > | # This is for folks who are doc committers, but who work on docs in > | # the src/ tree as well. To be clear, this file is in addition to > | @@ -12,6 +12,9 @@ > | # > | # KEEP ALPHABETICALLY SORTED!!! > | # > | +# Changes to email forwards can be made without doceng's approval. > | +# Please use "Approved by: doceng (implicit)" to that type of commits. Sorry, ^^ I had to add "core (implicit)," :( > | +# > | blackend > | chern > | jcamou -- Marc From owner-cvs-src@FreeBSD.ORG Sun Mar 2 09:11: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 8BBB4106566B; Sun, 2 Mar 2008 09:11:49 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 052738FC14; Sun, 2 Mar 2008 09:11:48 +0000 (UTC) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id m229Blpn068915; Sun, 2 Mar 2008 10:11:47 +0100 (CET) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.2/8.14.1) with ESMTP id m229Blvb001193; Sun, 2 Mar 2008 10:11:47 +0100 (CET) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.2/8.14.1/Submit) id m229BlCZ001192; Sun, 2 Mar 2008 10:11:47 +0100 (CET) (envelope-from marc) Date: Sun, 2 Mar 2008 10:11:47 +0100 From: Marc Fonvieille To: Dmitry Morozovsky Message-ID: <20080302091147.GC1048@gothic.blackend.org> References: <200803020857.m228viuj053764@repoman.freebsd.org> <20080302120034.L49885@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080302120034.L49885@woozle.rinet.ru> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 7.0-STABLE 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 access.doc_src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 09:11:49 -0000 On Sun, Mar 02, 2008 at 12:01:09PM +0300, Dmitry Morozovsky wrote: > On Sun, 2 Mar 2008, Marc Fonvieille wrote: > > MF> blackend 2008-03-02 08:57:44 UTC > MF> > MF> FreeBSD src repository (doc committer) > MF> > MF> Modified files: > MF> . access.doc_src > MF> Log: > MF> Add missing "core (implicit)," to the text. > MF> > MF> Pointy Hat: blackend (implicit) > MF> Approved by: core (implicit), doceng (implicit) > > Implicit approval of impicit passing the implicit Pointy Hat [tm]? ;-P > Hehe, this one was funny :) the curse of the sunday morning commit... -- Marc From owner-cvs-src@FreeBSD.ORG Sun Mar 2 10:12: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 707AB1065676 for ; Sun, 2 Mar 2008 10:12:17 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4F60A8FC1C for ; Sun, 2 Mar 2008 10:12:17 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mr6so.prod.shaw.ca (pd2mr6so-qfe3.prod.shaw.ca [10.0.141.9]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JX30095JIWGHC6Q@l-daemon> for cvs-src@FreeBSD.org; Sun, 02 Mar 2008 02:12:16 -0700 (MST) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd2mr6so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JX3009EOIWHVV00@pd2mr6so.prod.shaw.ca> for cvs-src@FreeBSD.org; Sun, 02 Mar 2008 02:12:17 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JX3007QRIWFT330@l-daemon> for cvs-src@FreeBSD.org; Sun, 02 Mar 2008 02:12:16 -0700 (MST) Received: (qmail 28041 invoked from network); Sun, 02 Mar 2008 09:12:03 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Sun, 02 Mar 2008 09:12:03 +0000 Date: Sun, 02 Mar 2008 01:12:02 -0800 From: Colin Percival In-reply-to: <20080302120034.L49885@woozle.rinet.ru> To: Dmitry Morozovsky Message-id: <47CA6F62.7080901@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803020857.m228viuj053764@repoman.freebsd.org> <20080302120034.L49885@woozle.rinet.ru> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Marc Fonvieille , cvs-all@FreeBSD.org Subject: Re: cvs commit: CVSROOT access.doc_src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 10:12:17 -0000 Dmitry Morozovsky wrote: > On Sun, 2 Mar 2008, Marc Fonvieille wrote: > MF> Add missing "core (implicit)," to the text. > MF> > MF> Pointy Hat: blackend (implicit) > MF> Approved by: core (implicit), doceng (implicit) > > Implicit approval of impicit passing the implicit Pointy Hat [tm]? ;-P Are you trying to elicit an admission that Marc is complicit in an illicit attempt to solicit explicit "implicit"s? Colin "perfectly licit" Percival From owner-cvs-src@FreeBSD.ORG Sun Mar 2 11:00: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 CC5581065675; Sun, 2 Mar 2008 11:00:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by mx1.freebsd.org (Postfix) with ESMTP id 475F58FC20; Sun, 2 Mar 2008 11:00:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m22AxwI6005911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Mar 2008 21:59:59 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m22AxwA2001565; Sun, 2 Mar 2008 21:59:58 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m22AxwQH001564; Sun, 2 Mar 2008 21:59:58 +1100 (EST) (envelope-from peter) Date: Sun, 2 Mar 2008 21:59:58 +1100 From: Peter Jeremy To: Jeff Roberson Message-ID: <20080302105958.GF67687@server.vk2pj.dyndns.org> References: <200803020821.m228L0Yw042389@repoman.freebsd.org> <20080301222513.Y920@desktop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cPi+lWm09sJ+d57q" Content-Disposition: inline In-Reply-To: <20080301222513.Y920@desktop> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) 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: Sun, 02 Mar 2008 11:00:11 -0000 --cPi+lWm09sJ+d57q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 01, 2008 at 10:29:50PM -1000, Jeff Roberson wrote: >With these changes ULE is the only scheduler that supports the new cpuset= =20 >api. Excellent work. I didn't expect it to be implemented so quickly. > It succeeds on 4BSD but the scheduler doesn't obey the masks. I don't=20 >presently have a plan to implement it on 4BSD as it will be potentially=20 >very inefficient to search the runq for a compatible thread on every=20 >context switch. I won't object if someone else wants to implement this,= =20 >otherwise I'll make the syscalls return ENOSYS if 4BSD is compiled in. I would prefer to see the project devote available resources to improving ULE - with a view to deprecating 4BSD ASAP - rather than retrofitting new features into 4BSD. IMHO, it's not clear whether requests via the cpuset API should be mandatory or advisory - I believe valid cases can be made for either approach. In the latter case, it would be more reasonable for the cpuset implementation on 4BSD to just be a no-op, rather than failing. >Kris has done some excellent benchmarking as usual. Here you can see the= =20 >improvement in postgres depending on various scheduler debug settings: > >http://people.freebsd.org/~kris/scaling/pgsql-16cpu.png The improvement is quite substantial. Congratulations Jeff. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --cPi+lWm09sJ+d57q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHyoiu/opHv/APuIcRAuhKAJ4/cXLP36hGxqKgBKshyj4dDPerTwCdH9GA nK/6VWjsh20RK3sFAIk2Mdc= =ArkA -----END PGP SIGNATURE----- --cPi+lWm09sJ+d57q-- From owner-cvs-src@FreeBSD.ORG Sun Mar 2 11:02: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 B3EDE106566B; Sun, 2 Mar 2008 11:02:43 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by mx1.freebsd.org (Postfix) with ESMTP id 30E468FC27; Sun, 2 Mar 2008 11:02:42 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m22B2Z1C016310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Mar 2008 22:02:41 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m22B2Za6001617; Sun, 2 Mar 2008 22:02:35 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m22B2Zt8001615; Sun, 2 Mar 2008 22:02:35 +1100 (EST) (envelope-from peter) Date: Sun, 2 Mar 2008 22:02:35 +1100 From: Peter Jeremy To: Colin Percival Message-ID: <20080302110235.GG67687@server.vk2pj.dyndns.org> References: <200803020857.m228viuj053764@repoman.freebsd.org> <20080302120034.L49885@woozle.rinet.ru> <47CA6F62.7080901@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AH+kv8CCoFf6qPuz" Content-Disposition: inline In-Reply-To: <47CA6F62.7080901@freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: CVSROOT access.doc_src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 11:02:43 -0000 --AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 02, 2008 at 01:12:02AM -0800, Colin Percival wrote: >Are you trying to elicit an admission that Marc is complicit in an illicit >attempt to solicit explicit "implicit"s? > >Colin "perfectly licit" Percival Another one for the fortune file I think... --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --AH+kv8CCoFf6qPuz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHyolL/opHv/APuIcRApOpAKCdJNRZeHLWnCpQYBrI0nkuZFpIsACeOP9B v04UCuwriBEqFU6vYBTAvGA= =0V45 -----END PGP SIGNATURE----- --AH+kv8CCoFf6qPuz-- From owner-cvs-src@FreeBSD.ORG Sun Mar 2 11:07: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 417621065675; Sun, 2 Mar 2008 11:07:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id CA99D8FC24; Sun, 2 Mar 2008 11:07:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JVm2U-000Ja9-AU; Sun, 02 Mar 2008 13:07:30 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m22B7g6A022995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Mar 2008 13:07:42 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m22B7R8r040601; Sun, 2 Mar 2008 13:07:27 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m22B7R8A040600; Sun, 2 Mar 2008 13:07:27 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 2 Mar 2008 13:07:26 +0200 From: Kostik Belousov To: Jeff Roberson Message-ID: <20080302110726.GI57756@deviant.kiev.zoral.com.ua> References: <200803020739.m227dNLe039427@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6GW/iDYps37kUkwk" Content-Disposition: inline In-Reply-To: <200803020739.m227dNLe039427@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: a0e7373be156534abcc10f92c304d741 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2346 [Feb 29 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {TO: local part of email appears in body} X-SpamTest-Method: none X-SpamTest-Rate: 9 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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, 02 Mar 2008 11:07:33 -0000 --6GW/iDYps37kUkwk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 02, 2008 at 07:39:22AM +0000, Jeff Roberson wrote: > jeff 2008-03-02 07:39:22 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/conf files=20 > sys/kern init_main.c kern_thread.c syscalls.master=20 > sys/sys _types.h types.h proc.h=20 > lib/libc/sys Symbol.map=20 > Added files: > sys/kern kern_cpuset.c=20 > sys/sys cpuset.h=20 > Log: > Add cpuset, an api for thread to cpu binding and cpu resource grouping > and assignment. > - Add a reference to a struct cpuset in each thread that is inherited = from > the thread that created it. > - Release the reference when the thread is destroyed. > - Add prototypes for syscalls and macros for manipulating cpusets in > sys/cpuset.h > - Add syscalls to create, get, and set new numbered cpusets: > cpuset(), cpuset_{get,set}id() > - Add syscalls for getting and setting affinity masks for cpusets or > individual threads: cpuid_{get,set}affinity() > - Add types for the 'level' and 'which' parameters for the cpuset. Th= is > will permit expansion of the api to cover cpu masks for other objects > identifiable with an id_t integer. For example, IRQs and Jails may = be > coming soon. > - The root set 0 contains all valid cpus. All thread initially belong= to > cpuset 1. This permits migrating all threads off of certain cpus to > reserve them for special applications. > =20 > Sponsored by: Nokia > Discussed with: arch, rwatson, brooks, davidxu, deischen > Reviewed by: antoine > =20 > Revision Changes Path > 1.10 +15 -0 src/lib/libc/sys/Symbol.map > 1.1275 +1 -0 src/sys/conf/files > 1.291 +2 -0 src/sys/kern/init_main.c > 1.1 +907 -0 src/sys/kern/kern_cpuset.c (new) > 1.266 +5 -1 src/sys/kern/kern_thread.c > 1.238 +13 -0 src/sys/kern/syscalls.master > 1.24 +3 -0 src/sys/sys/_types.h > 1.1 +146 -0 src/sys/sys/cpuset.h (new) > 1.504 +2 -1 src/sys/sys/proc.h > 1.98 +4 -0 src/sys/sys/types.h Is the ommission of the 32-bits compat syscalls intended ? --6GW/iDYps37kUkwk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfKim4ACgkQC3+MBN1Mb4iarQCfeq2i+gGmomamooUpPNLNLZsw skAAmwRpBh58eGzjdodPZibacb3RN/MP =Lt9z -----END PGP SIGNATURE----- --6GW/iDYps37kUkwk-- From owner-cvs-src@FreeBSD.ORG Sun Mar 2 11:10: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 89558106566C; Sun, 2 Mar 2008 11:10:47 +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 64A4C8FC1B; Sun, 2 Mar 2008 11:10:47 +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 m22BAl7U065689; Sun, 2 Mar 2008 11:10:47 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22BAlaI065688; Sun, 2 Mar 2008 11:10:47 GMT (envelope-from ru) Message-Id: <200803021110.m22BAlaI065688@repoman.freebsd.org> From: Ruslan Ermilov Date: Sun, 2 Mar 2008 11:10: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 Makefile.inc1 src/gnu/usr.bin/binutils/ar Makefile src/gnu/usr.bin/binutils/ranlib 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, 02 Mar 2008 11:10:47 -0000 ru 2008-03-02 11:10:47 UTC FreeBSD src repository Modified files: . Makefile.inc1 gnu/usr.bin/binutils/ar Makefile gnu/usr.bin/binutils/ranlib Makefile Log: Set AR=gnu-ar and RANLIB=gnu-ranlib on systems where we are forced to use GNU tools. Remove the _WITH_GNUAR knob. Prodded by: obrien Revision Changes Path 1.601 +3 -4 src/Makefile.inc1 1.18 +0 -2 src/gnu/usr.bin/binutils/ar/Makefile 1.19 +0 -2 src/gnu/usr.bin/binutils/ranlib/Makefile From owner-cvs-src@FreeBSD.ORG Sun Mar 2 11:33: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 05ABD106566C; Sun, 2 Mar 2008 11:33:55 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D5FC78FC12; Sun, 2 Mar 2008 11:33:54 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22BXs77066475; Sun, 2 Mar 2008 11:33:54 GMT (envelope-from philip@repoman.freebsd.org) Received: (from philip@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22BXsJJ066474; Sun, 2 Mar 2008 11:33:54 GMT (envelope-from philip) Message-Id: <200803021133.m22BXsJJ066474@repoman.freebsd.org> From: Philip Paeps Date: Sun, 2 Mar 2008 11:33: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/sys/dev/md md.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 11:33:55 -0000 philip 2008-03-02 11:33:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/md md.c Log: MFC r1.174: Zero sc->vnode if mdsetcred() fails. This fixes the panic which happens when mdcreate_vnode() calls vn_close() and mddestroy() calls it again further down the error handling path. Revision Changes Path 1.169.2.1 +1 -0 src/sys/dev/md/md.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 13:02: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 C0ADA106566B; Sun, 2 Mar 2008 13:02:56 +0000 (UTC) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9AF6A8FC14; Sun, 2 Mar 2008 13:02:56 +0000 (UTC) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22D2uVm084262; Sun, 2 Mar 2008 13:02:56 GMT (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22D2um9084261; Sun, 2 Mar 2008 13:02:56 GMT (envelope-from akiyama) Message-Id: <200803021302.m22D2um9084261@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 2 Mar 2008 13:02:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/usb ucom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 13:02:56 -0000 akiyama 2008-03-02 13:02:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb ucom.c Log: MFC: rev 1.65. o Add module event handler. o Update copyright year. Revision Changes Path 1.64.2.1 +19 -2 src/sys/dev/usb/ucom.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 13:07: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 757FC106569F; Sun, 2 Mar 2008 13:07:03 +0000 (UTC) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9638FC12; Sun, 2 Mar 2008 13:07:03 +0000 (UTC) (envelope-from akiyama@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22D739c085652; Sun, 2 Mar 2008 13:07:03 GMT (envelope-from akiyama@repoman.freebsd.org) Received: (from akiyama@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22D73Yt085651; Sun, 2 Mar 2008 13:07:03 GMT (envelope-from akiyama) Message-Id: <200803021307.m22D73Yt085651@repoman.freebsd.org> From: Shunsuke Akiyama Date: Sun, 2 Mar 2008 13:07:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/usb ucom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 13:07:03 -0000 akiyama 2008-03-02 13:07:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/usb ucom.c Log: MFC: rev 1.65. o Add module event handler. o Update copyright year. Revision Changes Path 1.57.2.2 +19 -2 src/sys/dev/usb/ucom.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 14:00: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 2FA031065672; Sun, 2 Mar 2008 14:00:51 +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 05BF28FC19; Sun, 2 Mar 2008 14:00:51 +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 m22E0oLD088151; Sun, 2 Mar 2008 14:00:50 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22E0oiS088150; Sun, 2 Mar 2008 14:00:50 GMT (envelope-from kib) Message-Id: <200803021400.m22E0oiS088150@repoman.freebsd.org> From: Konstantin Belousov Date: Sun, 2 Mar 2008 14:00: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/compat/linux linux_futex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 14:00:51 -0000 kib 2008-03-02 14:00:50 UTC FreeBSD src repository Modified files: sys/compat/linux linux_futex.c Log: Return ENOSYS instead of 0 for the unknown futex operations. Submitted by: rdivacky Reported and tested by: Gary Stanley Revision Changes Path 1.11 +1 -1 src/sys/compat/linux/linux_futex.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 14:02: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 801051065674; Sun, 2 Mar 2008 14:02:19 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3488FC1B; Sun, 2 Mar 2008 14:02:18 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 1A170675D5E; Sun, 2 Mar 2008 15:02:17 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2rW2JPiOhssY; Sun, 2 Mar 2008 15:02:15 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D8B6D675CB7; Sun, 2 Mar 2008 15:02:14 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m22E2DL0039830; Sun, 2 Mar 2008 15:02:13 +0100 (CET) (envelope-from rdivacky) Date: Sun, 2 Mar 2008 15:02:13 +0100 From: Roman Divacky To: Konstantin Belousov Message-ID: <20080302140213.GA39790@freebsd.org> References: <200803021400.m22E0oiS088150@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803021400.m22E0oiS088150@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/linux linux_futex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 14:02:19 -0000 On Sun, Mar 02, 2008 at 02:00:50PM +0000, Konstantin Belousov wrote: > kib 2008-03-02 14:00:50 UTC > > FreeBSD src repository > > Modified files: > sys/compat/linux linux_futex.c > Log: > Return ENOSYS instead of 0 for the unknown futex operations. > > Submitted by: rdivacky > Reported and tested by: Gary Stanley thnx for the commit.. will you MFC this? From owner-cvs-src@FreeBSD.ORG Sun Mar 2 14:54: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 0458B1065670; Sun, 2 Mar 2008 14:54:49 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CAC038FC12; Sun, 2 Mar 2008 14:54:48 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22EsmJQ091412; Sun, 2 Mar 2008 14:54:48 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22EsmHe091411; Sun, 2 Mar 2008 14:54:48 GMT (envelope-from rwatson) Message-Id: <200803021454.m22EsmHe091411@repoman.freebsd.org> From: Robert Watson Date: Sun, 2 Mar 2008 14:54:48 +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/re if_re.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 14:54:49 -0000 rwatson 2008-03-02 14:54:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/re if_re.c Log: Conditionally acquire Giant based on debug.mpsafenet around entry points from if_re taskqueue and other potentially Giant-free spots. If we don't do this, Giant may not be held entering KAME IPSEC, etc. This problem appeared in FreeBSD 6.2 as a result of a move to fast interrupts, and does not exist in 7.x due to not having debug.mpsafenet. PR: 118719 Reported by: Dan Lukes Reviwed by: yongari Revision Changes Path 1.46.2.39 +6 -0 src/sys/dev/re/if_re.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 16:31: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 92A491065676 for ; Sun, 2 Mar 2008 16:31:36 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33702.mail.mud.yahoo.com (web33702.mail.mud.yahoo.com [68.142.201.199]) by mx1.freebsd.org (Postfix) with SMTP id 4A4478FC12 for ; Sun, 2 Mar 2008 16:31:36 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 82970 invoked by uid 60001); 2 Mar 2008 16:04:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=OKe8Dswim8Y/HOnuYsWMe3S4bjlWT2vT2DgwdwceddLfUmLJI7OMBdBhFnmh5c8mq8iiwXY3mVh/UkueCFoVAwW83nGP6lULwMutKTQSKRxu5N2vSeytKSDhlYck3w4re7MqM/46X4/a9rn1IsQyN2ksf35ZdkSHC+KO/V5tHws=; X-YMail-OSG: Ci7.ntgVM1lFF0XeI3L4Jx8LDrQt.pab1Ydm.3Y_FodBl4jL_LDlW1zbxNPu5im.VTPF4A2Po2LIb_0qMz82DSeN9mHQl6L7TrlCDgGsVEvk5R3aN4I- Received: from [82.148.96.69] by web33702.mail.mud.yahoo.com via HTTP; Sun, 02 Mar 2008 08:04:54 PST X-Mailer: YahooMailRC/902.35 YahooMailWebService/0.7.162 Date: Sun, 2 Mar 2008 08:04:54 -0800 (PST) From: Abdullah Ibn Hamad Al-Marri To: Jeff Roberson , src-committers@FreeBSD.org, cvs-src@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <688753.81849.qm@web33702.mail.mud.yahoo.com> Cc: 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: Sun, 02 Mar 2008 16:31:36 -0000 ----- Original Message ---- > From: Jeff Roberson > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > Sent: Sunday, March 2, 2008 11:21:00 AM > Subject: cvs commit: src/sys/kern sched_ule.c > > jeff 2008-03-02 08:20:59 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_ule.c > Log: > Add support for the new cpu topology api: > - When searching for affinity search backwards in the tree from the last > cpu we ran on while the thread still has affinity for the group. This > can take advantage of knowledge of shared L2 or L3 caches among a > group of cores. > - When searching for the least loaded cpu find the least loaded cpu via > the least loaded path through the tree. This load balances system bus > links, individual cache levels, and hyper-threaded/SMT cores. > - Make the periodic balancer recursively balance the highest and lowest > loaded cpu across each link. > > Add support for cpusets: > - Convert the cpuset to a simple native cpumask_t while the kernel still > only supports cpumask. > - Pass the derived cpumask down through the cpu_search functions to > restrict the result cpus. > - Make the various steal functions resilient to failure since all threads > can not run on all cpus any longer. > > General improvements: > - Precisely track the lowest priority thread on every runq with > tdq_setlowpri(). Before it was more advisory but this ended up having > pathological behaviors. > - Remove many #ifdef SMP conditions to simplify the code. > - Get rid of the old cumbersome tdq_group. This is more naturally > expressed via the cpu_group tree. > > Sponsored by: Nokia > Testing by: kris > > Revision Changes Path > 1.226 +443 -501 src/sys/kern/sched_ule.c > _______________________________________________ Is it possible to have patch for RELENG_7? Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From owner-cvs-src@FreeBSD.ORG Sun Mar 2 17:06: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 961E11065671; Sun, 2 Mar 2008 17:06:03 +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 77B9A8FC14; Sun, 2 Mar 2008 17:06:03 +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 m22H5woJ008692; Sun, 2 Mar 2008 17:06:03 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22H5vbf008691; Sun, 2 Mar 2008 17:05:57 GMT (envelope-from raj) Message-Id: <200803021705.m22H5vbf008691@repoman.freebsd.org> From: Rafal Jaworowski Date: Sun, 2 Mar 2008 17:05: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/powerpc/aim machdep.c swtch.S trap.c trap_subr.S vm_machdep.c src/sys/powerpc/include frame.h hid.h kdb.h pcb.h pcpu.h src/sys/powerpc/powerpc db_trace.c genassym.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 17:06:03 -0000 raj 2008-03-02 17:05:57 UTC FreeBSD src repository Modified files: sys/powerpc/aim machdep.c swtch.S trap.c trap_subr.S vm_machdep.c sys/powerpc/include frame.h hid.h kdb.h pcb.h pcpu.h sys/powerpc/powerpc db_trace.c genassym.c Log: Unify and generalize PowerPC headers, adjust AIM code accordingly. Rework of this area is a pre-requirement for importing e500 support (and other PowerPC core variations in the future). Mainly the following headers are refactored so that we can cover for low-level differences between various machines within PowerPC architecture: Areas which use the above are adjusted and cleaned up. Credits for this rework go to marcel@ Approved by: cognet (mentor) MFp4: e500 Revision Changes Path 1.109 +18 -3 src/sys/powerpc/aim/machdep.c 1.24 +2 -2 src/sys/powerpc/aim/swtch.S 1.71 +7 -7 src/sys/powerpc/aim/trap.c 1.18 +12 -12 src/sys/powerpc/aim/trap_subr.S 1.119 +2 -2 src/sys/powerpc/aim/vm_machdep.c 1.13 +15 -5 src/sys/powerpc/include/frame.h 1.5 +39 -34 src/sys/powerpc/include/hid.h 1.5 +4 -11 src/sys/powerpc/include/kdb.h 1.10 +11 -3 src/sys/powerpc/include/pcb.h 1.25 +55 -4 src/sys/powerpc/include/pcpu.h 1.15 +20 -10 src/sys/powerpc/powerpc/db_trace.c 1.61 +55 -12 src/sys/powerpc/powerpc/genassym.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 17:12: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 7F47B1065678; Sun, 2 Mar 2008 17:12:29 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 490A48FC17; Sun, 2 Mar 2008 17:12:29 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22HCTMv009092; Sun, 2 Mar 2008 17:12:29 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22HCT7d009087; Sun, 2 Mar 2008 17:12:29 GMT (envelope-from bz) Message-Id: <200803021712.m22HCT7d009087@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sun, 2 Mar 2008 17:12:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netipsec key.c key_debug.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 17:12:29 -0000 bz 2008-03-02 17:12:29 UTC FreeBSD src repository Modified files: sys/netipsec key.c key_debug.c Log: Fix bugs when allocating and passing information of current lifetime and soft lifetime [1] introduced in rev. 1.21 of key.c. Along with that, fix a related problem in key_debug printing the correct data. While there replace a printf by panic in a sanity check. PR: 120751 Submitted by: Kazuaki ODA (kazuaki aliceblue.jp) [1] MFC after: 5 days Revision Changes Path 1.29 +7 -2 src/sys/netipsec/key.c 1.6 +22 -4 src/sys/netipsec/key_debug.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 18:56: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 B0770106566B; Sun, 2 Mar 2008 18:56:14 +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 74CA38FC1B; Sun, 2 Mar 2008 18:56:14 +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 m22IuEov019456; Sun, 2 Mar 2008 18:56:14 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22IuEAx019455; Sun, 2 Mar 2008 18:56:14 GMT (envelope-from rwatson) Message-Id: <200803021856.m22IuEAx019455@repoman.freebsd.org> From: Robert Watson Date: Sun, 2 Mar 2008 18:56: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/fs/smbfs smbfs.h smbfs_node.c smbfs_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: Sun, 02 Mar 2008 18:56:14 -0000 rwatson 2008-03-02 18:56:14 UTC FreeBSD src repository Modified files: sys/fs/smbfs smbfs.h smbfs_node.c smbfs_vfsops.c Log: Replace lockmgr lock protecting smbfs node hash table with sx lock. MFC after: 1 month Revision Changes Path 1.13 +3 -1 src/sys/fs/smbfs/smbfs.h 1.38 +3 -5 src/sys/fs/smbfs/smbfs_node.c 1.44 +4 -3 src/sys/fs/smbfs/smbfs_vfsops.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 19:02: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 2AA7B1065674; Sun, 2 Mar 2008 19:02:31 +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 E3B2B8FC25; Sun, 2 Mar 2008 19:02: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 m22J2Ui0019673; Sun, 2 Mar 2008 19:02:30 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22J2U6O019672; Sun, 2 Mar 2008 19:02:30 GMT (envelope-from rwatson) Message-Id: <200803021902.m22J2U6O019672@repoman.freebsd.org> From: Robert Watson Date: Sun, 2 Mar 2008 19:02: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/fs/nwfs nwfs_node.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 19:02:31 -0000 rwatson 2008-03-02 19:02:30 UTC FreeBSD src repository Modified files: sys/fs/nwfs nwfs_node.c Log: Replace lockmgr lock protecting nwfs vnode hash table with an sx lock. MFC after: 1 month Revision Changes Path 1.43 +15 -12 src/sys/fs/nwfs/nwfs_node.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 19:28: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 188ED1065671 for ; Sun, 2 Mar 2008 19:28:17 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 8658D8FC13 for ; Sun, 2 Mar 2008 19:28:16 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so3669919nfb.33 for ; Sun, 02 Mar 2008 11:28:14 -0800 (PST) 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=3OaCtRxvKl+rGF70oGIAxqW+nPrMwvmjznxWbuoFrT8=; b=BECDAOkffu0NWhACyhcSz4GjPuuwJzpPT+Qmxdx+fBhtcOx325k5tOEqwfkZb2wgejKSNiNN4FNtxSyqPYwGT/NKs+F6AEVJsMnNBdA0GY1J6iSl24oYRCGIfgf9RBWQrjZmiennroh0uJMTV60ekJlmQ1mQmbgmw6ghQuR228U= 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=cl73ATMX2m4Jieqjh3zdEvDsXVAWCtEkRWWuFzNde1TXesIHzk2dghpHueRWuPVSkpZAn8sHwauHsyUQQo4iayL1lo21b8wrXC80t5IioazTjlWZ1YpVragLTHKden9lk9Kn+wRadtDpjtwmG1Z397Vyzrm99SywQjNyFFxi/p8= Received: by 10.82.182.1 with SMTP id e1mr29432100buf.21.1204486093593; Sun, 02 Mar 2008 11:28:13 -0800 (PST) Received: by 10.86.30.17 with HTTP; Sun, 2 Mar 2008 11:28:13 -0800 (PST) Message-ID: <3bbf2fe10803021128s586ef668n38a426005a07177f@mail.gmail.com> Date: Sun, 2 Mar 2008 20:28:13 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Robert Watson" In-Reply-To: <200803021856.m22IuEAx019455@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803021856.m22IuEAx019455@repoman.freebsd.org> X-Google-Sender-Auth: fffe62f4e5bc8e23 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/fs/smbfs smbfs.h smbfs_node.c smbfs_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: Sun, 02 Mar 2008 19:28:17 -0000 2008/3/2, Robert Watson : > rwatson 2008-03-02 18:56:14 UTC > > FreeBSD src repository > > Modified files: > sys/fs/smbfs smbfs.h smbfs_node.c smbfs_vfsops.c > Log: > Replace lockmgr lock protecting smbfs node hash table with sx lock. Thanks a lot for this and other similar changes! Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Sun Mar 2 20:07: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 F03341065672; Sun, 2 Mar 2008 20:07:48 +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 B2A0B8FC16; Sun, 2 Mar 2008 20:07:48 +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 m22K7mhP025356; Sun, 2 Mar 2008 20:07:48 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22K7mOS025355; Sun, 2 Mar 2008 20:07:48 GMT (envelope-from brueffer) Message-Id: <200803022007.m22K7mOS025355@repoman.freebsd.org> From: Christian Brueffer Date: Sun, 2 Mar 2008 20:07:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man9 lock.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: Sun, 02 Mar 2008 20:07:49 -0000 brueffer 2008-03-02 20:07:48 UTC FreeBSD src repository Modified files: share/man/man9 lock.9 Log: New sentence -> new line. Revision Changes Path 1.30 +2 -1 src/share/man/man9/lock.9 From owner-cvs-src@FreeBSD.ORG Sun Mar 2 20:16: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 AAD121065671; Sun, 2 Mar 2008 20:16:56 +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 6D81A8FC16; Sun, 2 Mar 2008 20:16:56 +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 m22KGuLb025694; Sun, 2 Mar 2008 20:16:56 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22KGuZA025693; Sun, 2 Mar 2008 20:16:56 GMT (envelope-from das) Message-Id: <200803022016.m22KGuZA025693@repoman.freebsd.org> From: David Schultz Date: Sun, 2 Mar 2008 20:16:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/msun/ld128 s_nanl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 20:16:56 -0000 das 2008-03-02 20:16:56 UTC FreeBSD src repository Modified files: lib/msun/ld128 s_nanl.c Log: 1 << 47 needs to be written 1ULL << 47. Revision Changes Path 1.3 +1 -1 src/lib/msun/ld128/s_nanl.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 20:33: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 AE10D1065675 for ; Sun, 2 Mar 2008 20:33:00 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 699BE8FC1C for ; Sun, 2 Mar 2008 20:33:00 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so4031247rvb.43 for ; Sun, 02 Mar 2008 12:33:00 -0800 (PST) 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=cjEI6ViFpOWQHPzm3tloykQeNGLZlHrvscwuEGZ6eI4=; b=GBuMwUB7ErzAGgDjZ7kySit/weGZnAo9juR1Lt92z39rfuKbZ3t1QKiPzCqsGc8HgeDWVYxZVRqT+vuJ0BDgpJXoOPPuxBUKa82P509bcwYI0dc1ttZGSDeg1JHn33B/wNKjKF/Bpynlptz9p5SFzwiPdslLnrUUMqB/izLG7Ms= 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=c1NPk8xrrxpJ1kJ9hPz6u2o60wqemi7nWknnnXw6OSWMZkmvWgdHRdUUTZ2xMkZPexP+UhSGFT52AQN6oVbmlzHKpJgpwCnokJv1U2RqLoSD/oXxEkZdYkXybpaAkyl3D56UZodfpvB1A6yLU5wCfJG3bz3ExGOcpia9PKY03Ws= Received: by 10.141.163.12 with SMTP id q12mr7470297rvo.265.1204488266639; Sun, 02 Mar 2008 12:04:26 -0800 (PST) Received: by 10.141.52.1 with HTTP; Sun, 2 Mar 2008 12:04:26 -0800 (PST) Message-ID: Date: Sun, 2 Mar 2008 23:04:26 +0300 From: "Yar Tikhiy" Sender: yar.tikhiy@gmail.com To: "Robert Watson" In-Reply-To: <200803021856.m22IuEAx019455@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803021856.m22IuEAx019455@repoman.freebsd.org> X-Google-Sender-Auth: 345a4dd6f387e5a6 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/fs/smbfs smbfs.h smbfs_node.c smbfs_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: Sun, 02 Mar 2008 20:33:00 -0000 On Sun, Mar 2, 2008 at 9:56 PM, Robert Watson wrote: > rwatson 2008-03-02 18:56:14 UTC > > FreeBSD src repository > > Modified files: > sys/fs/smbfs smbfs.h smbfs_node.c smbfs_vfsops.c > Log: > Replace lockmgr lock protecting smbfs node hash table with sx lock. This commit message is a textbook example of how not to write commit messages: It accurately re-tells what was obvious from the diff anyway but provides no pointers to the background for the change. Sorry for my bitching, but I just couldn't resist... :-) -- Yar From owner-cvs-src@FreeBSD.ORG Sun Mar 2 20:39: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 9542F1065676; Sun, 2 Mar 2008 20:39:19 +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 57BD28FC17; Sun, 2 Mar 2008 20:39:19 +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 E59E046C23; Sun, 2 Mar 2008 15:39:18 -0500 (EST) Date: Sun, 2 Mar 2008 20:39:18 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Yar Tikhiy In-Reply-To: Message-ID: <20080302203651.T31090@fledge.watson.org> References: <200803021856.m22IuEAx019455@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/fs/smbfs smbfs.h smbfs_node.c smbfs_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: Sun, 02 Mar 2008 20:39:19 -0000 On Sun, 2 Mar 2008, Yar Tikhiy wrote: > On Sun, Mar 2, 2008 at 9:56 PM, Robert Watson wrote: >> rwatson 2008-03-02 18:56:14 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/fs/smbfs smbfs.h smbfs_node.c smbfs_vfsops.c >> Log: >> Replace lockmgr lock protecting smbfs node hash table with sx lock. > > This commit message is a textbook example of how not to write commit > messages: It accurately re-tells what was obvious from the diff anyway but > provides no pointers to the background for the change. Sorry for my > bitching, but I just couldn't resist... :-) This change, the the similar change in nwfs, are part of a longer running effort to move towards using our SMPng locks rather than the less well-optimized and generally less pretty pre-SMPng primitives. I wouldn't expect any noticeable improvement in performance, and ideally no change in behavior, but it does reduce the number of unnecessary lockmgr consumers. In this context, my definition of "necessary" is where a consumer relies on specific semantics of lockmgr to function, such as LK_DRAIN, LK_UPGRADE, etc, which don't have comparable behavior with the newer primitives. Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Sun Mar 2 20:49: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 ACBE6106566B; Sun, 2 Mar 2008 20:49:25 +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 6EC878FC1D; Sun, 2 Mar 2008 20:49:25 +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 m22KnPvM036092; Sun, 2 Mar 2008 20:49:25 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22KnPeq036091; Sun, 2 Mar 2008 20:49:25 GMT (envelope-from das) Message-Id: <200803022049.m22KnPeq036091@repoman.freebsd.org> From: David Schultz Date: Sun, 2 Mar 2008 20:49:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/regression/lib/msun test-trig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 20:49:25 -0000 das 2008-03-02 20:49:25 UTC FreeBSD src repository Modified files: tools/regression/lib/msun test-trig.c Log: Don't run tests that assume <= 64-bit precision on machines with quad precision. Revision Changes Path 1.2 +20 -8 src/tools/regression/lib/msun/test-trig.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 21:34: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 9D6E11065673; Sun, 2 Mar 2008 21:34:17 +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 5EB9A8FC15; Sun, 2 Mar 2008 21:34:17 +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 m22LYHB4038822; Sun, 2 Mar 2008 21:34:17 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22LYHwo038821; Sun, 2 Mar 2008 21:34:17 GMT (envelope-from rwatson) Message-Id: <200803022134.m22LYHwo038821@repoman.freebsd.org> From: Robert Watson Date: Sun, 2 Mar 2008 21:34: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/sys/security/audit audit_trigger.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 21:34:17 -0000 rwatson 2008-03-02 21:34:17 UTC FreeBSD src repository Modified files: sys/security/audit audit_trigger.c Log: Rather than copying out the full audit trigger record, which includes a queue entry field, just copy out the unsigned int that is the trigger message. In practice, auditd always requested sizeof(unsigned int), so the extra bytes were ignored, but copying them out was not the intent. MFC after: 1 month Revision Changes Path 1.7 +1 -1 src/sys/security/audit/audit_trigger.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 21:34: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 3DD03106566B; Sun, 2 Mar 2008 21:34:58 +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 F35B98FC1D; Sun, 2 Mar 2008 21:34:57 +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 m22LYvQE038902; Sun, 2 Mar 2008 21:34:57 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22LYvVS038901; Sun, 2 Mar 2008 21:34:57 GMT (envelope-from marcel) Message-Id: <200803022134.m22LYvVS038901@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 2 Mar 2008 21:34:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern sched_4bsd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 21:34:58 -0000 marcel 2008-03-02 21:34:57 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: Unbreak after cpuset: initialize td_cpuset in sched_fork_thread(). Revision Changes Path 1.114 +2 -0 src/sys/kern/sched_4bsd.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 22:27: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 88AB21065677; Sun, 2 Mar 2008 22:27:50 +0000 (UTC) (envelope-from fanf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7A08FC2E; Sun, 2 Mar 2008 22:27:50 +0000 (UTC) (envelope-from fanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22MRoCJ041906; Sun, 2 Mar 2008 22:27:50 GMT (envelope-from fanf@repoman.freebsd.org) Received: (from fanf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22MRopE041905; Sun, 2 Mar 2008 22:27:50 GMT (envelope-from fanf) Message-Id: <200803022227.m22MRopE041905@repoman.freebsd.org> From: Tony Finch Date: Sun, 2 Mar 2008 22:27: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/usr.bin/unifdef unifdef.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 22:27:50 -0000 fanf 2008-03-02 22:27:49 UTC FreeBSD src repository Modified files: usr.bin/unifdef unifdef.c Log: Typo in comment spotted by Hasso Tepper. Obtained from: DragonFlyBSD Revision Changes Path 1.23 +2 -2 src/usr.bin/unifdef/unifdef.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 22:52: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 D2082106566C; Sun, 2 Mar 2008 22:52:14 +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 92E1E8FC14; Sun, 2 Mar 2008 22:52:14 +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 m22MqEnj042787; Sun, 2 Mar 2008 22:52:14 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22MqEKs042786; Sun, 2 Mar 2008 22:52:14 GMT (envelope-from rwatson) Message-Id: <200803022252.m22MqEKs042786@repoman.freebsd.org> From: Robert Watson Date: Sun, 2 Mar 2008 22:52: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/ufs/ufs ufs_extattr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 22:52:15 -0000 rwatson 2008-03-02 22:52:14 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_extattr.c Log: Don't auto-start or allow extattrctl for UFS2 file systems, as UFS2 has native extended attributes. This didn't interfere with the operation of UFS2 extended attributes, but the code shouldn't be running for UFS2. MFC after: 2 weeks Revision Changes Path 1.90 +18 -0 src/sys/ufs/ufs/ufs_extattr.c From owner-cvs-src@FreeBSD.ORG Sun Mar 2 23:26: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 39D4B106566C; Sun, 2 Mar 2008 23:26:36 +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 EF8FF8FC38; Sun, 2 Mar 2008 23:26:35 +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 m22NQZkt046973; Sun, 2 Mar 2008 23:26:35 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22NQZMJ046972; Sun, 2 Mar 2008 23:26:35 GMT (envelope-from mav) Message-Id: <200803022326.m22NQZMJ046972@repoman.freebsd.org> From: Alexander Motin Date: Sun, 2 Mar 2008 23:26:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_pppoe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 02 Mar 2008 23:26:36 -0000 mav 2008-03-02 23:26:35 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Make session ID generator to use session ID hash. Make session ID generator thread-safe. Revision Changes Path 1.93 +37 -40 src/sys/netgraph/ng_pppoe.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 03:24:22 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 0A52A106566B; Mon, 3 Mar 2008 03:24:22 +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 DE6C68FC26; Mon, 3 Mar 2008 03:24: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 m233OHmC079435; Mon, 3 Mar 2008 03:24:19 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47CB6FB0.9040602@freebsd.org> Date: Mon, 03 Mar 2008 11:25:36 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803020741.m227fAoJ039644@repoman.freebsd.org> In-Reply-To: <200803020741.m227fAoJ039644@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/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, 03 Mar 2008 03:24:22 -0000 Jeff Roberson wrote: > jeff 2008-03-02 07:41:10 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 for cpuset > > Sponsored by: Nokia > > Revision Changes Path > 1.234 +6 -1 src/sys/kern/init_sysent.c > 1.218 +6 -1 src/sys/kern/syscalls.c > 1.18 +48 -0 src/sys/kern/systrace_args.c > 1.215 +7 -2 src/sys/sys/syscall.h > 1.170 +7 -2 src/sys/sys/syscall.mk > 1.219 +39 -1 src/sys/sys/sysproto.h > One question is how I can determine the size of cpuset the kernel is using ? Regards, David Xu From owner-cvs-src@FreeBSD.ORG Mon Mar 3 03:33: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 B046F1065670; Mon, 3 Mar 2008 03:33:58 +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 78F0C8FC13; Mon, 3 Mar 2008 03:33:58 +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 m233Xwmr069092; Mon, 3 Mar 2008 03:33:58 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m233XwcJ069091; Mon, 3 Mar 2008 03:33:58 GMT (envelope-from yongari) Message-Id: <200803030333.m233XwcJ069091@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 3 Mar 2008 03:33: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/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, 03 Mar 2008 03:33:58 -0000 yongari 2008-03-03 03:33:58 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: Implement WOL. Tested by: Fabian Keil ( freebsd-listen AT fabienkeli DOT de ) Revision Changes Path 1.104 +108 -0 src/sys/dev/re/if_re.c 1.71 +39 -1 src/sys/pci/if_rlreg.h From owner-cvs-src@FreeBSD.ORG Mon Mar 3 03:34: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 DC6E31065670; Mon, 3 Mar 2008 03:34:52 +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 A6B278FC19; Mon, 3 Mar 2008 03:34:52 +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 m233YqKd069130; Mon, 3 Mar 2008 03:34:52 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from kmacy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m233Yqqd069129; Mon, 3 Mar 2008 03:34:52 GMT (envelope-from kmacy) Message-Id: <200803030334.m233Yqqd069129@repoman.freebsd.org> From: Kip Macy Date: Mon, 3 Mar 2008 03:34: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/modules/cxgb/cxgb_t3fw 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, 03 Mar 2008 03:34:53 -0000 kmacy 2008-03-03 03:34:52 UTC FreeBSD src repository Modified files: sys/modules/cxgb/cxgb_t3fw Makefile Log: Add KMOD target. Discovered by: Takahashi Yoshihiro Revision Changes Path 1.2 +1 -0 src/sys/modules/cxgb/cxgb_t3fw/Makefile From owner-cvs-src@FreeBSD.ORG Mon Mar 3 03:41: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 30165106566B; Mon, 3 Mar 2008 03:41:07 +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 EE4E98FC1A; Mon, 3 Mar 2008 03:41:06 +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 m233f6KO069429; Mon, 3 Mar 2008 03:41:06 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m233f6HH069428; Mon, 3 Mar 2008 03:41:06 GMT (envelope-from yongari) Message-Id: <200803030341.m233f6HH069428@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 3 Mar 2008 03:41: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/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, 03 Mar 2008 03:41:07 -0000 yongari 2008-03-03 03:41:06 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rlreg.h Log: Don't allow jumbo frame on 8139C+ controller. While I'm here add a check for minimal MTU length. Revision Changes Path 1.105 +11 -3 src/sys/dev/re/if_re.c 1.72 +2 -0 src/sys/pci/if_rlreg.h From owner-cvs-src@FreeBSD.ORG Mon Mar 3 04:15: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 2E0FA106566C; Mon, 3 Mar 2008 04:15:09 +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 EF57A8FC18; Mon, 3 Mar 2008 04:15:08 +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 m234F8w2072320; Mon, 3 Mar 2008 04:15:08 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m234F8Ac072319; Mon, 3 Mar 2008 04:15:08 GMT (envelope-from yongari) Message-Id: <200803030415.m234F8Ac072319@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 3 Mar 2008 04:15: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/re if_re.c src/sys/pci if_rl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 04:15:09 -0000 yongari 2008-03-03 04:15:08 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c sys/pci if_rl.c Log: Don't map memory/IO resource in device probe and just use PCI vendor/revision/sub device id of the hardware to probe it. This is the same way as NetBSD does and it enhances readabilty a lot. Revision Changes Path 1.106 +32 -41 src/sys/dev/re/if_re.c 1.173 +18 -41 src/sys/pci/if_rl.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 04:29: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 D07071065672; Mon, 3 Mar 2008 04:29:25 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4218FC19; Mon, 3 Mar 2008 04:29:25 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m234TPwD072928; Mon, 3 Mar 2008 04:29:25 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from jkoshy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m234TPnc072927; Mon, 3 Mar 2008 04:29:25 GMT (envelope-from jkoshy) Message-Id: <200803030429.m234TPnc072927@repoman.freebsd.org> From: Joseph Koshy Date: Mon, 3 Mar 2008 04:29: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/libelf elf_update.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 04:29:27 -0000 jkoshy 2008-03-03 04:29:25 UTC FreeBSD src repository Modified files: lib/libelf elf_update.c Log: - Fix an off-by-one bug in _libelf_insert_section(). [1] - Update (c) years. Submitted by: kaiw [1] Revision Changes Path 1.4 +11 -5 src/lib/libelf/elf_update.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 04:34: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 3F78A1065670; Mon, 3 Mar 2008 04:34: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 EA0D28FC1F; Mon, 3 Mar 2008 04:34:38 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m234YZJp088769; Sun, 2 Mar 2008 23:34:37 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Sun, 2 Mar 2008 18:36:49 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <47CB6FB0.9040602@freebsd.org> Message-ID: <20080302183513.P920@desktop> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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, 03 Mar 2008 04:34:39 -0000 On Mon, 3 Mar 2008, David Xu wrote: > Jeff Roberson wrote: >> jeff 2008-03-02 07:41:10 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 for cpuset >> Sponsored by: Nokia >> Revision Changes Path >> 1.234 +6 -1 src/sys/kern/init_sysent.c >> 1.218 +6 -1 src/sys/kern/syscalls.c >> 1.18 +48 -0 src/sys/kern/systrace_args.c >> 1.215 +7 -2 src/sys/sys/syscall.h >> 1.170 +7 -2 src/sys/sys/syscall.mk >> 1.219 +39 -1 src/sys/sys/sysproto.h >> > > One question is how I can determine the size of cpuset the kernel is > using ? I wrote it to tolerate user masks that were much larger than the kernel mask. I set the default CPU_SETSIZE in userspace to 128 and in kernel it's MAXCPU. So in practice an application shouldn't have to redefine CPU_SETSIZE. If your set is too small the kernel will return ERANGE however. Unfortunately, if your set is larger than the kernel's CPU_MAXSIZE it'll also return ERANGE. Maybe I should use different errnos for those cases. > > Regards, > David Xu > From owner-cvs-src@FreeBSD.ORG Mon Mar 3 04: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 C03D61065676 for ; Mon, 3 Mar 2008 04:42:37 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outF.internet-mail-service.net (outF.internet-mail-service.net [216.240.47.229]) by mx1.freebsd.org (Postfix) with ESMTP id A1CCD8FC1A for ; Mon, 3 Mar 2008 04:42:37 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sun, 02 Mar 2008 20:42:37 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id C49AF2D6018; Sun, 2 Mar 2008 20:42:35 -0800 (PST) Message-ID: <47CB81BB.1080009@elischer.org> Date: Sun, 02 Mar 2008 20:42:35 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Peter Jeremy References: <200803020821.m228L0Yw042389@repoman.freebsd.org> <20080301222513.Y920@desktop> <20080302105958.GF67687@server.vk2pj.dyndns.org> In-Reply-To: <20080302105958.GF67687@server.vk2pj.dyndns.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/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: Mon, 03 Mar 2008 04:42:37 -0000 Peter Jeremy wrote: > >> Kris has done some excellent benchmarking as usual. Here you can see the >> improvement in postgres depending on various scheduler debug settings: >> >> http://people.freebsd.org/~kris/scaling/pgsql-16cpu.png > > The improvement is quite substantial. Congratulations Jeff. the drop off after 14 is intersting.. > From owner-cvs-src@FreeBSD.ORG Mon Mar 3 04:45:17 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 3280210656E5; Mon, 3 Mar 2008 04:45:17 +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 CA1A28FC18; Mon, 3 Mar 2008 04:45:16 +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 m234jB0h085603; Mon, 3 Mar 2008 04:45:13 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47CB82A6.4040903@freebsd.org> Date: Mon, 03 Mar 2008 12:46:30 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> In-Reply-To: <20080302183513.P920@desktop> 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/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, 03 Mar 2008 04:45:17 -0000 Jeff Roberson wrote: >> >> One question is how I can determine the size of cpuset the kernel is >> using ? > > I wrote it to tolerate user masks that were much larger than the kernel > mask. I set the default CPU_SETSIZE in userspace to 128 and in kernel > it's MAXCPU. So in practice an application shouldn't have to redefine > CPU_SETSIZE. If your set is too small the kernel will return ERANGE > however. Unfortunately, if your set is larger than the kernel's > CPU_MAXSIZE it'll also return ERANGE. Maybe I should use different > errnos for those cases. > maybe the prototype of cpuset_getaffinity() can be changed to: int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, int *cpusetsize, cpuset_t *); if *cpusetsize is zero, kernel just writes out the actual size the kernel is using ? From owner-cvs-src@FreeBSD.ORG Mon Mar 3 06:39: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 38B681065674; Mon, 3 Mar 2008 06:39:41 +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 1067C8FC28; Mon, 3 Mar 2008 06:39:41 +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 m236dehN091592; Mon, 3 Mar 2008 06:39:40 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m236ddlP091591; Mon, 3 Mar 2008 06:39:39 GMT (envelope-from kevlo) Message-Id: <200803030639.m236ddlP091591@repoman.freebsd.org> From: Kevin Lo Date: Mon, 3 Mar 2008 06:39: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/arm/xscale/ixp425 ixp425_iic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 06:39:41 -0000 kevlo 2008-03-03 06:39:36 UTC FreeBSD src repository Modified files: sys/arm/xscale/ixp425 ixp425_iic.c Log: Convert to be a 2-clause bsd-only license. Pointed out by: rwatson Revision Changes Path 1.2 +0 -7 src/sys/arm/xscale/ixp425/ixp425_iic.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 08: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 E7F631065671; Mon, 3 Mar 2008 08:28: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 C523C8FC19; Mon, 3 Mar 2008 08:28: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 m238SDSC098464; Mon, 3 Mar 2008 08:28:13 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m238SDOf098463; Mon, 3 Mar 2008 08:28:13 GMT (envelope-from davidxu) Message-Id: <200803030828.m238SDOf098463@repoman.freebsd.org> From: David Xu Date: Mon, 3 Mar 2008 08:28: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/include pthread_np.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 08:28:14 -0000 davidxu 2008-03-03 08:28:13 UTC FreeBSD src repository Modified files: include pthread_np.h Log: Add cpu affinity APIs to get and set thread's cpu affinity mask, the functions are intented to be are compatible with glibc. Revision Changes Path 1.21 +7 -0 src/include/pthread_np.h From owner-cvs-src@FreeBSD.ORG Mon Mar 3 08:32: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 9D2421065685; Mon, 3 Mar 2008 08:32:58 +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 7A7558FC25; Mon, 3 Mar 2008 08:32:58 +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 m238WwRL098615; Mon, 3 Mar 2008 08:32:58 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m238Wwe2098614; Mon, 3 Mar 2008 08:32:58 GMT (envelope-from ru) Message-Id: <200803030832.m238Wwe2098614@repoman.freebsd.org> From: Ruslan Ermilov Date: Mon, 3 Mar 2008 08:32: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/usr.bin/find find.1 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: Mon, 03 Mar 2008 08:32:58 -0000 ru 2008-03-03 08:32:58 UTC FreeBSD src repository Modified files: usr.bin/find find.1 main.c Log: Fix SYNOPSIS and usage(). Revision Changes Path 1.86 +7 -7 src/usr.bin/find/find.1 1.16 +3 -2 src/usr.bin/find/main.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 08:55: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 327C3106566C; Mon, 3 Mar 2008 08:55:51 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 108E48FC17; Mon, 3 Mar 2008 08:55:51 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m238tptm008960; Mon, 3 Mar 2008 08:55:51 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m238to8f008959; Mon, 3 Mar 2008 08:55:50 GMT (envelope-from brueffer) Message-Id: <200803030855.m238to8f008959@repoman.freebsd.org> From: Christian Brueffer Date: Mon, 3 Mar 2008 08: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/share/man/man4 fwohci.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, 03 Mar 2008 08:55:51 -0000 brueffer 2008-03-03 08:55:50 UTC FreeBSD src repository Modified files: share/man/man4 fwohci.4 Log: The Sony i.LINK (CXD1947) is _not_ supported. PR: 116680 Submitted by: Jens Köhler MFC after: 3 days Revision Changes Path 1.17 +1 -3 src/share/man/man4/fwohci.4 From owner-cvs-src@FreeBSD.ORG Mon Mar 3 08:59:02 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 C093D106566B; Mon, 3 Mar 2008 08:59:02 +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 B48DD8FC27; Mon, 3 Mar 2008 08:59:02 +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 m238wwA5011743; Mon, 3 Mar 2008 08:59:00 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47CBBE21.4060104@freebsd.org> Date: Mon, 03 Mar 2008 17:00:17 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803020739.m227dNLe039427@repoman.freebsd.org> In-Reply-To: <200803020739.m227dNLe039427@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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: Mon, 03 Mar 2008 08:59:02 -0000 Jeff Roberson wrote: > jeff 2008-03-02 07:39:22 UTC > > FreeBSD src repository > > Modified files: > sys/conf files > sys/kern init_main.c kern_thread.c syscalls.master > sys/sys _types.h types.h proc.h > lib/libc/sys Symbol.map > Added files: > sys/kern kern_cpuset.c > sys/sys cpuset.h > Log: > Add cpuset, an api for thread to cpu binding and cpu resource grouping > and assignment. > - Add a reference to a struct cpuset in each thread that is inherited from > the thread that created it. > - Release the reference when the thread is destroyed. > - Add prototypes for syscalls and macros for manipulating cpusets in > sys/cpuset.h > - Add syscalls to create, get, and set new numbered cpusets: > cpuset(), cpuset_{get,set}id() > - Add syscalls for getting and setting affinity masks for cpusets or > individual threads: cpuid_{get,set}affinity() > - Add types for the 'level' and 'which' parameters for the cpuset. This > will permit expansion of the api to cover cpu masks for other objects > identifiable with an id_t integer. For example, IRQs and Jails may be > coming soon. > - The root set 0 contains all valid cpus. All thread initially belong to > cpuset 1. This permits migrating all threads off of certain cpus to > reserve them for special applications. > > Sponsored by: Nokia > Discussed with: arch, rwatson, brooks, davidxu, deischen > Reviewed by: antoine > The cpuset_setaffinity with command CPU_WHICH_TID may hurt another process if a weird process is out of the control. The current code intents to lookup globally a thread has exact thread id, because thread may be created and exited quickly, and thread ID is reused quickly too, it is possible the weird process gives an outdated thread ID to the API, and an irrelvant thread within another process belongs to same user gets bind to cpus, such problem is very difficult to be diagnosed when it happens, and it is an administrator is nightmare. I think there should be a CPU_WHICH_TID_LOCAL command to limit the searching scope in current process, and in most case, the CPU_WHICH_TID_LOCAL will be used instead. Regards, David Xu From owner-cvs-src@FreeBSD.ORG Mon Mar 3 09:05:12 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 0394B1065670; Mon, 3 Mar 2008 09:05:12 +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 EBB5F8FC15; Mon, 3 Mar 2008 09:05: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 m239571C011964; Mon, 3 Mar 2008 09:05:08 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47CBBF91.3020404@freebsd.org> Date: Mon, 03 Mar 2008 17:06:25 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803020739.m227dNLe039427@repoman.freebsd.org> <47CBBE21.4060104@freebsd.org> In-Reply-To: <47CBBE21.4060104@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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: Mon, 03 Mar 2008 09:05:12 -0000 David Xu wrote: > The cpuset_setaffinity with command CPU_WHICH_TID may hurt another > process if a weird process is out of the control. > The current code intents to lookup globally a thread has exact thread > id, because thread may be created and exited quickly, and thread ID is > reused quickly too, it is possible the weird process gives an outdated > thread ID to the API, and an irrelvant thread within another process > belongs to same user gets bind to cpus, such problem is very difficult > to be diagnosed when it happens, and it is an administrator is > nightmare. I think there should be a CPU_WHICH_TID_LOCAL command > to limit the searching scope in current process, and in most case, > the CPU_WHICH_TID_LOCAL will be used instead. > > Regards, > David Xu > > or we always pass pid to cpu_setaffinity. From owner-cvs-src@FreeBSD.ORG Mon Mar 3 09:15: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 28E4D106566B; Mon, 3 Mar 2008 09:15:15 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk1.360sip.com [72.236.70.240]) by mx1.freebsd.org (Postfix) with ESMTP id C70A68FC1E; Mon, 3 Mar 2008 09:15:14 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.3] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id m239FDvb065917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Mar 2008 01:15:14 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Message-ID: <47CBC127.8010403@FreeBSD.org> Date: Mon, 03 Mar 2008 01:13:11 -0800 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Jeff Roberson References: <200803020758.m227wgH9040483@repoman.freebsd.org> In-Reply-To: <200803020758.m227wgH9040483@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 identcpu.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 identcpu.c mp_machdep.c src/sys/i386/include smp.h src/sys/ia64/ia64 mp_machdep.c src/sys/kern sched_ule.c subr_smp.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 09:15:15 -0000 Jeff Roberson wrote: > jeff 2008-03-02 07:58:42 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/amd64 identcpu.c mp_machdep.c > sys/amd64/include smp.h > sys/i386/i386 identcpu.c mp_machdep.c > sys/i386/include smp.h > sys/ia64/ia64 mp_machdep.c > sys/kern sched_ule.c subr_smp.c > sys/powerpc/powerpc mp_machdep.c > sys/sparc64/sparc64 mp_machdep.c > sys/sun4v/sun4v mp_machdep.c > sys/sys smp.h > Log: > - Remove the old smp cpu topology specification with a new, more flexible > tree structure that encodes the level of cache sharing and other > properties. > - Provide several convenience functions for creating one and two level > cpu trees as well as a default flat topology. The system now always > has some topology. > - On i386 and amd64 create a seperate level in the hierarchy for HTT > and multi-core cpus. This will allow the scheduler to intelligently > load balance non-uniform cores. Presently we don't detect what level > of the cache hierarchy is shared at each level in the topology. > - Add a mechanism for testing common topologies that have more information > than the MD code is able to provide via the kern.smp.topology tunable. > This should be considered a debugging tool only and not a stable api. Cool! I am just curious if the new topology code is flexible enough to support cores that come and go on the fly? This could be useful in several scenarios, such as for example when running under multi-core aware hypervisor (e.g. Niagara), in the cases when pro-active power manager shuts down some cores to conserve power, in server applications when one of CPUs either has fried or has been unplugged, etc. -Maxim From owner-cvs-src@FreeBSD.ORG Mon Mar 3 09:16: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 B189A1065673; Mon, 3 Mar 2008 09:16:29 +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 8FAF68FC17; Mon, 3 Mar 2008 09:16:29 +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 m239GTDl011382; Mon, 3 Mar 2008 09:16:29 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m239GT4q011381; Mon, 3 Mar 2008 09:16:29 GMT (envelope-from davidxu) Message-Id: <200803030916.m239GT4q011381@repoman.freebsd.org> From: David Xu Date: Mon, 3 Mar 2008 09:16: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/libthr pthread.map src/lib/libthr/thread Makefile.inc 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: Mon, 03 Mar 2008 09:16:29 -0000 davidxu 2008-03-03 09:16:29 UTC FreeBSD src repository Modified files: lib/libthr pthread.map lib/libthr/thread Makefile.inc Added files: lib/libthr/thread thr_affinity.c Log: Implement functions pthread_getaffinity_np and pthread_setaffinity_np to get and set thread's cpu affinity mask. Revision Changes Path 1.27 +3 -1 src/lib/libthr/pthread.map 1.17 +1 -0 src/lib/libthr/thread/Makefile.inc 1.1 +74 -0 src/lib/libthr/thread/thr_affinity.c (new) From owner-cvs-src@FreeBSD.ORG Mon Mar 3 09:25: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 EF0D01065675; Mon, 3 Mar 2008 09:25:45 +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 C63648FC20; Mon, 3 Mar 2008 09:25:45 +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 0F52246B2C; Mon, 3 Mar 2008 04:25:45 -0500 (EST) Date: Mon, 3 Mar 2008 09:25:44 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Maxim Sobolev In-Reply-To: <47CBC127.8010403@FreeBSD.org> Message-ID: <20080303092335.E66705@fledge.watson.org> References: <200803020758.m227wgH9040483@repoman.freebsd.org> <47CBC127.8010403@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 identcpu.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 identcpu.c mp_machdep.c src/sys/i386/include smp.h src/sys/ia64/ia64 mp_machdep.c src/sys/kern sched_ule.c subr_smp.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 09:25:46 -0000 On Mon, 3 Mar 2008, Maxim Sobolev wrote: > Cool! I am just curious if the new topology code is flexible enough to > support cores that come and go on the fly? This could be useful in several > scenarios, such as for example when running under multi-core aware > hypervisor (e.g. Niagara), in the cases when pro-active power manager shuts > down some cores to conserve power, in server applications when one of CPUs > either has fried or has been unplugged, etc. We have quite a bit of kernel code that expects CPUs never come and go; I've been hoping to interest people in having a devsummit session on CPU hotplugging for a couple of years now. :-) I don't see physical hotplugging as all that motivating currently, by hypervisor reallocation of CPUs *is* immediately motivating. You'll find assumptions of fixed CPUs all over our kernel -- schedulers, memory allocators, timer management, etc. A mature model for starting and stopping CPUs and allowing kernel subsystems to register with event handlers in order to start/stop their own services is necessary. Similarly, providing a way for user applications that care about CPU placement to hook into the event stream and respond appropriately is important. Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Mon Mar 3 09:28: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 A98BE1065672; Mon, 3 Mar 2008 09:28:20 +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 7E4708FC1B; Mon, 3 Mar 2008 09:28:20 +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 <0JX5008KGEB621O0@mta1.srv.hcvlny.cv.net>; Mon, 03 Mar 2008 04:28:19 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m239SI6s072567; Mon, 03 Mar 2008 04:28:18 -0500 Date: Mon, 03 Mar 2008 04:28:13 -0500 From: "Aryeh M. Friedman" In-reply-to: <20080303092335.E66705@fledge.watson.org> To: Robert Watson Message-id: <47CBC4AD.8090100@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: <200803020758.m227wgH9040483@repoman.freebsd.org> <47CBC127.8010403@FreeBSD.org> <20080303092335.E66705@fledge.watson.org> User-Agent: Thunderbird 2.0.0.12 (X11/20080303) Cc: Maxim Sobolev , Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 identcpu.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 identcpu.c mp_machdep.c src/sys/i386/include smp.h src/sys/ia64/ia64 mp_machdep.c src/sys/kern sched_ule.c subr_smp.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 09:28:20 -0000 Robert Watson wrote: > > On Mon, 3 Mar 2008, Maxim Sobolev wrote: > >> Cool! I am just curious if the new topology code is flexible enough >> to support cores that come and go on the fly? This could be useful in >> several scenarios, such as for example when running under multi-core >> aware hypervisor (e.g. Niagara), in the cases when pro-active power >> manager shuts down some cores to conserve power, in server >> applications when one of CPUs either has fried or has been unplugged, >> etc. > > We have quite a bit of kernel code that expects CPUs never come and > go; I've been hoping to interest people in having a devsummit session > on CPU hotplugging for a couple of years now. :-) Grid computing is an other immediate application (depending on how tightly coupled the nodes are of course) From owner-cvs-src@FreeBSD.ORG Mon Mar 3 09:34: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 9A13D1065671; Mon, 3 Mar 2008 09:34:37 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by mx1.freebsd.org (Postfix) with ESMTP id 717398FC32; Mon, 3 Mar 2008 09:34:37 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JX5009CAD7O9YE0@mta5.srv.hcvlny.cv.net>; Mon, 03 Mar 2008 04:04:36 -0500 (EST) Received: from flosoft.no-ip.biz (localhost [IPv6:::1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m2394ZQ8007252; Mon, 03 Mar 2008 04:04:35 -0500 Date: Mon, 03 Mar 2008 04:04:30 -0500 From: "Aryeh M. Friedman" In-reply-to: <47CBBE21.4060104@freebsd.org> To: David Xu Message-id: <47CBBF1E.8060701@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: <200803020739.m227dNLe039427@repoman.freebsd.org> <47CBBE21.4060104@freebsd.org> User-Agent: Thunderbird 2.0.0.12 (X11/20080303) Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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: Mon, 03 Mar 2008 09:34:37 -0000 David Xu wrote: > Jeff Roberson wrote: >> jeff 2008-03-02 07:39:22 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/conf files sys/kern init_main.c >> kern_thread.c syscalls.master sys/sys _types.h >> types.h proc.h lib/libc/sys Symbol.map Added files: >> sys/kern kern_cpuset.c sys/sys >> cpuset.h Log: >> Add cpuset, an api for thread to cpu binding and cpu resource grouping >> and assignment. >> - Add a reference to a struct cpuset in each thread that is >> inherited from >> the thread that created it. >> - Release the reference when the thread is destroyed. >> - Add prototypes for syscalls and macros for manipulating cpusets in >> sys/cpuset.h >> - Add syscalls to create, get, and set new numbered cpusets: >> cpuset(), cpuset_{get,set}id() >> - Add syscalls for getting and setting affinity masks for cpusets or >> individual threads: cpuid_{get,set}affinity() >> - Add types for the 'level' and 'which' parameters for the >> cpuset. This >> will permit expansion of the api to cover cpu masks for other >> objects >> identifiable with an id_t integer. For example, IRQs and Jails >> may be >> coming soon. >> - The root set 0 contains all valid cpus. All thread initially >> belong to >> cpuset 1. This permits migrating all threads off of certain >> cpus to >> reserve them for special applications. >> Sponsored by: Nokia >> Discussed with: arch, rwatson, brooks, davidxu, deischen >> Reviewed by: antoine >> > > The cpuset_setaffinity with command CPU_WHICH_TID may hurt another > process if a weird process is out of the control. > The current code intents to lookup globally a thread has exact thread > id, because thread may be created and exited quickly, and thread ID is > reused quickly too, it is possible the weird process gives an outdated > thread ID to the API, and an irrelvant thread within another process > belongs to same user gets bind to cpus, such problem is very difficult > to be diagnosed when it happens, and it is an administrator is > nightmare. I think there should be a CPU_WHICH_TID_LOCAL command > to limit the searching scope in current process, and in most case, > the CPU_WHICH_TID_LOCAL will be used instead. Would lack of this cause binaries compiled against a non-cpuset schedular to panic a cpuset one? Specifically when I was attempting to verify the performence gain I commented out all *_affinity items in sched_ule.c and kern_cpuset.c and it booted fine but panicked if any forks from the shell occured (i.e. tcsh came up fine in single user mode but *ANY* external command sent it into a panic) From owner-cvs-src@FreeBSD.ORG Mon Mar 3 10:06: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 CEAC3106566B; Mon, 3 Mar 2008 10:06:52 +0000 (UTC) (envelope-from dds@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AF3F78FC13; Mon, 3 Mar 2008 10:06:52 +0000 (UTC) (envelope-from dds@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23A6qv5014405; Mon, 3 Mar 2008 10:06:52 GMT (envelope-from dds@repoman.freebsd.org) Received: (from dds@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23A6qp1014404; Mon, 3 Mar 2008 10:06:52 GMT (envelope-from dds) Message-Id: <200803031006.m23A6qp1014404@repoman.freebsd.org> From: Diomidis Spinellis Date: Mon, 3 Mar 2008 10:06: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/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, 03 Mar 2008 10:06:53 -0000 dds 2008-03-03 10:06:52 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: Fix typo. Revision Changes Path 1.258 +1 -1 src/games/fortune/datfiles/fortunes From owner-cvs-src@FreeBSD.ORG Mon Mar 3 10:12: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 53BD0106566C; Mon, 3 Mar 2008 10:12:47 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 34C748FC25; Mon, 3 Mar 2008 10:12:47 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23AClZ7014654; Mon, 3 Mar 2008 10:12:47 GMT (envelope-from piso@repoman.freebsd.org) Received: (from piso@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23ACldZ014651; Mon, 3 Mar 2008 10:12:47 GMT (envelope-from piso) Message-Id: <200803031012.m23ACldZ014651@repoman.freebsd.org> From: Paolo Pisati Date: Mon, 3 Mar 2008 10:12: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/netinet ip_fw_pfil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 10:12:47 -0000 piso 2008-03-03 10:12:46 UTC FreeBSD src repository Modified files: sys/netinet ip_fw_pfil.c Log: Raise a bit ipfw kld priority. Discussed on: net-, ipfw-. Revision Changes Path 1.27 +1 -1 src/sys/netinet/ip_fw_pfil.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 11:39: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 103831065670; Mon, 3 Mar 2008 11:39:12 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E77538FC25; Mon, 3 Mar 2008 11:39:11 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23BdBZD018593; Mon, 3 Mar 2008 11:39:11 GMT (envelope-from brian@repoman.freebsd.org) Received: (from brian@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23BdBGS018592; Mon, 3 Mar 2008 11:39:11 GMT (envelope-from brian) Message-Id: <200803031139.m23BdBGS018592@repoman.freebsd.org> From: Brian Somers Date: Mon, 3 Mar 2008 11:39: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: CVSROOT access X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 11:39:12 -0000 brian 2008-03-03 11:39:11 UTC FreeBSD src repository Modified files: . access Log: Restore my real domain name. Approved by: core (wilko) Revision Changes Path 1.862 +1 -1 CVSROOT/access From owner-cvs-src@FreeBSD.ORG Mon Mar 3 11:51: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 CFED71065672; Mon, 3 Mar 2008 11:51:31 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B3F0B8FC27; Mon, 3 Mar 2008 11:51:31 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23BpVsd019046; Mon, 3 Mar 2008 11:51:31 GMT (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23BpV2C019045; Mon, 3 Mar 2008 11:51:31 GMT (envelope-from ache) Message-Id: <200803031151.m23BpV2C019045@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Mon, 3 Mar 2008 11:51: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/lib/libc/locale setrunelocale.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 11:51:32 -0000 ache 2008-03-03 11:51:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/locale setrunelocale.c Log: MFC: 1.51 - better recover from unknown encoding found (not by core dump) Revision Changes Path 1.46.2.2 +27 -3 src/lib/libc/locale/setrunelocale.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 12:12: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 336BA106566B; Mon, 3 Mar 2008 12:12:21 +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 DEBF68FC26; Mon, 3 Mar 2008 12:12:20 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m23CCHMm023414; Mon, 3 Mar 2008 07:12:19 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 02:14:33 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Marcel Moolenaar In-Reply-To: <200803022134.m22LYvVS038901@repoman.freebsd.org> Message-ID: <20080303021350.E920@desktop> References: <200803022134.m22LYvVS038901@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_4bsd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 12:12:21 -0000 On Sun, 2 Mar 2008, Marcel Moolenaar wrote: > marcel 2008-03-02 21:34:57 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_4bsd.c > Log: > Unbreak after cpuset: initialize td_cpuset in sched_fork_thread(). Thanks very much marcel. I just realized this error and was going to fix it when I saw that you had already. Much appreciated. Jeff > > Revision Changes Path > 1.114 +2 -0 src/sys/kern/sched_4bsd.c > From owner-cvs-src@FreeBSD.ORG Mon Mar 3 12:16: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 59C081065670; Mon, 3 Mar 2008 12:16: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 2071A8FC17; Mon, 3 Mar 2008 12:16:04 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m23CFnDb023888; Mon, 3 Mar 2008 07:15:59 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 02:18:05 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Julian Elischer In-Reply-To: <47CB81BB.1080009@elischer.org> Message-ID: <20080303021658.L920@desktop> References: <200803020821.m228L0Yw042389@repoman.freebsd.org> <20080301222513.Y920@desktop> <20080302105958.GF67687@server.vk2pj.dyndns.org> <47CB81BB.1080009@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Peter Jeremy , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@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: Mon, 03 Mar 2008 12:16:04 -0000 On Sun, 2 Mar 2008, Julian Elischer wrote: > Peter Jeremy wrote: > >> >>> Kris has done some excellent benchmarking as usual. Here you can see the >>> improvement in postgres depending on various scheduler debug settings: >>> >>> http://people.freebsd.org/~kris/scaling/pgsql-16cpu.png >> >> The improvement is quite substantial. Congratulations Jeff. > > the drop off after 14 is intersting.. It's contention on various kernel locks, most likely the proc lock. Scheduling algorithms which limit concurrency at contention can improve throughput in these cases but it is to the detriment of workloads which do not suffer the same contention. The ultimate solution will be to improve proc/sleepq/signal locking for 8.0. > >> > From owner-cvs-src@FreeBSD.ORG Mon Mar 3 12:18: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 8A5811065671; Mon, 3 Mar 2008 12:18:48 +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 3E5B98FC2A; Mon, 3 Mar 2008 12:18:48 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m23CIhV7024262; Mon, 3 Mar 2008 07:18:46 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 02:20:59 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Kostik Belousov In-Reply-To: <20080302110726.GI57756@deviant.kiev.zoral.com.ua> Message-ID: <20080303022041.V920@desktop> References: <200803020739.m227dNLe039427@repoman.freebsd.org> <20080302110726.GI57756@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, Jeff Roberson , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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: Mon, 03 Mar 2008 12:18:48 -0000 On Sun, 2 Mar 2008, Kostik Belousov wrote: > On Sun, Mar 02, 2008 at 07:39:22AM +0000, Jeff Roberson wrote: >> jeff 2008-03-02 07:39:22 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/conf files >> sys/kern init_main.c kern_thread.c syscalls.master >> sys/sys _types.h types.h proc.h >> lib/libc/sys Symbol.map >> Added files: >> sys/kern kern_cpuset.c >> sys/sys cpuset.h >> Log: >> Add cpuset, an api for thread to cpu binding and cpu resource grouping >> and assignment. >> - Add a reference to a struct cpuset in each thread that is inherited from >> the thread that created it. >> - Release the reference when the thread is destroyed. >> - Add prototypes for syscalls and macros for manipulating cpusets in >> sys/cpuset.h >> - Add syscalls to create, get, and set new numbered cpusets: >> cpuset(), cpuset_{get,set}id() >> - Add syscalls for getting and setting affinity masks for cpusets or >> individual threads: cpuid_{get,set}affinity() >> - Add types for the 'level' and 'which' parameters for the cpuset. This >> will permit expansion of the api to cover cpu masks for other objects >> identifiable with an id_t integer. For example, IRQs and Jails may be >> coming soon. >> - The root set 0 contains all valid cpus. All thread initially belong to >> cpuset 1. This permits migrating all threads off of certain cpus to >> reserve them for special applications. >> >> Sponsored by: Nokia >> Discussed with: arch, rwatson, brooks, davidxu, deischen >> Reviewed by: antoine >> >> Revision Changes Path >> 1.10 +15 -0 src/lib/libc/sys/Symbol.map >> 1.1275 +1 -0 src/sys/conf/files >> 1.291 +2 -0 src/sys/kern/init_main.c >> 1.1 +907 -0 src/sys/kern/kern_cpuset.c (new) >> 1.266 +5 -1 src/sys/kern/kern_thread.c >> 1.238 +13 -0 src/sys/kern/syscalls.master >> 1.24 +3 -0 src/sys/sys/_types.h >> 1.1 +146 -0 src/sys/sys/cpuset.h (new) >> 1.504 +2 -1 src/sys/sys/proc.h >> 1.98 +4 -0 src/sys/sys/types.h > > Is the ommission of the 32-bits compat syscalls intended ? > No, but thanks for noticing. I need to discuss something with peter first. From owner-cvs-src@FreeBSD.ORG Mon Mar 3 12:22: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 AC276106566B; Mon, 3 Mar 2008 12:22:41 +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 7B11B8FC15; Mon, 3 Mar 2008 12:22:41 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m23CMdSZ024962; Mon, 3 Mar 2008 07:22:40 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 02:24:54 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <47CB82A6.4040903@freebsd.org> Message-ID: <20080303022403.Y920@desktop> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CB82A6.4040903@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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, 03 Mar 2008 12:22:41 -0000 On Mon, 3 Mar 2008, David Xu wrote: > Jeff Roberson wrote: >>> >>> One question is how I can determine the size of cpuset the kernel is >>> using ? >> >> I wrote it to tolerate user masks that were much larger than the kernel >> mask. I set the default CPU_SETSIZE in userspace to 128 and in kernel it's >> MAXCPU. So in practice an application shouldn't have to redefine >> CPU_SETSIZE. If your set is too small the kernel will return ERANGE >> however. Unfortunately, if your set is larger than the kernel's >> CPU_MAXSIZE it'll also return ERANGE. Maybe I should use different errnos >> for those cases. >> > > maybe the prototype of cpuset_getaffinity() can be changed to: > > int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, int *cpusetsize, > cpuset_t *); > > if *cpusetsize is zero, kernel just writes out the actual size the > kernel is using ? > > > I don't really see this as a problem. I can define userspace to use 1024 cpus by default and we would probably never need to concern ourselves with it. After all 1024 cpus should be enough forever.. ;) From owner-cvs-src@FreeBSD.ORG Mon Mar 3 12:26: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 73A801065676; Mon, 3 Mar 2008 12:26: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 3AD558FC1B; Mon, 3 Mar 2008 12:26:38 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m23CQZrJ025688; Mon, 3 Mar 2008 07:26:36 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 02:28:50 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <47CBBE21.4060104@freebsd.org> Message-ID: <20080303022505.P920@desktop> References: <200803020739.m227dNLe039427@repoman.freebsd.org> <47CBBE21.4060104@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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: Mon, 03 Mar 2008 12:26:38 -0000 On Mon, 3 Mar 2008, David Xu wrote: > Jeff Roberson wrote: >> jeff 2008-03-02 07:39:22 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/conf files sys/kern init_main.c >> kern_thread.c syscalls.master sys/sys _types.h types.h >> proc.h lib/libc/sys Symbol.map Added files: >> sys/kern kern_cpuset.c sys/sys cpuset.h >> Log: >> Add cpuset, an api for thread to cpu binding and cpu resource grouping >> and assignment. >> - Add a reference to a struct cpuset in each thread that is inherited >> from >> the thread that created it. >> - Release the reference when the thread is destroyed. >> - Add prototypes for syscalls and macros for manipulating cpusets in >> sys/cpuset.h >> - Add syscalls to create, get, and set new numbered cpusets: >> cpuset(), cpuset_{get,set}id() >> - Add syscalls for getting and setting affinity masks for cpusets or >> individual threads: cpuid_{get,set}affinity() >> - Add types for the 'level' and 'which' parameters for the cpuset. This >> will permit expansion of the api to cover cpu masks for other objects >> identifiable with an id_t integer. For example, IRQs and Jails may be >> coming soon. >> - The root set 0 contains all valid cpus. All thread initially belong >> to >> cpuset 1. This permits migrating all threads off of certain cpus to >> reserve them for special applications. >> Sponsored by: Nokia >> Discussed with: arch, rwatson, brooks, davidxu, deischen >> Reviewed by: antoine >> > > The cpuset_setaffinity with command CPU_WHICH_TID may hurt another > process if a weird process is out of the control. > The current code intents to lookup globally a thread has exact thread > id, because thread may be created and exited quickly, and thread ID is reused > quickly too, it is possible the weird process gives an outdated thread ID to > the API, and an irrelvant thread within another process > belongs to same user gets bind to cpus, such problem is very difficult > to be diagnosed when it happens, and it is an administrator is > nightmare. I think there should be a CPU_WHICH_TID_LOCAL command > to limit the searching scope in current process, and in most case, > the CPU_WHICH_TID_LOCAL will be used instead. Does the tid allocator quickly recycle numbers? This would be different from the pid allocator if it does. Basically every syscall that takes a numeric id would be subject to this problem. I expect application programers will more often specify binding from within the running thread using -1. However, there is a seperate problem that is endemic with our current threading support. thread_find() requires the proc lock and returns a pointer to the found thread. However, the proc lock is not sufficient to ensure that the thread is not exiting and recycled after thread_find() returns. I believe virtually every user of this interface may be subject to races. And while were on the subject. Why is it lwpid_t anyway? We don't have lwps, we have threads. Thanks, Jeff > > Regards, > David Xu > From owner-cvs-src@FreeBSD.ORG Mon Mar 3 12: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 B44281065672; Mon, 3 Mar 2008 12: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 671E08FC17; Mon, 3 Mar 2008 12:29:40 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m23CTZWg026305; Mon, 3 Mar 2008 07:29:38 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 02:31:51 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Robert Watson In-Reply-To: <20080303092335.E66705@fledge.watson.org> Message-ID: <20080303022904.E920@desktop> References: <200803020758.m227wgH9040483@repoman.freebsd.org> <47CBC127.8010403@FreeBSD.org> <20080303092335.E66705@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Maxim Sobolev , Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 identcpu.c mp_machdep.c src/sys/amd64/include smp.h src/sys/i386/i386 identcpu.c mp_machdep.c src/sys/i386/include smp.h src/sys/ia64/ia64 mp_machdep.c src/sys/kern sched_ule.c subr_smp.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 12:29:40 -0000 On Mon, 3 Mar 2008, Robert Watson wrote: > > On Mon, 3 Mar 2008, Maxim Sobolev wrote: > >> Cool! I am just curious if the new topology code is flexible enough to >> support cores that come and go on the fly? This could be useful in several >> scenarios, such as for example when running under multi-core aware >> hypervisor (e.g. Niagara), in the cases when pro-active power manager shuts >> down some cores to conserve power, in server applications when one of CPUs >> either has fried or has been unplugged, etc. > > We have quite a bit of kernel code that expects CPUs never come and go; I've > been hoping to interest people in having a devsummit session on CPU > hotplugging for a couple of years now. :-) I don't see physical hotplugging > as all that motivating currently, by hypervisor reallocation of CPUs *is* > immediately motivating. You'll find assumptions of fixed CPUs all over our > kernel -- schedulers, memory allocators, timer management, etc. A mature > model for starting and stopping CPUs and allowing kernel subsystems to > register with event handlers in order to start/stop their own services is > necessary. Similarly, providing a way for user applications that care about > CPU placement to hook into the event stream and respond appropriately is > important. Just to add a little bit more about cpu migration. Presently cpuset enforces a hard limit on the cpus that a thread can run on. Also, attempts to restrict the cpu set that would leave a thread without a processor to run on fail. In the future I intend to add a force mode that would return the thread to the default set. These features can be used to migrate all of the threads in the system off of certain processors. However, there is still a lot of state, as robert has mentioned, that would have to be reclaimed. I think long term what we need is a per-cpu init chain to take care of these subsystems. I wasn't aware that we ran well enough within any virtualization environment that this might be considered a useful feature. Can anyone comment on that? Thanks, Jeff > > Robert N M Watson > Computer Laboratory > University of Cambridge > From owner-cvs-src@FreeBSD.ORG Mon Mar 3 12:51: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 A2CCF1065673; Mon, 3 Mar 2008 12:51:02 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 871558FC1F; Mon, 3 Mar 2008 12:51:02 +0000 (UTC) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23Cp2fR032216; Mon, 3 Mar 2008 12:51:02 GMT (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23Cp2xr032215; Mon, 3 Mar 2008 12:51:02 GMT (envelope-from ache) Message-Id: <200803031251.m23Cp2xr032215@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Mon, 3 Mar 2008 12:51:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libc/locale setrunelocale.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 12:51:02 -0000 ache 2008-03-03 12:51:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/locale setrunelocale.c Log: MFC: 1.51 - better recover from unknown encoding, not by core dump Revision Changes Path 1.45.2.3 +27 -7 src/lib/libc/locale/setrunelocale.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 13:12: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 0A48B1065674; Mon, 3 Mar 2008 13:12:28 +0000 (UTC) (envelope-from jadawin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E2BCC8FC15; Mon, 3 Mar 2008 13:12:27 +0000 (UTC) (envelope-from jadawin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23DCRtj034562; Mon, 3 Mar 2008 13:12:27 GMT (envelope-from jadawin@repoman.freebsd.org) Received: (from jadawin@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23DCRmh034561; Mon, 3 Mar 2008 13:12:27 GMT (envelope-from jadawin) Message-Id: <200803031312.m23DCRmh034561@repoman.freebsd.org> From: Philippe Audeoud Date: Mon, 3 Mar 2008 13: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/share/misc committers-ports.dot X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 13:12:28 -0000 jadawin 2008-03-03 13:12:27 UTC FreeBSD src repository (ports committer) Modified files: share/misc committers-ports.dot Log: - Add myself to ports committers and to tabthorpe and thierry's mentee list Approved by: thierry (co-mentor) Revision Changes Path 1.67 +5 -0 src/share/misc/committers-ports.dot From owner-cvs-src@FreeBSD.ORG Mon Mar 3 13: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 F18AE1065673; Mon, 3 Mar 2008 13:14:39 +0000 (UTC) (envelope-from jadawin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D60FB8FC27; Mon, 3 Mar 2008 13:14:39 +0000 (UTC) (envelope-from jadawin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23DEd1Q034669; Mon, 3 Mar 2008 13:14:39 GMT (envelope-from jadawin@repoman.freebsd.org) Received: (from jadawin@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23DEdEH034668; Mon, 3 Mar 2008 13:14:39 GMT (envelope-from jadawin) Message-Id: <200803031314.m23DEdEH034668@repoman.freebsd.org> From: Philippe Audeoud Date: Mon, 3 Mar 2008 13:14: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/usr.bin/calendar/calendars calendar.freebsd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 13:14:40 -0000 jadawin 2008-03-03 13:14:39 UTC FreeBSD src repository (ports committer) Modified files: usr.bin/calendar/calendars calendar.freebsd Log: - Add my birthday. Approved by : thierry (co-mentor) Revision Changes Path 1.227 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From owner-cvs-src@FreeBSD.ORG Mon Mar 3 13:20: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 EE7641065673; Mon, 3 Mar 2008 13:20:53 +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 EC1BC8FC2C; Mon, 3 Mar 2008 13:20:53 +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 m23DKrZS035045; Mon, 3 Mar 2008 13:20:53 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23DKrBr035044; Mon, 3 Mar 2008 13:20:53 GMT (envelope-from raj) Message-Id: <200803031320.m23DKrBr035044@repoman.freebsd.org> From: Rafal Jaworowski Date: Mon, 3 Mar 2008 13:20: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/powerpc/include pmap.h psl.h pte.h sf_buf.h spr.h tlb.h trap.h trap_aim.h trap_booke.h vmparam.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, 03 Mar 2008 13:20:54 -0000 raj 2008-03-03 13:20:53 UTC FreeBSD src repository Modified files: sys/powerpc/include pmap.h psl.h pte.h sf_buf.h spr.h trap.h vmparam.h Added files: sys/powerpc/include tlb.h trap_aim.h trap_booke.h Log: Rework and extend PowerPC headers definitons towards Book-E/e500 CPUs support. Approved by: cognet (mentor) Obtained from: Juniper, Semihalf MFp4: e500 Revision Changes Path 1.21 +70 -5 src/sys/powerpc/include/pmap.h 1.5 +32 -0 src/sys/powerpc/include/psl.h 1.6 +101 -1 src/sys/powerpc/include/pte.h 1.3 +30 -0 src/sys/powerpc/include/sf_buf.h 1.8 +148 -19 src/sys/powerpc/include/spr.h 1.1 +144 -0 src/sys/powerpc/include/tlb.h (new) 1.6 +6 -107 src/sys/powerpc/include/trap.h 1.1 +106 -0 src/sys/powerpc/include/trap_aim.h (new) 1.1 +55 -0 src/sys/powerpc/include/trap_booke.h (new) 1.12 +38 -7 src/sys/powerpc/include/vmparam.h From owner-cvs-src@FreeBSD.ORG Mon Mar 3 17:17: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 41890106566C; Mon, 3 Mar 2008 17:17:01 +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 3EE288FC16; Mon, 3 Mar 2008 17:17:01 +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 m23HH1Rd068263; Mon, 3 Mar 2008 17:17:01 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23HH18K068262; Mon, 3 Mar 2008 17:17:01 GMT (envelope-from raj) Message-Id: <200803031717.m23HH18K068262@repoman.freebsd.org> From: Rafal Jaworowski Date: Mon, 3 Mar 2008 17:17: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/conf options.powerpc src/sys/dev/uart uart.h uart_bus_ocp.c uart_cpu_powerpc.c src/sys/kern subr_witness.c src/sys/powerpc/booke clock.c copyinout.c interrupt.c locore.S machdep.c pmap.c support.S swtch.S trap.c trap_subr.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: Mon, 03 Mar 2008 17:17:01 -0000 raj 2008-03-03 17:17:01 UTC FreeBSD src repository Modified files: sys/conf options.powerpc sys/dev/uart uart.h uart_cpu_powerpc.c sys/kern subr_witness.c sys/powerpc/include md_var.h mmuvar.h sys/powerpc/powerpc autoconf.c Added files: sys/dev/uart uart_bus_ocp.c sys/powerpc/booke clock.c copyinout.c interrupt.c locore.S machdep.c pmap.c support.S swtch.S trap.c trap_subr.S uio_machdep.c vm_machdep.c sys/powerpc/include ocpbus.h sys/powerpc/mpc85xx nexus.c ocpbus.c ocpbus.h opic.c pci_ocp.c Log: Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. The PQ3 is a high performance integrated communications processing system based on the e500 core, which is an embedded RISC processor that implements the 32-bit Book E definition of the PowerPC architecture. For details refer to: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8555E This port was tested and successfully run on the following members of the PQ3 family: MPC8533, MPC8541, MPC8548, MPC8555. The following major integrated peripherals are supported: * On-chip peripherals bus * OpenPIC interrupt controller * UART * Ethernet (TSEC) * Host/PCI bridge * QUICC engine (SCC functionality) This commit brings the main functionality and will be followed by individual drivers that are logically separate from this base. Approved by: cognet (mentor) Obtained from: Juniper, Semihalf MFp4: e500 Revision Changes Path 1.12 +2 -0 src/sys/conf/options.powerpc 1.7 +1 -0 src/sys/dev/uart/uart.h 1.1 +88 -0 src/sys/dev/uart/uart_bus_ocp.c (new) 1.5 +26 -0 src/sys/dev/uart/uart_cpu_powerpc.c 1.240 +3 -0 src/sys/kern/subr_witness.c 1.1 +276 -0 src/sys/powerpc/booke/clock.c (new) 1.1 +304 -0 src/sys/powerpc/booke/copyinout.c (new) 1.1 +139 -0 src/sys/powerpc/booke/interrupt.c (new) 1.1 +497 -0 src/sys/powerpc/booke/locore.S (new) 1.1 +963 -0 src/sys/powerpc/booke/machdep.c (new) 1.1 +3107 -0 src/sys/powerpc/booke/pmap.c (new) 1.1 +106 -0 src/sys/powerpc/booke/support.S (new) 1.1 +145 -0 src/sys/powerpc/booke/swtch.S (new) 1.1 +679 -0 src/sys/powerpc/booke/trap.c (new) 1.1 +842 -0 src/sys/powerpc/booke/trap_subr.S (new) 1.1 +135 -0 src/sys/powerpc/booke/uio_machdep.c (new) 1.1 +517 -0 src/sys/powerpc/booke/vm_machdep.c (new) 1.31 +1 -0 src/sys/powerpc/include/md_var.h 1.2 +1 -0 src/sys/powerpc/include/mmuvar.h 1.1 +45 -0 src/sys/powerpc/include/ocpbus.h (new) 1.1 +144 -0 src/sys/powerpc/mpc85xx/nexus.c (new) 1.1 +585 -0 src/sys/powerpc/mpc85xx/ocpbus.c (new) 1.1 +86 -0 src/sys/powerpc/mpc85xx/ocpbus.h (new) 1.1 +99 -0 src/sys/powerpc/mpc85xx/opic.c (new) 1.1 +781 -0 src/sys/powerpc/mpc85xx/pci_ocp.c (new) 1.17 +4 -3 src/sys/powerpc/powerpc/autoconf.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 17:27: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 D8D791065675; Mon, 3 Mar 2008 17:27:42 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id B122A8FC20; Mon, 3 Mar 2008 17:27:42 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 1583FACED7; Mon, 3 Mar 2008 12:27:42 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 03 Mar 2008 12:27:42 -0500 X-Sasl-enc: feP/ixp7xSnGavsvZPJl9enR3ecbEwfeLP5h2fnrpBeW 1204565261 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 4B2BC106FF; Mon, 3 Mar 2008 12:27:41 -0500 (EST) Message-ID: <47CC350C.8040402@FreeBSD.org> Date: Mon, 03 Mar 2008 17:27:40 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.9 (X11/20080207) MIME-Version: 1.0 To: Rafal Jaworowski References: <200803031717.m23HH18K068262@repoman.freebsd.org> In-Reply-To: <200803031717.m23HH18K068262@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options.powerpc src/sys/dev/uart uart.h uart_bus_ocp.c uart_cpu_powerpc.c src/sys/kern subr_witness.c src/sys/powerpc/booke clock.c copyinout.c interrupt.c locore.S machdep.c pmap.c support.S swtch.S trap.c trap_subr.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: Mon, 03 Mar 2008 17:27:43 -0000 Rafal Jaworowski wrote: > Log: > Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. > Wahaeyyyy! Crack out the beers!!! From owner-cvs-src@FreeBSD.ORG Mon Mar 3 18: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 9C6AC106566C; Mon, 3 Mar 2008 18:20:17 +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 9AEC28FC19; Mon, 3 Mar 2008 18:20:17 +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 m23IKHdW071788; Mon, 3 Mar 2008 18:20:17 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23IKH9q071787; Mon, 3 Mar 2008 18:20:17 GMT (envelope-from raj) Message-Id: <200803031820.m23IKH9q071787@repoman.freebsd.org> From: Rafal Jaworowski Date: Mon, 3 Mar 2008 18:20: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/sys/dev/ic quicc.h src/sys/dev/quicc quicc_bfe.h quicc_bfe_ocp.c quicc_bus.h quicc_core.c src/sys/dev/scc scc_bfe.h scc_bfe_quicc.c scc_bus.h scc_dev_quicc.c src/sys/dev/uart uart_bus_scc.c uart_dev_quicc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 18:20:17 -0000 raj 2008-03-03 18:20:17 UTC FreeBSD src repository Modified files: sys/dev/scc scc_bfe.h scc_bus.h sys/dev/uart uart_bus_scc.c Added files: sys/dev/ic quicc.h sys/dev/quicc quicc_bfe.h quicc_bfe_ocp.c quicc_bus.h quicc_core.c sys/dev/scc scc_bfe_quicc.c scc_dev_quicc.c sys/dev/uart uart_dev_quicc.c Log: Support for Freescale QUad Integrated Communications Controller. The QUICC engine is found on various Freescale parts including MPC85xx, and provides multiple generic time-division serial channel resources, which are in turn muxed/demuxed by the Serial Communications Controller (SCC). Along with core QUICC/SCC functionality a uart(4)-compliant device driver is provided which allows for serial ports over QUICC/SCC. Approved by: cognet (mentor) Obtained from: Juniper MFp4: e500 Revision Changes Path 1.1 +111 -0 src/sys/dev/ic/quicc.h (new) 1.1 +73 -0 src/sys/dev/quicc/quicc_bfe.h (new) 1.1 +94 -0 src/sys/dev/quicc/quicc_bfe_ocp.c (new) 1.1 +39 -0 src/sys/dev/quicc/quicc_bus.h (new) 1.1 +401 -0 src/sys/dev/quicc/quicc_core.c (new) 1.7 +1 -0 src/sys/dev/scc/scc_bfe.h 1.1 +95 -0 src/sys/dev/scc/scc_bfe_quicc.c (new) 1.2 +1 -0 src/sys/dev/scc/scc_bus.h 1.1 +151 -0 src/sys/dev/scc/scc_dev_quicc.c (new) 1.2 +3 -0 src/sys/dev/uart/uart_bus_scc.c 1.1 +487 -0 src/sys/dev/uart/uart_dev_quicc.c (new) From owner-cvs-src@FreeBSD.ORG Mon Mar 3 18: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 5F4A7106566C; Mon, 3 Mar 2008 18:25:09 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by mx1.freebsd.org (Postfix) with ESMTP id F16588FC2C; Mon, 3 Mar 2008 18:25:08 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m23IOss7016637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Mar 2008 05:24:56 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m23IOsw5072627; Tue, 4 Mar 2008 05:24:54 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m23IOsh1072618; Tue, 4 Mar 2008 05:24:54 +1100 (EST) (envelope-from peter) Date: Tue, 4 Mar 2008 05:24:53 +1100 From: Peter Jeremy To: Jeff Roberson Message-ID: <20080303182453.GE90593@server.vk2pj.dyndns.org> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CB82A6.4040903@freebsd.org> <20080303022403.Y920@desktop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: <20080303022403.Y920@desktop> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: cvs-src@freebsd.org, Jeff Roberson , src-committers@freebsd.org, David Xu , cvs-all@freebsd.org Subject: Re: 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, 03 Mar 2008 18:25:09 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 03, 2008 at 02:24:54AM -1000, Jeff Roberson wrote: >it. After all 1024 cpus should be enough forever.. ;) I notice the smiley but... Based on Sun's claims, they should have 1024 thread boxes in 4-6 years. They have 64-thread boxes now (8 core x 8 thread) [*] and have said they'll double threads/chip every 12-18 months. [*] I thought there was a dual-chip T5xxx which would have 128 threads) but it doesn't show up. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHzEJ1/opHv/APuIcRAmKnAJ0Sr++lSKGtaf1lA8sp6ISzFtfWFgCgjQoo lnCNMdhj54vGkT3XjqfqO+8= =upt5 -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- From owner-cvs-src@FreeBSD.ORG Mon Mar 3 18:33: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 8C2FA1065670; Mon, 3 Mar 2008 18:33:29 +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 537CB8FC1A; Mon, 3 Mar 2008 18:33:29 +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 BEF7946B06; Mon, 3 Mar 2008 13:33:27 -0500 (EST) Date: Mon, 3 Mar 2008 18:33:27 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Peter Jeremy In-Reply-To: <20080303182453.GE90593@server.vk2pj.dyndns.org> Message-ID: <20080303183225.W82170@fledge.watson.org> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CB82A6.4040903@freebsd.org> <20080303022403.Y920@desktop> <20080303182453.GE90593@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, cvs-src@freebsd.org, Jeff Roberson , cvs-all@freebsd.org, David Xu , Jeff Roberson Subject: Re: 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, 03 Mar 2008 18:33:29 -0000 On Tue, 4 Mar 2008, Peter Jeremy wrote: > On Mon, Mar 03, 2008 at 02:24:54AM -1000, Jeff Roberson wrote: >> it. After all 1024 cpus should be enough forever.. ;) > > I notice the smiley but... Based on Sun's claims, they should have 1024 > thread boxes in 4-6 years. They have 64-thread boxes now (8 core x 8 > thread) [*] and have said they'll double threads/chip every 12-18 months. > > [*] I thought there was a dual-chip T5xxx which would have 128 threads) > but it doesn't show up. It's also instructive to look at scalability issues in file descriptor related interfaces in userspace, which have a similar bitmask structure for things like select(), etc with fixed-size arrays. Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Mon Mar 3 18:44: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 B18111065675; Mon, 3 Mar 2008 18:44:33 +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 9925C8FC18; Mon, 3 Mar 2008 18:44:33 +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 m23IiXtc072570; Mon, 3 Mar 2008 18:44:33 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23IiXcg072569; Mon, 3 Mar 2008 18:44:33 GMT (envelope-from raj) Message-Id: <200803031844.m23IiXcg072569@repoman.freebsd.org> From: Rafal Jaworowski Date: Mon, 3 Mar 2008 18:44: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/dev/mii ciphy.c miidevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 18:44:33 -0000 raj 2008-03-03 18:44:33 UTC FreeBSD src repository Modified files: sys/dev/mii ciphy.c miidevs Log: Recognize the quad-port Cicada (Vitesse) CS8204 10/100/1000TX PHY. This PHY is found on many embedded development boards: among others MPC8555CDS evaluation systems use it. Approved by: cognet (mentor) MFp4: e500 Revision Changes Path 1.10 +3 -1 src/sys/dev/mii/ciphy.c 1.49 +1 -0 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Mon Mar 3 19:03: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 4ECB81065676; Mon, 3 Mar 2008 19:03:45 +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 5042F8FC21; Mon, 3 Mar 2008 19:03:45 +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 m23J3jwT080507; Mon, 3 Mar 2008 19:03:45 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23J3jSe080506; Mon, 3 Mar 2008 19:03:45 GMT (envelope-from raj) Message-Id: <200803031903.m23J3jSe080506@repoman.freebsd.org> From: Rafal Jaworowski Date: Mon, 3 Mar 2008 19:03: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/tsec if_tsec.c if_tsec.h if_tsecreg.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, 03 Mar 2008 19:03:45 -0000 raj 2008-03-03 19:03:44 UTC FreeBSD src repository Added files: sys/dev/tsec if_tsec.c if_tsec.h if_tsecreg.h Log: Support for Freescale integrated Three-Speed Ethernet Controller (TSEC). TSEC is the MAC engine offering 10, 100 or 1000 Mbps speed and is found on different Freescale parts (MPC83xx, MPC85xx). Depending on the silicon version there are up to four TSEC units integrated on the chip. This driver also works with the enhanced version of the controller (eTSEC), which is backwards compatible, but doesn't take advantage of its additional features (various off-loading mechanisms) at the moment. Approved by: cognet (mentor) Obtained from: Semihalf MFp4: e500 Revision Changes Path 1.1 +1648 -0 src/sys/dev/tsec/if_tsec.c (new) 1.1 +284 -0 src/sys/dev/tsec/if_tsec.h (new) 1.1 +355 -0 src/sys/dev/tsec/if_tsecreg.h (new) From owner-cvs-src@FreeBSD.ORG Mon Mar 3 19:35: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 EB52F106566C; Mon, 3 Mar 2008 19:35:24 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.78]) by mx1.freebsd.org (Postfix) with ESMTP id DF21A8FC12; Mon, 3 Mar 2008 19:35:24 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp001-s [10.150.69.64]) by smtpoutm.mac.com (Xserve/smtpout015/MantshX 4.0) with ESMTP id m23JZObN006319; Mon, 3 Mar 2008 11:35:24 -0800 (PST) Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp001/MantshX 4.0) with ESMTP id m23JZD8f026947 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 3 Mar 2008 11:35:15 -0800 (PST) Message-Id: <10411E4A-BD4B-4244-A1C2-A42CCAC2D437@mac.com> From: Marcel Moolenaar To: Rafal Jaworowski In-Reply-To: <200803031717.m23HH18K068262@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: Mon, 3 Mar 2008 11:35:10 -0800 References: <200803031717.m23HH18K068262@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/conf options.powerpc src/sys/dev/uart uart.h uart_bus_ocp.c uart_cpu_powerpc.c src/sys/kern subr_witness.c src/sys/powerpc/booke clock.c copyinout.c interrupt.c locore.S machdep.c pmap.c support.S swtch.S trap.c trap_subr.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: Mon, 03 Mar 2008 19:35:25 -0000 On Mar 3, 2008, at 9:17 AM, Rafal Jaworowski wrote: > raj 2008-03-03 17:17:01 UTC > > FreeBSD src repository > > Modified files: > sys/conf options.powerpc > sys/dev/uart uart.h uart_cpu_powerpc.c > sys/kern subr_witness.c > sys/powerpc/include md_var.h mmuvar.h > sys/powerpc/powerpc autoconf.c > Added files: > sys/dev/uart uart_bus_ocp.c > sys/powerpc/booke clock.c copyinout.c interrupt.c locore.S > machdep.c pmap.c support.S swtch.S trap.c > trap_subr.S uio_machdep.c vm_machdep.c > sys/powerpc/include ocpbus.h > sys/powerpc/mpc85xx nexus.c ocpbus.c ocpbus.h opic.c > pci_ocp.c > Log: > Initial support for Freescale PowerQUICC III MPC85xx system-on-chip > family. Yay! -- Marcel Moolenaar xcllnt@mac.com From owner-cvs-src@FreeBSD.ORG Mon Mar 3 19: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 5E3B91065671; Mon, 3 Mar 2008 19:36:04 +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 45C388FC25; Mon, 3 Mar 2008 19:36:04 +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 m23Ja46N084321; Mon, 3 Mar 2008 19:36:04 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23Ja4s9084317; Mon, 3 Mar 2008 19:36:04 GMT (envelope-from mav) Message-Id: <200803031936.m23Ja4s9084317@repoman.freebsd.org> From: Alexander Motin Date: Mon, 3 Mar 2008 19:36: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/netgraph ng_pppoe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 19:36:04 -0000 mav 2008-03-03 19:36:03 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Use more compact LIST instead of TAILQ for session hash. Add all listening hooks into LIST to simplify searches. Use ng_findhook() instead of own equal implementation. Revision Changes Path 1.94 +32 -62 src/sys/netgraph/ng_pppoe.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 19:57: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 ED8931065674; Mon, 3 Mar 2008 19:57:34 +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 B16788FC1F; Mon, 3 Mar 2008 19:57:34 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JWGmr-000NRs-Kf; Mon, 03 Mar 2008 19:57:25 +0000 Date: Mon, 3 Mar 2008 19:57:25 +0000 From: Ceri Davies To: Peter Jeremy Message-ID: <20080303195724.GC31250@submonkey.net> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CB82A6.4040903@freebsd.org> <20080303022403.Y920@desktop> <20080303182453.GE90593@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <20080303182453.GE90593@server.vk2pj.dyndns.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Ceri Davies Cc: src-committers@freebsd.org, cvs-src@freebsd.org, Jeff Roberson , cvs-all@freebsd.org, David Xu , Jeff Roberson Subject: Re: 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, 03 Mar 2008 19:57:35 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 04, 2008 at 05:24:53AM +1100, Peter Jeremy wrote: > On Mon, Mar 03, 2008 at 02:24:54AM -1000, Jeff Roberson wrote: > >it. After all 1024 cpus should be enough forever.. ;) >=20 > I notice the smiley but... Based on Sun's claims, they should have 1024 > thread boxes in 4-6 years. They have 64-thread boxes now (8 core x 8 > thread) [*] and have said they'll double threads/chip every 12-18 months. >=20 > [*] I thought there was a dual-chip T5xxx which would have 128 threads) > but it doesn't show up. It isn't released yet, but you're referring to the "Victoria Falls" version of the T2 processor which is due in the second fiscal half of 2008 (T5xxx refers to servers featuring the T2 CPU). Initial reports were that systems built on Victoria Falls would support 256 threads, but that no longer appears to be the case. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHzFgkocfcwTS3JF8RAl2XAJ9MwA6Sg5CJGUAZifxPwlbD5pD7nwCgr+dc wjVpfEx8B/gtRMBPt3sKU1Q= =7aHM -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-cvs-src@FreeBSD.ORG Mon Mar 3 20:40: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 4D18F1065673; Mon, 3 Mar 2008 20:40:20 +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 4E27A8FC16; Mon, 3 Mar 2008 20:40:20 +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 m23KeKlR088978; Mon, 3 Mar 2008 20:40:20 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23KeKDt088977; Mon, 3 Mar 2008 20:40:20 GMT (envelope-from raj) Message-Id: <200803032040.m23KeKDt088977@repoman.freebsd.org> From: Rafal Jaworowski Date: Mon, 3 Mar 2008 20: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/conf files files.powerpc src/sys/powerpc/conf MPC85XX NOTES src/share/mk bsd.cpu.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: Mon, 03 Mar 2008 20:40:20 -0000 raj 2008-03-03 20:40:20 UTC FreeBSD src repository Modified files: sys/conf files files.powerpc sys/powerpc/conf NOTES share/mk bsd.cpu.mk Added files: sys/powerpc/conf MPC85XX Log: Connect MPC85XX to the PowerPC build. The kernel config file is KERNCONF=MPC85XX, so the usual procedure applies: 1. make buildworld TARGET_ARCH=powerpc 2. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX This default config uses kernel-level FPU emulation. For the soft-float world approach: 1. make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 2. disable FPU_EMU option in sys/powerpc/conf/MPC85XX 3. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX Approved by: cognet (mentor) MFp4: e500 Revision Changes Path 1.65 +7 -0 src/share/mk/bsd.cpu.mk 1.1276 +4 -0 src/sys/conf/files 1.74 +20 -2 src/sys/conf/files.powerpc 1.1 +72 -0 src/sys/powerpc/conf/MPC85XX (new) 1.14 +2 -0 src/sys/powerpc/conf/NOTES From owner-cvs-src@FreeBSD.ORG Mon Mar 3 22: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 22EEF106566B; Mon, 3 Mar 2008 22:00:47 +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 0A8538FC12; Mon, 3 Mar 2008 22:00:47 +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 m23M0kmq002622; Mon, 3 Mar 2008 22:00:46 GMT (envelope-from raj@repoman.freebsd.org) Received: (from raj@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23M0kMA002621; Mon, 3 Mar 2008 22:00:46 GMT (envelope-from raj) Message-Id: <200803032200.m23M0kMA002621@repoman.freebsd.org> From: Rafal Jaworowski Date: Mon, 3 Mar 2008 22: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/powerpc/powerpc gdb_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: Mon, 03 Mar 2008 22:00:47 -0000 raj 2008-03-03 22:00:46 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc gdb_machdep.c Log: Import the omitted gdb_machdep.c for PowerPC kernel. Approved by: cognet (mentor) MFp4: e500 Revision Changes Path 1.2 +57 -2 src/sys/powerpc/powerpc/gdb_machdep.c From owner-cvs-src@FreeBSD.ORG Mon Mar 3 22:07: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 26498106566C; Mon, 3 Mar 2008 22:07:55 +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 EB6058FC17; Mon, 3 Mar 2008 22:07:54 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m23M7o6G083169; Mon, 3 Mar 2008 17:07:52 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 12:10:08 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Peter Jeremy In-Reply-To: <20080303182453.GE90593@server.vk2pj.dyndns.org> Message-ID: <20080303120659.F920@desktop> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CB82A6.4040903@freebsd.org> <20080303022403.Y920@desktop> <20080303182453.GE90593@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, David Xu , cvs-all@FreeBSD.org Subject: Re: 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, 03 Mar 2008 22:07:55 -0000 On Tue, 4 Mar 2008, Peter Jeremy wrote: > On Mon, Mar 03, 2008 at 02:24:54AM -1000, Jeff Roberson wrote: >> it. After all 1024 cpus should be enough forever.. ;) > > I notice the smiley but... Based on Sun's claims, they should have 1024 > thread boxes in 4-6 years. They have 64-thread boxes now (8 core x 8 > thread) [*] and have said they'll double threads/chip every 12-18 months. > > [*] I thought there was a dual-chip T5xxx which would have 128 threads) > but it doesn't show up. We have much bigger problems than the CPU_SETSIZE in cpuset. Currently the kernel assumes it can fit all cpus in one register. So 64 is the max on any platform. We need to modify the kernel to support this large number of cpus. After that we'll still run poorly on most workloads with this many cpus due to internal lock contention. There is a lot of work to do to support platforms of this size. > > -- > Peter Jeremy > Please excuse any delays as the result of my ISP's inability to implement > an MTA that is either RFC2821-compliant or matches their claimed behaviour. > From owner-cvs-src@FreeBSD.ORG Mon Mar 3 22:19: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 0197A106567B for ; Mon, 3 Mar 2008 22:19:00 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outW.internet-mail-service.net (outW.internet-mail-service.net [216.240.47.246]) by mx1.freebsd.org (Postfix) with ESMTP id E832F8FC2A for ; Mon, 3 Mar 2008 22:18:59 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Mon, 03 Mar 2008 14:19:00 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 5E6A02D6016; Mon, 3 Mar 2008 14:18:58 -0800 (PST) Message-ID: <47CC7954.4030708@elischer.org> Date: Mon, 03 Mar 2008 14:19:00 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Jeff Roberson References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CB82A6.4040903@freebsd.org> <20080303022403.Y920@desktop> <20080303182453.GE90593@server.vk2pj.dyndns.org> <20080303120659.F920@desktop> In-Reply-To: <20080303120659.F920@desktop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: src-committers@FreeBSD.org, Peter Jeremy , Jeff Roberson , cvs-all@FreeBSD.org, David Xu , cvs-src@FreeBSD.org Subject: Re: 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, 03 Mar 2008 22:19:00 -0000 Jeff Roberson wrote: > > On Tue, 4 Mar 2008, Peter Jeremy wrote: > >> On Mon, Mar 03, 2008 at 02:24:54AM -1000, Jeff Roberson wrote: >>> it. After all 1024 cpus should be enough forever.. ;) >> >> I notice the smiley but... Based on Sun's claims, they should >> have 1024 thread boxes in 4-6 years. They have 64-thread boxes >> now (8 core x 8 thread) [*] and have said they'll double >> threads/chip every 12-18 months. >> >> [*] I thought there was a dual-chip T5xxx which would have 128 >> threads) but it doesn't show up. > > We have much bigger problems than the CPU_SETSIZE in cpuset. > Currently the kernel assumes it can fit all cpus in one register. > So 64 is the max on any platform. We need to modify the kernel to > support this large number of cpus. After that we'll still run > poorly on most workloads with this many cpus due to internal lock > contention. There is a lot of work to do to support platforms of > this size. the whole UMA concept breaks down. I don't know how we are going to cope when we need to start breaking workloads upint osmall subunits and farm them out. I think it's about 5 years out at most.. Cisco just announced their latest chip has 60 cores and intel is playing with one with 80.. These cores are a little like the CELL cores.. they not really designed to be used in a UMA (symetrical) OS.. I heard rumours that microsoft is diverting resources to sketch out an OS that uses these. ironically they are in the best situation because they can dedicate cores to do some of those "render-green-box-on-frog-if-full-moon" type calls they have. > > >> >> -- Peter Jeremy Please excuse any delays as the result of my >> ISP's inability to implement an MTA that is either >> RFC2821-compliant or matches their claimed behaviour. >> From owner-cvs-src@FreeBSD.ORG Mon Mar 3 22:32: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 E63C2106566C; Mon, 3 Mar 2008 22:32:01 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CE66B8FC1D; Mon, 3 Mar 2008 22:32:01 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m23MW16l005630; Mon, 3 Mar 2008 22:32:01 GMT (envelope-from piso@repoman.freebsd.org) Received: (from piso@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m23MW197005629; Mon, 3 Mar 2008 22:32:01 GMT (envelope-from piso) Message-Id: <200803032232.m23MW197005629@repoman.freebsd.org> From: Paolo Pisati Date: Mon, 3 Mar 2008 22:32: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/netinet ip_fw_nat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Mar 2008 22:32:02 -0000 piso 2008-03-03 22:32:01 UTC FreeBSD src repository Modified files: sys/netinet ip_fw_nat.c Log: When unloading kld, don't forget to flush the nat pointers. Revision Changes Path 1.2 +7 -0 src/sys/netinet/ip_fw_nat.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 01:40: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 3689E106566B; Tue, 4 Mar 2008 01:40: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 1DEE38FC16; Tue, 4 Mar 2008 01:40: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 m241eQJj027896; Tue, 4 Mar 2008 01:40:26 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m241eQqF027895; Tue, 4 Mar 2008 01:40:26 GMT (envelope-from marcel) Message-Id: <200803040140.m241eQqF027895@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 4 Mar 2008 01:40:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/mpc85xx opic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 01:40:27 -0000 marcel 2008-03-04 01:40:26 UTC FreeBSD src repository Modified files: sys/powerpc/mpc85xx opic.c Log: Add the pic_ipi method. While here, eliminate the unused openpic_ocpbus_softc struct. Revision Changes Path 1.2 +4 -9 src/sys/powerpc/mpc85xx/opic.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 01:57: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 3EF371065674; Tue, 4 Mar 2008 01:57: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 3AAD38FC25; Tue, 4 Mar 2008 01:57: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 m241vHUh099845; Tue, 4 Mar 2008 01:57:18 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47CCACCB.7010900@freebsd.org> Date: Tue, 04 Mar 2008 09:58:35 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803020739.m227dNLe039427@repoman.freebsd.org> <47CBBE21.4060104@freebsd.org> <20080303022505.P920@desktop> In-Reply-To: <20080303022505.P920@desktop> 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/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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: Tue, 04 Mar 2008 01:57:21 -0000 Jeff Roberson wrote: > Does the tid allocator quickly recycle numbers? Yes, I saw this behavior. > This would be different > from the pid allocator if it does. Basically every syscall that takes a > numeric id would be subject to this problem. > > I expect application programers will more often specify binding from > within the running thread using -1. > Don't know, but I feel it is more often the calling will be made for threads within same process, so searching it globally is not efficient in this case, and garbage id may hit an irrelevant thread in another process. > However, there is a seperate problem that is endemic with our current > threading support. thread_find() requires the proc lock and returns a > pointer to the found thread. However, the proc lock is not sufficient > to ensure that the thread is not exiting and recycled after > thread_find() returns. I believe virtually every user of this interface > may be subject to races. > threads are linked into or removed from process with proc lock held, why will a linked-in thread be recycled ? > And while were on the subject. Why is it lwpid_t anyway? We don't have > lwps, we have threads. > lwpid_t is used for thread id, I thought marcel introduced this type, by the way, gdb also understands lwpid_t, I have not found any problem with it, it is just an integer. From owner-cvs-src@FreeBSD.ORG Tue Mar 4 02:07:59 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 61EEE1065671; Tue, 4 Mar 2008 02:07:59 +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 5EAD48FC1D; Tue, 4 Mar 2008 02:07:59 +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 m2427t49000179; Tue, 4 Mar 2008 02:07:56 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47CCAF49.20903@freebsd.org> Date: Tue, 04 Mar 2008 10:09:13 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> In-Reply-To: <20080302183513.P920@desktop> 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/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: Tue, 04 Mar 2008 02:07:59 -0000 Jeff Roberson wrote: >> One question is how I can determine the size of cpuset the kernel is >> using ? > > I wrote it to tolerate user masks that were much larger than the kernel > mask. I set the default CPU_SETSIZE in userspace to 128 and in kernel > it's MAXCPU. So in practice an application shouldn't have to redefine > CPU_SETSIZE. If your set is too small the kernel will return ERANGE > however. Unfortunately, if your set is larger than the kernel's > CPU_MAXSIZE it'll also return ERANGE. Maybe I should use different > errnos for those cases. > From my point, userland has to write some urgly code to guess what kernel code wants, it is rather frustrate. From owner-cvs-src@FreeBSD.ORG Tue Mar 4 02:20: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 223231065674; Tue, 4 Mar 2008 02:20:31 +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 091F38FC19; Tue, 4 Mar 2008 02:20:31 +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 m242KUu3033312; Tue, 4 Mar 2008 02:20:30 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m242KUrR033012; Tue, 4 Mar 2008 02:20:30 GMT (envelope-from marcel) Message-Id: <200803040220.m242KUrR033012@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 4 Mar 2008 02:20:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/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: Tue, 04 Mar 2008 02:20:31 -0000 marcel 2008-03-04 02:20:28 UTC FreeBSD src repository Modified files: sys/powerpc/conf NOTES Log: Comment-out cpu E500. We can't yet build it with AIM at the same time. Revision Changes Path 1.15 +1 -1 src/sys/powerpc/conf/NOTES From owner-cvs-src@FreeBSD.ORG Tue Mar 4 02:39: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 0F104106566B; Tue, 4 Mar 2008 02:39:35 +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 D3CF58FC16; Tue, 4 Mar 2008 02:39:34 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m242dQ7U038550; Mon, 3 Mar 2008 21:39:30 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 16:41:46 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <47CCACCB.7010900@freebsd.org> Message-ID: <20080303163838.H920@desktop> References: <200803020739.m227dNLe039427@repoman.freebsd.org> <47CBBE21.4060104@freebsd.org> <20080303022505.P920@desktop> <47CCACCB.7010900@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/kern init_main.c kern_cpuset.c kern_thread.c syscalls.master src/sys/sys _types.h cpuset.h proc.h types.h src/lib/libc/sys 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: Tue, 04 Mar 2008 02:39:35 -0000 On Tue, 4 Mar 2008, David Xu wrote: > Jeff Roberson wrote: > >> Does the tid allocator quickly recycle numbers? > > Yes, I saw this behavior. I see, it uses unr. We should introduce some flags to this to prevent quick recycling anyway. > > >> This would be different from the pid allocator if it does. Basically >> every syscall that takes a numeric id would be subject to this problem. >> >> I expect application programers will more often specify binding from within >> the running thread using -1. >> > > Don't know, but I feel it is more often the calling will be made > for threads within same process, so searching it globally is not > efficient in this case, and garbage id may hit an irrelevant thread in > another process. This is an application race. I think if we slow down the id recycling we should not bother with it. > >> However, there is a seperate problem that is endemic with our current >> threading support. thread_find() requires the proc lock and returns a >> pointer to the found thread. However, the proc lock is not sufficient to >> ensure that the thread is not exiting and recycled after thread_find() >> returns. I believe virtually every user of this interface may be subject >> to races. >> > > threads are linked into or removed from process with proc lock held, > why will a linked-in thread be recycled ? You are right. I thought it was only the PROC_SLOCK. But as long as the PROC_LOCK is held that's ok. > >> And while were on the subject. Why is it lwpid_t anyway? We don't have >> lwps, we have threads. >> > lwpid_t is used for thread id, I thought marcel introduced this type, by the > way, gdb also understands lwpid_t, I have not found any problem with > it, it is just an integer. > > > From owner-cvs-src@FreeBSD.ORG Tue Mar 4 02:40: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 82A0D1065671; Tue, 4 Mar 2008 02:40:30 +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 556268FC13; Tue, 4 Mar 2008 02:40:30 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m242eQdr038718; Mon, 3 Mar 2008 21:40:28 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 16:42:45 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <47CCAF49.20903@freebsd.org> Message-ID: <20080303164227.S920@desktop> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CCAF49.20903@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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: Tue, 04 Mar 2008 02:40:30 -0000 On Tue, 4 Mar 2008, David Xu wrote: > Jeff Roberson wrote: > >>> One question is how I can determine the size of cpuset the kernel is >>> using ? >> >> I wrote it to tolerate user masks that were much larger than the kernel >> mask. I set the default CPU_SETSIZE in userspace to 128 and in kernel it's >> MAXCPU. So in practice an application shouldn't have to redefine >> CPU_SETSIZE. If your set is too small the kernel will return ERANGE >> however. Unfortunately, if your set is larger than the kernel's >> CPU_MAXSIZE it'll also return ERANGE. Maybe I should use different errnos >> for those cases. >> > > From my point, userland has to write some urgly code to guess what > kernel code wants, it is rather frustrate. You can use sysctl kern.smp.maxcpus to get the precise size. > > > > > > > > From owner-cvs-src@FreeBSD.ORG Tue Mar 4 03:03: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 7714E106566C; Tue, 4 Mar 2008 03:03: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 5D5768FC17; Tue, 4 Mar 2008 03:03: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 m2433PHB043237; Tue, 4 Mar 2008 03:03:25 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2433P4a043236; Tue, 4 Mar 2008 03:03:25 GMT (envelope-from davidxu) Message-Id: <200803040303.m2433P4a043236@repoman.freebsd.org> From: David Xu Date: Tue, 4 Mar 2008 03:03: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/thread thr_attr.c thr_create.c thr_init.c thr_private.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 03:03:25 -0000 davidxu 2008-03-04 03:03:25 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_attr.c thr_create.c thr_init.c thr_private.h Log: implement pthread_attr_getaffinity_np and pthread_attr_setaffinity_np. Revision Changes Path 1.9 +58 -1 src/lib/libthr/thread/thr_attr.c 1.37 +5 -1 src/lib/libthr/thread/thr_create.c 1.48 +3 -1 src/lib/libthr/thread/thr_init.c 1.82 +2 -0 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Tue Mar 4 03: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 ADF0A106566C; Tue, 4 Mar 2008 03:05:53 +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 94DC88FC18; Tue, 4 Mar 2008 03:05:53 +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 m2435riB043339; Tue, 4 Mar 2008 03:05:53 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2435rcJ043338; Tue, 4 Mar 2008 03:05:53 GMT (envelope-from marcel) Message-Id: <200803040305.m2435rcJ043338@repoman.freebsd.org> From: Marcel Moolenaar Date: Tue, 4 Mar 2008 03:05: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/powerpc/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: Tue, 04 Mar 2008 03:05:53 -0000 marcel 2008-03-04 03:05:53 UTC FreeBSD src repository Modified files: sys/powerpc/conf NOTES Log: Also comment-out options MPC85XX. We don't define CCSRBAR_* without E500. Revision Changes Path 1.16 +1 -1 src/sys/powerpc/conf/NOTES From owner-cvs-src@FreeBSD.ORG Tue Mar 4 03:08:30 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 4CA4B106566C; Tue, 4 Mar 2008 03:08:30 +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 47E068FC1A; Tue, 4 Mar 2008 03:08:30 +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 m2438PZi004901; Tue, 4 Mar 2008 03:08:27 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47CCBD78.5040708@freebsd.org> Date: Tue, 04 Mar 2008 11:09:44 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Jeff Roberson References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CCAF49.20903@freebsd.org> <20080303164227.S920@desktop> In-Reply-To: <20080303164227.S920@desktop> 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/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: Tue, 04 Mar 2008 03:08:30 -0000 Jeff Roberson wrote: > > On Tue, 4 Mar 2008, David Xu wrote: > >> Jeff Roberson wrote: >> >>>> One question is how I can determine the size of cpuset the kernel is >>>> using ? >>> >>> I wrote it to tolerate user masks that were much larger than the >>> kernel mask. I set the default CPU_SETSIZE in userspace to 128 and >>> in kernel it's MAXCPU. So in practice an application shouldn't have >>> to redefine CPU_SETSIZE. If your set is too small the kernel will >>> return ERANGE however. Unfortunately, if your set is larger than the >>> kernel's CPU_MAXSIZE it'll also return ERANGE. Maybe I should use >>> different errnos for those cases. >>> >> >> From my point, userland has to write some urgly code to guess what >> kernel code wants, it is rather frustrate. > > You can use sysctl kern.smp.maxcpus to get the precise size. > if kern.smp.maxcpus is a stable ABI, I may use it, can it be guaranteed? I saw following code in kern_cpuset.c, obviously, maxcpus is not respected. if (uap->cpusetsize < CPU_SETSIZE || uap->cpusetsize > CPU_MAXSIZE) return (ERANGE); From owner-cvs-src@FreeBSD.ORG Tue Mar 4 03:45: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 09F7F106567E; Tue, 4 Mar 2008 03:45: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 E45E68FC16; Tue, 4 Mar 2008 03:45:11 +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 m243jB3v044534; Tue, 4 Mar 2008 03:45:11 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m243jBLq044533; Tue, 4 Mar 2008 03:45:11 GMT (envelope-from davidxu) Message-Id: <200803040345.m243jBLq044533@repoman.freebsd.org> From: David Xu Date: Tue, 4 Mar 2008 03:45: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/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: Tue, 04 Mar 2008 03:45:12 -0000 davidxu 2008-03-04 03:45:11 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_private.h Log: Include cpuset.h, unbreak compiling. Revision Changes Path 1.83 +2 -0 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Tue Mar 4 04:29: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 495CD1065670; Tue, 4 Mar 2008 04:29: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 2F7228FC19; Tue, 4 Mar 2008 04:29: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 m244T09T047370; Tue, 4 Mar 2008 04:29:00 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m244SxOJ047369; Tue, 4 Mar 2008 04:28:59 GMT (envelope-from davidxu) Message-Id: <200803040428.m244SxOJ047369@repoman.freebsd.org> From: David Xu Date: Tue, 4 Mar 2008 04:28: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/lib/libthr/thread thr_create.c thr_private.h thr_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 04:29:00 -0000 davidxu 2008-03-04 04:28:59 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_create.c thr_private.h thr_sig.c Log: If a new thread is created, it inherits current thread's signal masks, however if current thread is executing cancellation handler, signal SIGCANCEL may have already been blocked, this is unexpected, unblock the signal in new thread if this happens. MFC after: 1 week Revision Changes Path 1.38 +16 -1 src/lib/libthr/thread/thr_create.c 1.84 +6 -0 src/lib/libthr/thread/thr_private.h 1.26 +2 -0 src/lib/libthr/thread/thr_sig.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 05:35: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 6E48F1065674; Tue, 4 Mar 2008 05:35: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 54A9A8FC16; Tue, 4 Mar 2008 05:35: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 m245ZRbe059732; Tue, 4 Mar 2008 05:35:27 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m245ZRIL059731; Tue, 4 Mar 2008 05:35:27 GMT (envelope-from imp) Message-Id: <200803040535.m245ZRIL059731@repoman.freebsd.org> From: Warner Losh Date: Tue, 4 Mar 2008 05:35: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/usr.bin/make Makefile.dist X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 05:35:28 -0000 imp 2008-03-04 05:35:27 UTC FreeBSD src repository Modified files: usr.bin/make Makefile.dist Log: Linux requires -D__dead2= and -D__unused= to get rid of the sys/cdef.h-isms in the make source. The variant of linux I tried it on doesn't have arc4random, so -Darc4random=random too. Revision Changes Path 1.6 +1 -1 src/usr.bin/make/Makefile.dist From owner-cvs-src@FreeBSD.ORG Tue Mar 4 06:08: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 4C43D1065671; Tue, 4 Mar 2008 06:08:20 +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 31A4F8FC19; Tue, 4 Mar 2008 06:08:20 +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 m2468Js5061899; Tue, 4 Mar 2008 06:08:19 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2468Jw1061898; Tue, 4 Mar 2008 06:08:19 GMT (envelope-from brueffer) Message-Id: <200803040608.m2468Jw1061898@repoman.freebsd.org> From: Christian Brueffer Date: Tue, 4 Mar 2008 06:08: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/share/man/man4 ucycom.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, 04 Mar 2008 06:08:20 -0000 brueffer 2008-03-04 06:08:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ucycom.4 Log: MFC: rev. 1.5 Move the HARDWARE section below the DESCRIPTION section, like it is everywhere else. Revision Changes Path 1.4.2.1 +10 -10 src/share/man/man4/ucycom.4 From owner-cvs-src@FreeBSD.ORG Tue Mar 4 06:08: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 E84941065673; Tue, 4 Mar 2008 06:08:59 +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 CEA2F8FC25; Tue, 4 Mar 2008 06:08:59 +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 m2468xZp061939; Tue, 4 Mar 2008 06:08:59 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2468xUj061938; Tue, 4 Mar 2008 06:08:59 GMT (envelope-from imp) Message-Id: <200803040608.m2468xUj061938@repoman.freebsd.org> From: Warner Losh Date: Tue, 4 Mar 2008 06: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/usr.bin/make 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: Tue, 04 Mar 2008 06:09:00 -0000 imp 2008-03-04 06:08:59 UTC FreeBSD src repository Modified files: usr.bin/make main.c Log: Note 7.0 was the first version that FreeBSD/pc98 had a MACHINE of pc98 instead of i386. Revision Changes Path 1.165 +7 -8 src/usr.bin/make/main.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 06: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 7ECC910656CD; Tue, 4 Mar 2008 06:09:14 +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 F165A8FC27; Tue, 4 Mar 2008 06:09:13 +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 m2469D2g061970; Tue, 4 Mar 2008 06:09:13 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2469DEu061969; Tue, 4 Mar 2008 06:09:13 GMT (envelope-from brueffer) Message-Id: <200803040609.m2469DEu061969@repoman.freebsd.org> From: Christian Brueffer Date: Tue, 4 Mar 2008 06:09:13 +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 ucycom.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, 04 Mar 2008 06:09:14 -0000 brueffer 2008-03-04 06:09:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 ucycom.4 Log: MFC: rev. 1.5 Move the HARDWARE section below the DESCRIPTION section, like it is everywhere else. Revision Changes Path 1.3.2.2 +10 -10 src/share/man/man4/ucycom.4 From owner-cvs-src@FreeBSD.ORG Tue Mar 4 07:34: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 C242D1065670; Tue, 4 Mar 2008 07:34: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 916AD8FC37; Tue, 4 Mar 2008 07:34:50 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.107] (cpe-24-94-75-93.hawaii.res.rr.com [24.94.75.93]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id m247Ylrg075650; Tue, 4 Mar 2008 02:34:48 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Mon, 3 Mar 2008 21:37:07 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: David Xu In-Reply-To: <47CCBD78.5040708@freebsd.org> Message-ID: <20080303213630.D920@desktop> References: <200803020741.m227fAoJ039644@repoman.freebsd.org> <47CB6FB0.9040602@freebsd.org> <20080302183513.P920@desktop> <47CCAF49.20903@freebsd.org> <20080303164227.S920@desktop> <47CCBD78.5040708@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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: Tue, 04 Mar 2008 07:34:50 -0000 On Tue, 4 Mar 2008, David Xu wrote: > Jeff Roberson wrote: >> >> On Tue, 4 Mar 2008, David Xu wrote: >> >>> Jeff Roberson wrote: >>> >>>>> One question is how I can determine the size of cpuset the kernel is >>>>> using ? >>>> >>>> I wrote it to tolerate user masks that were much larger than the kernel >>>> mask. I set the default CPU_SETSIZE in userspace to 128 and in kernel >>>> it's MAXCPU. So in practice an application shouldn't have to redefine >>>> CPU_SETSIZE. If your set is too small the kernel will return ERANGE >>>> however. Unfortunately, if your set is larger than the kernel's >>>> CPU_MAXSIZE it'll also return ERANGE. Maybe I should use different >>>> errnos for those cases. >>>> >>> >>> From my point, userland has to write some urgly code to guess what >>> kernel code wants, it is rather frustrate. >> >> You can use sysctl kern.smp.maxcpus to get the precise size. >> > > if kern.smp.maxcpus is a stable ABI, I may use it, can it be guaranteed? > I saw following code in kern_cpuset.c, obviously, maxcpus is not > respected. > > if (uap->cpusetsize < CPU_SETSIZE || uap->cpusetsize > CPU_MAXSIZE) > return (ERANGE); > > CPU_SETSIZE in the kernel is defined to MAXCPU. We can consider kern.smp.maxcpus a stable abi. I can make a note next to it and put it in the cpuset man page. From owner-cvs-src@FreeBSD.ORG Tue Mar 4 07:39: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 C984A1065674; Tue, 4 Mar 2008 07:39:32 +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 AEDA08FC1C; Tue, 4 Mar 2008 07:39:32 +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 m247dWh6066296; Tue, 4 Mar 2008 07:39:32 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m247dWQs066295; Tue, 4 Mar 2008 07:39:32 GMT (envelope-from ru) Message-Id: <200803040739.m247dWQs066295@repoman.freebsd.org> From: Ruslan Ermilov Date: Tue, 4 Mar 2008 07:39: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/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: Tue, 04 Mar 2008 07:39:33 -0000 ru 2008-03-04 07:39:32 UTC FreeBSD src repository Modified files: sys/kern kern_shutdown.c Log: Make it possible to continue working after calling doadump() manually from debugger. (This got broken in rev. 1.122.) Revision Changes Path 1.190 +1 -0 src/sys/kern/kern_shutdown.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 10:33: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 C4A381065673; Tue, 4 Mar 2008 10:33:47 +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 A80618FC25; Tue, 4 Mar 2008 10:33:47 +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 m24AXgDJ084827; Tue, 4 Mar 2008 10:33:42 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24AXggI084826; Tue, 4 Mar 2008 10:33:42 GMT (envelope-from yar) Message-Id: <200803041033.m24AXggI084826@repoman.freebsd.org> From: Yar Tikhiy Date: Tue, 4 Mar 2008 10: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/make make.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 10:33:48 -0000 yar 2008-03-04 10:33:42 UTC FreeBSD src repository Modified files: usr.bin/make make.1 Log: Split descriptions of .Ev MAKEFILE and .Va .MAKEFLAGS for clarity. Revision Changes Path 1.105 +2 -2 src/usr.bin/make/make.1 From owner-cvs-src@FreeBSD.ORG Tue Mar 4 11:05: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 575D61065670; Tue, 4 Mar 2008 11:05:04 +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 3A8518FC39; Tue, 4 Mar 2008 11:05:04 +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 m24B54q0087845; Tue, 4 Mar 2008 11:05:04 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24B54HU087844; Tue, 4 Mar 2008 11:05:04 GMT (envelope-from kib) Message-Id: <200803041105.m24B54HU087844@repoman.freebsd.org> From: Konstantin Belousov Date: Tue, 4 Mar 2008 11:05: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/nfsserver nfs_serv.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 11:05:04 -0000 kib 2008-03-04 11:05:03 UTC FreeBSD src repository Modified files: sys/nfsserver nfs_serv.c Log: Fix the Giant leak in the nfsrv_remove(). Reported by: pluknet MFC after: 1 week Revision Changes Path 1.178 +6 -2 src/sys/nfsserver/nfs_serv.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 11:10: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 8B86E1065671; Tue, 4 Mar 2008 11:10:55 +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 6EAD08FC1F; Tue, 4 Mar 2008 11:10:55 +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 m24BAteZ088079; Tue, 4 Mar 2008 11:10:55 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24BAtEU088078; Tue, 4 Mar 2008 11:10:55 GMT (envelope-from mav) Message-Id: <200803041110.m24BAtEU088078@repoman.freebsd.org> From: Alexander Motin Date: Tue, 4 Mar 2008 11:10: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/netgraph ng_nat.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, 04 Mar 2008 11:10:55 -0000 mav 2008-03-04 11:10:55 UTC FreeBSD src repository Modified files: sys/netgraph ng_nat.h Log: Fix incorrect field name. Revision Changes Path 1.4 +1 -1 src/sys/netgraph/ng_nat.h From owner-cvs-src@FreeBSD.ORG Tue Mar 4 11:25: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 258C41065671; Tue, 4 Mar 2008 11:25:24 +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 088DA8FC24; Tue, 4 Mar 2008 11:25:24 +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 m24BPNmt088581; Tue, 4 Mar 2008 11:25:23 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24BPNPl088580; Tue, 4 Mar 2008 11:25:23 GMT (envelope-from yar) Message-Id: <200803041125.m24BPNPl088580@repoman.freebsd.org> From: Yar Tikhiy Date: Tue, 4 Mar 2008 11:25:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/make make.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 11:25:24 -0000 yar 2008-03-04 11:25:23 UTC FreeBSD src repository Modified files: usr.bin/make make.1 Log: Revise the description of how .Ev MAKEFILE and .Va .MAKEFILE relate. The most important point is that -f option(s) are never copied from .Ev MAKEFILE to .Va .MAKEFILE by make(1), which is consistent with handling the command line. (-f silently sit in .Ev MAKEFILE and go to make's children unless overwritten via .Va .MAKEFILE) Bump .Dd. Revision Changes Path 1.106 +27 -21 src/usr.bin/make/make.1 From owner-cvs-src@FreeBSD.ORG Tue Mar 4 11:28: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 B3E95106567B; Tue, 4 Mar 2008 11:28:54 +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 97DEA8FC22; Tue, 4 Mar 2008 11:28:54 +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 m24BSsde088679; Tue, 4 Mar 2008 11:28:54 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24BSsUg088678; Tue, 4 Mar 2008 11:28:54 GMT (envelope-from yar) Message-Id: <200803041128.m24BSsUg088678@repoman.freebsd.org> From: Yar Tikhiy Date: Tue, 4 Mar 2008 11:28: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/usr.bin/make make.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 11:28:54 -0000 yar 2008-03-04 11:28:54 UTC FreeBSD src repository Modified files: usr.bin/make make.1 Log: Move a stray paragraph on .Ev MAKEFLAGS to where it belongs. Revision Changes Path 1.107 +14 -14 src/usr.bin/make/make.1 From owner-cvs-src@FreeBSD.ORG Tue Mar 4 12:07: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 F27FB106568F; Tue, 4 Mar 2008 12:07:34 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D369A8FC1C; Tue, 4 Mar 2008 12:07:34 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m24C7Yhj091436; Tue, 4 Mar 2008 12:07:34 GMT (envelope-from piso@repoman.freebsd.org) Received: (from piso@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24C7Ysx091435; Tue, 4 Mar 2008 12:07:34 GMT (envelope-from piso) Message-Id: <200803041207.m24C7Ysx091435@repoman.freebsd.org> From: Paolo Pisati Date: Tue, 4 Mar 2008 12:07:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c src/sys/netinet ip_fw2.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 12:07:35 -0000 piso 2008-03-04 12:07:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ipfw ipfw.8 ipfw2.c sys/netinet ip_fw2.c Log: MFC: Add table/tablearg support to ipfw's nat. Fix display of nat range. Fix display of multiple nat rules. Whitespace elimination. sbin/ipfw/ipfw2.c: rev. 1.115, 1.116 and 1.117 sbin/ipfw/ipfw.8: rev. 1.210 sys/netinet/ip_fw2.c: rev. 1.181 Revision Changes Path 1.203.2.2 +1 -1 src/sbin/ipfw/ipfw.8 1.108.2.3 +13 -19 src/sbin/ipfw/ipfw2.c 1.175.2.2 +4 -2 src/sys/netinet/ip_fw2.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 12:10: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 F08291065671; Tue, 4 Mar 2008 12:10:03 +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 D1C2B8FC33; Tue, 4 Mar 2008 12:10:03 +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 m24CA3YQ091547; Tue, 4 Mar 2008 12:10:03 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24CA3Na091546; Tue, 4 Mar 2008 12:10:03 GMT (envelope-from rwatson) Message-Id: <200803041210.m24CA3Na091546@repoman.freebsd.org> From: Robert Watson Date: Tue, 4 Mar 2008 12:10: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/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: Tue, 04 Mar 2008 12:10:04 -0000 rwatson 2008-03-04 12:10:03 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: Move setting of MNTK_MPSAFE flag before UFS1 extended attribute auto-start so that the flag is set before we start performing I/O in the auto-start routine. MFC after: 2 weeks Suggested by: kib Revision Changes Path 1.337 +3 -3 src/sys/ufs/ffs/ffs_vfsops.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 12:45: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 8EE281065677; Tue, 4 Mar 2008 12:45: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 6AFE68FC20; Tue, 4 Mar 2008 12:45: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 m24Cjnc2093016; Tue, 4 Mar 2008 12:45:49 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24CjnOa093015; Tue, 4 Mar 2008 12:45:49 GMT (envelope-from mav) Message-Id: <200803041245.m24CjnOa093015@repoman.freebsd.org> From: Alexander Motin Date: Tue, 4 Mar 2008 12:45: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/sbin/natd natd.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 12:45:49 -0000 mav 2008-03-04 12:45:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/natd natd.8 Log: MFC rev. 1.63-1.68 Document -instance and -globalport options. Note that the punch_fw option does not work in securelevel 3. Revision Changes Path 1.62.10.1 +189 -1 src/sbin/natd/natd.8 From owner-cvs-src@FreeBSD.ORG Tue Mar 4 12:50: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 0A07D106567D; Tue, 4 Mar 2008 12:50:12 +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 D8FA78FC25; Tue, 4 Mar 2008 12:50:11 +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 m24CoBvp002313; Tue, 4 Mar 2008 12:50:11 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24CoBFw002312; Tue, 4 Mar 2008 12:50:11 GMT (envelope-from rwatson) Message-Id: <200803041250.m24CoBFw002312@repoman.freebsd.org> From: Robert Watson Date: Tue, 4 Mar 2008 12:50: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/ufs/ufs extattr.h ufs_extattr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 12:50:12 -0000 rwatson 2008-03-04 12:50:11 UTC FreeBSD src repository Modified files: sys/ufs/ufs extattr.h ufs_extattr.c Log: Continue on-going campaign to replace lockmgr locks with sx locks where the specific semantics of ockmgr aren't required: update UFS1 extended attributes to protect its data structures using an sx lock. While here, update comments on lock granularity. MFC after: 2 weeks Revision Changes Path 1.22 +3 -2 src/sys/ufs/ufs/extattr.h 1.91 +11 -10 src/sys/ufs/ufs/ufs_extattr.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 12:52: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 488491065676; Tue, 4 Mar 2008 12:52:35 +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 22C198FC18; Tue, 4 Mar 2008 12:52:35 +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 m24CqZFm002413; Tue, 4 Mar 2008 12:52:35 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24CqY2O002412; Tue, 4 Mar 2008 12:52:34 GMT (envelope-from mav) Message-Id: <200803041252.m24CqY2O002412@repoman.freebsd.org> From: Alexander Motin Date: Tue, 4 Mar 2008 12:52:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sbin/natd natd.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 12:52:35 -0000 mav 2008-03-04 12:52:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/natd natd.8 Log: MFC rev. 1.63-1.68 Document -instance and -globalport options. Note that the punch_fw option does not work in securelevel 3. Revision Changes Path 1.62.2.1 +189 -1 src/sbin/natd/natd.8 From owner-cvs-src@FreeBSD.ORG Tue Mar 4 15: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 BEDED1065675; Tue, 4 Mar 2008 15:56:18 +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 96BD88FC2B; Tue, 4 Mar 2008 15:56:18 +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 m24FuIuV012140; Tue, 4 Mar 2008 15:56:18 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24FuIqw012139; Tue, 4 Mar 2008 15:56:18 GMT (envelope-from imp) Message-Id: <200803041556.m24FuIqw012139@repoman.freebsd.org> From: Warner Losh Date: Tue, 4 Mar 2008 15:56: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.bin/make arch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 15:56:18 -0000 imp 2008-03-04 15:56:18 UTC FreeBSD src repository Modified files: usr.bin/make arch.c Log: is necessary for using INT_MIN, so included it here explicitly rather than relying on name space pollution to pull it in for us. NB: The usage of INT_MIN is somewhat bogus and suspect to my eye, but this commit doesn't address that issue. Revision Changes Path 1.67 +1 -0 src/usr.bin/make/arch.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 16:10: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 7A76E106566C; Tue, 4 Mar 2008 16:10:59 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id C78148FC1D; Tue, 4 Mar 2008 16:10:58 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id m24GAW8D003608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 4 Mar 2008 18:10:43 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m24GARWh006704; Tue, 4 Mar 2008 18:10:27 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m24GARTY006701; Tue, 4 Mar 2008 18:10:27 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 4 Mar 2008 18:10:26 +0200 From: Giorgos Keramidas To: Warner Losh Message-ID: <20080304161026.GD95950@kobe.laptop> References: <200803041556.m24FuIqw012139@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803041556.m24FuIqw012139@repoman.freebsd.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.975, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.42, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/make arch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 16:10:59 -0000 On 2008-03-04 15:56, Warner Losh wrote: > imp 2008-03-04 15:56:18 UTC > > FreeBSD src repository > > Modified files: > usr.bin/make arch.c > Log: > is necessary for using INT_MIN, so included it here > explicitly rather than relying on name space pollution to pull it in > for us. Thanks :-) From owner-cvs-src@FreeBSD.ORG Tue Mar 4 16:15: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 A2317106566C; Tue, 4 Mar 2008 16:15:49 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.freebsd.org (Postfix) with ESMTP id 368BB8FC2A; Tue, 4 Mar 2008 16:15:48 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from knop-beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 4 Mar 2008 17:15:19 +0100 Date: Tue, 4 Mar 2008 17:15:21 +0100 (CET) From: Harti Brandt X-X-Sender: brandt_h@knop-beagle.kn.op.dlr.de To: Warner Losh In-Reply-To: <200803041556.m24FuIqw012139@repoman.freebsd.org> Message-ID: <20080304171410.V893@knop-beagle.kn.op.dlr.de> References: <200803041556.m24FuIqw012139@repoman.freebsd.org> X-OpenPGP-Key: harti@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 04 Mar 2008 16:15:19.0180 (UTC) FILETIME=[F0A33CC0:01C87E12] Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/make arch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 16:15:49 -0000 On Tue, 4 Mar 2008, Warner Losh wrote: WL>imp 2008-03-04 15:56:18 UTC WL> WL> FreeBSD src repository WL> WL> Modified files: WL> usr.bin/make arch.c WL> Log: WL> is necessary for using INT_MIN, so included it here WL> explicitly rather than relying on name space pollution to pull it in WL> for us. WL> WL> NB: The usage of INT_MIN is somewhat bogus and suspect to my eye, but this WL> commit doesn't address that issue. Yes. This looks like a bug. ArchStatMember returns INT64_MIN if it cannot stat the archive member. So the caller must check for INT64_MIN. harti From owner-cvs-src@FreeBSD.ORG Tue Mar 4 16:28: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 2BC1B1065679; Tue, 4 Mar 2008 16:28:34 +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 C9AF68FC2F; Tue, 4 Mar 2008 16:28:33 +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 m24GRDJo072031; Tue, 4 Mar 2008 09:27:13 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 04 Mar 2008 09:27:41 -0700 (MST) Message-Id: <20080304.092741.-116096587.imp@bsdimp.com> To: keramida@ceid.upatras.gr From: "M. Warner Losh" In-Reply-To: <20080304161026.GD95950@kobe.laptop> References: <200803041556.m24FuIqw012139@repoman.freebsd.org> <20080304161026.GD95950@kobe.laptop> 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: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/make arch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 16:28:34 -0000 In message: <20080304161026.GD95950@kobe.laptop> Giorgos Keramidas writes: : On 2008-03-04 15:56, Warner Losh wrote: : > imp 2008-03-04 15:56:18 UTC : > : > FreeBSD src repository : > : > Modified files: : > usr.bin/make arch.c : > Log: : > is necessary for using INT_MIN, so included it here : > explicitly rather than relying on name space pollution to pull it in : > for us. : : Thanks :-) You are welcome. Warner From owner-cvs-src@FreeBSD.ORG Tue Mar 4 16:54: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 1B47F1065674; Tue, 4 Mar 2008 16:54:32 +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 E877B8FC18; Tue, 4 Mar 2008 16:54:31 +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 m24GsVpQ024526; Tue, 4 Mar 2008 16:54:31 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24GsVKl024525; Tue, 4 Mar 2008 16:54:31 GMT (envelope-from jhb) Message-Id: <200803041654.m24GsVKl024525@repoman.freebsd.org> From: John Baldwin Date: Tue, 4 Mar 2008 16:54: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/conf kmod.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: Tue, 04 Mar 2008 16:54:32 -0000 jhb 2008-03-04 16:54:31 UTC FreeBSD src repository Modified files: sys/conf kmod.mk Log: Force an explicit dependency on opt_global.h for all module object files when building modules as part of a kernel build just as we do for kernel object files. MFC after: 1 week Reported by: kmacy, kris Reviewed by: ru Revision Changes Path 1.222 +7 -0 src/sys/conf/kmod.mk From owner-cvs-src@FreeBSD.ORG Tue Mar 4 17:41: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 2D7F91065674; Tue, 4 Mar 2008 17:41:59 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 068218FC14; Tue, 4 Mar 2008 17:41:59 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m24HfwqX027282; Tue, 4 Mar 2008 17:41:58 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24Hfwfx027278; Tue, 4 Mar 2008 17:41:58 GMT (envelope-from emax) Message-Id: <200803041741.m24Hfwfx027278@repoman.freebsd.org> From: Maksim Yevmenkin Date: Tue, 4 Mar 2008 17:41: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/usr.bin/bluetooth/rfcomm_sppd rfcomm_sppd.1 rfcomm_sppd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 17:41:59 -0000 emax 2008-03-04 17:41:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/bluetooth/rfcomm_sppd rfcomm_sppd.1 rfcomm_sppd.c Log: MFC: add "server mode" to rfcomm_sppd(1) MFC: Check return value of listen() PR: bin/102523 Submitted by: Dave Eckhardt, bms, kevlo Tested by: Dave Eckhardt, Eric Anderson, bms Revision Changes Path 1.7.2.3 +53 -8 src/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1 1.6.2.3 +100 -31 src/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 18:22: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 7DD44106566B; Tue, 4 Mar 2008 18:22:18 +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 57AFC8FC23; Tue, 4 Mar 2008 18:22:18 +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 m24IMIw5029995; Tue, 4 Mar 2008 18:22:18 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24IMI22029994; Tue, 4 Mar 2008 18:22:18 GMT (envelope-from mav) Message-Id: <200803041822.m24IMI22029994@repoman.freebsd.org> From: Alexander Motin Date: Tue, 4 Mar 2008 18:22: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/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: Tue, 04 Mar 2008 18:22:18 -0000 mav 2008-03-04 18:22:18 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Implement 128 items node name hash for faster name search. Increase node ID hash size from 32 to 128 items. Revision Changes Path 1.148 +70 -47 src/sys/netgraph/ng_base.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 18:50: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 7378C1065674; Tue, 4 Mar 2008 18:50:16 +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 4CED48FC28; Tue, 4 Mar 2008 18:50:16 +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 m24IoGW4035971; Tue, 4 Mar 2008 18:50:16 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24IoGvO035970; Tue, 4 Mar 2008 18:50:16 GMT (envelope-from alc) Message-Id: <200803041850.m24IoGvO035970@repoman.freebsd.org> From: Alan Cox Date: Tue, 4 Mar 2008 18:50: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/amd64/amd64 pmap.c src/sys/amd64/include pmap.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, 04 Mar 2008 18:50:16 -0000 alc 2008-03-04 18:50:15 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h Log: Add support for automatic promotion of 4KB page mappings to 2MB page mappings. Automatic promotion can be enabled by setting the tunable "vm.pmap.pg_ps_enabled" to a non-zero value. By default, automatic promotion is disabled. (Expect this to change.) Reviewed by: ups Tested by: kris, Peter Holm Revision Changes Path 1.606 +1072 -104 src/sys/amd64/amd64/pmap.c 1.140 +11 -3 src/sys/amd64/include/pmap.h From owner-cvs-src@FreeBSD.ORG Tue Mar 4 19:00: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 DF0B2106566B; Tue, 4 Mar 2008 19:00:11 +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 B8CC28FC20; Tue, 4 Mar 2008 19:00:11 +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 m24J0BTZ036476; Tue, 4 Mar 2008 19:00:11 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24J0BK0036475; Tue, 4 Mar 2008 19:00:11 GMT (envelope-from obrien) Message-Id: <200803041900.m24J0BK0036475@repoman.freebsd.org> From: "David E. O'Brien" Date: Tue, 4 Mar 2008 19:00: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/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: Tue, 04 Mar 2008 19:00:12 -0000 obrien 2008-03-04 19:00:11 UTC FreeBSD src repository Modified files: share/mk sys.mk Log: Back out revision 1.97, which backed out part of revision 1.96. Change 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.98 +2 -2 src/share/mk/sys.mk From owner-cvs-src@FreeBSD.ORG Tue Mar 4 19:02: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 467581065674; Tue, 4 Mar 2008 19:02:34 +0000 (UTC) (envelope-from wilko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 20FEB8FC17; Tue, 4 Mar 2008 19:02:34 +0000 (UTC) (envelope-from wilko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m24J2Yip036572; Tue, 4 Mar 2008 19:02:34 GMT (envelope-from wilko@repoman.freebsd.org) Received: (from wilko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24J2XfR036571; Tue, 4 Mar 2008 19:02:33 GMT (envelope-from wilko) Message-Id: <200803041902.m24J2XfR036571@repoman.freebsd.org> From: Wilko Bulte Date: Tue, 4 Mar 2008 19:02:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: CVSROOT access X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 19:02:34 -0000 wilko 2008-03-04 19:02:33 UTC FreeBSD src repository Modified files: . access Log: njl has asked core to notify the world that rpaulo is now free from mentorship Submitted by: njl Approved by: core (implicit) Revision Changes Path 1.863 +0 -0 CVSROOT/access From owner-cvs-src@FreeBSD.ORG Tue Mar 4 19: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 DBFDC1065677; Tue, 4 Mar 2008 19:10:49 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id C08098FC2F; Tue, 4 Mar 2008 19:10:49 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.2/8.14.2) with ESMTP id m24JAFVs067542; Tue, 4 Mar 2008 11:10:15 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.2/8.14.2/Submit) id m24JAFFP067541; Tue, 4 Mar 2008 11:10:15 -0800 (PST) (envelope-from sgk) Date: Tue, 4 Mar 2008 11:10:15 -0800 From: Steve Kargl To: "David E. O'Brien" Message-ID: <20080304191015.GA67271@troutmask.apl.washington.edu> References: <200803041900.m24J0BK0036475@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803041900.m24J0BK0036475@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/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: Tue, 04 Mar 2008 19:10:50 -0000 On Tue, Mar 04, 2008 at 07:00:11PM +0000, David E. O'Brien wrote: > obrien 2008-03-04 19:00:11 UTC > > FreeBSD src repository > > Modified files: > share/mk sys.mk > Log: > Back out revision 1.97, which backed out part of revision 1.96. > Change 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. > Does this change propagate into the ports collection make infrastructure? There are several ports that require -fno-strict-aliasing. -- Steve From owner-cvs-src@FreeBSD.ORG Tue Mar 4 19:16: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 53E5F106566B; Tue, 4 Mar 2008 19:16:32 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 480878FC21; Tue, 4 Mar 2008 19:16:32 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m24JGWmr038228; Tue, 4 Mar 2008 19:16:32 GMT (envelope-from rpaulo@repoman.freebsd.org) Received: (from rpaulo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24JGMci038210; Tue, 4 Mar 2008 19:16:22 GMT (envelope-from rpaulo) Message-Id: <200803041916.m24JGMci038210@repoman.freebsd.org> From: Rui Paulo Date: Tue, 4 Mar 2008 19:16: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/netinet in.h in_pcb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 19:16:32 -0000 rpaulo 2008-03-04 19:16:22 UTC FreeBSD src repository Modified files: sys/netinet in.h in_pcb.c Log: Change the default port range for outgoing connections by introducing IPPORT_EPHEMERALFIRST and IPPORT_EPHEMERALLAST with values 10000 and 65535 respectively. The rationale behind is that it makes the attacker's life more difficult if he/she wants to guess the ephemeral port range and also lowers the probability of a port colision (described in draft-ietf-tsvwg-port-randomization-01.txt). While there, remove code duplication in in_pcbbind_setup(). Submitted by: Fernando Gont Approved by: njl (mentor) Reviewed by: silby, bms Discussed on: freebsd-net Revision Changes Path 1.101 +8 -4 src/sys/netinet/in.h 1.199 +21 -40 src/sys/netinet/in_pcb.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 19:22: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 6294E106566C; Tue, 4 Mar 2008 19:22:58 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id 336FB8FC2C; Tue, 4 Mar 2008 19:22:58 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 83F0AAD04B; Tue, 4 Mar 2008 14:22:57 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 04 Mar 2008 14:22:57 -0500 X-Sasl-enc: enftA7hMtkBJdxSeWqpjcTNLnJsaucamEE/YG5h8tqaT 1204658577 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id D7628277C8; Tue, 4 Mar 2008 14:22:56 -0500 (EST) Message-ID: <47CDA18F.7090007@FreeBSD.org> Date: Tue, 04 Mar 2008 19:22:55 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.9 (X11/20080207) MIME-Version: 1.0 To: Rui Paulo References: <200803041916.m24JGMci038210@repoman.freebsd.org> In-Reply-To: <200803041916.m24JGMci038210@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in.h in_pcb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 19:22:58 -0000 Rui Paulo wrote: > Submitted by: Fernando Gont > Approved by: njl (mentor) > Reviewed by: silby, bms > Disclaimer: I didn't review the code in this change, but just commented upon the intent behind it. BMS From owner-cvs-src@FreeBSD.ORG Tue Mar 4 20:26: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 B4E6B1065673; Tue, 4 Mar 2008 20:26:03 +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 8F14D8FC14; Tue, 4 Mar 2008 20:26:03 +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 m24KQ3WH042000; Tue, 4 Mar 2008 20:26:03 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24KQ3FP041999; Tue, 4 Mar 2008 20:26:03 GMT (envelope-from obrien) Message-Id: <200803042026.m24KQ3FP041999@repoman.freebsd.org> From: "David E. O'Brien" Date: Tue, 4 Mar 2008 20:26: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/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: Tue, 04 Mar 2008 20:26:03 -0000 obrien 2008-03-04 20:26:03 UTC FreeBSD src repository Modified files: share/mk sys.mk Log: Temporarily back out revision 1.98 to give Portmgr some time to address PR ports/121363 (current day re-opening of PR ports/73797) to make ports CFLAGS more independent of src/'s CFLAGS WRT aliasing. Discussed with: brooks Revision Changes Path 1.99 +2 -2 src/share/mk/sys.mk From owner-cvs-src@FreeBSD.ORG Tue Mar 4 20: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 5A859106567B for ; Tue, 4 Mar 2008 20:28:06 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id DACD88FC2A for ; Tue, 4 Mar 2008 20:28:05 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so2955759uge.37 for ; Tue, 04 Mar 2008 12:28:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=VL0jr5eiq2jcAXuqsl+bHkMVjXWVVxskqHTGv6nNOWc=; b=eQ+yn1J5CRzEWVTiKTGnkmKHoNKkrsBUlw7GBUx3uKuWb06Jxe2tniL70XAGTus7lGtSXI4EIKKm9NJdIJlV2nO9FBy2DLgMg5PyrpUH4tewYwPGBGxHOLWz2jLHjmiEb08dvIu3Op+HvdjCQF5gAI5VMrU7riNn6Vb/e/ddDfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; b=Aup9bln2KeYwTEO06U4VB9MDD5Ghl3ImjCfD4Zh3otZjUkyFAZQiRYe+WqbLaqNZRnaCk4giG7Rf9tDRlLG1PUHiqQ/cxr9AcgugGqKKKrDiR2pfitxyJ2sKJKXXLHPXPoTrgNH3r900QCHrrFeL8tS2K+AiMNVj83pnWzwcidA= Received: by 10.78.138.6 with SMTP id l6mr4490244hud.3.1204662483647; Tue, 04 Mar 2008 12:28:03 -0800 (PST) Received: from fnop.net ( [89.214.171.92]) by mx.google.com with ESMTPS id u14sm175071gvf.1.2008.03.04.12.28.00 (version=SSLv3 cipher=OTHER); Tue, 04 Mar 2008 12:28:03 -0800 (PST) Date: Tue, 4 Mar 2008 17:32:17 +0000 From: Rui Paulo To: "Bruce M. Simpson" Message-ID: <20080304173217.GC1008@fnop.net> References: <200803041916.m24JGMci038210@repoman.freebsd.org> <47CDA18F.7090007@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47CDA18F.7090007@FreeBSD.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Rui Paulo Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Rui Paulo , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in.h in_pcb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 20:28:06 -0000 On Tue, Mar 04, 2008 at 07:22:55PM +0000, Bruce M. Simpson wrote: > Rui Paulo wrote: >> Submitted by: Fernando Gont >> Approved by: njl (mentor) >> Reviewed by: silby, bms >> > > Disclaimer: I didn't review the code in this change, but just commented > upon the intent behind it. Oh, I'm terribly sorry. My mistake. -- Rui Paulo From owner-cvs-src@FreeBSD.ORG Tue Mar 4 21:21: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 D9BBD106567A for ; Tue, 4 Mar 2008 21:21:34 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outO.internet-mail-service.net (outO.internet-mail-service.net [216.240.47.238]) by mx1.freebsd.org (Postfix) with ESMTP id C5D128FC22 for ; Tue, 4 Mar 2008 21:21:34 +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; Tue, 04 Mar 2008 13:21:34 -0800 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 801212D600D; Tue, 4 Mar 2008 13:21:33 -0800 (PST) Message-ID: <47CDBD5D.5020705@elischer.org> Date: Tue, 04 Mar 2008 13:21:33 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Alexander Motin References: <200803041822.m24IMI22029994@repoman.freebsd.org> In-Reply-To: <200803041822.m24IMI22029994@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/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: Tue, 04 Mar 2008 21:21:35 -0000 Alexander Motin wrote: > mav 2008-03-04 18:22:18 UTC > > FreeBSD src repository > > Modified files: > sys/netgraph ng_base.c > Log: > Implement 128 items node name hash for faster name search. > Increase node ID hash size from 32 to 128 items. > > Revision Changes Path > 1.148 +70 -47 src/sys/netgraph/ng_base.c I knew this day would come.. that's why I had a name lookup method... From owner-cvs-src@FreeBSD.ORG Tue Mar 4 22:32: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 A0FAE1065675; Tue, 4 Mar 2008 22:32:58 +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 7B0828FC1D; Tue, 4 Mar 2008 22:32:58 +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 m24MWwGD058989; Tue, 4 Mar 2008 22:32:58 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24MWwAQ058988; Tue, 4 Mar 2008 22:32:58 GMT (envelope-from obrien) Message-Id: <200803042232.m24MWwAQ058988@repoman.freebsd.org> From: "David E. O'Brien" Date: Tue, 4 Mar 2008 22:32: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/usr.bin/make Makefile job.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 22:32:58 -0000 obrien 2008-03-04 22:32:58 UTC FreeBSD src repository Modified files: usr.bin/make Makefile job.c Log: No need to tell make to DTRT with "make love", just do it. Also remove the 2002/08/31 bootstrapping aid for upgrades from year old (mid-2001) systems. Revision Changes Path 1.66 +0 -5 src/usr.bin/make/Makefile 1.127 +0 -6 src/usr.bin/make/job.c From owner-cvs-src@FreeBSD.ORG Tue Mar 4 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 554661065671; Tue, 4 Mar 2008 22:51:38 +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 2EBDE8FC14; Tue, 4 Mar 2008 22:51:38 +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 m24Mpb15059667; Tue, 4 Mar 2008 22:51:37 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m24MpbJ2059666; Tue, 4 Mar 2008 22:51:37 GMT (envelope-from obrien) Message-Id: <200803042251.m24MpbJ2059666@repoman.freebsd.org> From: "David E. O'Brien" Date: Tue, 4 Mar 2008 22:51: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/usr.bin/make job.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Mar 2008 22:51:38 -0000 obrien 2008-03-04 22:51:37 UTC FreeBSD src repository Modified files: usr.bin/make job.c Log: It seems some don't care for the anchient joke. Add WITHOUT_OLD_JOKE to your CFLAGS if you fall into this camp. Revision Changes Path 1.128 +2 -0 src/usr.bin/make/job.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 01:15: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 C94531065670; Wed, 5 Mar 2008 01:15:10 +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 9E0F08FC12; Wed, 5 Mar 2008 01:15:10 +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 m251FA5u080713; Wed, 5 Mar 2008 01:15:10 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m251FAXh080712; Wed, 5 Mar 2008 01:15:10 GMT (envelope-from yongari) Message-Id: <200803050115.m251FAXh080712@repoman.freebsd.org> From: Pyun YongHyeon Date: Wed, 5 Mar 2008 01:15: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/dev/mii rgephy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 01:15:10 -0000 yongari 2008-03-05 01:15:10 UTC FreeBSD src repository Modified files: sys/dev/mii rgephy.c Log: Add detection of isolation state. PR: kern/76710 Revision Changes Path 1.19 +5 -0 src/sys/dev/mii/rgephy.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 01:30: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 91991106570E; Wed, 5 Mar 2008 01:30:49 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 64B4A8FC14; Wed, 5 Mar 2008 01:30:49 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m251UntK081203; Wed, 5 Mar 2008 01:30:49 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m251UnP7081202; Wed, 5 Mar 2008 01:30:49 GMT (envelope-from simokawa) Message-Id: <200803050130.m251UnP7081202@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Wed, 5 Mar 2008 01:30: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/usr.sbin/fwcontrol fwcontrol.8 fwcontrol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 01:30:49 -0000 simokawa 2008-03-05 01:30:49 UTC FreeBSD src repository Modified files: usr.sbin/fwcontrol fwcontrol.8 fwcontrol.c Log: - add '-f' option to force root node. - fix byte order in read_write_quad() - show hostnames in the list - fix typo in manpage MFC after: 1 week Revision Changes Path 1.22 +6 -1 src/usr.sbin/fwcontrol/fwcontrol.8 1.24 +17 -7 src/usr.sbin/fwcontrol/fwcontrol.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 01: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 67250106566B; Wed, 5 Mar 2008 01:49:21 +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 5412F8FC27; Wed, 5 Mar 2008 01:49:21 +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 m251nLAc081922; Wed, 5 Mar 2008 01:49:21 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m251nL4S081921; Wed, 5 Mar 2008 01:49:21 GMT (envelope-from jeff) Message-Id: <200803050149.m251nL4S081921@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 5 Mar 2008 01: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.bin/cpuset cpuset.c 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: Wed, 05 Mar 2008 01:49:21 -0000 jeff 2008-03-05 01:49:20 UTC FreeBSD src repository Modified files: usr.bin/cpuset cpuset.c sys/sys cpuset.h sys/kern kern_cpuset.c Log: - Verify that when a user supplies a mask that is bigger than the kernel mask none of the upper bits are set. - Be more careful about enforcing the boundaries of masks and child sets. - Introduce a few more CPU_* macros for implementing these tests. - Change the cpusetsize argument to be bytes rather than bits to match other apis. Sponsored by: Nokia Revision Changes Path 1.2 +78 -26 src/sys/kern/kern_cpuset.c 1.2 +22 -0 src/sys/sys/cpuset.h 1.2 +7 -8 src/usr.bin/cpuset/cpuset.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 02:10: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 A4559106567B; Wed, 5 Mar 2008 02:10: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 771AA8FC1C; Wed, 5 Mar 2008 02:10: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 m252AiPA083808; Wed, 5 Mar 2008 02:10:44 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m252AiQN083807; Wed, 5 Mar 2008 02:10:44 GMT (envelope-from jeff) Message-Id: <200803050210.m252AiQN083807@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 5 Mar 2008 02:10: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/usr.bin/cpuset Makefile cpuset.1 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: Wed, 05 Mar 2008 02:10:44 -0000 jeff 2008-03-05 02:10:44 UTC FreeBSD src repository Modified files: usr.bin/cpuset Makefile cpuset.c Added files: usr.bin/cpuset cpuset.1 Log: - Remove the -i argument when running a command to simplify things a little bit and to prevent users from specifying a private mask that may later restrict other group changes. - Add a man page which brueffer generously contributed to. Sponsored by: Nokia Revision Changes Path 1.2 +0 -1 src/usr.bin/cpuset/Makefile 1.1 +171 -0 src/usr.bin/cpuset/cpuset.1 (new) 1.3 +6 -13 src/usr.bin/cpuset/cpuset.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 05:36: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 5D5AB1065671; Wed, 5 Mar 2008 05:36:10 +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 31B0F8FC1D; Wed, 5 Mar 2008 05:36:10 +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 m255aAex004726; Wed, 5 Mar 2008 05:36:10 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m255aALw004725; Wed, 5 Mar 2008 05:36:10 GMT (envelope-from yongari) Message-Id: <200803050536.m255aALw004725@repoman.freebsd.org> From: Pyun YongHyeon Date: Wed, 5 Mar 2008 05:36: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/lge if_lge.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 05:36:10 -0000 yongari 2008-03-05 05:36:09 UTC FreeBSD src repository Modified files: sys/dev/lge if_lge.c Log: Plug memory leak in jumbo buffer allocation failure path. Patch in the PR was modified to check active jumbo buffers in use and other possible jumbo buffer leak. Jumbo buffer usage in lge(4) still wouldn't be reliable due to lack of driver lock in local jumbo buffer allocator. Either introduce a new lock to protect jumbo buffer or switch to UMA backed page allocator for jumbo frame is required. PR: kern/78072 Revision Changes Path 1.53 +12 -4 src/sys/dev/lge/if_lge.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 06:24: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 1FE681065670; Wed, 5 Mar 2008 06:24:43 +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 E88638FC14; Wed, 5 Mar 2008 06:24:42 +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 m256OgWC007411; Wed, 5 Mar 2008 06:24:42 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m256Og42007410; Wed, 5 Mar 2008 06:24:42 GMT (envelope-from rodrigc) Message-Id: <200803050624.m256Og42007410@repoman.freebsd.org> From: Craig Rodrigues Date: Wed, 5 Mar 2008 06:24: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/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: Wed, 05 Mar 2008 06:24:43 -0000 rodrigc 2008-03-05 06:24:42 UTC FreeBSD src repository Modified files: sbin/fsck_ffs main.c Log: Remove hacks to filter out MNT_ROOTFS, since we now do that internally inside nmount() in revision 1.267 of vfs_mount.c. Revision Changes Path 1.48 +0 -10 src/sbin/fsck_ffs/main.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 06:55: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 83B81106566B; Wed, 5 Mar 2008 06:55:49 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 583D18FC2A; Wed, 5 Mar 2008 06:55:49 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m256tnCR009595; Wed, 5 Mar 2008 06:55:49 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m256tn56009594; Wed, 5 Mar 2008 06:55:49 GMT (envelope-from davidxu) Message-Id: <200803050655.m256tn56009594@repoman.freebsd.org> From: David Xu Date: Wed, 5 Mar 2008 06:55: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_attr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 06:55:49 -0000 davidxu 2008-03-05 06:55:49 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_attr.c Log: Check actual size of cpuset kernel is using and define underscore version of API. Revision Changes Path 1.10 +42 -7 src/lib/libthr/thread/thr_attr.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 06:56: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 3A5231065680; Wed, 5 Mar 2008 06:56: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 0EF018FC1E; Wed, 5 Mar 2008 06:56: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 m256uZpm009660; Wed, 5 Mar 2008 06:56:35 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m256uZX0009659; Wed, 5 Mar 2008 06:56:35 GMT (envelope-from davidxu) Message-Id: <200803050656.m256uZX0009659@repoman.freebsd.org> From: David Xu Date: Wed, 5 Mar 2008 06:56: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 pthread.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: Wed, 05 Mar 2008 06:56:36 -0000 davidxu 2008-03-05 06:56:35 UTC FreeBSD src repository Modified files: lib/libthr pthread.map Log: Add more cpu affinity function's symbols. Revision Changes Path 1.28 +6 -0 src/lib/libthr/pthread.map From owner-cvs-src@FreeBSD.ORG Wed Mar 5 07:01: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 36C4C106566B; Wed, 5 Mar 2008 07:01:22 +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 0A22C8FC14; Wed, 5 Mar 2008 07:01:22 +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 m2571Lpe009839; Wed, 5 Mar 2008 07:01:21 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2571LNq009838; Wed, 5 Mar 2008 07:01:21 GMT (envelope-from davidxu) Message-Id: <200803050701.m2571LNq009838@repoman.freebsd.org> From: David Xu Date: Wed, 5 Mar 2008 07: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/lib/libthr/thread thr_create.c thr_init.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, 05 Mar 2008 07:01:22 -0000 davidxu 2008-03-05 07:01:21 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_create.c thr_init.c thr_private.h Log: Use cpuset defined in pthread_attr for newly created thread, for now, we set scheduling parameters and cpu binding fully in userland, and because default scheduling policy is SCHED_RR (time-sharing), we set default sched_inherit to PTHREAD_SCHED_INHERIT, this saves a system call. Revision Changes Path 1.39 +51 -20 src/lib/libthr/thread/thr_create.c 1.49 +1 -1 src/lib/libthr/thread/thr_init.c 1.85 +5 -0 src/lib/libthr/thread/thr_private.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 07:04: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 4E53C106566B; Wed, 5 Mar 2008 07:04:56 +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 2266D8FC18; Wed, 5 Mar 2008 07:04:56 +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 m2574uMh011100; Wed, 5 Mar 2008 07:04:56 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2574u56011099; Wed, 5 Mar 2008 07:04:56 GMT (envelope-from davidxu) Message-Id: <200803050704.m2574u56011099@repoman.freebsd.org> From: David Xu Date: Wed, 5 Mar 2008 07:04:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr/thread thr_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 07:04:56 -0000 davidxu 2008-03-05 07:04:55 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_sig.c Log: Increase and decrease in_sigcancel_handler accordingly to avoid possible error caused by nested SIGCANCEL stack, it is a bit complex. Revision Changes Path 1.27 +2 -2 src/lib/libthr/thread/thr_sig.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 07:55: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 6E4D21065670; Wed, 5 Mar 2008 07:55:09 +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 420428FC21; Wed, 5 Mar 2008 07:55:09 +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 m257t7Oq014458; Wed, 5 Mar 2008 07:55:07 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m257t7jr014457; Wed, 5 Mar 2008 07:55:07 GMT (envelope-from rodrigc) Message-Id: <200803050755.m257t7jr014457@repoman.freebsd.org> From: Craig Rodrigues Date: Wed, 5 Mar 2008 07:55:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/mountd mountd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 07:55:09 -0000 rodrigc 2008-03-05 07:55:07 UTC FreeBSD src repository Modified files: usr.sbin/mountd mountd.c Log: Remove hacks which filter out MNT_ROOTFS. They are no longer needed now that we filter out MNT_ROOTFS inside the nmount() call in revision 1.267 of vfs_mount.c. Reviewed by: rink Revision Changes Path 1.97 +1 -15 src/usr.sbin/mountd/mountd.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 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 78A501065671; Wed, 5 Mar 2008 07:55:45 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC8B8FC22; Wed, 5 Mar 2008 07:55:45 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m257tjpN014502; Wed, 5 Mar 2008 07:55:45 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m257tjww014501; Wed, 5 Mar 2008 07:55:45 GMT (envelope-from kevlo) Message-Id: <200803050755.m257tjww014501@repoman.freebsd.org> From: Kevin Lo Date: Wed, 5 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/arm/conf 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: Wed, 05 Mar 2008 07:55:45 -0000 kevlo 2008-03-05 07:55:45 UTC FreeBSD src repository Modified files: sys/arm/conf AVILA Log: Add rl(4) support Revision Changes Path 1.8 +2 -0 src/sys/arm/conf/AVILA From owner-cvs-src@FreeBSD.ORG Wed Mar 5 08:08: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 462761065677; Wed, 5 Mar 2008 08:08:33 +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 C1A1C8FC13; Wed, 5 Mar 2008 08:08:32 +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 m2588WVe016071; Wed, 5 Mar 2008 08:08:32 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2588Wiw016070; Wed, 5 Mar 2008 08:08:32 GMT (envelope-from jeff) Message-Id: <200803050808.m2588Wiw016070@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 5 Mar 2008 08:08: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/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: Wed, 05 Mar 2008 08:08:33 -0000 jeff 2008-03-05 08:08:32 UTC FreeBSD src repository Modified files: sys/kern kern_cpuset.c Log: - Don't overwrite the recently allocated 'nset' in cpuset_setthread() by passing it to cpuset_which(). Pass in 'set' instead. This argument is not used but for convenience cpuset_which() nulls all incoming parameters. Submitted by: davidxu Revision Changes Path 1.3 +1 -1 src/sys/kern/kern_cpuset.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 08:25: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 983831065670; Wed, 5 Mar 2008 08:25:51 +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 858548FC15; Wed, 5 Mar 2008 08:25:51 +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 m258Ppab016742; Wed, 5 Mar 2008 08:25:51 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m258Ppv2016738; Wed, 5 Mar 2008 08:25:51 GMT (envelope-from rodrigc) Message-Id: <200803050825.m258Ppv2016738@repoman.freebsd.org> From: Craig Rodrigues Date: Wed, 5 Mar 2008 08:25: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/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: Wed, 05 Mar 2008 08:25:51 -0000 rodrigc 2008-03-05 08:25:49 UTC FreeBSD src repository Modified files: sbin/fsck_ffs main.c Log: For a mounted file system which is read-only, when doing the MNT_RELOAD, pass in "ro" and "update" string mount options to nmount() instead of MNT_RDONLY and MNT_UPDATE flags. Due to the complexity of the mount parsing code especially with respect to the root file system, passing in MNT_RDONLY and MNT_UPDATE flags would do weird things and would cause fsck to convert the root file system from a read-only mount to read-write. To test: - boot into single user mode - show mounted file systems with: mount - root file system should be mounted read-only - fsck / - show mounted file systems with: mount - root file system should still be mounted read-only PR: 120319 MFC after: 1 month Reported by: yar Revision Changes Path 1.49 +3 -1 src/sbin/fsck_ffs/main.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 08:53: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 EEFA4106566B; Wed, 5 Mar 2008 08:53:02 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C22388FC40; Wed, 5 Mar 2008 08:53:02 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m258r2GG027262; Wed, 5 Mar 2008 08:53:02 GMT (envelope-from philip@repoman.freebsd.org) Received: (from philip@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m258r2nQ027261; Wed, 5 Mar 2008 08:53:02 GMT (envelope-from philip) Message-Id: <200803050853.m258r2nQ027261@repoman.freebsd.org> From: Philip Paeps Date: Wed, 5 Mar 2008 08:53: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: CVSROOT access X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 08:53:03 -0000 philip 2008-03-05 08:53:02 UTC FreeBSD src repository Modified files: . access Log: Note on behalve of njl, who has turned in his commit bit for safe-keeping recently, that Rui Paolo (rpaulo) may now spread his wings free of mentorship. May his collection of pointy hats flourish! :-) Submitted by: njl (mentor - been a while since I typed that ;-)) Approved by: core (implicit) Revision Changes Path 1.864 +0 -0 CVSROOT/access From owner-cvs-src@FreeBSD.ORG Wed Mar 5 09: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 881611065673; Wed, 5 Mar 2008 09:41:24 +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 73D868FC15; Wed, 5 Mar 2008 09:41:24 +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 m259fOhI029942; Wed, 5 Mar 2008 09:41:24 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m259fNXF029941; Wed, 5 Mar 2008 09:41:23 GMT (envelope-from rodrigc) Message-Id: <200803050941.m259fNXF029941@repoman.freebsd.org> From: Craig Rodrigues Date: Wed, 5 Mar 2008 09:41: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/nfsclient nfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 09:41:24 -0000 rodrigc 2008-03-05 09:41:22 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: In nfs_mount(), default initialize struct nfs_args the same way that it is default initialized in revision 1.77 of mount_nfs.c. Right now, this is a no-op, because currently we initialize struct nfs_args in mount_nfs in userspace, and pass it down into the kernel via nmount(), so we overwrite whatever we initialize here with the value passed in from userspace. However, this lays the groundwork for moving away from passing struct nfs_args from userspace to kernel via nmount(), so that we can instead pass string mount options via nmount() which can be parsed in the kernel. This will make it easier to add new NFS mount options. Revision Changes Path 1.201 +25 -1 src/sys/nfsclient/nfs_vfsops.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 10:09: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 96D3F1065670; Wed, 5 Mar 2008 10:09:30 +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 686718FC2A; Wed, 5 Mar 2008 10:09:30 +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 m25A9UDC031956; Wed, 5 Mar 2008 10:09:30 GMT (envelope-from rodrigc@repoman.freebsd.org) Received: (from rodrigc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25A9U4f031955; Wed, 5 Mar 2008 10:09:30 GMT (envelope-from rodrigc) Message-Id: <200803051009.m25A9U4f031955@repoman.freebsd.org> From: Craig Rodrigues Date: Wed, 5 Mar 2008 10:09:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 10:09:30 -0000 rodrigc 2008-03-05 10:09:29 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: Expand the nfs_opts array to include all possible string mount options that mount_nfs could pass down, if it passed down string mount options. Right now, mount_nfs jut passes down a single mount option named "nfs_args" with a fully initialized 'struct nfs_args'. In future commits, we will add code to the kernel for parsing stringified NFS mount options, so that we can convert mount_nfs to pass string options from userspace to kernel, instead of an initialized struct nfs_args. Revision Changes Path 1.202 +4 -1 src/sys/nfsclient/nfs_vfsops.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 11:11: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 335A41065693; Wed, 5 Mar 2008 11:11:54 +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 1E3A98FC25; Wed, 5 Mar 2008 11:11:54 +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 m25BBsop035028; Wed, 5 Mar 2008 11:11:54 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25BBreL035027; Wed, 5 Mar 2008 11:11:53 GMT (envelope-from bde) Message-Id: <200803051111.m25BBreL035027@repoman.freebsd.org> From: Bruce Evans Date: Wed, 5 Mar 2008 11:11:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/include float.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, 05 Mar 2008 11:11:54 -0000 bde 2008-03-05 11:11:53 UTC FreeBSD src repository Modified files: sys/i386/include float.h Log: Change float_t and double_t to long double on i386. All floating point expressions on i386 are evaluated in the range of the long double type, so this is wrong in a different but hopefully less worse way than before. Since expressions are evaluated in long double registers, there is no runtime cost to using long double instead of double to declare intermediate values (except in cases where this avoids compiler bugs), and by careful use of float_t or double_t it is possible to avoid some of the compiler bugs in this area, provided these types are declared as long double. I was going to change float.h to be less broken and more usable in combination with the change here (in particular, it is more necessary to know the effective number of bits in a double_t when double_t != double, since DBL_MANT_DIG no longer logically gives this, and LDBL_MANT_DIG doesn't give it either with FreeBSD-i386's default rounding precision. However, this was too hard for now. In particular, LDBL_MANT_DIG is used a lot in libm, so it cannot be changed. One thing that is completely broken now is LDBL_MAX. This may have sort of worked when it was changed from DBL_MAX in 2002 (adding 0 to it at runtime gave +Inf, but you could at least compare with it), but starting with gcc-3.3.1 in 2003, it is always +Inf due to evaluating it at compile time in the default rounding precision. Revision Changes Path 1.16 +5 -4 src/sys/i386/include/float.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 11:17: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 629F61065679; Wed, 5 Mar 2008 11:17:21 +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 342148FC25; Wed, 5 Mar 2008 11:17:21 +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 m25BHLXc035231; Wed, 5 Mar 2008 11:17:21 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25BHLMB035230; Wed, 5 Mar 2008 11:17:21 GMT (envelope-from bde) Message-Id: <200803051117.m25BHLMB035230@repoman.freebsd.org> From: Bruce Evans Date: Wed, 5 Mar 2008 11:17: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/i386/include float.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, 05 Mar 2008 11:17:21 -0000 bde 2008-03-05 11:17:21 UTC FreeBSD src repository Modified files: sys/i386/include float.h Log: Oops, back out previous commit since it was to the wrong file. Revision Changes Path 1.17 +4 -5 src/sys/i386/include/float.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 11:21: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 B192E106566C; Wed, 5 Mar 2008 11:21:14 +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 9CB168FC25; Wed, 5 Mar 2008 11:21:14 +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 m25BLEWG035427; Wed, 5 Mar 2008 11:21:14 GMT (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25BLE03035426; Wed, 5 Mar 2008 11:21:14 GMT (envelope-from bde) Message-Id: <200803051121.m25BLE03035426@repoman.freebsd.org> From: Bruce Evans Date: Wed, 5 Mar 2008 11:21: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/i386/include _types.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, 05 Mar 2008 11:21:14 -0000 bde 2008-03-05 11:21:14 UTC FreeBSD src repository Modified files: sys/i386/include _types.h Log: Change float_t and double_t to long double on i386. All floating point expressions on i386 are evaluated in the range of the long double type, so this is wrong in a different but hopefully less worse way than before. Since expressions are evaluated in long double registers, there is no runtime cost to using long double instead of double to declare intermediate values (except in cases where this avoids compiler bugs), and by careful use of float_t or double_t it is possible to avoid some of the compiler bugs in this area, provided these types are declared as long double. I was going to change float.h to be less broken and more usable in combination with the change here (in particular, it is more necessary to know the effective number of bits in a double_t when double_t != double, since DBL_MANT_DIG no longer logically gives this, and LDBL_MANT_DIG doesn't give it either with FreeBSD-i386's default rounding precision. However, this was too hard for now. In particular, LDBL_MANT_DIG is used a lot in libm, so it cannot be changed. One thing that is completely broken now is LDBL_MAX. This may have sort of worked when it was changed from DBL_MAX in 2002 (adding 0 to it at runtime gave +Inf, but you could at least compare with it), but starting with gcc-3.3.1 in 2003, it is always +Inf due to evaluating it at compile time in the default rounding precision. Revision Changes Path 1.15 +2 -2 src/sys/i386/include/_types.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 11:27: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 D2F59106566B for ; Wed, 5 Mar 2008 11:27:33 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id A74DA8FC22 for ; Wed, 5 Mar 2008 11:27:33 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mr3so.prod.shaw.ca (pd2mr3so-qfe3.prod.shaw.ca [10.0.141.108]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JX9009GH95XHCWP@l-daemon> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 04:27:33 -0700 (MST) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd2mr3so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JX900LHL95XWK00@pd2mr3so.prod.shaw.ca> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 04:27:33 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JX9002EZ95W3E00@l-daemon> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 04:27:32 -0700 (MST) Received: (qmail 55445 invoked from network); Wed, 05 Mar 2008 11:27:19 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Wed, 05 Mar 2008 11:27:19 +0000 Date: Wed, 05 Mar 2008 03:27:18 -0800 From: Colin Percival In-reply-to: <200803051121.m25BLE03035426@repoman.freebsd.org> To: Bruce Evans Message-id: <47CE8396.6020803@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 05 Mar 2008 11:27:33 -0000 Bruce Evans wrote: > Modified files: > sys/i386/include _types.h > Log: > Change float_t and double_t to long double on i386. Doesn't this have a rather severe performance impact on any code which uses double_t? Colin Percival From owner-cvs-src@FreeBSD.ORG Wed Mar 5 11: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 32771106566B; Wed, 5 Mar 2008 11:51:14 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 030228FC12; Wed, 5 Mar 2008 11:51:14 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25BpDS5036365; Wed, 5 Mar 2008 11:51:13 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25BpD6R036364; Wed, 5 Mar 2008 11:51:13 GMT (envelope-from pjd) Message-Id: <200803051151.m25BpD6R036364@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Wed, 5 Mar 2008 11:51: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/sbin/geom/core geom.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 11:51:14 -0000 pjd 2008-03-05 11:51:13 UTC FreeBSD src repository Modified files: sbin/geom/core geom.8 Log: Add info about few missing GEOM classes that use geom(8). Revision Changes Path 1.22 +13 -1 src/sbin/geom/core/geom.8 From owner-cvs-src@FreeBSD.ORG Wed Mar 5 12:20: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 13C0B1065671 for ; Wed, 5 Mar 2008 12:20:34 +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 84D358FC1D for ; Wed, 5 Mar 2008 12:20:33 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so1565484fka.11 for ; Wed, 05 Mar 2008 04:20:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=Im15V2VZ6jha8UzzcpJnrxWnGDoSD4YB0H2ttiFkWyQ=; b=J0ypva1LMO/QnZ+dBboeibm4gNpxA5CSNQzpmga467H0iLvtO6RK2h4rndxwzbvz0620WNjaO1RKfvzg11t1c5Vpkmhps5o7JGduA5onMRSGJTFQNzA8qOed+uq8dNCWSxI8W2C8wRbB4WewEwzNmfC6HjOiFlGU/Enz9d1Fxrk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; b=JS64hxQ4p6AyrzBHaxICXF8EkmDrHP2Kf/8cdBhbO+217rWvVka0UXh1ke614DMTyvu0/DDIu90rOsSyE0TVdwTDfV/lAa9TnK4ZPrEwYOAO/o5hoez4LZrGetWGIK1s6eKdVzEn6uAwDrla6lDQ1G9GnYCkNXnynFRtF8T4nt0= Received: by 10.82.187.2 with SMTP id k2mr7108327buf.26.1204719631527; Wed, 05 Mar 2008 04:20:31 -0800 (PST) Received: from dg.local ( [83.237.57.198]) by mx.google.com with ESMTPS id d13sm1195250fka.7.2008.03.05.04.20.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Mar 2008 04:20:29 -0800 (PST) Date: Wed, 5 Mar 2008 15:20:29 +0300 From: Yar Tikhiy To: Craig Rodrigues Message-ID: <20080305122029.GA7027@dg.local> References: <200803050825.m258Ppv2016738@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803050825.m258Ppv2016738@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: Wed, 05 Mar 2008 12:20:34 -0000 On Wed, Mar 05, 2008 at 08:25:49AM +0000, Craig Rodrigues wrote: > rodrigc 2008-03-05 08:25:49 UTC > > FreeBSD src repository > > Modified files: > sbin/fsck_ffs main.c > Log: > For a mounted file system which is read-only, when > doing the MNT_RELOAD, pass in "ro" and "update" > string mount options to nmount() instead of MNT_RDONLY and MNT_UPDATE flags. > > Due to the complexity of the mount parsing code especially > with respect to the root file system, passing in MNT_RDONLY and MNT_UPDATE > flags would do weird things and would cause fsck to convert the root > file system from a read-only mount to read-write. Your analysis of the problem sounds not quite correct to me. In fact, the weird things happen because the "ro" string option isn't set on the root mount from the outset. After your patch, fsck just adds the missing "ro" to the root mount options `when it becomes safe to do so' -- the "ro" string option is dangerous to set on the root FS from the outset due to a bunch of bugs in the kernel code, as my experience with this issue showed to the public. The bugs are all the same: one piece of code passes bit flags and old-style mount() arguments while its counterpart wants string options or vice versa. Our current position in the middle of the way appears totally unacceptable as it leads to problems like this one. Either we should arrive at using string options exlusively, or abandon them at all. Also note that, were the string options implemented in full, there would be no need for fsck to pass "ro" along with "update" to preserve read-only status: existing string options go away from the mount point only if explicitly turned off through a "no" prefix, as in "noro". This is an evident design point of string options, and it's implemented already (modulo bugs in vfs_mergeopts().) Finally, it can be argued that "update" actually belongs to nmount() flags, not to string options, because essentially it is not a persistent mount option, it's a modifier for the current operation requested by this nmount() call. But this is a topic for a separate discussion on the desired nmount(2) semantics. I won't restart our back-out war, but please clearly mark your change as a temporary workaround so that it doesn't mislead people, including us when we revisit the code. Adding "ro" to the root mount options lately is an obvious hack, and it isn't a job for fsck at all. It'll be safe to set the "ro" string option on the root mount from the beginning as soon as all the root-capable filesystems and their mount_foo tools are converted to using string options properly. A crucial part of the task is your work on nfs_mount(), which I fully support. Thanks! > To test: > - boot into single user mode > - show mounted file systems with: mount > - root file system should be mounted read-only > - fsck / > - show mounted file systems with: mount > - root file system should still be mounted read-only > > PR: 120319 > MFC after: 1 month > Reported by: yar > > Revision Changes Path > 1.49 +3 -1 src/sbin/fsck_ffs/main.c -- Yar From owner-cvs-src@FreeBSD.ORG Wed Mar 5 14:13: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 2A24F1065675; Wed, 5 Mar 2008 14:13: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 115548FC27; Wed, 5 Mar 2008 14:13: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 m25EDU7A054745; Wed, 5 Mar 2008 14:13:30 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25EDU9o054744; Wed, 5 Mar 2008 14:13:30 GMT (envelope-from rink) Message-Id: <200803051413.m25EDU9o054744@repoman.freebsd.org> From: Rink Springer Date: Wed, 5 Mar 2008 14:13: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/share/man/man4 Makefile uslcom.4 src/sys/amd64/conf GENERIC src/sys/conf NOTES files src/sys/dev/usb usbdevs uslcom.c src/sys/i386/conf GENERIC 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: Wed, 05 Mar 2008 14:13:31 -0000 rink 2008-03-05 14:13:30 UTC FreeBSD src repository Modified files: share/man/man4 Makefile sys/amd64/conf GENERIC sys/conf NOTES files sys/dev/usb usbdevs sys/i386/conf GENERIC sys/modules Makefile Added files: share/man/man4 uslcom.4 sys/dev/usb uslcom.c sys/modules/uslcom Makefile Log: 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 MFC after: 2 weeks Revision Changes Path 1.411 +1 -0 src/share/man/man4/Makefile 1.1 +422 -0 src/share/man/man4/uslcom.4 (new) 1.494 +1 -0 src/sys/amd64/conf/GENERIC 1.1473 +2 -0 src/sys/conf/NOTES 1.1277 +1 -0 src/sys/conf/files 1.341 +26 -0 src/sys/dev/usb/usbdevs 1.1 +2095 -0 src/sys/dev/usb/uslcom.c (new) 1.482 +1 -0 src/sys/i386/conf/GENERIC 1.557 +1 -0 src/sys/modules/Makefile 1.1 +10 -0 src/sys/modules/uslcom/Makefile (new) From owner-cvs-src@FreeBSD.ORG Wed Mar 5 14: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 E5965106566C; Wed, 5 Mar 2008 14:18:29 +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 B561A8FC1E; Wed, 5 Mar 2008 14:18:29 +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 m25EITSL055480; Wed, 5 Mar 2008 14:18:29 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25EITo2055479; Wed, 5 Mar 2008 14:18:29 GMT (envelope-from rink) Message-Id: <200803051418.m25EITo2055479@repoman.freebsd.org> From: Rink Springer Date: Wed, 5 Mar 2008 14:18: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/share/man/man4 uslcom.4 src/sys/dev/usb uslcom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 14:18:30 -0000 rink 2008-03-05 14:18:29 UTC FreeBSD src repository Modified files: share/man/man4 uslcom.4 sys/dev/usb uslcom.c Log: Oops, I accidently concatenated uslcom.[c4] multiple times before the commit :-/ Quickly fix before things get broken... Pointyhat to: me Revision Changes Path 1.2 +0 -336 src/share/man/man4/uslcom.4 1.2 +0 -1676 src/sys/dev/usb/uslcom.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 16:34: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 C87C61065676; Wed, 5 Mar 2008 16:34:04 +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 982358FC28; Wed, 5 Mar 2008 16:34:04 +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 m25GY4Z7065731; Wed, 5 Mar 2008 16:34:04 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25GY3Hp065730; Wed, 5 Mar 2008 16:34:03 GMT (envelope-from kib) Message-Id: <200803051634.m25GY3Hp065730@repoman.freebsd.org> From: Konstantin Belousov Date: Wed, 5 Mar 2008 16:34: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/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: Wed, 05 Mar 2008 16:34:05 -0000 kib 2008-03-05 16:34:03 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_vfsops.c Log: Initialize mnt_stat.f_iosize before autostarting UFS1 extattrs. It is normally initialized by ffs_statfs() after ffs_mount finished. The extattr autostart code calls the ufs_lookup(), that uses value above to iterate over the directory blocks, see bmask initialization in the ufs_lookup() and ufsdirhash. Having the filesystem with root directory spanning more then one block would result in reading a random kernel memory. PR: kern/120781 Test case provided by: rwatson MFC after: 1 week Revision Changes Path 1.338 +1 -0 src/sys/ufs/ffs/ffs_vfsops.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 16:46: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 159F3106566C; Wed, 5 Mar 2008 16:46:39 +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 F31A58FC1A; Wed, 5 Mar 2008 16:46:38 +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 m25GkcYP066146; Wed, 5 Mar 2008 16:46:38 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25GkceT066145; Wed, 5 Mar 2008 16:46:38 GMT (envelope-from marcel) Message-Id: <200803051646.m25GkceT066145@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 5 Mar 2008 16:46: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/powerpc/mpc85xx pci_ocp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 16:46:39 -0000 marcel 2008-03-05 16:46:38 UTC FreeBSD src repository Modified files: sys/powerpc/mpc85xx pci_ocp.c Log: o Various fixes related to PCI Express: - Even for the PCI Express host controller we need to use bus 0 for configuration space accesses to devices directly on the host controller's bus. - Pass the maximum number of slots to pci_ocp_init() because the caller knows how many slots the bus has. Previously a PCI or PCI-X bus underneath a PCI Express host controller would not be enumerated properly. o Pull the interrupt routing logic out of pci_ocp_init() and into its own function. The logic is not quite right and is expected to be a bit more complex. o Fix/add support for PCI domains. The PCI domain is the unit number as per other PCI host controller drivers. As such, we can use logical bus numbers again and don't have to guarantee globally unique bus numbers. Remove pci_ocp_busnr. Return the highest bus number ito the caller of pci_ocp_init() now that we don't have a global variable anymore. o BAR programming fixes: - Non-type0 headers have at most 1 BAR, not 0. - First write ~0 to the BAR in question and then read back its size. Obtained from: Juniper Networks (mostly) Revision Changes Path 1.2 +65 -37 src/sys/powerpc/mpc85xx/pci_ocp.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 17:51: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 8F7531065674; Wed, 5 Mar 2008 17:51:07 +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 6384F8FC21; Wed, 5 Mar 2008 17:51:07 +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 m25Hp76L079401; Wed, 5 Mar 2008 17:51:07 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25Hp7Bk079400; Wed, 5 Mar 2008 17:51:07 GMT (envelope-from brooks) Message-Id: <200803051751.m25Hp7Bk079400@repoman.freebsd.org> From: Brooks Davis Date: Wed, 5 Mar 2008 17:51: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/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: Wed, 05 Mar 2008 17:51:07 -0000 brooks 2008-03-05 17:51:06 UTC FreeBSD src repository Modified files: sbin/ddb ddb.8 ddb.c Log: Add the ability to read a file of commands to ddb(8) modeled after the feature in ipfw(8). Revision Changes Path 1.3 +14 -0 src/sbin/ddb/ddb.8 1.2 +67 -5 src/sbin/ddb/ddb.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 18:04: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 A02AD106566B; Wed, 5 Mar 2008 18:04:21 +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 740FB8FC2B; Wed, 5 Mar 2008 18:04:21 +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 m25I4LNO081366; Wed, 5 Mar 2008 18:04:21 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25I4L2L081365; Wed, 5 Mar 2008 18:04:21 GMT (envelope-from brueffer) Message-Id: <200803051804.m25I4L2L081365@repoman.freebsd.org> From: Christian Brueffer Date: Wed, 5 Mar 2008 18:04:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 uslcom.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, 05 Mar 2008 18:04:21 -0000 brueffer 2008-03-05 18:04:21 UTC FreeBSD src repository Modified files: share/man/man4 uslcom.4 Log: mdoc changes to make this manpage consistent with our other section 4 manpages. Revision Changes Path 1.3 +19 -8 src/share/man/man4/uslcom.4 From owner-cvs-src@FreeBSD.ORG Wed Mar 5 18:15: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 591531065684; Wed, 5 Mar 2008 18:15:05 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2EBF08FC1B; Wed, 5 Mar 2008 18:15:05 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25IF5jc081908; Wed, 5 Mar 2008 18:15:05 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25IF5Il081907; Wed, 5 Mar 2008 18:15:05 GMT (envelope-from kensmith) Message-Id: <200803051815.m25IF5Il081907@repoman.freebsd.org> From: Ken Smith Date: Wed, 5 Mar 2008 18:15: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: CVSROOT approvers X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 18:15:05 -0000 kensmith 2008-03-05 18:15:05 UTC FreeBSD src repository Modified files: . approvers Log: Turn RELENG_7_0 over to the Security Team. Approved by: core (implicit) Revision Changes Path 1.48 +1 -1 CVSROOT/approvers From owner-cvs-src@FreeBSD.ORG Wed Mar 5 18:25: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 1E05D1065673; Wed, 5 Mar 2008 18:25:35 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by mx1.freebsd.org (Postfix) with ESMTP id A31F58FC18; Wed, 5 Mar 2008 18:25:34 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m25IPW1A006117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Mar 2008 05:25:33 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m25IPWca058338; Thu, 6 Mar 2008 05:25:32 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m25IPVfp058337; Thu, 6 Mar 2008 05:25:31 +1100 (EST) (envelope-from peter) Date: Thu, 6 Mar 2008 05:25:31 +1100 From: Peter Jeremy To: Bruce Evans Message-ID: <20080305182531.GS68971@server.vk2pj.dyndns.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kR3zbvD4cgoYnS/6" Content-Disposition: inline In-Reply-To: <200803051121.m25BLE03035426@repoman.freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 05 Mar 2008 18:25:35 -0000 --kR3zbvD4cgoYnS/6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 05, 2008 at 11:21:14AM +0000, Bruce Evans wrote: > Log: > Change float_t and double_t to long double on i386. All floating point > expressions on i386 are evaluated in the range of the long double type, npx.h currently defines __INITIAL_NPXCW__ as 0x127f which makes the x87 emulate double (53-bit) precision rather than its native 64-bit long double. Doesn't this change also need a corresponding change to npx.h to make the x87 run with 64-bit precision? --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --kR3zbvD4cgoYnS/6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHzuWb/opHv/APuIcRApHrAJ4pWMSoF+COe1gVeUBSwpIRS09dcwCgmIw0 Tqhq5t+gXGwmw72e9/zeHz4= =LBlO -----END PGP SIGNATURE----- --kR3zbvD4cgoYnS/6-- From owner-cvs-src@FreeBSD.ORG Wed Mar 5 18:32: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 046861065675; Wed, 5 Mar 2008 18:32:59 +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 E78DB8FC1B; Wed, 5 Mar 2008 18:32:58 +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 m25IWwDA082624; Wed, 5 Mar 2008 18:32:58 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25IWwmU082623; Wed, 5 Mar 2008 18:32:58 GMT (envelope-from brooks) Message-Id: <200803051832.m25IWwmU082623@repoman.freebsd.org> From: Brooks Davis Date: Wed, 5 Mar 2008 18:32: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/man5 rc.conf.5 src/etc Makefile ddb.conf src/etc/defaults rc.conf src/etc/rc.d Makefile ddb X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 18:32:59 -0000 brooks 2008-03-05 18:32:58 UTC FreeBSD src repository Modified files: share/man/man5 rc.conf.5 etc Makefile etc/defaults rc.conf etc/rc.d Makefile Added files: etc ddb.conf etc/rc.d ddb Log: 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) X-MFC after: textdumps Revision Changes Path 1.366 +1 -1 src/etc/Makefile 1.1 +15 -0 src/etc/ddb.conf (new) 1.327 +2 -0 src/etc/defaults/rc.conf 1.89 +1 -1 src/etc/rc.d/Makefile 1.1 +32 -0 src/etc/rc.d/ddb (new) 1.335 +13 -0 src/share/man/man5/rc.conf.5 From owner-cvs-src@FreeBSD.ORG Wed Mar 5 18:39: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 ECE03106567D; Wed, 5 Mar 2008 18:39:01 +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 C3AA28FC1D; Wed, 5 Mar 2008 18:39:01 +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 m25Id1m0082838; Wed, 5 Mar 2008 18:39:01 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25Id18P082837; Wed, 5 Mar 2008 18:39:01 GMT (envelope-from marcel) Message-Id: <200803051839.m25Id18P082837@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 5 Mar 2008 18:39: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/powerpc/mpc85xx ocpbus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 18:39:02 -0000 marcel 2008-03-05 18:39:01 UTC FreeBSD src repository Modified files: sys/powerpc/mpc85xx ocpbus.c Log: o We don't have to keep track of the PIC, nor do we have to make sure it's probed first. The PowerPC platform code deals with everything. As such, probe devices in order of their location in the memory map. o Refactor the ocpbus_alloc_resource for readability and make sure we set the RID in the resource as per the new convention. Revision Changes Path 1.2 +39 -28 src/sys/powerpc/mpc85xx/ocpbus.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 19:58: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 AC5921065675; Wed, 5 Mar 2008 19:58:08 +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 868CD8FC32; Wed, 5 Mar 2008 19:58:08 +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 m25Jw8Zd086518; Wed, 5 Mar 2008 19:58:08 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25Jw8SG086517; Wed, 5 Mar 2008 19:58:08 GMT (envelope-from jhb) Message-Id: <200803051958.m25Jw8SG086517@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 19:58:08 +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/nfsclient nfs_socket.c nfs_subs.c nfsm_subs.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, 05 Mar 2008 19:58:08 -0000 jhb 2008-03-05 19:58:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/nfsclient nfs_socket.c nfs_subs.c nfsm_subs.h Log: MFC: Consolidate the code to generate a new XID for a NFS request. Revision Changes Path 1.154.2.3 +1 -8 src/sys/nfsclient/nfs_socket.c 1.146.2.2 +23 -14 src/sys/nfsclient/nfs_subs.c 1.37.2.1 +1 -0 src/sys/nfsclient/nfsm_subs.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 20:04: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 03C431065679; Wed, 5 Mar 2008 20:04:17 +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 D22A08FC13; Wed, 5 Mar 2008 20:04: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 m25K4G6g087876; Wed, 5 Mar 2008 20:04:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25K4GSB087875; Wed, 5 Mar 2008 20:04:16 GMT (envelope-from jhb) Message-Id: <200803052004.m25K4GSB087875@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 20:04:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/nfsclient nfs_socket.c nfs_subs.c nfsm_subs.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, 05 Mar 2008 20:04:17 -0000 jhb 2008-03-05 20:04:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/nfsclient nfs_socket.c nfs_subs.c nfsm_subs.h Log: MFC: Consolidate the code to generate a new XID for a NFS request. Revision Changes Path 1.125.2.19 +1 -5 src/sys/nfsclient/nfs_socket.c 1.140.2.4 +17 -11 src/sys/nfsclient/nfs_subs.c 1.36.2.2 +1 -0 src/sys/nfsclient/nfsm_subs.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 20:11: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 388AD106566B; Wed, 5 Mar 2008 20:11:05 +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 2D55A8FC2D; Wed, 5 Mar 2008 20:11:05 +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 m25KB5SY088259; Wed, 5 Mar 2008 20:11:05 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25KB5kB088258; Wed, 5 Mar 2008 20:11:05 GMT (envelope-from yar) Message-Id: <200803052011.m25KB5kB088258@repoman.freebsd.org> From: Yar Tikhiy Date: Wed, 5 Mar 2008 20:11: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/usr.bin/make main.c make.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 20:11:05 -0000 yar 2008-03-05 20:11:05 UTC FreeBSD src repository Modified files: usr.bin/make main.c make.1 Log: Don't forget to set MAKEFLAGS in the childs' environment from the .MAKEFLAGS global variable even if it's empty or unset. This means setting MAKEFLAGS to just an empty string in the latter case. If not doing so, make(1) behaved inconsistently WRT MAKEFLAGS. In particular, it would let a `-f foo' option down to sub-makes if .MAKEFLAGS was unset. E.g., env MAKEFLAGS="-f mymakefile" make would pass `-f mymakefile' down to sub-makes via their environment (unless mymakefile added something to .MAKEFLAGS). But any additional options appearing would change this behaviour to not passing `-f mymakefile' to sub-makes, as in: env MAKEFLAGS="-f mymakefile" make -D DUMMY or env MAKEFLAGS="-f mymakefile -D DUMMY" make (unless mymakefile cleared .MAKEFLAGS). Also make(1) would leave MAKEFLAGS at its initial value if the makefile set .MAKEFLAGS to an empty value. I.e., it was impossible to override MAKEFLAGS with an empty value. (Note well that makefiles are not to touch MAKEFLAGS directly, they alter .MAKEFLAGS instead. So make(1) can filter out things such as -f when copying MAKEFLAGS to .MAKEFLAGS at startup. Direct modifications to MAKEFLAGS just go nowhere.) While the original intentions of the BSD make authors are somewhat unclear here, the bug proves that NOT passing -f options down is the settled behaviour because the opposite behaviour is totally unreliable in the presence of any other options. In addition, not passing down -f's found in the environment is consistent with doing so WRT the command line. Update the manpage accordingly and make the whole description of MAKEFLAGS and .MAKEFLAGS more consistent as this change indeed brings more consistency into the reliable behaviour of make(1). Submitted by: ru (main.c) Tested with: make world Revision Changes Path 1.166 +2 -0 src/usr.bin/make/main.c 1.108 +33 -31 src/usr.bin/make/make.1 From owner-cvs-src@FreeBSD.ORG Wed Mar 5 20:17: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 E78261065672; Wed, 5 Mar 2008 20:17:12 +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 C267D8FC14; Wed, 5 Mar 2008 20:17:12 +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 m25KHCgx088496; Wed, 5 Mar 2008 20:17:12 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25KHCbB088495; Wed, 5 Mar 2008 20:17:12 GMT (envelope-from jhb) Message-Id: <200803052017.m25KHCbB088495@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 20:17:12 +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/sys/nfs nfs_nqlease.c nfs_socket.c nfs_srvcache.c nfs_subs.c nfsm_subs.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, 05 Mar 2008 20:17:13 -0000 jhb 2008-03-05 20:17:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) sys/nfs nfs_nqlease.c nfs_socket.c nfs_srvcache.c nfs_subs.c nfsm_subs.h Log: MFC: Fix a problem with XID re-use when a server returns NFSERR_JUKEBOX. Revision Changes Path 1.50.2.1 +5 -5 src/sys/nfs/nfs_nqlease.c 1.60.2.8 +11 -3 src/sys/nfs/nfs_socket.c 1.21.2.1 +3 -1 src/sys/nfs/nfs_srvcache.c 1.90.2.5 +18 -12 src/sys/nfs/nfs_subs.c 1.27.2.3 +2 -1 src/sys/nfs/nfsm_subs.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 20:19: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 EBEBA1065671; Wed, 5 Mar 2008 20:19:00 +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 C79BE8FC16; Wed, 5 Mar 2008 20:19:00 +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 m25KJ0Ap088557; Wed, 5 Mar 2008 20:19:00 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25KJ09c088556; Wed, 5 Mar 2008 20:19:00 GMT (envelope-from jhb) Message-Id: <200803052019.m25KJ09c088556@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 20:19:00 +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/sys/nfs nfs_srvcache.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 20:19:01 -0000 jhb 2008-03-05 20:19:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_4) sys/nfs nfs_srvcache.c Log: Bah, extra hunk slipped in. Revision Changes Path 1.21.2.2 +0 -2 src/sys/nfs/nfs_srvcache.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 20:24: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 AE4B11065674; Wed, 5 Mar 2008 20:24:38 +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 8A38C8FC32; Wed, 5 Mar 2008 20:24:38 +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 m25KOcva088817; Wed, 5 Mar 2008 20:24:38 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25KOcO0088816; Wed, 5 Mar 2008 20:24:38 GMT (envelope-from yar) Message-Id: <200803052024.m25KOcO0088816@repoman.freebsd.org> From: Yar Tikhiy Date: Wed, 5 Mar 2008 20:24:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/make 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: Wed, 05 Mar 2008 20:24:38 -0000 yar 2008-03-05 20:24:38 UTC FreeBSD src repository Modified files: usr.bin/make main.c Log: The non-POSIX environment variable MAKE was superseded by MAKEFLAGS ages ago, so don't mention it in comments. Tested with: cmp(1) Revision Changes Path 1.167 +1 -1 src/usr.bin/make/main.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 20:33: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 81A771065672; Wed, 5 Mar 2008 20:33:46 +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 5E0E78FC2F; Wed, 5 Mar 2008 20:33:46 +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 m25KXkeJ089121; Wed, 5 Mar 2008 20:33:46 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25KXk7D089120; Wed, 5 Mar 2008 20:33:46 GMT (envelope-from jhb) Message-Id: <200803052033.m25KXk7D089120@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 20:33:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/net route.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 20:33:46 -0000 jhb 2008-03-05 20:33:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net route.c Log: MFC: Use RTFREE_LOCKED() instead of rtfree() when releasing a reference on the 'rt' route in rtredirect(). Revision Changes Path 1.120.2.3 +1 -1 src/sys/net/route.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 20:58: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 80EFD106566C; Wed, 5 Mar 2008 20:58:15 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 76FB28FC16; Wed, 5 Mar 2008 20:58:15 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25KwFF9099382; Wed, 5 Mar 2008 20:58:15 GMT (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25KwFP6099381; Wed, 5 Mar 2008 20:58:15 GMT (envelope-from kris) Message-Id: <200803052058.m25KwFP6099381@repoman.freebsd.org> From: Kris Kennaway Date: Wed, 5 Mar 2008 20:58: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/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 20:58:15 -0000 kris 2008-03-05 20:58:15 UTC FreeBSD src repository Modified files: secure/usr.bin/ssh Makefile secure/usr.sbin/sshd Makefile Log: For users of FreeBSD <= 6.2 we recommend during the x.org 7.x upgrade that they add X11BASE=${LOCALBASE} to /etc/make.conf since X11BASE was hard-wired to the now-wrong location in old releases. However, both X11BASE and LOCALBASE have moved out of scope of src/ into ports/ now, which causes problems for upgraded users who have old make.conf files still containing the above setting. X11BASE becomes null and we instruct ssh and sshd to look for xauth in /bin/xauth where it is unlikely to be found. Instead, provide a copy of the default LOCALBASE?=/usr/local setting here. We also have to deal with the case where the user only overrides LOCALBASE and doesn't set an explicit X11BASE (in ports it will be set implicitly but not here), which will also move the location of xauth. MFC after: 3 days Reported by: rwatson Revision Changes Path 1.36 +10 -1 src/secure/usr.bin/ssh/Makefile 1.51 +9 -0 src/secure/usr.sbin/sshd/Makefile From owner-cvs-src@FreeBSD.ORG Wed Mar 5 21:11: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 68F3C1065671; Wed, 5 Mar 2008 21:11:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 46BBE8FC1A; Wed, 5 Mar 2008 21:11:55 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25LBt10001251; Wed, 5 Mar 2008 21:11:55 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25LBtON001250; Wed, 5 Mar 2008 21:11:55 GMT (envelope-from jhb) Message-Id: <200803052111.m25LBtON001250@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 21:11: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/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 21:11:55 -0000 jhb 2008-03-05 21:11:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_mutex.c Log: MFC: Add a couple of assertions and KTR logging to thread_lock_flags(). Revision Changes Path 1.198.2.2 +7 -1 src/sys/kern/kern_mutex.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 21:12: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 4177F1065675; Wed, 5 Mar 2008 21:12:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1F9388FC1A; Wed, 5 Mar 2008 21:12:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25LCnnS001303; Wed, 5 Mar 2008 21:12:49 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25LCn8F001302; Wed, 5 Mar 2008 21:12:49 GMT (envelope-from jhb) Message-Id: <200803052112.m25LCn8F001302@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 21:12: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/kern 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, 05 Mar 2008 21:12:50 -0000 jhb 2008-03-05 21:12:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_sleepqueue.c Log: MFC: Mark sleepqueue chain spin mutexes as recursable. Revision Changes Path 1.39.2.2 +1 -1 src/sys/kern/subr_sleepqueue.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 21:14: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 82A47106566C; Wed, 5 Mar 2008 21:14: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 601528FC17; Wed, 5 Mar 2008 21:14: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 m25LE603001363; Wed, 5 Mar 2008 21:14:06 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25LE6Ti001362; Wed, 5 Mar 2008 21:14:06 GMT (envelope-from jhb) Message-Id: <200803052114.m25LE6Ti001362@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 21:14: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/syscons syscons.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, 05 Mar 2008 21:14:06 -0000 jhb 2008-03-05 21:14:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/syscons syscons.h Log: MFC: Mark the syscons video spin mutex as recursable. Revision Changes Path 1.88.2.1 +2 -1 src/sys/dev/syscons/syscons.h From owner-cvs-src@FreeBSD.ORG Wed Mar 5 21:17: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 A89CA1065673; Wed, 5 Mar 2008 21:17: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 869DF8FC2A; Wed, 5 Mar 2008 21:17:59 +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 m25LHx7e001552; Wed, 5 Mar 2008 21:17:59 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25LHxPV001551; Wed, 5 Mar 2008 21:17:59 GMT (envelope-from jhb) Message-Id: <200803052117.m25LHxPV001551@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 21:17:59 +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: Wed, 05 Mar 2008 21:17:59 -0000 jhb 2008-03-05 21:17:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/netstat route.c Log: MFC: Make netstat -rn more resilient to having the routing table change out from under it while running. Revision Changes Path 1.82.2.3 +43 -19 src/usr.bin/netstat/route.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 21:19: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 F35B71065671; Wed, 5 Mar 2008 21:19:25 +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 C84A08FC23; Wed, 5 Mar 2008 21:19:25 +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 m25LJPiq001614; Wed, 5 Mar 2008 21:19:25 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25LJP6t001613; Wed, 5 Mar 2008 21:19:25 GMT (envelope-from jhb) Message-Id: <200803052119.m25LJP6t001613@repoman.freebsd.org> From: John Baldwin Date: Wed, 5 Mar 2008 21:19:25 +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/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: Wed, 05 Mar 2008 21:19:26 -0000 jhb 2008-03-05 21:19:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/netstat route.c Log: MFC: Make netstat -rn more resilient to having the routing table change out from under it while running. Revision Changes Path 1.76.2.6 +43 -19 src/usr.bin/netstat/route.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 22:12: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 46A18106566C; Wed, 5 Mar 2008 22:12:35 +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 25A4E8FC23; Wed, 5 Mar 2008 22:12:35 +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 m25MCYDQ005537; Wed, 5 Mar 2008 22:12:34 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25MCYBV005536; Wed, 5 Mar 2008 22:12:34 GMT (envelope-from mav) Message-Id: <200803052212.m25MCYBV005536@repoman.freebsd.org> From: Alexander Motin Date: Wed, 5 Mar 2008 22:12: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/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: Wed, 05 Mar 2008 22:12:35 -0000 mav 2008-03-05 22:12:34 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Increase default queue items allocation limit from 512 to 4096 items to avoid terrible unpredicted effects for netgraph operation of their exhaustion while allocating control messages. Add separate configurable 512 items limit for data items allocation for DoS/overload protection. Discussed with: julian Revision Changes Path 1.149 +16 -2 src/sys/netgraph/ng_base.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 22:24:02 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1060) id 4C8711065674; Wed, 5 Mar 2008 22:24:02 +0000 (UTC) Date: Wed, 5 Mar 2008 22:24:02 +0000 From: Craig Rodrigues To: Yar Tikhiy Message-ID: <20080305222402.GA80407@crodrigues.org> References: <200803050825.m258Ppv2016738@repoman.freebsd.org> <20080305122029.GA7027@dg.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080305122029.GA7027@dg.local> User-Agent: Mutt/1.4.2.1i Cc: Craig Rodrigues , 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: Wed, 05 Mar 2008 22:24:02 -0000 On Wed, Mar 05, 2008 at 03:20:29PM +0300, Yar Tikhiy wrote: > Your analysis of the problem sounds not quite correct to me. You make some interesting points in your e-mail. I suggest that you summarize the points and post them to arch@ for further review and discussion. There is how nmount() should work in an ideal world, and then there is the existing implentation, which is not exactly clean and perfect. It is important as we clean up the nmount() code in the tree, that we keep things working without introducing too many hacks. The problem with the mount code in FreeBSD is that a fix that appears "correct" in one area, may break things somewhere else, because that area has hacks/workarounds/improper coding/whatever that "just happened to work". So while you may disagree with the aesthetics of some of the mount patches.....I have been trying to slowly migrate things over and clean things up in the various mount binaries and file systems and still try to keep things working the way they have before. I've not been perfect and have made some mistakes along the way, but I try to clean things up. My complaints with your mode of operation have been: - you started committing in an area in which you don't have a lot of track record in working in - you started breaking things in configurations you were unable/unwilling/no time to fix or investigate - you post long e-mails, or commit messages complaining about how you don't like how the mount code is structured or works, but your posts tend to look like rants I agree with a lot of what you have posted, but you need to be more constructive, and post your suggestions to arch@ to get proper review and discussion going. I know you mean well, but you need to slow down and direct your focus more constructively....otherwise it looks like you are ranting and doing drive-by commits. Unfortunately, the mount code is core functionality, that when it doesn't work properly, people complain *A LOT*, so treading carefully is key. Cheers. -- Craig Rodrigues rodrigc@crodrigues.org From owner-cvs-src@FreeBSD.ORG Wed Mar 5 22:58: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 1B5041065674; Wed, 5 Mar 2008 22:58:03 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EFA288FC1F; Wed, 5 Mar 2008 22:58:02 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25Mw2s9011235; Wed, 5 Mar 2008 22:58:02 GMT (envelope-from davidch@repoman.freebsd.org) Received: (from davidch@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25Mw27H011234; Wed, 5 Mar 2008 22:58:02 GMT (envelope-from davidch) Message-Id: <200803052258.m25Mw27H011234@repoman.freebsd.org> From: David Christensen Date: Wed, 5 Mar 2008 22:58: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/sys/dev/mii brgphy.c 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: Wed, 05 Mar 2008 22:58:03 -0000 davidch 2008-03-05 22:58:02 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c miidevs Log: - Add PHY ID for BCM5709C 1000Base-T controllers. MFC after: 1 week Revision Changes Path 1.72 +4 -2 src/sys/dev/mii/brgphy.c 1.50 +2 -0 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Wed Mar 5 23: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 23F46106566C; Wed, 5 Mar 2008 23:17:20 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 04C868FC14; Wed, 5 Mar 2008 23:17:20 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25NHJUV013132; Wed, 5 Mar 2008 23:17:19 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25NHJCC013131; Wed, 5 Mar 2008 23:17:19 GMT (envelope-from delphij) Message-Id: <200803052317.m25NHJCC013131@repoman.freebsd.org> From: Xin LI Date: Wed, 5 Mar 2008 23: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/sbin/newfs mkfs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 23:17:20 -0000 delphij 2008-03-05 23:17:19 UTC FreeBSD src repository Modified files: sbin/newfs mkfs.c Log: Use calloc(). Revision Changes Path 1.95 +1 -2 src/sbin/newfs/mkfs.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 23:31: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 B79841065673; Wed, 5 Mar 2008 23:31:50 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 976308FC18; Wed, 5 Mar 2008 23:31:50 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25NVoKl013684; Wed, 5 Mar 2008 23:31:50 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25NVoT8013683; Wed, 5 Mar 2008 23:31:50 GMT (envelope-from delphij) Message-Id: <200803052331.m25NVoT8013683@repoman.freebsd.org> From: Xin LI Date: Wed, 5 Mar 2008 23:31: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/sbin/geom Makefile src/sbin/geom/class/label geom_label.c src/sbin/geom/core geom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Mar 2008 23:31:50 -0000 delphij 2008-03-05 23:31:49 UTC FreeBSD src repository Modified files: sbin/geom Makefile sbin/geom/class/label geom_label.c sbin/geom/core geom.c Log: Make it possible to build glabel into rescue geom(8) utility. Ok'ed by: marcel No objection: -current@ Revision Changes Path 1.3 +5 -2 src/sbin/geom/Makefile 1.11 +8 -3 src/sbin/geom/class/label/geom_label.c 1.35 +5 -0 src/sbin/geom/core/geom.c From owner-cvs-src@FreeBSD.ORG Wed Mar 5 23:32: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 334C81065751; Wed, 5 Mar 2008 23:32:13 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1433E8FC2E; Wed, 5 Mar 2008 23:32:13 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m25NWC0o013720; Wed, 5 Mar 2008 23:32:12 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m25NWC6d013719; Wed, 5 Mar 2008 23:32:12 GMT (envelope-from delphij) Message-Id: <200803052332.m25NWC6d013719@repoman.freebsd.org> From: Xin LI Date: Wed, 5 Mar 2008 23:32: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/rescue/rescue Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 23:32:13 -0000 delphij 2008-03-05 23:32:12 UTC FreeBSD src repository Modified files: rescue/rescue Makefile Log: Add an alias for glabel(8). Revision Changes Path 1.59 +1 -0 src/rescue/rescue/Makefile From owner-cvs-src@FreeBSD.ORG Thu Mar 6 00:02: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 CDE06106566C; Thu, 6 Mar 2008 00:02:07 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7FE8FC17; Thu, 6 Mar 2008 00:02:07 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [78.110.49.49] (helo=quasar.ht-systems.ru) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1JX67l-0001TH-6r; Thu, 06 Mar 2008 05:46:25 +0300 Received: by quasar.ht-systems.ru (Postfix, from userid 1024) id C5E417D11CC; Thu, 6 Mar 2008 02:46:22 +0300 (MSK) Date: Thu, 6 Mar 2008 02:46:22 +0300 From: Stanislav Sedov To: Rafal Jaworowski Message-ID: <20080305234622.GC83691@dracon.ht-systems.ru> References: <200803031717.m23HH18K068262@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803031717.m23HH18K068262@repoman.freebsd.org> Organization: The FreeBSD Project X-Voice: +7 916 849 20 23 X-XMPP: ssedov@jabber.ru X-Yahoo: stanislav_sedov X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-University: MEPhI X-Mailer: carrier-pigeon X-Operating-System: FreeBSD quasar.ht-systems.ru 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options.powerpc src/sys/dev/uart uart.h uart_bus_ocp.c uart_cpu_powerpc.c src/sys/kern subr_witness.c src/sys/powerpc/booke clock.c copyinout.c interrupt.c locore.S machdep.c pmap.c support.S swtch.S trap.c trap_subr.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: Thu, 06 Mar 2008 00:02:08 -0000 On Mon, Mar 03, 2008 at 05:17:01PM +0000 Rafal Jaworowski mentioned: > pci_ocp.c > Log: > Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. > > The PQ3 is a high performance integrated communications processing system > based on the e500 core, which is an embedded RISC processor that implements > the 32-bit Book E definition of the PowerPC architecture. For details refer > to: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8555E > Thank you all guys for this work! -- Stanislav Sedov ST4096-RIPE From owner-cvs-src@FreeBSD.ORG Thu Mar 6 00:22: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 B889F106566B; Thu, 6 Mar 2008 00:22:17 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1D98FC13; Thu, 6 Mar 2008 00:22:17 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m260MH39017086; Thu, 6 Mar 2008 00:22:17 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from jkim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m260MHSx017085; Thu, 6 Mar 2008 00:22:17 GMT (envelope-from jkim) Message-Id: <200803060022.m260MHSx017085@repoman.freebsd.org> From: Jung-uk Kim Date: Thu, 6 Mar 2008 00:22:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 00:22:17 -0000 jkim 2008-03-06 00:22:17 UTC FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST. It is only used to track elapsed time and it does not have to be precise. Revision Changes Path 1.80 +82 -63 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 00:22: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 5A74A1065784; Thu, 6 Mar 2008 00:22:38 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by mx1.freebsd.org (Postfix) with ESMTP id D9C0E8FC18; Thu, 6 Mar 2008 00:22:37 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m260MYXE022112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Mar 2008 11:22:35 +1100 Date: Thu, 6 Mar 2008 11:22:34 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Peter Jeremy In-Reply-To: <20080305182531.GS68971@server.vk2pj.dyndns.org> Message-ID: <20080306103025.A7605@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 00:22:38 -0000 On Thu, 6 Mar 2008, Peter Jeremy wrote: > On Wed, Mar 05, 2008 at 11:21:14AM +0000, Bruce Evans wrote: >> Log: >> Change float_t and double_t to long double on i386. All floating point >> expressions on i386 are evaluated in the range of the long double type, > > npx.h currently defines __INITIAL_NPXCW__ as 0x127f which makes the x87 > emulate double (53-bit) precision rather than its native 64-bit long > double. Doesn't this change also need a corresponding change to npx.h > to make the x87 run with 64-bit precision? Not quite. The precision can be changed at runtime too, but much more than changing the control word is required for completely working 64-bit on precision x87s in C. It is also necessary to change gcc. Apart from the 20 year old bugs in the support for extra precision, it is necessary to not configure the almost-hard-coded support for FreeBSD's __INITIAL_NPXCW__ (this support mainly breaks increasing the precision at runtime by evaluating too much at compile time). Bruce From owner-cvs-src@FreeBSD.ORG Thu Mar 6 00:24: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 9271B1065672; Thu, 6 Mar 2008 00:24:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7594C8FC2B; Thu, 6 Mar 2008 00:24:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m260OBf4017142; Thu, 6 Mar 2008 00:24:11 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from jkim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m260OB8h017141; Thu, 6 Mar 2008 00:24:11 GMT (envelope-from jkim) Message-Id: <200803060024.m260OB8h017141@repoman.freebsd.org> From: Jung-uk Kim Date: Thu, 6 Mar 2008 00:24: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/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 00:24:11 -0000 jkim 2008-03-06 00:24:11 UTC FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Fix compiler warnings and style(9) bugs. Revision Changes Path 1.81 +202 -193 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 00:25: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 E3986106566B; Thu, 6 Mar 2008 00:25:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C5ADC8FC1F; Thu, 6 Mar 2008 00:25:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m260PGVL017249; Thu, 6 Mar 2008 00:25:16 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from jkim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m260PGfF017248; Thu, 6 Mar 2008 00:25:16 GMT (envelope-from jkim) Message-Id: <200803060025.m260PGfF017248@repoman.freebsd.org> From: Jung-uk Kim Date: Thu, 6 Mar 2008 00:25: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/moused 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: Thu, 06 Mar 2008 00:25:17 -0000 jkim 2008-03-06 00:25:16 UTC FreeBSD src repository Modified files: usr.sbin/moused Makefile Log: Mark moused(8) WARNS=6 clean. Revision Changes Path 1.10 +2 -0 src/usr.sbin/moused/Makefile From owner-cvs-src@FreeBSD.ORG Thu Mar 6 00:37: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 0C84D106566B; Thu, 6 Mar 2008 00:37:30 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E22DA8FC15; Thu, 6 Mar 2008 00:37:29 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m260bTKo017718; Thu, 6 Mar 2008 00:37:29 GMT (envelope-from emax@repoman.freebsd.org) Received: (from emax@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m260bTJY017717; Thu, 6 Mar 2008 00:37:29 GMT (envelope-from emax) Message-Id: <200803060037.m260bTJY017717@repoman.freebsd.org> From: Maksim Yevmenkin Date: Thu, 6 Mar 2008 00:37: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/usr.sbin/bluetooth/rfcomm_pppd rfcomm_pppd.8 rfcomm_pppd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 00:37:30 -0000 emax 2008-03-06 00:37:29 UTC FreeBSD src repository Modified files: usr.sbin/bluetooth/rfcomm_pppd rfcomm_pppd.8 rfcomm_pppd.c Log: Add an option to register DUN (Dial-Up Networking) service on the same RFCOMM channel if needed. There is really no good reason to not to support this. AT-command exchange can be faked with chat script in ppp.conf. MFC after: 1 week Revision Changes Path 1.15 +10 -1 src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 1.7 +33 -2 src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 01: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 E2B0D1065672; Thu, 6 Mar 2008 01:05:10 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C54158FC1A; Thu, 6 Mar 2008 01:05:10 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2615AiA028954; Thu, 6 Mar 2008 01:05:10 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2615Am3028953; Thu, 6 Mar 2008 01:05:10 GMT (envelope-from delphij) Message-Id: <200803060105.m2615Am3028953@repoman.freebsd.org> From: Xin LI Date: Thu, 6 Mar 2008 01:05: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/lib/libc/resolv res_comp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 01:05:11 -0000 delphij 2008-03-06 01:05:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/resolv res_comp.c Log: MFC revision 1.5 date: 2008/02/16 00:16:49; author: delphij; state: Exp; lines: +2 -1 Allow underscore in domain names while resolving. While having underscore is a violation of RFC 1034 [STD 13], it is accepted by certain name servers as well as other popular operating systems' resolver library. Bugs are mine. Obtained from: ume Revision Changes Path 1.4.2.1 +2 -1 src/lib/libc/resolv/res_comp.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 01:05: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 97D8B1065674; Thu, 6 Mar 2008 01:05:30 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A9A58FC23; Thu, 6 Mar 2008 01:05:30 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2615Uei029019; Thu, 6 Mar 2008 01:05:30 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2615UmH029018; Thu, 6 Mar 2008 01:05:30 GMT (envelope-from delphij) Message-Id: <200803060105.m2615UmH029018@repoman.freebsd.org> From: Xin LI Date: Thu, 6 Mar 2008 01:05:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libc/resolv res_comp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 01:05:30 -0000 delphij 2008-03-06 01:05:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc/resolv res_comp.c Log: MFC revision 1.5 date: 2008/02/16 00:16:49; author: delphij; state: Exp; lines: +2 -1 Allow underscore in domain names while resolving. While having underscore is a violation of RFC 1034 [STD 13], it is accepted by certain name servers as well as other popular operating systems' resolver library. Bugs are mine. Obtained from: ume Revision Changes Path 1.2.2.2 +2 -1 src/lib/libc/resolv/res_comp.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 01:47: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 BC661106566C; Thu, 6 Mar 2008 01:47:53 +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 9E88C8FC19; Thu, 6 Mar 2008 01:47:53 +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 m261lrEs030402; Thu, 6 Mar 2008 01:47:53 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m261lrNl030401; Thu, 6 Mar 2008 01:47:53 GMT (envelope-from yongari) Message-Id: <200803060147.m261lrNl030401@repoman.freebsd.org> From: Pyun YongHyeon Date: Thu, 6 Mar 2008 01:47: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/dev/nfe if_nfe.c if_nfereg.h if_nfevar.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, 06 Mar 2008 01:47:53 -0000 yongari 2008-03-06 01:47:53 UTC FreeBSD src repository Modified files: sys/dev/nfe if_nfe.c if_nfereg.h if_nfevar.h Log: Nuke local jumbo allocator and switch to use of UMA backed page allocator for jumbo frame. Also remove unneeded jlist lock which is no longer required to protect jumbo buffers. With these changes jumbo frame performance of nfe(4) was slightly increased and users should not encounter jumbo buffer allocation failure anymore. Revision Changes Path 1.27 +6 -166 src/sys/dev/nfe/if_nfe.c 1.11 +0 -9 src/sys/dev/nfe/if_nfereg.h 1.6 +0 -10 src/sys/dev/nfe/if_nfevar.h From owner-cvs-src@FreeBSD.ORG Thu Mar 6 01:59: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 A46261065673; Thu, 6 Mar 2008 01:59:08 +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 85E3E8FC23; Thu, 6 Mar 2008 01:59:08 +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 m261x8EC030770; Thu, 6 Mar 2008 01:59:08 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m261x8md030769; Thu, 6 Mar 2008 01:59:08 GMT (envelope-from davidxu) Message-Id: <200803060159.m261x8md030769@repoman.freebsd.org> From: David Xu Date: Thu, 6 Mar 2008 01:59: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_create.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 01:59:08 -0000 davidxu 2008-03-06 01:59:08 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_create.c Log: Restore code setting new thread's scheduler parameters, I was thinking that there might be starvations, but because we have already locked the thread, the cpuset settings will always be done before the new thread does real-world work. Revision Changes Path 1.40 +11 -15 src/lib/libthr/thread/thr_create.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:07: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 927EE1065673; Thu, 6 Mar 2008 02:07: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 73A918FC12; Thu, 6 Mar 2008 02:07: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 m2627IhA032230; Thu, 6 Mar 2008 02:07:18 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2627I1e032229; Thu, 6 Mar 2008 02:07:18 GMT (envelope-from davidxu) Message-Id: <200803060207.m2627I1e032229@repoman.freebsd.org> From: David Xu Date: Thu, 6 Mar 2008 02:07: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/libthr/thread thr_exit.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 02:07:18 -0000 davidxu 2008-03-06 02:07:18 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_exit.c Log: Don't report death event to debugger if it is a forced exit. Revision Changes Path 1.25 +1 -1 src/lib/libthr/thread/thr_exit.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:11: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 0798A1065674; Thu, 6 Mar 2008 02:11:12 +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 8C5F68FC13; Thu, 6 Mar 2008 02:11:11 +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 m262CME6046918; Wed, 5 Mar 2008 21:12:22 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m262CMre046917; Wed, 5 Mar 2008 21:12:22 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Wed, 5 Mar 2008 21:12:22 -0500 From: David Schultz To: Colin Percival , Peter Jeremy Message-ID: <20080306021222.GA46783@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Peter Jeremy , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080305182531.GS68971@server.vk2pj.dyndns.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Bruce Evans , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 02:11:12 -0000 On Wed, Mar 05, 2008, Colin Percival wrote: > Bruce Evans wrote: > > Modified files: > > sys/i386/include _types.h > > Log: > > Change float_t and double_t to long double on i386. > > Doesn't this have a rather severe performance impact on any code which > uses double_t? Yes, if the code is compiled with -msse2. Otherwise, doubles get fed to the i387 anyway. On Thu, Mar 06, 2008, Peter Jeremy wrote: > npx.h currently defines __INITIAL_NPXCW__ as 0x127f which makes the x87 > emulate double (53-bit) precision rather than its native 64-bit long > double. Doesn't this change also need a corresponding change to npx.h > to make the x87 run with 64-bit precision? Technically Bruce's change isn't wrong without changing the default precision, it's just rather pointless. (Why tell programs to store variables in a wider format if you're just going to evaluate them in a narrower format anyway?) So I guess I agree that if we're going to go down this path, we ought to just bite the bullet and change npx.h and contrib/gcc/config/i386/freebsd.h to use 64-bit precision by default on i386. From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:13: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 E4A65106566B; Thu, 6 Mar 2008 02:13:23 +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 A9B668FC1E; Thu, 6 Mar 2008 02:13:23 +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 m262BsBZ000439; Wed, 5 Mar 2008 19:11:54 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 05 Mar 2008 19:12:23 -0700 (MST) Message-Id: <20080305.191223.-1615348076.imp@bsdimp.com> To: jkim@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200803060025.m260PGfF017248@repoman.freebsd.org> References: <200803060025.m260PGfF017248@repoman.freebsd.org> 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: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/moused 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: Thu, 06 Mar 2008 02:13:24 -0000 In message: <200803060025.m260PGfF017248@repoman.freebsd.org> Jung-uk Kim writes: : jkim 2008-03-06 00:25:16 UTC : : FreeBSD src repository : : Modified files: : usr.sbin/moused Makefile : Log: : Mark moused(8) WARNS=6 clean. NEVER SET WARNS to a higher level unless you've done a make universe. The arm tinderbox is failing: ===> usr.sbin/moused (all) cc -O -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.sbin/moused/moused.c cc1: warnings being treated as errors /src/usr.sbin/moused/moused.c: In function 'r_timestamp': /src/usr.sbin/moused/moused.c:2550: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' /src/usr.sbin/moused/moused.c:2562: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' *** Error code 1 From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:13: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 5AC421065674; Thu, 6 Mar 2008 02:13:53 +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 3B4478FC17; Thu, 6 Mar 2008 02:13:53 +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 m262DrBI032449; Thu, 6 Mar 2008 02:13:53 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m262Drud032448; Thu, 6 Mar 2008 02:13:53 GMT (envelope-from imp) Message-Id: <200803060213.m262Drud032448@repoman.freebsd.org> From: Warner Losh Date: Thu, 6 Mar 2008 02:13:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/moused 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: Thu, 06 Mar 2008 02:13:53 -0000 imp 2008-03-06 02:13:53 UTC FreeBSD src repository Modified files: usr.sbin/moused Makefile Log: This breaks the arm build, back it out until that's fixed Revision Changes Path 1.11 +1 -1 src/usr.sbin/moused/Makefile From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:14: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 F0AA9106566B; Thu, 6 Mar 2008 02:14:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D18D28FC1F; Thu, 6 Mar 2008 02:14:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m262EjbK032526; Thu, 6 Mar 2008 02:14:45 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from jkim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m262EjmG032525; Thu, 6 Mar 2008 02:14:45 GMT (envelope-from jkim) Message-Id: <200803060214.m262EjmG032525@repoman.freebsd.org> From: Jung-uk Kim Date: Thu, 6 Mar 2008 02:14: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/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 02:14:46 -0000 jkim 2008-03-06 02:14:45 UTC FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Cast time_t to long to mute tinderbox build failure. Revision Changes Path 1.82 +2 -2 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:26:53 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id B3556106566B; Thu, 6 Mar 2008 02:26:53 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: "M. Warner Losh" Date: Wed, 5 Mar 2008 21:26:41 -0500 User-Agent: KMail/1.6.2 References: <200803060025.m260PGfF017248@repoman.freebsd.org> <20080305.191223.-1615348076.imp@bsdimp.com> In-Reply-To: <20080305.191223.-1615348076.imp@bsdimp.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200803052126.45821.jkim@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/moused 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: Thu, 06 Mar 2008 02:26:54 -0000 On Wednesday 05 March 2008 09:12 pm, M. Warner Losh wrote: > In message: <200803060025.m260PGfF017248@repoman.freebsd.org> > > Jung-uk Kim writes: > : jkim 2008-03-06 00:25:16 UTC > : > : FreeBSD src repository > : > : Modified files: > : usr.sbin/moused Makefile > : Log: > : Mark moused(8) WARNS=6 clean. > > NEVER SET WARNS to a higher level unless you've done a make > universe. The arm tinderbox is failing: > > ===> usr.sbin/moused (all) > cc -O -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline > -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c > /src/usr.sbin/moused/moused.c cc1: warnings being treated as errors > /src/usr.sbin/moused/moused.c: In function 'r_timestamp': > /src/usr.sbin/moused/moused.c:2550: warning: format '%ld' expects > type 'long int', but argument 2 has type 'time_t' > /src/usr.sbin/moused/moused.c:2562: warning: format '%ld' expects > type 'long int', but argument 2 has type 'time_t' *** Error code 1 It should be fixed now. Sorry. Jung-uk Kim From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:31: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 DB80D106566C for ; Thu, 6 Mar 2008 02:31:37 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.freebsd.org (Postfix) with ESMTP id 764078FC1D for ; Thu, 6 Mar 2008 02:31:37 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-052-136.pools.arcor-ip.net [88.66.52.136]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1JX5tP45nK-0004Er; Thu, 06 Mar 2008 03:31:36 +0100 Received: (qmail 5188 invoked by uid 80); 6 Mar 2008 02:31:05 -0000 Received: from 192.168.4.151 (SquirrelMail authenticated user mlaier) by router with HTTP; Thu, 6 Mar 2008 03:31:05 +0100 (CET) Message-ID: <53687.192.168.4.151.1204770665.squirrel@router> In-Reply-To: <200803060214.m262EjmG032525@repoman.freebsd.org> References: <200803060214.m262EjmG032525@repoman.freebsd.org> Date: Thu, 6 Mar 2008 03:31:05 +0100 (CET) From: "Max Laier" To: "Jung-uk Kim" 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 X-Provags-ID: V01U2FsdGVkX1/HDx/WWXVTn++fm5lHl3UKf9v5R6gsyXoitrN kaLYw1YMWtu43OnixHnuAAos/LfUPTLehL3NmDh0v37pdTIxvD OAAHy2iVqiJlaYLbQ5wCQ== Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 02:31:38 -0000 Am Do, 6.03.2008, 03:14, schrieb Jung-uk Kim: > jkim 2008-03-06 02:14:45 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/moused moused.c > Log: > Cast time_t to long to mute tinderbox build failure. doesn't this defeat the purpose of having time_t in the first place? I'd rather cast to intmax_t and print with %j ... though it probably doesn't matter. > Revision Changes Path > 1.82 +2 -2 src/usr.sbin/moused/moused.c > > -- /"\ 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 Mar 6 02:43:56 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 77405106566B; Thu, 6 Mar 2008 02:43:55 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: "Max Laier" Date: Wed, 5 Mar 2008 21:43:46 -0500 User-Agent: KMail/1.6.2 References: <200803060214.m262EjmG032525@repoman.freebsd.org> <53687.192.168.4.151.1204770665.squirrel@router> In-Reply-To: <53687.192.168.4.151.1204770665.squirrel@router> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200803052143.48208.jkim@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 02:43:58 -0000 On Wednesday 05 March 2008 09:31 pm, Max Laier wrote: > Am Do, 6.03.2008, 03:14, schrieb Jung-uk Kim: > > jkim 2008-03-06 02:14:45 UTC > > > > FreeBSD src repository > > > > Modified files: > > usr.sbin/moused moused.c > > Log: > > Cast time_t to long to mute tinderbox build failure. > > doesn't this defeat the purpose of having time_t in the first > place? I'd rather cast to intmax_t and print with %j ... though > it probably doesn't matter. Now the timestamp is uptime and the breakage was just debugging output, it shouldn't really matter at all but I will do that soon. Thanks, Jung-uk Kim From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:46: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 5FC971065675 for ; Thu, 6 Mar 2008 02:46:09 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3766C8FC22 for ; Thu, 6 Mar 2008 02:46:09 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mr2so.prod.shaw.ca (pd4mr2so-qfe3.prod.shaw.ca [10.0.141.213]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXA009WLFOWHCQX@l-daemon> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 19:46:08 -0700 (MST) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd4mr2so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXA00JC9FORWY00@pd4mr2so.prod.shaw.ca> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 19:46:08 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JXA003UMFOQZB10@l-daemon> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 19:46:03 -0700 (MST) Received: (qmail 1392 invoked from network); Thu, 06 Mar 2008 02:46:01 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 06 Mar 2008 02:46:01 +0000 Date: Wed, 05 Mar 2008 18:46:00 -0800 From: Colin Percival In-reply-to: <20080306095645.V7605@delplex.bde.org> To: Bruce Evans Message-id: <47CF5AE8.2090101@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <47CE8396.6020803@freebsd.org> <20080306095645.V7605@delplex.bde.org> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 02:46:09 -0000 Bruce Evans wrote: > On Wed, 5 Mar 2008, Colin Percival wrote: >> Bruce Evans wrote: >>> Change float_t and double_t to long double on i386. >> >> Doesn't this have a rather severe performance impact on any code which >> uses double_t? > > No. As mentioned in the commit message, this has no performance effect > except in cases where it avoids compiler bugs. [...] if you use long double > for memory variables then you get a severe performance impact and some > space loss for the load instruction, since loading long doubles is > much slower than loading doubles (about 4 times slower on Athlons). Either I'm misunderstanding something, or you seem to be disagreeing with yourself here... if I have the following code double_t foo, bar, foobar; foobar = foo + bar; then prior to this change the processor loads and stores doubles, while after this change the processor loads and stores long doubles, with the associated performance penalty. Colin Percival From owner-cvs-src@FreeBSD.ORG Thu Mar 6 02:56: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 E6FD9106566C for ; Thu, 6 Mar 2008 02:56:31 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mo3so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id BF94D8FC13 for ; Thu, 6 Mar 2008 02:56:31 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-qfe3.prod.shaw.ca [10.0.141.177]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXA000LRG4C0F00@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 19:55:24 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca ([10.0.121.147]) by pd3mr1so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXA00GLUG4BAK60@pd3mr1so.prod.shaw.ca> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 19:55:24 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JXA00HXRG49FB40@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 19:55:23 -0700 (MST) Received: (qmail 1428 invoked from network); Thu, 06 Mar 2008 02:55:21 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 06 Mar 2008 02:55:21 +0000 Date: Wed, 05 Mar 2008 18:55:21 -0800 From: Colin Percival In-reply-to: <20080306021222.GA46783@zim.MIT.EDU> To: Colin Percival , Peter Jeremy , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-id: <47CF5D19.3090100@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 02:56:32 -0000 David Schultz wrote: > ... if we're going to go down this path, we ought to just bite > the bullet and change npx.h and contrib/gcc/config/i386/freebsd.h > to use 64-bit precision by default on i386. Why would we want to randomly and pointlessly break things? To quote Kahan, "if a programmer asks for IEEE double-precision arithmetic, of course that's what you should give him" -- double rounding is simply not acceptable. Colin Percival From owner-cvs-src@FreeBSD.ORG Thu Mar 6 03:15: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 BF588106566C; Thu, 6 Mar 2008 03:15:40 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 5A8A78FC27; Thu, 6 Mar 2008 03:15:39 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m25NUIpZ001927; Thu, 6 Mar 2008 10:30:18 +1100 Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m25NUEND016872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Mar 2008 10:30:15 +1100 Date: Thu, 6 Mar 2008 10:30:14 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Colin Percival In-Reply-To: <47CE8396.6020803@freebsd.org> Message-ID: <20080306095645.V7605@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <47CE8396.6020803@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 03:15:41 -0000 On Wed, 5 Mar 2008, Colin Percival wrote: > Bruce Evans wrote: >> Modified files: >> sys/i386/include _types.h >> Log: >> Change float_t and double_t to long double on i386. > > Doesn't this have a rather severe performance impact on any code which > uses double_t? No. As mentioned in the commit message, this has no performance effect except in cases where it avoids compiler bugs. In fact, I need it partly to improve performance in cases where other methods of avoiding the compiler bugs (including fixing the compiler) have a severe performance effect. Using a correctly defined double_t makes it possible for non-broken generated code to operate entirely on registers, while using plain double requires either broken generated code or lots of conversions via memory. E.g.: double x, y, z; z = x + y; Typical wrong generated i386 code for this: fadd %st(1),%st Non-broken code for this (get it by fixing the compiler or messing up the source code using something like STRICT_ASSIGN()): fadd %st(1),%st fstpl mem # or fstps/flds to convert to float fldl mem Using double_t == long double: double_t x, y, z; z = x + y; Typical generated i386 code for this: fadd %st(1),%st x and y would probably start out as doubles and be loaded into registers using fldl. This gives a long double whether you want it to or not (all FP registers are long double). Then the severe performance impact is from converting the long double back to "double z" on assignment as is required for C compilers. OTOH, if you use long double for memory variables then you get a severe performance impact and some space loss for the load instruction, since loading long doubles is much slower than loading doubles (about 4 times slower on Athlons). Bruce From owner-cvs-src@FreeBSD.ORG Thu Mar 6 03:24: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 22AF31065672; Thu, 6 Mar 2008 03:24:04 +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 EDC338FC17; Thu, 6 Mar 2008 03:24:03 +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 m263O3su037716; Thu, 6 Mar 2008 03:24:03 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m263O3uN037715; Thu, 6 Mar 2008 03:24:03 GMT (envelope-from davidxu) Message-Id: <200803060324.m263O3uN037715@repoman.freebsd.org> From: David Xu Date: Thu, 6 Mar 2008 03:24: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/libthr/thread thr_attr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 03:24:04 -0000 davidxu 2008-03-06 03:24:03 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_attr.c Log: Fix a bug when calculating remnant size. Revision Changes Path 1.11 +1 -1 src/lib/libthr/thread/thr_attr.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 03:31: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 1C5F9106566B; Thu, 6 Mar 2008 03:31:35 +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 833408FC1B; Thu, 6 Mar 2008 03:31:34 +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 m263Wku5047399; Wed, 5 Mar 2008 22:32:46 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m263Wkxp047398; Wed, 5 Mar 2008 22:32:46 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Wed, 5 Mar 2008 22:32:46 -0500 From: David Schultz To: Colin Percival Message-ID: <20080306033246.GA47280@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Peter Jeremy , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47CF5D19.3090100@freebsd.org> Cc: Peter Jeremy , src-committers@FreeBSD.ORG, Bruce Evans , cvs-all@FreeBSD.ORG, cvs-src@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 03:31:35 -0000 On Wed, Mar 05, 2008, Colin Percival wrote: > David Schultz wrote: > > ... if we're going to go down this path, we ought to just bite > > the bullet and change npx.h and contrib/gcc/config/i386/freebsd.h > > to use 64-bit precision by default on i386. > > Why would we want to randomly and pointlessly break things? To quote > Kahan, "if a programmer asks for IEEE double-precision arithmetic, of > course that's what you should give him" -- double rounding is simply > not acceptable. gcc/i386 doesn't correctly support IEEE 754 floating point no matter which option we choose. It's really a question of whether we want unexpected behavior for doubles or for long doubles. First, what you say above isn't quite right. Even IEEE 754R says that implementations should be allowed to use wider precision when available, but there are four cases where values are required to be rounded to the precision of the type: assignments, casts, function arguments, and function return values. C99 has a subset of these requirements, but it's pretty clear that the C99 authors were confused about some of the details. gcc doesn't get any of this right. FreeBSD/i386 fixes the problem for /doubles/ by setting the i387 to use 53-bit precision. The downside is that this breaks long doubles. 15 years ago, this was clearly the right thing to do, because we had a double precision libm that would break when gcc got things wrong, and no long double support anyway. Now we have a bunch of long double math functions that have problems as a result of the reduced precision. Furthermore, since gcc is the 800-pound gorilla here, many programmers have grown accustomed to its shortcomings. From owner-cvs-src@FreeBSD.ORG Thu Mar 6 03:36: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 163F7106566B; Thu, 6 Mar 2008 03:36:55 +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 9932C8FC15; Thu, 6 Mar 2008 03:36:54 +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 m263c7jw047430; Wed, 5 Mar 2008 22:38:07 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m263c7O5047429; Wed, 5 Mar 2008 22:38:07 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Wed, 5 Mar 2008 22:38:07 -0500 From: David Schultz To: Colin Percival Message-ID: <20080306033807.GB47280@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Bruce Evans , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <47CE8396.6020803@freebsd.org> <20080306095645.V7605@delplex.bde.org> <47CF5AE8.2090101@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47CF5AE8.2090101@freebsd.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Bruce Evans , Bruce Evans , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 03:36:55 -0000 On Wed, Mar 05, 2008, Colin Percival wrote: > Bruce Evans wrote: > > On Wed, 5 Mar 2008, Colin Percival wrote: > >> Bruce Evans wrote: > >>> Change float_t and double_t to long double on i386. > >> > >> Doesn't this have a rather severe performance impact on any code which > >> uses double_t? > > > > No. As mentioned in the commit message, this has no performance effect > > except in cases where it avoids compiler bugs. [...] if you use long double > > for memory variables then you get a severe performance impact and some > > space loss for the load instruction, since loading long doubles is > > much slower than loading doubles (about 4 times slower on Athlons). > > Either I'm misunderstanding something, or you seem to be disagreeing with > yourself here... if I have the following code > > double_t foo, bar, foobar; > foobar = foo + bar; > > then prior to this change the processor loads and stores doubles, while > after this change the processor loads and stores long doubles, with the > associated performance penalty. If gcc actually implemented IEEE 754R / C99 / LIA1 correctly, then when compiling something like 'double x = y' would require it to store the value to memory and then reload it to force it to 53-bit precision. The whole point of double_t is to allow the programmer to ask for a variable that is "at least double precision", so that the compiler isn't forced to clip everything to double precision if it's inefficient to do so. However, gcc doesn't compile the above expression correctly, and FreeBSD works around the problem by setting the default rounding mode to 53 bits, which is why it's pointless to increase the size of double_t. From owner-cvs-src@FreeBSD.ORG Thu Mar 6 04:07: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 4953A1065670; Thu, 6 Mar 2008 04:07:32 +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 08D818FC15; Thu, 6 Mar 2008 04:07:31 +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 m2645ocA001534; Wed, 5 Mar 2008 21:05:51 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 05 Mar 2008 21:06:19 -0700 (MST) Message-Id: <20080305.210619.776506336.imp@bsdimp.com> To: jkim@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200803052126.45821.jkim@FreeBSD.org> References: <200803060025.m260PGfF017248@repoman.freebsd.org> <20080305.191223.-1615348076.imp@bsdimp.com> <200803052126.45821.jkim@FreeBSD.org> 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: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/moused 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: Thu, 06 Mar 2008 04:07:32 -0000 In message: <200803052126.45821.jkim@FreeBSD.org> Jung-uk Kim writes: : On Wednesday 05 March 2008 09:12 pm, M. Warner Losh wrote: : > In message: <200803060025.m260PGfF017248@repoman.freebsd.org> : > : > Jung-uk Kim writes: : > : jkim 2008-03-06 00:25:16 UTC : > : : > : FreeBSD src repository : > : : > : Modified files: : > : usr.sbin/moused Makefile : > : Log: : > : Mark moused(8) WARNS=6 clean. : > : > NEVER SET WARNS to a higher level unless you've done a make : > universe. The arm tinderbox is failing: : > : > ===> usr.sbin/moused (all) : > cc -O -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W : > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes : > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch : > -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline : > -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c : > /src/usr.sbin/moused/moused.c cc1: warnings being treated as errors : > /src/usr.sbin/moused/moused.c: In function 'r_timestamp': : > /src/usr.sbin/moused/moused.c:2550: warning: format '%ld' expects : > type 'long int', but argument 2 has type 'time_t' : > /src/usr.sbin/moused/moused.c:2562: warning: format '%ld' expects : > type 'long int', but argument 2 has type 'time_t' *** Error code 1 : : It should be fixed now. Sorry. Thanks! Warner From owner-cvs-src@FreeBSD.ORG Thu Mar 6 04:09: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 C40411065670; Thu, 6 Mar 2008 04:09:06 +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 9B7068FC1C; Thu, 6 Mar 2008 04:09:06 +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 m26496Xb040343; Thu, 6 Mar 2008 04:09:06 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26496Dm040342; Thu, 6 Mar 2008 04:09:06 GMT (envelope-from imp) Message-Id: <200803060409.m26496Dm040342@repoman.freebsd.org> From: Warner Losh Date: Thu, 6 Mar 2008 04:09:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/moused 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: Thu, 06 Mar 2008 04:09:07 -0000 imp 2008-03-06 04:09:06 UTC FreeBSD src repository Modified files: usr.sbin/moused Makefile Log: The breakage from increased warns has been fixed, back out my back out Revision Changes Path 1.12 +1 -1 src/usr.sbin/moused/Makefile From owner-cvs-src@FreeBSD.ORG Thu Mar 6 05:13: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 5602D1065673 for ; Thu, 6 Mar 2008 05:13:36 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.freebsd.org (Postfix) with SMTP id E11298FC1D for ; Thu, 6 Mar 2008 05:13:35 +0000 (UTC) (envelope-from silby@silby.com) Received: (qmail 3747 invoked from network); 6 Mar 2008 05:13:34 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 6 Mar 2008 05:13:34 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 5 Mar 2008 23:13:33 -0600 (CST) From: Mike Silbersack To: Bruce Evans In-Reply-To: <200803051121.m25BLE03035426@repoman.freebsd.org> Message-ID: <20080305230954.X55190@odysseus.silby.com> References: <200803051121.m25BLE03035426@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/i386/include _types.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, 06 Mar 2008 05:13:36 -0000 On Wed, 5 Mar 2008, Bruce Evans wrote: > bde 2008-03-05 11:21:14 UTC > > FreeBSD src repository > > Modified files: > sys/i386/include _types.h > Log: > Change float_t and double_t to long double on i386. All floating point For those of us who are not floating point experts, can you explain a few things? 1) Does this really change every double to a long double in anything compiled? 2) How does this affect ABI compatibility? 3) How does this change the operation of various programs in the ports tree that use floating point, such as mplayer, mpg123, etc. Will this cause different behavior when these apps are used on FreeBSD vs other operating systems? As I've said in the past, I'd really, really, really like to see regression tests for any change to the floating point functions. The types of changes you've been making are not easy to verify just by looking at diffs. Thanks, -Mike From owner-cvs-src@FreeBSD.ORG Thu Mar 6 05:19: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 9A14C1065682 for ; Thu, 6 Mar 2008 05:19:21 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo1so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 724E98FC1E for ; Thu, 6 Mar 2008 05:19:21 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr6so.prod.shaw.ca (pd3mr6so-qfe3.prod.shaw.ca [10.0.141.21]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXA00DEYMR205E0@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 22:18:38 -0700 (MST) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd3mr6so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXA00KDMMR1T660@pd3mr6so.prod.shaw.ca> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 22:18:38 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JXA006KWMQVN010@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 22:18:35 -0700 (MST) Received: (qmail 1782 invoked from network); Thu, 06 Mar 2008 05:18:31 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 06 Mar 2008 05:18:31 +0000 Date: Wed, 05 Mar 2008 21:18:30 -0800 From: Colin Percival In-reply-to: <20080306033807.GB47280@zim.MIT.EDU> To: Colin Percival , Bruce Evans , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-id: <47CF7EA6.90802@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <47CE8396.6020803@freebsd.org> <20080306095645.V7605@delplex.bde.org> <47CF5AE8.2090101@freebsd.org> <20080306033807.GB47280@zim.MIT.EDU> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 05:19:21 -0000 David Schultz wrote: > If gcc actually implemented IEEE 754R / C99 / LIA1 correctly, then > when compiling something like 'double x = y' would require it to > store the value to memory and then reload it to force it to 53-bit > precision. Even this wouldn't work, since it would result in double rounding. > The whole point of double_t is to allow the programmer > to ask for a variable that is "at least double precision", so that > the compiler isn't forced to clip everything to double precision > if it's inefficient to do so. Right -- and that's why numerical analysts should use double (after proving that their code will produce the correct results using double-precision arithmetic) while people who don't understand floating-point math should always use double_t. > However, gcc doesn't compile the above > expression correctly, and FreeBSD works around the problem by > setting the default rounding mode to 53 bits, which is why it's > pointless to increase the size of double_t. I disagee with your characterization of setting the rounding mode as a "workaround", but your conclusion is correct: At the moment, increasing the size of double_t is pointless. Colin Percival From owner-cvs-src@FreeBSD.ORG Thu Mar 6 05:19: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 5A8701065671 for ; Thu, 6 Mar 2008 05:19:37 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3200C8FC15 for ; Thu, 6 Mar 2008 05:19:37 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mr4so.prod.shaw.ca (pd4mr4so-qfe3.prod.shaw.ca [10.0.141.215]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXA005IMMRNGME0@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 22:18:59 -0700 (MST) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd4mr4so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXA00B4YMRLQN80@pd4mr4so.prod.shaw.ca> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 22:18:59 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JXA00LT4MRK8860@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 22:18:57 -0700 (MST) Received: (qmail 1790 invoked from network); Thu, 06 Mar 2008 05:18:55 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 06 Mar 2008 05:18:55 +0000 Date: Wed, 05 Mar 2008 21:18:55 -0800 From: Colin Percival In-reply-to: <20080306033246.GA47280@zim.MIT.EDU> To: Colin Percival , Peter Jeremy , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-id: <47CF7EBF.6000009@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 05:19:37 -0000 David Schultz wrote: > On Wed, Mar 05, 2008, Colin Percival wrote: >> David Schultz wrote: >>> ... if we're going to go down this path, we ought to just bite >>> the bullet and change npx.h and contrib/gcc/config/i386/freebsd.h >>> to use 64-bit precision by default on i386. >> Why would we want to randomly and pointlessly break things? To quote >> Kahan, "if a programmer asks for IEEE double-precision arithmetic, of >> course that's what you should give him" -- double rounding is simply >> not acceptable. > > gcc/i386 doesn't correctly support IEEE 754 floating point no > matter which option we choose. It's really a question of whether > we want unexpected behavior for doubles or for long doubles. As far as I can see, there's no question here. C99 requires that the "double" type matches the IEEE 754 64-bit double; but it allows the "long double" type to be an IEEE 754 80-bit extended, a 128-bit quadruple, a 64-bit double, or anything else which is at least as good as a 64-bit double. Setting the i387 FPU to 53-bit precision gives standards-compliant behaviour whether people are using "double" or "long double". Setting it to 64-bit precision gives standards-compliant behaviour when people are using long doubles, but not when people are using doubles. > First, what you say above isn't quite right. Even IEEE 754R says > that implementations should be allowed to use wider precision when > available, but there are four cases where values are required to > be rounded to the precision of the type: assignments, casts, > function arguments, and function return values. Yes and no. Double rounding isn't allowed; so performing operations with extended precision and then rounding to double precision later is not a valid option. The only way on the i387 to provide standards compliant floating-point arithmetic is to have the FPU set to not use the extra precision in the first place. > The downside is that this breaks long doubles. Except that it doesn't. Using 53-bit precision for long doubles is a perfectly valid and standards-compliant option. Colin Percival From owner-cvs-src@FreeBSD.ORG Thu Mar 6 05:30: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 4598D1065671 for ; Thu, 6 Mar 2008 05:30:15 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1F5BC8FC25 for ; Thu, 6 Mar 2008 05:30:15 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-qfe3.prod.shaw.ca [10.0.141.177]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXA00DCGNADI1F0@l-daemon> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 22:30:13 -0700 (MST) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd3mr1so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXA00K6JNAC8B00@pd3mr1so.prod.shaw.ca> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 22:30:13 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JXA006GUNAAN020@l-daemon> for cvs-src@FreeBSD.org; Wed, 05 Mar 2008 22:30:12 -0700 (MST) Received: (qmail 1820 invoked from network); Thu, 06 Mar 2008 05:30:09 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 06 Mar 2008 05:30:09 +0000 Date: Wed, 05 Mar 2008 21:30:09 -0800 From: Colin Percival In-reply-to: <20080305230954.X55190@odysseus.silby.com> To: Mike Silbersack Message-id: <47CF8161.1060202@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305230954.X55190@odysseus.silby.com> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 05:30:15 -0000 Mike Silbersack wrote: > On Wed, 5 Mar 2008, Bruce Evans wrote: >> Change float_t and double_t to long double on i386. All floating point > > 1) Does this really change every double to a long double in anything > compiled? No, it changes double_t (which is not the same as double). > 2) How does this affect ABI compatibility? This breaks ABI compatibility (when people use float_t or double_t). > 3) How does this change the operation of various programs in the ports > tree that use floating point, such as mplayer, mpg123, etc. Will this > cause different behavior when these apps are used on FreeBSD vs other > operating systems? Most code in the ports tree will be using double instead of double_t, and will consequently not be affected. Code which uses double_t will be slower due to the increased cost of loads and stores, and may produce different output if it changes the i387 precision flags. At the moment, FreeBSD behaves the same way as Microsoft Windows and C99, and differently from Linux: Linux sets the i387 by default to extended precision, which has the result of decreasing the average rounding error while increasing the maximum rounding error (due to double rounding when values which were internally rounded to extended precision are rounded to double precision later) and sometimes breaking code entirely (when the properties of floating-point rounding are used deliberately, e.g., to rapidly round a floating-point value to the nearest integer). I've answered queries from some mathematicians and scientists who were confused as to why they were seeing higher rounding errors on FreeBSD and Windows than they were on Linux; but when I've explained the behavioural differences to numerical analysts, the universal reaction I've received has been "dear god, Linux does WHAT?" -- oddly enough, mathematicians like to think that proving that their code is correct will be enough to ensure that it will produce correct output. Colin Percival From owner-cvs-src@FreeBSD.ORG Thu Mar 6 05:35: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 EB2941065670; Thu, 6 Mar 2008 05:35:22 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id CC6098FC13; Thu, 6 Mar 2008 05:35:22 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.2/8.14.2) with ESMTP id m265Yk2F091063; Wed, 5 Mar 2008 21:34:46 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.2/8.14.2/Submit) id m265Yk07091062; Wed, 5 Mar 2008 21:34:46 -0800 (PST) (envelope-from sgk) Date: Wed, 5 Mar 2008 21:34:46 -0800 From: Steve Kargl To: Mike Silbersack Message-ID: <20080306053446.GA90967@troutmask.apl.washington.edu> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305230954.X55190@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080305230954.X55190@odysseus.silby.com> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Bruce Evans , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 05:35:23 -0000 On Wed, Mar 05, 2008 at 11:13:33PM -0600, Mike Silbersack wrote: > > 3) How does this change the operation of various programs in the ports > tree that use floating point, such as mplayer, mpg123, etc. Will this > cause different behavior when these apps are used on FreeBSD vs other > operating systems? IIRC, mplayer (as does several other ports) uses -ffast-math, which means mplayer doesn't care about the floating point. -- Steve From owner-cvs-src@FreeBSD.ORG Thu Mar 6 05:41: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 2FF6F1065678; Thu, 6 Mar 2008 05:41:46 +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 0742E8FC38; Thu, 6 Mar 2008 05:41:46 +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 m265fj3m053745; Thu, 6 Mar 2008 05:41:45 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m265fjt7053744; Thu, 6 Mar 2008 05:41:45 GMT (envelope-from cperciva) Message-Id: <200803060541.m265fjt7053744@repoman.freebsd.org> From: Colin Percival Date: Thu, 6 Mar 2008 05:41:45 +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 uipc_syscalls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 05:41:46 -0000 cperciva 2008-03-06 05:41:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_syscalls.c Log: MFC revision 1.269: Fix sending trailers in sendfile(2). Revision Changes Path 1.259.2.3 +3 -1 src/sys/kern/uipc_syscalls.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 06:23: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 287261065675; Thu, 6 Mar 2008 06:23:04 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.freebsd.org (Postfix) with ESMTP id AC8288FC1D; Thu, 6 Mar 2008 06:23:03 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m266N1MQ022475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Mar 2008 17:23:02 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m266N1i3068056; Thu, 6 Mar 2008 17:23:01 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m266N1ot068055; Thu, 6 Mar 2008 17:23:01 +1100 (EST) (envelope-from peter) Date: Thu, 6 Mar 2008 17:23:01 +1100 From: Peter Jeremy To: Colin Percival , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-ID: <20080306062301.GX68971@server.vk2pj.dyndns.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RwxaKO075aXzzOz0" Content-Disposition: inline In-Reply-To: <20080306033246.GA47280@zim.MIT.EDU> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 06:23:04 -0000 --RwxaKO075aXzzOz0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 05, 2008 at 10:32:46PM -0500, David Schultz wrote: >gcc doesn't get any of this right. FreeBSD/i386 fixes the problem >for /doubles/ by setting the i387 to use 53-bit precision. Note that FreeBSD/amd64 does not do this when running i386 binaries so you can get discrepancies between running the same program natively vs running it in compatibility mode. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --RwxaKO075aXzzOz0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHz43F/opHv/APuIcRAusmAKCydCOJVA+562hkC4kstTBj39noYwCfQDMH k2hjgfKARbpF1MseQJ4rIc0= =ZjLm -----END PGP SIGNATURE----- --RwxaKO075aXzzOz0-- From owner-cvs-src@FreeBSD.ORG Thu Mar 6 06:27: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 530581065674; Thu, 6 Mar 2008 06:27:21 +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 B534E8FC14; Thu, 6 Mar 2008 06:27:20 +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 m266SY7h048665; Thu, 6 Mar 2008 01:28:34 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m266SYvE048664; Thu, 6 Mar 2008 01:28:34 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 6 Mar 2008 01:28:34 -0500 From: David Schultz To: Colin Percival Message-ID: <20080306062834.GA48339@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Bruce Evans , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <47CE8396.6020803@freebsd.org> <20080306095645.V7605@delplex.bde.org> <47CF5AE8.2090101@freebsd.org> <20080306033807.GB47280@zim.MIT.EDU> <47CF7EA6.90802@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47CF7EA6.90802@freebsd.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Bruce Evans , Bruce Evans , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 06:27:21 -0000 On Wed, Mar 05, 2008, Colin Percival wrote: > David Schultz wrote: > > If gcc actually implemented IEEE 754R / C99 / LIA1 correctly, then > > when compiling something like 'double x = y' would require it to > > store the value to memory and then reload it to force it to 53-bit > > precision. > > Even this wouldn't work, since it would result in double rounding. Nevertheless, this is all that is guaranteed because it is often impractical to do better, and because these semantics are often sufficient. The usual formulas for splitting a number into hi + lo components work, for example. Furthermore, implementations that use extra guard bits in their FP registers can avoid the double rounding. > > The whole point of double_t is to allow the programmer > > to ask for a variable that is "at least double precision", so that > > the compiler isn't forced to clip everything to double precision > > if it's inefficient to do so. > > Right -- and that's why numerical analysts should use double (after > proving that their code will produce the correct results using > double-precision arithmetic) while people who don't understand > floating-point math should always use double_t. Not really. There are times when it matters and times when it doesn't. If you're evaluating a Chebyshev polynomial via Horner's formula, for example, imprecisions in rounding can generally be ignored until the last one or two multiplications. Similarly, if you're doing Newton iteration, only roundoff in the last iteration matters. At other times it really does matter, and numerical analysts know how to tell the difference. From owner-cvs-src@FreeBSD.ORG Thu Mar 6 06:33: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 D506F106566C; Thu, 6 Mar 2008 06:33:38 +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 783038FC1B; Thu, 6 Mar 2008 06:33:38 +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 m266YqOJ048713; Thu, 6 Mar 2008 01:34:52 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m266Yqdm048712; Thu, 6 Mar 2008 01:34:52 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 6 Mar 2008 01:34:52 -0500 From: David Schultz To: Colin Percival Message-ID: <20080306063452.GB48339@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Peter Jeremy , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47CF7EBF.6000009@freebsd.org> Cc: Peter Jeremy , src-committers@FreeBSD.ORG, Bruce Evans , cvs-all@FreeBSD.ORG, cvs-src@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 06:33:39 -0000 On Wed, Mar 05, 2008, Colin Percival wrote: > Setting the i387 FPU to 53-bit precision gives standards-compliant > behaviour whether people are using "double" or "long double". Not quite. > Yes and no. Double rounding isn't allowed; Yes, it is. > > The downside is that this breaks long doubles. > > Except that it doesn't. Using 53-bit precision for long doubles is > a perfectly valid and standards-compliant option. It's impossible to implement efficient library functions that produce correct long double results when the FPU is set to 64-bit mode and avoid double rounding and related problems when the FPU is set to 53-bit mode. (Many of these functions use bit fiddling, or range checks that are based on the expected width of the type, for example.) In practice, there are other impediments to making long doubles work correctly, such as constant folding and gcc's lack of support for FENV_ACCESS. From owner-cvs-src@FreeBSD.ORG Thu Mar 6 06:36: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 2D5551065673; Thu, 6 Mar 2008 06:36:33 +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 CAE928FC12; Thu, 6 Mar 2008 06:36:32 +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 m266bkuv048729; Thu, 6 Mar 2008 01:37:46 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m266bkus048728; Thu, 6 Mar 2008 01:37:46 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 6 Mar 2008 01:37:46 -0500 From: David Schultz To: Peter Jeremy Message-ID: <20080306063746.GC48339@zim.MIT.EDU> Mail-Followup-To: Peter Jeremy , Colin Percival , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <20080306062301.GX68971@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080306062301.GX68971@server.vk2pj.dyndns.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Bruce Evans , Colin Percival , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 06:36:33 -0000 On Thu, Mar 06, 2008, Peter Jeremy wrote: > On Wed, Mar 05, 2008 at 10:32:46PM -0500, David Schultz wrote: > >gcc doesn't get any of this right. FreeBSD/i386 fixes the problem > >for /doubles/ by setting the i387 to use 53-bit precision. > > Note that FreeBSD/amd64 does not do this when running i386 binaries > so you can get discrepancies between running the same program natively > vs running it in compatibility mode. Good point. I don't think i386 ever got fixed to do the appropriate mode change for Linux binaries, either, BTW. From owner-cvs-src@FreeBSD.ORG Thu Mar 6 06:57: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 9F5521065673 for ; Thu, 6 Mar 2008 06:57:14 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mo3so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 759EB8FC1F for ; Thu, 6 Mar 2008 06:57:14 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-qfe3.prod.shaw.ca [10.0.141.179]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXA00KT7R9NST30@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 23:56:11 -0700 (MST) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd3mr3so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXA00E4PR9MW910@pd3mr3so.prod.shaw.ca> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 23:56:11 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JXA00LZLR9K2420@l-daemon> for cvs-src@FreeBSD.ORG; Wed, 05 Mar 2008 23:56:10 -0700 (MST) Received: (qmail 2310 invoked from network); Thu, 06 Mar 2008 06:56:08 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 06 Mar 2008 06:56:08 +0000 Date: Wed, 05 Mar 2008 22:56:06 -0800 From: Colin Percival In-reply-to: <20080306063452.GB48339@zim.MIT.EDU> To: Colin Percival , Peter Jeremy , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-id: <47CF9586.70707@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 06:57:14 -0000 David Schultz wrote: > On Wed, Mar 05, 2008, Colin Percival wrote: >> Setting the i387 FPU to 53-bit precision gives standards-compliant >> behaviour whether people are using "double" or "long double". > > Not quite. How is it not standards-compliant? >> Yes and no. Double rounding isn't allowed; > > Yes, it is. No, it isn't. The following code double x, y, z; x = 1.0; y = 0x1.0p-53 + 0x1.0p-75; z = x + y; z = z - 1.0; if (z == 0.0) printf("BUGGY MATH\n"); else printf("IEEE754-COMPLIANT MATH\n"); should never output "BUGGY MATH", since x + y should round up to 1 + 2^(-52); but if you set the i387 to use extended precision, it gets the wrong answer. >>> The downside is that this breaks long doubles. >> Except that it doesn't. Using 53-bit precision for long doubles is >> a perfectly valid and standards-compliant option. > > It's impossible to implement efficient library functions that > produce correct long double results You could have stopped this sentence here -- for all practical purposes, correctly rounded trigonometric functions are not feasible. > when the FPU is set to 64-bit > mode and avoid double rounding and related problems when the FPU > is set to 53-bit mode. Fortunately, library functions aren't required to have any particular error bounds. It's always nice if they are correct to within 0.6ulp instead of 0.8ulp or suchlike -- but nobody should be proving code correctness based on assumed properties of library transcendental functions. People should, and do, prove code correct based on the assumption that double precision arithmetic behaves like double precision arithmetic, however (myself included). Colin Percival From owner-cvs-src@FreeBSD.ORG Thu Mar 6 07: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 00306106566C; Thu, 6 Mar 2008 07:19:50 +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 CB8C48FC1D; Thu, 6 Mar 2008 07:19:50 +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 m267JofF059335; Thu, 6 Mar 2008 07:19:50 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m267JoTe059334; Thu, 6 Mar 2008 07:19:50 GMT (envelope-from brueffer) Message-Id: <200803060719.m267JoTe059334@repoman.freebsd.org> From: Christian Brueffer Date: Thu, 6 Mar 2008 07:19:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/share/man/man4 fwohci.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: Thu, 06 Mar 2008 07:19:51 -0000 brueffer 2008-03-06 07:19:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 fwohci.4 Log: MFC: rev. 1.17 The Sony i.LINK (CXD1947) is _not_ supported. Revision Changes Path 1.16.2.1 +1 -3 src/share/man/man4/fwohci.4 From owner-cvs-src@FreeBSD.ORG Thu Mar 6 07:20: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 9CE1C1065673; Thu, 6 Mar 2008 07:20:53 +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 74BFE8FC1F; Thu, 6 Mar 2008 07:20:53 +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 m267KrEq059458; Thu, 6 Mar 2008 07:20:53 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m267Krl5059457; Thu, 6 Mar 2008 07:20:53 GMT (envelope-from brueffer) Message-Id: <200803060720.m267Krl5059457@repoman.freebsd.org> From: Christian Brueffer Date: Thu, 6 Mar 2008 07:20: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/share/man/man4 fwohci.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: Thu, 06 Mar 2008 07:20:53 -0000 brueffer 2008-03-06 07:20:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/man/man4 fwohci.4 Log: MFC: rev. 1.17 The Sony i.LINK (CXD1947) is _not_ supported. Revision Changes Path 1.14.2.2 +1 -3 src/share/man/man4/fwohci.4 From owner-cvs-src@FreeBSD.ORG Thu Mar 6 07:56: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 4781E1065671; Thu, 6 Mar 2008 07:56:36 +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 C876F8FC18; Thu, 6 Mar 2008 07:56:35 +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 m267voUq049210; Thu, 6 Mar 2008 02:57:50 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m267vofD049209; Thu, 6 Mar 2008 02:57:50 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 6 Mar 2008 02:57:50 -0500 From: David Schultz To: Colin Percival Message-ID: <20080306075750.GA48995@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Peter Jeremy , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> <47CF9586.70707@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47CF9586.70707@freebsd.org> Cc: Peter Jeremy , src-committers@FreeBSD.ORG, Bruce Evans , cvs-all@FreeBSD.ORG, cvs-src@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 07:56:36 -0000 On Wed, Mar 05, 2008, Colin Percival wrote: > David Schultz wrote: > > On Wed, Mar 05, 2008, Colin Percival wrote: > >> Setting the i387 FPU to 53-bit precision gives standards-compliant > >> behaviour whether people are using "double" or "long double". > > > > Not quite. > > How is it not standards-compliant? First, because there are other issues, like constant folding and dynamic precision and rounding, that gcc doesn't get right. Second, because of the issues I mentioned with library functions, and because of ill-defined meanings of constants such as LDBL_MANT_DIG, etc. > >> Yes and no. Double rounding isn't allowed; > > > > Yes, it is. > > No, it isn't. The following code [...] > should never output "BUGGY MATH", since x + y should round up to > 1 + 2^(-52); but if you set the i387 to use extended precision, it > gets the wrong answer. True, but this is idealistic, and standards do not guarantee what you want because it is too hard to do efficiently in practice. Even the IEEE 754R draft basically says that double rounding is allowed as long as the language makes it clear what is going on: The last operation of many expressions is an assignment to an explicit final destination variable. As a part of expression evaluation rules, language standards shall specify when the next to last operation is performed by rounding at most once to the format of the explicit final destination, and when by rounding as many as two times, first to an implicit intermediate format, and then to the explicit final destination format. See the description of C99's FLT_EVAL_METHOD macro, which is part of C99's answer to the above. If you asked Kahan, he'd probably tell you that both strict and non-strict evaluation should be options. He was vehemently opposed to the idea that Java have only a strict mode (similar to the one you propose). > >>> The downside is that this breaks long doubles. > >> Except that it doesn't. Using 53-bit precision for long doubles is > >> a perfectly valid and standards-compliant option. > > > > It's impossible to implement efficient library functions that > > produce correct long double results > > You could have stopped this sentence here -- for all practical purposes, > correctly rounded trigonometric functions are not feasible. First, I said nothing about trigonometric anything, and second, your claim here isn't true anyway. FreeBSD provides trig functions that are correctly rounded most of the time (which is what most people call "correctly rounded"). Both the IBM Accurate Mathematical Library and Sun's crlibm provide trig functions that are correctly rounded all of the time. > > when the FPU is set to 64-bit > > mode and avoid double rounding and related problems when the FPU > > is set to 53-bit mode. > > Fortunately, library functions aren't required to have any particular > error bounds. It's always nice if they are correct to within 0.6ulp > instead of 0.8ulp or suchlike -- but nobody should be proving code > correctness based on assumed properties of library transcendental > functions. People should, and do, prove code correct based on the > assumption that double precision arithmetic behaves like double precision > arithmetic, however (myself included). No, you misunderstand my point. I'm not talking about a 1-ulp error, I'm talking about billions of ulps. In some long double functions, we actually have to do things like the following to get results that are even sane at all: #ifdef __i386__ if (fpgetprec() != FP_PE) return (double_precision_foo(x)); #endif From owner-cvs-src@FreeBSD.ORG Thu Mar 6 08:09: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 B65771065670; Thu, 6 Mar 2008 08:09:46 +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 A49268FC15; Thu, 6 Mar 2008 08:09:46 +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 m2689kgp062201; Thu, 6 Mar 2008 08:09:46 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2689ktf062200; Thu, 6 Mar 2008 08:09:46 GMT (envelope-from rink) Message-Id: <200803060809.m2689ktf062200@repoman.freebsd.org> From: Rink Springer Date: Thu, 6 Mar 2008 08:09: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/man4 Makefile cmx.4 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: Thu, 06 Mar 2008 08:09:46 -0000 rink 2008-03-06 08:09:45 UTC FreeBSD src repository Modified files: share/man/man4 Makefile sys/conf NOTES files sys/dev/pccard pccarddevs sys/modules Makefile Added files: share/man/man4 cmx.4 sys/dev/cmx cmx.c cmx_pccard.c cmxreg.h cmxvar.h sys/modules/cmx Makefile Log: 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 MFC after: 2 weeks Revision Changes Path 1.412 +1 -0 src/share/man/man4/Makefile 1.1 +95 -0 src/share/man/man4/cmx.4 (new) 1.1474 +2 -0 src/sys/conf/NOTES 1.1278 +2 -0 src/sys/conf/files 1.1 +701 -0 src/sys/dev/cmx/cmx.c (new) 1.1 +115 -0 src/sys/dev/cmx/cmx_pccard.c (new) 1.1 +66 -0 src/sys/dev/cmx/cmxreg.h (new) 1.1 +99 -0 src/sys/dev/cmx/cmxvar.h (new) 1.131 +4 -0 src/sys/dev/pccard/pccarddevs 1.558 +4 -0 src/sys/modules/Makefile 1.1 +12 -0 src/sys/modules/cmx/Makefile (new) From owner-cvs-src@FreeBSD.ORG Thu Mar 6 08:43: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 928F2106566B for ; Thu, 6 Mar 2008 08:43:57 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id C79848FC1C for ; Thu, 6 Mar 2008 08:43:56 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1482899nfb.33 for ; Thu, 06 Mar 2008 00:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=kgFlGqfj5iIu7Gt+Yu+hlZoKv+SsXVzs4YjO3/3glZM=; b=xgn9JzLXONNnyjTLLxs/A0gfs9M8tSgax7kOOyTMbFkRCLlzuJuC1XDKcodT/TtakeGw8RF4p2R64JtTtSmlazW2k5lyi8ffuKBuO2LQoKHEyoI7F3eAWZZ1fMq8BQ3iD/dV2Psz0XnRwY7BiKss2h92QkShQ29giwr/oNi4+zI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; b=XTV2WPanbBSzAUDUpKGaEd3P3EbtcWdMyLF/YrqLeBcK0jtazX3jGQ5V/PaTz/oWMojIbBIFkUHFmjhhMAVQ30oxH8vu47Hk8uM59qAkGf1yCxdaxkG/CmMOz40uJTFQ+BK087PlSJSHnroUqEkVnH0RvuyyYhRkpCPIC88NGwc= Received: by 10.82.175.17 with SMTP id x17mr6825241bue.2.1204793034569; Thu, 06 Mar 2008 00:43:54 -0800 (PST) Received: from dg.local ( [83.237.57.117]) by mx.google.com with ESMTPS id t10sm2752153muh.13.2008.03.06.00.43.50 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Mar 2008 00:43:51 -0800 (PST) Date: Thu, 6 Mar 2008 11:43:54 +0300 From: Yar Tikhiy To: Craig Rodrigues Message-ID: <20080306084354.GA10064@dg.local> References: <200803050825.m258Ppv2016738@repoman.freebsd.org> <20080305122029.GA7027@dg.local> <20080305222402.GA80407@crodrigues.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080305222402.GA80407@crodrigues.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Yar Tikhiy Cc: Craig Rodrigues , 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: Thu, 06 Mar 2008 08:43:57 -0000 On Wed, Mar 05, 2008 at 10:24:02PM +0000, Craig Rodrigues wrote: > On Wed, Mar 05, 2008 at 03:20:29PM +0300, Yar Tikhiy wrote: > > Your analysis of the problem sounds not quite correct to me. > > You make some interesting points in your e-mail. > I suggest that you summarize the points and > post them to arch@ for further review and discussion. > > There is how nmount() should work in an ideal world, > and then there is the existing implentation, which is > not exactly clean and perfect. It is important as > we clean up the nmount() code in the tree, that we > keep things working without introducing too many hacks. > > The problem with the mount code in FreeBSD is that a fix that > appears "correct" in one area, may break things somewhere else, because > that area has hacks/workarounds/improper coding/whatever > that "just happened to work". So while you may disagree with > the aesthetics of some of the mount patches.....I have been trying > to slowly migrate things over and clean things up in the various > mount binaries and file systems and still try to keep things working > the way they have before. I've not been perfect and have made some > mistakes along the way, but I try to clean things up. > > My complaints with your mode of operation have been: > - you started committing in an area in which you don't have > a lot of track record in working in > - you started breaking things in configurations you were > unable/unwilling/no time to fix or investigate > - you post long e-mails, or commit messages complaining about how > you don't like how the mount code is structured or works, but your > posts tend to look like rants > > I agree with a lot of what you have posted, but you need to > be more constructive, and post your suggestions to arch@ to get > proper review and discussion going. > > I know you mean well, but you need to slow down and direct your > focus more constructively....otherwise it looks like you are > ranting and doing drive-by commits. > > Unfortunately, the mount code is core functionality, that when it > doesn't work properly, people complain *A LOT*, so treading carefully > is key. I'd appreciate if you respond to my technical criticism in equally _technical_ terms and refrain from diverting the discussion onto the moralization road. -- Yar From owner-cvs-src@FreeBSD.ORG Thu Mar 6 08:47: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 DE9CD1065670; Thu, 6 Mar 2008 08:47:16 +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 B58B48FC17; Thu, 6 Mar 2008 08:47:16 +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 m268lGrq070996; Thu, 6 Mar 2008 08:47:16 GMT (envelope-from rink@repoman.freebsd.org) Received: (from rink@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m268lGLX070935; Thu, 6 Mar 2008 08:47:16 GMT (envelope-from rink) Message-Id: <200803060847.m268lGLX070935@repoman.freebsd.org> From: Rink Springer Date: Thu, 6 Mar 2008 08:47: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/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: Thu, 06 Mar 2008 08:47:17 -0000 rink 2008-03-06 08:47:16 UTC FreeBSD src repository Modified files: share/man/man4 cmx.4 Log: Added missing BSD license text to the cmx.4 manpage. Noticed by: brueffer Revision Changes Path 1.2 +25 -0 src/share/man/man4/cmx.4 From owner-cvs-src@FreeBSD.ORG Thu Mar 6 09:20: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 D9DA21065671; Thu, 6 Mar 2008 09:20:59 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 8BDA48FC1C; Thu, 6 Mar 2008 09:20:58 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id DAC0E6761B2; Thu, 6 Mar 2008 10:20:56 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a0Y75auilnpF; Thu, 6 Mar 2008 10:20:45 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C4D076761B1; Thu, 6 Mar 2008 10:20:45 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.14.2/Submit) id m269KjNp054906; Thu, 6 Mar 2008 10:20:45 +0100 (CET) (envelope-from rdivacky) Date: Thu, 6 Mar 2008 10:20:45 +0100 From: Roman Divacky To: Jung-uk Kim Message-ID: <20080306092045.GA54220@freebsd.org> References: <200803060022.m260MHSx017085@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803060022.m260MHSx017085@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 09:21:00 -0000 On Thu, Mar 06, 2008 at 12:22:17AM +0000, Jung-uk Kim wrote: > jkim 2008-03-06 00:22:17 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/moused moused.c > Log: > Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST. > It is only used to track elapsed time and it does not have to be precise. what is the rationale behind this? what is the expected improvement? I am not questioning the change I am just curious.. thnx From owner-cvs-src@FreeBSD.ORG Thu Mar 6 09:45: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 CAAC61065670 for ; Thu, 6 Mar 2008 09:45:17 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 988FF8FC28 for ; Thu, 6 Mar 2008 09:45:17 +0000 (UTC) (envelope-from yar.tikhiy@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1381673rvb.43 for ; Thu, 06 Mar 2008 01:45:16 -0800 (PST) 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=qP4kkw2kWLrM2WHN4GLykS5vaGdgM94yDQ/qsYd35UM=; b=rk5gxhlxzUA2oZuXtIgDQsk1aaMDKLzb66WB/hQ9iYCNA5fnsu4ibxNnYSyfNoJe3QEIox/QI0ctC8p/kP4CskmfGUfyBD6leWpTBNEJechr/WtQFkdx9g9XM3pUc6hpSf6rfy8zguT7GCs5claDPaFr6kSvnd1Wl6u5U247JSo= 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=B5HIyPpFNsCTAG/RlHdaMLJymcMAfghMPaOF4UTQ3+mobnBLXYLZLhTT7BaWZm9WecqZ0z1NQzCLwatULzAmByIMwZ8Ag4jwORJMRrLdZGguIvw/TJ7uzgZqraIBhZqc56DtaKWRgRQTv/k2MhJBKstM+n8Nmm9DZd3cN1xQF9s= Received: by 10.141.50.17 with SMTP id c17mr1868906rvk.191.1204796716638; Thu, 06 Mar 2008 01:45:16 -0800 (PST) Received: by 10.141.52.1 with HTTP; Thu, 6 Mar 2008 01:45:16 -0800 (PST) Message-ID: Date: Thu, 6 Mar 2008 12:45:16 +0300 From: "Yar Tikhiy" Sender: yar.tikhiy@gmail.com To: "Jung-uk Kim" In-Reply-To: <200803052143.48208.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803060214.m262EjmG032525@repoman.freebsd.org> <53687.192.168.4.151.1204770665.squirrel@router> <200803052143.48208.jkim@FreeBSD.org> X-Google-Sender-Auth: dcfa4f692c68f380 Cc: Max Laier , src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 09:45:17 -0000 On Thu, Mar 6, 2008 at 5:43 AM, Jung-uk Kim wrote: > On Wednesday 05 March 2008 09:31 pm, Max Laier wrote: > > Am Do, 6.03.2008, 03:14, schrieb Jung-uk Kim: > > > jkim 2008-03-06 02:14:45 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > usr.sbin/moused moused.c > > > Log: > > > Cast time_t to long to mute tinderbox build failure. > > > > doesn't this defeat the purpose of having time_t in the first > > place? I'd rather cast to intmax_t and print with %j ... though > > it probably doesn't matter. > > Now the timestamp is uptime and the breakage was just debugging > output, it shouldn't really matter at all but I will do that soon. Yes it matters because it has to do with everyday coding practice. It is one of small yet important advances in C99 that we can now printf non-basic integral types _portably_[1] and _reliably_ through %j[du] and a cast to [u]intmax_t. [1] Well, almost portably as we need to guess the signedness of the type. -- Yar From owner-cvs-src@FreeBSD.ORG Thu Mar 6 09:54: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 0CF6C1065676; Thu, 6 Mar 2008 09:54:11 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9061F8FC28; Thu, 6 Mar 2008 09:54:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m269s8PA001887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Mar 2008 20:54:08 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m269s7Uf069292; Thu, 6 Mar 2008 20:54:07 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m269s7Q8069291; Thu, 6 Mar 2008 20:54:07 +1100 (EST) (envelope-from peter) Date: Thu, 6 Mar 2008 20:54:07 +1100 From: Peter Jeremy To: Roman Divacky Message-ID: <20080306095407.GS68971@server.vk2pj.dyndns.org> References: <200803060022.m260MHSx017085@repoman.freebsd.org> <20080306092045.GA54220@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rmUrFcWP4LYae1gV" Content-Disposition: inline In-Reply-To: <20080306092045.GA54220@freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Jung-uk Kim Subject: Re: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 09:54:11 -0000 --rmUrFcWP4LYae1gV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 06, 2008 at 10:20:45AM +0100, Roman Divacky wrote: >On Thu, Mar 06, 2008 at 12:22:17AM +0000, Jung-uk Kim wrote: >> Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_F= AST. >> It is only used to track elapsed time and it does not have to be preci= se. > >what is the rationale behind this? what is the expected improvement? I am >not questioning the change I am just curious.. There's been a recent extensive thread about poor X11 performance and it turns out the the Xserver can issue multiple gettimeofday(2) calls every time it sees a mouse movement. gettimeofday(2) on FreeBSD is relatively expensive (the Project chose accuracy over speed) and clock_gettime(2) using CLOCK_MONOTONIC_FAST is a much cheaper alternative when accuracy isn't critical. The Xserver should be using clock_gettime(2) but there's a bug in its POSIX-compatibility selection. Applying a similar fix to moused is a logical extension. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --rmUrFcWP4LYae1gV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHz78//opHv/APuIcRAn5qAJ4z04U2duhzn6jECW6xbnoE/7DydACgkCOZ FJQrxClqsbproXKtw/roHKI= =4iCj -----END PGP SIGNATURE----- --rmUrFcWP4LYae1gV-- From owner-cvs-src@FreeBSD.ORG Thu Mar 6 10:10: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 99C54106566C; Thu, 6 Mar 2008 10:10:44 +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 700058FC26; Thu, 6 Mar 2008 10:10:44 +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 m26AAiKi077522; Thu, 6 Mar 2008 10:10:44 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26AAilh077521; Thu, 6 Mar 2008 10:10:44 GMT (envelope-from rwatson) Message-Id: <200803061010.m26AAilh077521@repoman.freebsd.org> From: Robert Watson Date: Thu, 6 Mar 2008 10:10: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/ddb db_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 10:10:44 -0000 rwatson 2008-03-06 10:10:44 UTC FreeBSD src repository Modified files: sys/ddb db_input.c Log: When redrawing an input line, count backspaces to get to the beginning of the input field from the current cursor location, rather than the end of the input line, as the cursor may not be at the end of the line. Otherwise, we may overshoot, overwriting a bit of the previous line and failing to fully overwrite the current line. MFC after: 3 days PR: 119079 Submitted by: Michael Plass Revision Changes Path 1.38 +1 -1 src/sys/ddb/db_input.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 10:29: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 D2C0A1065671; Thu, 6 Mar 2008 10:29:24 +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 A0CD18FC19; Thu, 6 Mar 2008 10:29:24 +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 3901546B61; Thu, 6 Mar 2008 05:29:24 -0500 (EST) Date: Thu, 6 Mar 2008 10:29:24 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Peter Jeremy In-Reply-To: <20080306095407.GS68971@server.vk2pj.dyndns.org> Message-ID: <20080306102751.J21309@fledge.watson.org> References: <200803060022.m260MHSx017085@repoman.freebsd.org> <20080306092045.GA54220@freebsd.org> <20080306095407.GS68971@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, Roman Divacky , src-committers@freebsd.org, cvs-all@freebsd.org, Jung-uk Kim Subject: Re: cvs commit: src/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 10:29:25 -0000 On Thu, 6 Mar 2008, Peter Jeremy wrote: > On Thu, Mar 06, 2008 at 10:20:45AM +0100, Roman Divacky wrote: >> On Thu, Mar 06, 2008 at 12:22:17AM +0000, Jung-uk Kim wrote: >>> Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST. >>> It is only used to track elapsed time and it does not have to be >>> precise. >> >> what is the rationale behind this? what is the expected improvement? I am >> not questioning the change I am just curious.. > > There's been a recent extensive thread about poor X11 performance and it > turns out the the Xserver can issue multiple gettimeofday(2) calls every > time it sees a mouse movement. gettimeofday(2) on FreeBSD is relatively > expensive (the Project chose accuracy over speed) and clock_gettime(2) using > CLOCK_MONOTONIC_FAST is a much cheaper alternative when accuracy isn't > critical. > > The Xserver should be using clock_gettime(2) but there's a bug in its > POSIX-compatibility selection. Applying a similar fix to moused is a > logical extension. Many applications also assume that gettimeofday(2) returns a monotonically, and possibly consistently, increasing value. Sometimes this is fine (log timestamps) and other times this is not (time deltas used to calculate mouse acceleration, etc). Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Thu Mar 6 14:01: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 9FDC31065670; Thu, 6 Mar 2008 14:01:10 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7595B8FC1E; Thu, 6 Mar 2008 14:01:10 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26E1A98097472; Thu, 6 Mar 2008 14:01:10 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26E1Acf097471; Thu, 6 Mar 2008 14:01:10 GMT (envelope-from mtm) Message-Id: <200803061401.m26E1Acf097471@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 6 Mar 2008 14:01: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/etc/defaults rc.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: Thu, 06 Mar 2008 14:01:10 -0000 mtm 2008-03-06 14:01:10 UTC FreeBSD src repository Modified files: etc/defaults rc.conf Log: The rarpd(8) daemon must be instructed to start on all interfaces or a specific one. Instruct it to listen on all interfaces so that enabling it in rc.conf(5) works "out of the box." PR: conf/121406 Submited by: trasz MFC after: 1 week Revision Changes Path 1.328 +1 -1 src/etc/defaults/rc.conf From owner-cvs-src@FreeBSD.ORG Thu Mar 6 14:10: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 DAA911065671; Thu, 6 Mar 2008 14:10:56 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AFF2D8FC23; Thu, 6 Mar 2008 14:10:56 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26EAuWa098984; Thu, 6 Mar 2008 14:10:56 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26EAuTQ098983; Thu, 6 Mar 2008 14:10:56 GMT (envelope-from mtm) Message-Id: <200803061410.m26EAuTQ098983@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 6 Mar 2008 14:10:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/usr.sbin/adduser adduser.8 adduser.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 14:10:57 -0000 mtm 2008-03-06 14:10:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/adduser adduser.8 adduser.sh Log: MFC: rev. 1.32 Add the -M command-line option, which will set home directory permissions. Works both in interactive or batch mode. This is a heavily modified version of the patch submitted in the PR. PR: bin/105060 Revision Changes Path 1.59.2.2 +5 -1 src/usr.sbin/adduser/adduser.8 1.30.2.2 +40 -1 src/usr.sbin/adduser/adduser.sh From owner-cvs-src@FreeBSD.ORG Thu Mar 6 14:13: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 A00941065670; Thu, 6 Mar 2008 14:13:11 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7596B8FC15; Thu, 6 Mar 2008 14:13:11 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26EDBfl099075; Thu, 6 Mar 2008 14:13:11 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26EDBHT099074; Thu, 6 Mar 2008 14:13:11 GMT (envelope-from mtm) Message-Id: <200803061413.m26EDBHT099074@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 6 Mar 2008 14:13:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/adduser adduser.8 adduser.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 14:13:11 -0000 mtm 2008-03-06 14:13:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/adduser adduser.8 adduser.sh Log: MFC: rev. 1.32 Add the -M command-line option, which will set home directory permissions. Works both in interactive or batch mode. This is a heavily modified version of the patch submitted in the PR. PR: bin/105060 Revision Changes Path 1.55.8.3 +5 -1 src/usr.sbin/adduser/adduser.8 1.26.2.5 +40 -1 src/usr.sbin/adduser/adduser.sh From owner-cvs-src@FreeBSD.ORG Thu Mar 6 14:39: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 2B209106566B; Thu, 6 Mar 2008 14:39:34 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 00A428FC20; Thu, 6 Mar 2008 14:39:34 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26EdX6f000123; Thu, 6 Mar 2008 14:39:33 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26EdXP3000122; Thu, 6 Mar 2008 14:39:33 GMT (envelope-from mtm) Message-Id: <200803061439.m26EdXP3000122@repoman.freebsd.org> From: Mike Makonnen Date: Thu, 6 Mar 2008 14:39: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/etc/rc.d mountcritlocal mountlate X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 14:39:34 -0000 mtm 2008-03-06 14:39:33 UTC FreeBSD src repository Modified files: etc/rc.d mountcritlocal mountlate Log: The check for errors from the mount command did not work as intended because another command (echo) is executed between the mount command and the check. Reported by: Sergey Baturov MFC after: 2 weeks Revision Changes Path 1.16 +4 -1 src/etc/rc.d/mountcritlocal 1.3 +4 -1 src/etc/rc.d/mountlate From owner-cvs-src@FreeBSD.ORG Thu Mar 6 15:02: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 786D3106566B; Thu, 6 Mar 2008 15:02:11 +0000 (UTC) (envelope-from ghelmer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4DD248FC19; Thu, 6 Mar 2008 15:02:11 +0000 (UTC) (envelope-from ghelmer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26F26Ta005270; Thu, 6 Mar 2008 15:02:11 GMT (envelope-from ghelmer@repoman.freebsd.org) Received: (from ghelmer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26F26wY005269; Thu, 6 Mar 2008 15:02:06 GMT (envelope-from ghelmer) Message-Id: <200803061502.m26F26wY005269@repoman.freebsd.org> From: Guy Helmer Date: Thu, 6 Mar 2008 15:02: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/usr.bin/uniq uniq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 15:02:11 -0000 ghelmer 2008-03-06 15:02:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/uniq uniq.c Log: MFH: 1.30 Fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. PR: bin/76578 Revision Changes Path 1.29.2.1 +61 -15 src/usr.bin/uniq/uniq.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 15:07: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 AFE541065673; Thu, 6 Mar 2008 15:07:37 +0000 (UTC) (envelope-from ghelmer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8585D8FC16; Thu, 6 Mar 2008 15:07:37 +0000 (UTC) (envelope-from ghelmer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26F7b1l009628; Thu, 6 Mar 2008 15:07:37 GMT (envelope-from ghelmer@repoman.freebsd.org) Received: (from ghelmer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26F7bY1009627; Thu, 6 Mar 2008 15:07:37 GMT (envelope-from ghelmer) Message-Id: <200803061507.m26F7bY1009627@repoman.freebsd.org> From: Guy Helmer Date: Thu, 6 Mar 2008 15:07: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/usr.bin/uniq uniq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 15:07:37 -0000 ghelmer 2008-03-06 15:07:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/uniq uniq.c Log: MFC: 1.30 Fix truncation of lines at LINE_MAX characters by dynamically extending line buffers. PR: bin/76578 Revision Changes Path 1.26.2.1 +61 -15 src/usr.bin/uniq/uniq.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 15:14: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 EBBA3106566C; Thu, 6 Mar 2008 15:14:36 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DB5128FC15; Thu, 6 Mar 2008 15:14:36 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26FEavL009852; Thu, 6 Mar 2008 15:14:36 GMT (envelope-from scf@repoman.freebsd.org) Received: (from scf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26FEar3009851; Thu, 6 Mar 2008 15:14:36 GMT (envelope-from scf) Message-Id: <200803061514.m26FEar3009851@repoman.freebsd.org> From: Sean Farley Date: Thu, 6 Mar 2008 15:14: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/lib/libc/stdlib getenv.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 15:14:37 -0000 scf 2008-03-06 15:14:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/stdlib getenv.c Log: MFC: Replace the use of warnx() with direct output to stderr using _write(). This reduces the size of a statically-linked binary by approximately 100KB in a trivial "return (0)" test application. readelf -S was used to verify that the .text section was reduced and that using strlen() saved a few more bytes over using sizeof(). Since the section of code is only called when environ is corrupt (program bug), I went with fewer bytes over fewer cycles. I made minor edits to the submitted patch to make the output resemble warnx(). src/lib/libc/stdlib/getenv.c: rev 1.12 -> 1.13 Submitted by: kib bz Approved by: wes (mentor) Revision Changes Path 1.12.2.1 +36 -12 src/lib/libc/stdlib/getenv.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 16: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 5EB871065675; Thu, 6 Mar 2008 16:59:39 +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 33FD68FC19; Thu, 6 Mar 2008 16:59:39 +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 m26GxdKs024333; Thu, 6 Mar 2008 16:59:39 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26Gxcgj024332; Thu, 6 Mar 2008 16:59:38 GMT (envelope-from marcel) Message-Id: <200803061659.m26Gxcgj024332@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 6 Mar 2008 16:59: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/powerpc/include pcpu.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, 06 Mar 2008 16:59:39 -0000 marcel 2008-03-06 16:59:37 UTC FreeBSD src repository Modified files: sys/powerpc/include pcpu.h Log: Add a catch-all for PCPU_MD_FIELDS. While we expect this to be used in the kernel only (by virtue of checking for _KERNEL), ports like lsof (part of gtop) cheat. It sets _KERNEL, but does not set either AIM or E500. As such, PCPU_MD_FIELDS didn't get defined and the build broke. The catch-all is to define PCPU_MD_FIELDS with a dummy integer when at the end of line we ended up without a definition for it. Revision Changes Path 1.26 +7 -0 src/sys/powerpc/include/pcpu.h From owner-cvs-src@FreeBSD.ORG Thu Mar 6 17:24: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 7B8C5106566B; Thu, 6 Mar 2008 17:24:28 +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 6B6178FC1A; Thu, 6 Mar 2008 17:24:28 +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 m26HOSlC026402; Thu, 6 Mar 2008 17:24:28 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26HOSPO026401; Thu, 6 Mar 2008 17:24:28 GMT (envelope-from marcel) Message-Id: <200803061724.m26HOSPO026401@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 6 Mar 2008 17:24:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys pcpu.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, 06 Mar 2008 17:24:28 -0000 marcel 2008-03-06 17:24:28 UTC FreeBSD src repository Modified files: sys/sys pcpu.h Log: Move the PCPU_MD_FIELDS last in struct pcpu. While this header is private to the kernel, some ports define _KERNEL and include this header. While arguably this is wrong, it's also reality. By having the MD fields last, architectures that have CPU-specific variations of PCPU_MD_FIELDS will at least have the MI fields at a constant offset. Of course, having all MI fields first helps kernel debugging as well, so this is not a change without some benefits to us. This change does not result in an ABI breakage, because this header is not part of the ABI. Recompilation of lsof is required though :-) Revision Changes Path 1.26 +11 -1 src/sys/sys/pcpu.h From owner-cvs-src@FreeBSD.ORG Thu Mar 6 19:02: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 AFEFD1065674; Thu, 6 Mar 2008 19:02:37 +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 85C978FC15; Thu, 6 Mar 2008 19:02:37 +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 m26J2b6g031934; Thu, 6 Mar 2008 19:02:37 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26J2bl8031933; Thu, 6 Mar 2008 19:02:37 GMT (envelope-from thompsa) Message-Id: <200803061902.m26J2bl8031933@repoman.freebsd.org> From: Andrew Thompson Date: Thu, 6 Mar 2008 19:02: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/net if_gif.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 19:02:37 -0000 thompsa 2008-03-06 19:02:37 UTC FreeBSD src repository Modified files: sys/net if_gif.c Log: Improve EtherIP interaction with the bridge - Set M_BCAST|M_MCAST for incoming frames - Send the frame to a local interface if the bridge returns the mbuf Submitted by: Eugene Grosbein Tested by: Boris Kochergin Revision Changes Path 1.68 +30 -2 src/sys/net/if_gif.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 20:11: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 9DDDC106566B; Thu, 6 Mar 2008 20:11:25 +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 73C078FC1D; Thu, 6 Mar 2008 20:11:25 +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 m26KBPn7036637; Thu, 6 Mar 2008 20:11:25 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26KBPIW036636; Thu, 6 Mar 2008 20:11:25 GMT (envelope-from jeff) Message-Id: <200803062011.m26KBPIW036636@repoman.freebsd.org> From: Jeff Roberson Date: Thu, 6 Mar 2008 20:11:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/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: Thu, 06 Mar 2008 20:11:25 -0000 jeff 2008-03-06 20:11:25 UTC FreeBSD src repository Modified files: sys/kern kern_cpuset.c Log: - Add a missing unlock to cpuset_setaffinity(CPU_LEVEL_CPUSET, CPU_WHICH_PID) Found by: gallatin Revision Changes Path 1.4 +1 -0 src/sys/kern/kern_cpuset.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 21:42: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 63D521065678; Thu, 6 Mar 2008 21:42:49 +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 399338FC1F; Thu, 6 Mar 2008 21:42:49 +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 m26Lgnnk051582; Thu, 6 Mar 2008 21:42:49 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26Lgn0i051581; Thu, 6 Mar 2008 21:42:49 GMT (envelope-from jhb) Message-Id: <200803062142.m26Lgn0i051581@repoman.freebsd.org> From: John Baldwin Date: Thu, 6 Mar 2008 21:42: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/bge if_bge.c if_bgereg.h src/sys/dev/mii brgphy.c 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: Thu, 06 Mar 2008 21:42:49 -0000 jhb 2008-03-06 21:42:48 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c if_bgereg.h sys/dev/mii brgphy.c miidevs Log: Flesh out support for the BCM5722 by recognizing the phy on the 5722 and the specific ASIC revision. MFC after: 1 week Obtained from: OpenBSD (mii/phy bits) Revision Changes Path 1.203 +1 -0 src/sys/dev/bge/if_bge.c 1.76 +1 -0 src/sys/dev/bge/if_bgereg.h 1.73 +2 -1 src/sys/dev/mii/brgphy.c 1.51 +1 -0 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Thu Mar 6 21:43: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 DC88E1065670; Thu, 6 Mar 2008 21:43:57 +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 B2B708FC16; Thu, 6 Mar 2008 21:43:57 +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 m26Lhv2x051630; Thu, 6 Mar 2008 21:43:57 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26LhvaG051629; Thu, 6 Mar 2008 21:43:57 GMT (envelope-from jhb) Message-Id: <200803062143.m26LhvaG051629@repoman.freebsd.org> From: John Baldwin Date: Thu, 6 Mar 2008 21:43: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/sys/boot/i386/pxeldr pxeldr.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: Thu, 06 Mar 2008 21:43:58 -0000 jhb 2008-03-06 21:43:56 UTC FreeBSD src repository Modified files: sys/boot/i386/pxeldr pxeldr.S Log: In the PROBE_KEYBOARD case, always enable multiple consoles and set the serial console as the primary console if the keyboard probe fails. MFC after: 1 week Revision Changes Path 1.16 +4 -2 src/sys/boot/i386/pxeldr/pxeldr.S From owner-cvs-src@FreeBSD.ORG Thu Mar 6 21: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 834161065673; Thu, 6 Mar 2008 21:48:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 59AC58FC18; Thu, 6 Mar 2008 21:48:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26LmYKB051858; Thu, 6 Mar 2008 21:48:34 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26LmYat051857; Thu, 6 Mar 2008 21:48:34 GMT (envelope-from jhb) Message-Id: <200803062148.m26LmYat051857@repoman.freebsd.org> From: John Baldwin Date: Thu, 6 Mar 2008 21:48: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/dev/bge if_bgereg.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, 06 Mar 2008 21:48:34 -0000 jhb 2008-03-06 21:48:34 UTC FreeBSD src repository Modified files: sys/dev/bge if_bgereg.h Log: Style tweak to the 5722 chipid to match the rest of this file. Revision Changes Path 1.77 +1 -1 src/sys/dev/bge/if_bgereg.h From owner-cvs-src@FreeBSD.ORG Thu Mar 6 21:50: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 833101065674; Thu, 6 Mar 2008 21:50:41 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 71FFC8FC17; Thu, 6 Mar 2008 21:50:41 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26Lofhr051980; Thu, 6 Mar 2008 21:50:41 GMT (envelope-from piso@repoman.freebsd.org) Received: (from piso@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26Lofth051979; Thu, 6 Mar 2008 21:50:41 GMT (envelope-from piso) Message-Id: <200803062150.m26Lofth051979@repoman.freebsd.org> From: Paolo Pisati Date: Thu, 6 Mar 2008 21:50: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/netinet/libalias alias.c alias_db.c alias_ftp.c alias_irc.c alias_local.h alias_proxy.c alias_smedia.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 21:50:41 -0000 piso 2008-03-06 21:50:41 UTC FreeBSD src repository Modified files: sys/netinet/libalias alias.c alias_db.c alias_ftp.c alias_irc.c alias_local.h alias_proxy.c alias_smedia.c Log: MFP4: restrict the utilization of direct pointers to the content of ip packet. These modifications are functionally nop()s thus can be merged with no side effects. Revision Changes Path 1.59 +29 -30 src/sys/netinet/libalias/alias.c 1.72 +11 -23 src/sys/netinet/libalias/alias_db.c 1.30 +4 -2 src/sys/netinet/libalias/alias_ftp.c 1.24 +4 -2 src/sys/netinet/libalias/alias_irc.c 1.35 +7 -5 src/sys/netinet/libalias/alias_local.h 1.32 +8 -13 src/sys/netinet/libalias/alias_proxy.c 1.18 +4 -2 src/sys/netinet/libalias/alias_smedia.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 21:59: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 0AEEE1065676; Thu, 6 Mar 2008 21:59:48 +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 D4F348FC2D; Thu, 6 Mar 2008 21:59:47 +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 m26Lxl34052364; Thu, 6 Mar 2008 21:59:47 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26LxlUc052363; Thu, 6 Mar 2008 21:59:47 GMT (envelope-from cognet) Message-Id: <200803062159.m26LxlUc052363@repoman.freebsd.org> From: Olivier Houchard Date: Thu, 6 Mar 2008 21:59: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/arm/arm pmap.c src/sys/arm/include pmap.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, 06 Mar 2008 21:59:48 -0000 cognet 2008-03-06 21:59:47 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c sys/arm/include pmap.h Log: Remove unused pv_list_count from the vm_page, and pm_count from the struct pmap. Submitted by: Mark Tinguely Revision Changes Path 1.99 +0 -4 src/sys/arm/arm/pmap.c 1.29 +0 -2 src/sys/arm/include/pmap.h From owner-cvs-src@FreeBSD.ORG Thu Mar 6 22:27: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 D4F231065670; Thu, 6 Mar 2008 22:27:35 +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 AB5358FC1F; Thu, 6 Mar 2008 22:27:35 +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 m26MRZ5G055386; Thu, 6 Mar 2008 22:27:35 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26MRZVO055385; Thu, 6 Mar 2008 22:27:35 GMT (envelope-from cognet) Message-Id: <200803062227.m26MRZVO055385@repoman.freebsd.org> From: Olivier Houchard Date: Thu, 6 Mar 2008 22:27:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/arm uio_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, 06 Mar 2008 22:27:36 -0000 cognet 2008-03-06 22:27:35 UTC FreeBSD src repository Modified files: sys/arm/arm uio_machdep.c Log: MFi386: revision 1.6 date: 2004/08/21 18:50:34; author: alc; state: Exp; lines: +3 -1 Properly free the temporary sf_buf in uiomove_fromphys() if a copyin or copyout fails. Obtained from: DragonFlyBSD Spotted out by: Mark Tinguely MFC After: 3 days Revision Changes Path 1.6 +3 -1 src/sys/arm/arm/uio_machdep.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 22:57: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 197BF1065670; Thu, 6 Mar 2008 22:57:04 +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 E3A5D8FC17; Thu, 6 Mar 2008 22:57:03 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26Mv34F056410; Thu, 6 Mar 2008 22:57:03 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26Mv32F056409; Thu, 6 Mar 2008 22:57:03 GMT (envelope-from csjp) Message-Id: <200803062257.m26Mv32F056409@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Thu, 6 Mar 2008 22:57: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/security/audit audit_syscalls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Mar 2008 22:57:04 -0000 csjp 2008-03-06 22:57:03 UTC FreeBSD src repository Modified files: sys/security/audit audit_syscalls.c Log: Change auditon(2) so that if somebody supplies an invalid command, it returns EINVAL. Right now we return 0 or success for invalid commands, which could be quite problematic in certain conditions. MFC after: 1 week Discussed with: rwatson Revision Changes Path 1.25 +3 -0 src/sys/security/audit/audit_syscalls.c From owner-cvs-src@FreeBSD.ORG Thu Mar 6 23:05: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 E8D6C1065672; Thu, 6 Mar 2008 23:05:15 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA198FC14; Thu, 6 Mar 2008 23:05:15 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m26N5BQt020600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 10:05:13 +1100 Date: Fri, 7 Mar 2008 10:05:11 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Colin Percival In-Reply-To: <47CF9586.70707@freebsd.org> Message-ID: <20080307085031.P10724@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> <47CF9586.70707@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Peter Jeremy , src-committers@freebsd.org, Bruce Evans , cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 23:05:16 -0000 Eek, my mailbox filled up overnight. Trying to reply to only some details in LIFO order... On Wed, 5 Mar 2008, Colin Percival wrote: > David Schultz wrote: >> On Wed, Mar 05, 2008, Colin Percival wrote: >>> Setting the i387 FPU to 53-bit precision gives standards-compliant >>> behaviour whether people are using "double" or "long double". >> >> Not quite. > > How is it not standards-compliant? > >>> Yes and no. Double rounding isn't allowed; >> >> Yes, it is. > > No, it isn't. The following code Yes it is :-). Extra precision for intermediate values implies double rounding for the final results, and extra precision for intermediate values is a fundamental part of C (it used to be only that float expressions were (de-facto standard required to be) evaluated in double precision, but now it affects double expressions too, and C99 has vast complications to support i387'-ish extra precision. > double x, y, z; > > x = 1.0; > y = 0x1.0p-53 + 0x1.0p-75; > z = x + y; > z = z - 1.0; > if (z == 0.0) > printf("BUGGY MATH\n"); > else > printf("IEEE754-COMPLIANT MATH\n"); > > should never output "BUGGY MATH", since x + y should round up to > 1 + 2^(-52); but if you set the i387 to use extended precision, it > gets the wrong answer. In C, with FLT_EVAL_METHOD = 2 (evaluate all FP expressions in the range and precision of the long double type) and long doubles actually longer than doubles, this always gives double rounding: x + y is evaluated (and presumably rounded) in long double precision z = x + y rounds to double precision (but with gcc-i386, it doesn't round) (-O0 happens to work to fix this) (the -ffloat-store hack happens to work to fix this) z is now 1.0 except with gcc-i386 -O -fno-float-store when it is 1.0L + 0x1.0p-53L. z - 1.0 is evaluated in long double precision z = z - 1.0 rounds to double precision (except with gcc-i386...) z is now 0.0, except with gcc-i386 -O -fno-float-store it is 0x1.0p-53L if (z == 0.0) fails to detect the bug for gcc-i386 -O -fno-float-store since z is still long double and nonzero Another advantage of using double_t is that you can control when the double rounding occurs and not have to understand so many sub-cases from the compiler bugs. The result is then always 0x1.0p-53L (if double_t is long double, etc.), and if you want a double result then you can round as the last step. The result is then 0x1.0p-53. You don't get the double precision result of 0x1.0p-52, but you get a more accurate result. Extra precision is of course intended to deliver a more accurate result in this way. This assumes 64-bit precision. With 113-bit precision for long doubles, all intermediate values and the result would be exact; the result would be y. It seems to be impossible to choose y to demonstrate the problem for 113-bit long doubles. We see a similar phenomenon for floats vs doubles -- since the extra precision provided by doubles is actually (more than) double, double rounding never (?) occurs. Extended precision should have had more than 64 bits. I think it is mainly the result of Intel's transistor budget being limited 30 years ago. >>>> The downside is that this breaks long doubles. >>> Except that it doesn't. Using 53-bit precision for long doubles is >>> a perfectly valid and standards-compliant option. >> >> It's impossible to implement efficient library functions that >> produce correct long double results > > You could have stopped this sentence here -- for all practical purposes, > correctly rounded trigonometric functions are not feasible. Nah, it's quite feasible, especially for transcendental functions since transcendental numbers in general can be approximated more closely by rationals than algebraic numbers. The evaluation just needs to be done in extra precision, and at least for trig functions, "in general" happens in practice so relatively few cases require significant extra precision. With extra precision in hardware, all except the relatively few cases can even be implemented efficiently. >> when the FPU is set to 64-bit >> mode and avoid double rounding and related problems when the FPU >> is set to 53-bit mode. > > Fortunately, library functions aren't required to have any particular > error bounds. It's always nice if they are correct to within 0.6ulp > instead of 0.8ulp or suchlike -- but nobody should be proving code > correctness based on assumed properties of library transcendental > functions. People should, and do, prove code correct based on the > assumption that double precision arithmetic behaves like double precision > arithmetic, however (myself included). We require error bounds of < 1 ulp and aim for < 0.5[0]1 ulps. Error bounds are required for everything. E.g., libm uses expm1() to implement hyperbolic functions and needs good error bounds for expm1() and a nontrivial error analysis to justify using it (since the error can blow up and would blow up if exp(x)-1 were used instead of expm1(x)), yet it still has an error of > 1 ulp since expm1() and other things aren't accurate enough. Bruce From owner-cvs-src@FreeBSD.ORG Thu Mar 6 23:24: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 17AC21065671; Thu, 6 Mar 2008 23:24:31 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail03.syd.optusnet.com.au (mail03.syd.optusnet.com.au [211.29.132.184]) by mx1.freebsd.org (Postfix) with ESMTP id F01B28FC13; Thu, 6 Mar 2008 23:24:24 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail03.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m26NOMoB022146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 10:24:23 +1100 Date: Fri, 7 Mar 2008 10:24:22 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: David Schultz In-Reply-To: <20080306063746.GC48339@zim.MIT.EDU> Message-ID: <20080307100713.I10724@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <20080306062301.GX68971@server.vk2pj.dyndns.org> <20080306063746.GC48339@zim.MIT.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, Peter Jeremy , cvs-all@freebsd.org, Bruce Evans , Colin Percival , cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 06 Mar 2008 23:24:31 -0000 On Thu, 6 Mar 2008, David Schultz wrote: > On Thu, Mar 06, 2008, Peter Jeremy wrote: >> On Wed, Mar 05, 2008 at 10:32:46PM -0500, David Schultz wrote: >>> gcc doesn't get any of this right. FreeBSD/i386 fixes the problem >>> for /doubles/ by setting the i387 to use 53-bit precision. >> Note that FreeBSD/amd64 does not do this when running i386 binaries >> so you can get discrepancies between running the same program natively >> vs running it in compatibility mode. On my list of things to fix. > Good point. I don't think i386 ever got fixed to do the > appropriate mode change for Linux binaries, either, BTW. Actually, someone named das fixed this on 2005/02/06 in rev.1.136 of i386/linux/linux_sysvec.c, but the fix is buggy -- it accesses the i387 directly and thus causes npxdna() traps which should cause panics since direct access to the i387 is not permitted (it should use npxinit(), which was originally for the corresponding initialization in setregs() but is no longer used there since the normal initialization is now virtual). Bruce From owner-cvs-src@FreeBSD.ORG Fri Mar 7 00:01: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 885B6106566C; Fri, 7 Mar 2008 00:01:19 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 78F428FC16; Fri, 7 Mar 2008 00:01:19 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2701J1c059854; Fri, 7 Mar 2008 00:01:19 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2701Jdm059853; Fri, 7 Mar 2008 00:01:19 GMT (envelope-from delphij) Message-Id: <200803070001.m2701Jdm059853@repoman.freebsd.org> From: Xin LI Date: Fri, 7 Mar 2008 00:01: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/usr.bin/chat chat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 00:01:19 -0000 delphij 2008-03-07 00:01:19 UTC FreeBSD src repository Modified files: usr.bin/chat chat.c Log: Merge revisions 1.10 and 1.11 from DragonFly: - Use real getopt() handling instead of the hand-rolled and IOCCC-worthy "Micro getopt()" macros, plus clean up to the option handling code: * Sort the options in the switch statement; * Plug piddling memory leaks when processing repeated options by freeing strings before allocating them for a second time; * Die with a fatal error if the requested report file cannot be opened for appending; * Don't call init() before usage() (to prevent the usage message being mangled by changes to the terminal settings;) - Clean up the usage message, both in usage() and in the main program comment, both stylistically (sort and combine options) and for accuracy (following the manual page, make note of the -s and -S flags, and use the term 'send' instead of 'say' to reduce confusion (SAY is the name of a command for output to the user, not the connection.)) Obtained from: DragonFly Revision Changes Path 1.22 +61 -68 src/usr.bin/chat/chat.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 00:01: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 82A3E1065687; Fri, 7 Mar 2008 00:01:24 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D7C18FC1A; Fri, 7 Mar 2008 00:01:24 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2701O74059881; Fri, 7 Mar 2008 00:01:24 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from jkim@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2701Orc059880; Fri, 7 Mar 2008 00:01:24 GMT (envelope-from jkim) Message-Id: <200803070001.m2701Orc059880@repoman.freebsd.org> From: Jung-uk Kim Date: Fri, 7 Mar 2008 00:01: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/usr.sbin/moused moused.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 00:01:24 -0000 jkim 2008-03-07 00:01:24 UTC FreeBSD src repository Modified files: usr.sbin/moused moused.c Log: Use intmax_t instead of long when casting time_t. Suggested by: mlaier Tested with: make universe Revision Changes Path 1.83 +4 -3 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 00:18: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 A4E411065671 for ; Fri, 7 Mar 2008 00:18:27 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo1so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 799038FC13 for ; Fri, 7 Mar 2008 00:18:27 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr6so.prod.shaw.ca (pd3mr6so-qfe3.prod.shaw.ca [10.0.141.21]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXC00M393HL8ME0@l-daemon> for cvs-src@freebsd.org; Thu, 06 Mar 2008 17:17:45 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd3mr6so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXC006J53HJVN70@pd3mr6so.prod.shaw.ca> for cvs-src@freebsd.org; Thu, 06 Mar 2008 17:17:45 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JXC00M4X3HHDT60@l-daemon> for cvs-src@freebsd.org; Thu, 06 Mar 2008 17:17:43 -0700 (MST) Received: (qmail 1975 invoked from network); Fri, 07 Mar 2008 00:17:40 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Fri, 07 Mar 2008 00:17:40 +0000 Date: Thu, 06 Mar 2008 16:17:40 -0800 From: Colin Percival In-reply-to: <20080307085031.P10724@delplex.bde.org> To: Bruce Evans Message-id: <47D089A4.4060208@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 8BIT X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> <47CF9586.70707@freebsd.org> <20080307085031.P10724@delplex.bde.org> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 00:18:27 -0000 Bruce Evans wrote: > On Wed, 5 Mar 2008, Colin Percival wrote: >> David Schultz wrote: >>> On Wed, Mar 05, 2008, Colin Percival wrote: >>>> Yes and no. Double rounding isn't allowed; >>> >>> Yes, it is. >> >> No, it isn't. The following code > > Yes it is :-). Extra precision for intermediate values implies double > rounding for the final results, and extra precision for intermediate > values is a fundamental part of C (it used to be only that float > expressions were (de-facto standard required to be) evaluated in double > precision, but now it affects double expressions too, and C99 has vast > complications to support i387'-ish extra precision. Let me clarify: Double rounding isn't allowed by IEEE754. To quote from the October 5th draft of IEEE 754R (which I happen to have in front of me right now): 5.1 Overview All conforming implementations of this standard shall provide the operations listed in this clause for all supported floating-point formats available for arithmetic. Each of the computational operations that return a numeric result specified by this standard shall be performed as if it first produced an intermediate result correct to infinite precision and with unbounded range, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ and then rounded that intermediate result to fit in the destination’s format ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is clarified further in clause 10: 10.1 Expression evaluation rules Clause 5 of this standard specifies the result of a single arithmetic operation going to an explicit destination. Every operation has an explicit or implicit destination. One rounding occurs to fit the exact result into a ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ destination format. That result is reproducible in that the same operation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ applied to the same operands under the same attributes produces the same ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ result on all conforming implementations in all languages. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Programming language standards might define syntax for expressions that combine one or more operations of this standard, producing a result to fit an explicit or implicit final destination. When a variable with a declared format ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ is a final destination, as in format conversion to a variable, that declared ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ format of that variable governs its rounding. The format of an implicit ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ destination, or of an explicit destination without a declared format, is defined by language standard expression evaluation rules. In other words, in the code double x, y, z; z = x * y + 1.0; it is perfectly legal for (x * y) to be computed with extra precision; but in the code double x, y, z; z = x * y; z = z - 1.0; both the multiplication and the subtraction must be rounded *once* to double precision. > In C, with FLT_EVAL_METHOD = 2 (evaluate all FP expressions in the range > and precision of the long double type) [...] As someone wrote earlier, the authors of C99 were a bit confused. I can only assume that they intended to be IEEE754-compliant and the rules concerning FLT_EVAL_METHOD apply to *implicit* destinations only. >>> It's impossible to implement efficient library functions that >>> produce correct long double results >> >> You could have stopped this sentence here -- for all practical purposes, >> correctly rounded trigonometric functions are not feasible. > > Nah, it's quite feasible, especially for transcendental functions since > transcendental numbers in general can be approximated more closely by > rationals than algebraic numbers. In fact, one of the common ways to prove that a real number is transcendental is to show that it can be approximated more closely by rationals than any algebraic function can be. > The evaluation just needs to be > done in extra precision How much extra precision do you need? If the exact value of a transcendental function is extremely close to halfway between two consecutive floating-point values, how do you decide which way to round it? Computing transcendental functions to within (0.5+x)ulp for small positive values of x is certainly feasible, but computing provably correctly rounded transcendental functions is very very hard. >> Fortunately, library functions aren't required to have any particular >> error bounds. > > We require error bounds of < 1 ulp and aim for < 0.5[0]1 ulps. What standard states that those bounds are required (or can be relied upon when proving that code is correct)? Intel FPUs over the years have been variously documented to compute transcendental functions to within 1.0, 2.5, or 3.5 ulp -- are you saying that the 8087 doesn't comply with the standard which it inspired? Colin Percival From owner-cvs-src@FreeBSD.ORG Fri Mar 7 01:21: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 23472106566C; Fri, 7 Mar 2008 01:21:52 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD6A8FC18; Fri, 7 Mar 2008 01:21:51 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m271LiP1011987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 12:21:46 +1100 Date: Fri, 7 Mar 2008 12:21:44 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Colin Percival In-Reply-To: <47CF8161.1060202@freebsd.org> Message-ID: <20080307104437.C11033@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305230954.X55190@odysseus.silby.com> <47CF8161.1060202@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, Mike Silbersack , src-committers@freebsd.org, Bruce Evans , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 01:21:52 -0000 On Wed, 5 Mar 2008, Colin Percival wrote: > Mike Silbersack wrote: >> On Wed, 5 Mar 2008, Bruce Evans wrote: >>> Change float_t and double_t to long double on i386. All floating point >> >> 1) Does this really change every double to a long double in anything >> compiled? > > No, it changes double_t (which is not the same as double). > >> 2) How does this affect ABI compatibility? > > This breaks ABI compatibility (when people use float_t or double_t). Only if float_t or double_t is actually used in an ABI. Such use is dubious since these types are like the int_fastN_t types they are the most efficient types that are at least as wide as float, double and intN_t, respectively. They aren't very suitable for anything except intermediate values in registers. I know of one useful use for them in ABIs: to work around the following bug in the C standard (C99 at least): a function returning double is permitted to return extra precision, and this is sometimes useful, but C perversely requires extra precision to be lost on return iff the function is implemented using double_t so as to ensure that extra precision is not lost internally. E.g.: double xp1(double x) { return x + 1.0; } This is permitted to evaluate x + 1.0 in extra precision and then is required (?) (at least permitted) to return the extra precision. double xp1(double x) { double_t tmp1 = x, tmp2 = 1.0; return tmp1 + tmp2; } If double_t has more precision than double, then (1) this evaluates x + 1.0 in extra precision. double_t is only used to emphasize this. In a more practical example. There would be many more temporary intermediate variables and we should use double_t for them all to prevent loss of precision on assignment. (2) This is required to lose the extra precision on return. To avoid the loss of precision on return, the simplest method is to change the ABI to return double_t instead of double. Since we really want to return the extra precision, this is not wrong. However, it may be prevented by API and ABI considerations. Note that on i386, all functions that are declared to return float or double actually return a long double, so declaring them as actually returning a long double is only an API change, but it will significantly affect the callers due to this alone (callers will actually know that they are getting a long double and may generate extra code to either discard or keep the extra precision which may or may not be present). Why did no one complain when I fixed float_t on amd64 and some other non-i386 arches? :-) This changed the ABI as a side effect. >> 3) How does this change the operation of various programs in the ports >> tree that use floating point, such as mplayer, mpg123, etc. Will this >> cause different behavior when these apps are used on FreeBSD vs other >> operating systems? > > Most code in the ports tree will be using double instead of double_t, and > will consequently not be affected. Code which uses double_t will be slower > due to the increased cost of loads and stores, and may produce different > output if it changes the i387 precision flags. I hope nothing actually uses float_t or double_t. They are esoteric and are still too broken in FreeBSD to trust. I'm changing them mainly because I want to be able to trust them for use in libm, without using extensive ifdefs which would amount to replacing them by non-broken versions for libm's internal use only. > At the moment, FreeBSD behaves the same way as Microsoft Windows and C99, > and differently from Linux: Linux sets the i387 by default to extended > precision, Does Windows and its compilers still default to non-extended precision and thus less than null support for long doubles? 20 years ago, this seemed to be normal for DOS compilers (though I never tested it on a Microsoft one), and I was happy to keep it in 386BSD in 1992 and FreeBSD later. In 386BSD, it was apparently inherited from ibcs2. Anyway, gcc didn't really support long doubles until 1993 or 1994. IIRC, Linux started in 1991 with the default of extended precision, and I was responsible for getting this changed to non-extended precision. Then when gcc started supporting long doubles, Linux changed the default back to extended precision, as is necessary but not sufficient for long doubles to work. Microsoft would have been more constrained by backwards compatibilty but should have changed by now. Maybe it is a compiler option (default = old in Windows?). > which has the result of decreasing the average rounding error > while increasing the maximum rounding error (due to double rounding when > values which were internally rounded to extended precision are rounded > to double precision later) and sometimes breaking code entirely (when > the properties of floating-point rounding are used deliberately, e.g., > to rapidly round a floating-point value to the nearest integer). I've only found double rounding to be a minor problem. It gives an error of at most 0.5 ulps, which isn't usually a problem. Breakage of the properties of floating point is mostly due to compiler bugs (assignments and casts don't work). However, fixing assignment requires large pessimizations. They used to be not so large, but now gcc's optimizer is reasonably good they are very large. So I now think that it is a bug in the C standard to require assignments and casts to discard extra precision. This should be implementation-defined, with some other standard method for discarding extra precision. One of the first things I need a non-broken float_t for is rapid rounding to the nearest [fraction of] an integer, without doing extra work to discard extra precision. E.g.: to round a non-huge float to the nearest integer, the fastest method is often: float f, result; result = f + 0x1.8pN - 0x1.8pN; where N is: FLT_MANT_DIG - 1 if float_t is float DBL_MANT_DIG - 1 if float_t is double LDBL_MANT_DIG - 1 if float_t is long double This is painful to configure if float_t is unknown or wrong. (It is still moderately painful with float_t only a type since it is hard to ifdef on a type. I would like to be able to write the N as FLT_T_MANT_DIG-1 and not have to use magic to build a literal out of it.) This depends on float_t being either float, or on float FLT_MANT_DIG being much smaller than FLT_T_MANT_DIG, else double rounding may be a problem. This method is already used, with double instead of float, for arg reduction in trig functions. There double rounding can occur but isn't a problem. It currently has N hard-coded as DBL_MANT_DIG-1. This assumes that double_t is never really long double (it still works when with my change to declare double_t as long double on i386, since long double isn't really long double -- N = DBL_MANT_DIG-1 still works, but N = LDBL_MANT_DIG-1 wouldn't work). > I've answered queries from some mathematicians and scientists who were > confused as to why they were seeing higher rounding errors on FreeBSD and > Windows than they were on Linux; but when I've explained the behavioural > differences to numerical analysts, the universal reaction I've received > has been "dear god, Linux does WHAT?" -- oddly enough, mathematicians like > to think that proving that their code is correct will be enough to ensure > that it will produce correct output. Most code isn't proved to be correct. It's impossible for numeric code written and proved by non-numerical-analysts and impractical for large code written by anyone. Extended precision is supposed to reduce the risks from this, and it seems to help in most cases. Unfortunately, extended precision isn't implemented in SSE, so even Linux on i386's now doesn't have it when the i386's are in amd64 mode, so extended precision no longer occurs automatically, and using it (by using long doubles explicitly) costs more than ever since it lives in a different register set. Bruce From owner-cvs-src@FreeBSD.ORG Fri Mar 7 01:39: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 609451065675; Fri, 7 Mar 2008 01:39:53 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.freebsd.org (Postfix) with ESMTP id D52C58FC21; Fri, 7 Mar 2008 01:39:52 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail15.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m271dmxU032382 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 12:39:49 +1100 Date: Fri, 7 Mar 2008 12:39:48 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Mike Silbersack In-Reply-To: <20080305230954.X55190@odysseus.silby.com> Message-ID: <20080307122252.Y11033@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305230954.X55190@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Bruce Evans , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 01:39:53 -0000 On Wed, 5 Mar 2008, Mike Silbersack wrote: > On Wed, 5 Mar 2008, Bruce Evans wrote: >> Change float_t and double_t to long double on i386. All floating point > > For those of us who are not floating point experts, can you explain a few > things? Other points replied to separately. > As I've said in the past, I'd really, really, really like to see regression > tests for any change to the floating point functions. The types of changes > you've been making are not easy to verify just by looking at diffs. I run local regression tests of 4 billon to 64 billion cases per function or 1.3 trillion cases for 125 functions a 36-hour run on a 2.2HGz UP system. These are not well organized enough for commit. You will have to trust that they are done before commit (or after on some other machines) :-). I mostly use semi-exhaustive (exhaustive for 1-arg float precision functions) checks on machine-generated args. This seems to find problems more routinely than smarter tests, up to at least double precision. das@ committed some smarter tests. OTOH, I barely tested the changes to float_t and double_t. These types are so rarely used that they are never used in /usr/src, at least in my old src tree, except for my uncommitted changes in libm parts. Bruce From owner-cvs-src@FreeBSD.ORG Fri Mar 7 02:22: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 315BC1065674; Fri, 7 Mar 2008 02:22:54 +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 B229E8FC16; Fri, 7 Mar 2008 02:22:53 +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 m272OGdW054373; Thu, 6 Mar 2008 21:24:16 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m272OG0n054372; Thu, 6 Mar 2008 21:24:16 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 6 Mar 2008 21:24:16 -0500 From: David Schultz To: Colin Percival Message-ID: <20080307022416.GA53988@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> <47CF9586.70707@freebsd.org> <20080307085031.P10724@delplex.bde.org> <47D089A4.4060208@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47D089A4.4060208@freebsd.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Bruce Evans , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 02:22:54 -0000 On Thu, Mar 06, 2008, Colin Percival wrote: > explicit or implicit final destination. When a variable with a declared format > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > is a final destination, as in format conversion to a variable, that declared > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > format of that variable governs its rounding. The format of an implicit > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > destination, or of an explicit destination without a declared format, is > defined by language standard expression evaluation rules. I think you missed the point about implicit destinations. See the part I quoted in the last email I sent you. The point is that in an expression like 'z = x * y', there are two operations: register <-- x * y z <-- register The register is an implicit destination. IEEE 754R explains this in more detail. All that is guaranteed in this case is that the wider register value is never substituted for z in subsequent operations. (This is part of what gcc gets wrong.) > > In C, with FLT_EVAL_METHOD = 2 (evaluate all FP expressions in the range > > and precision of the long double type) [...] > > As someone wrote earlier, the authors of C99 were a bit confused. I can only > assume that they intended to be IEEE754-compliant and the rules concerning > FLT_EVAL_METHOD apply to *implicit* destinations only. No, they got that part right. They got some of the stuff with function arguments and return values wrong in some pretty special and bizarre ways. Part of this is trying to cope with existing calling conventions, and part of it is just mistakes. > > We require error bounds of < 1 ulp and aim for < 0.5[0]1 ulps. > > What standard states that those bounds are required (or can be relied upon > when proving that code is correct)? Intel FPUs over the years have been > variously documented to compute transcendental functions to within 1.0, 2.5, > or 3.5 ulp -- are you saying that the 8087 doesn't comply with the standard > which it inspired? There's no standard requirements, but a max error < 0.50x ulps implies correct rounding nearly all of the time, and that's what libm attempts to provide. This is about the best you can do without resorting to multiprecision arithmetic in the hard cases, so it seems like a good tradeoff between accuracy and ease of implementation. When substantially faster and slightly less accurate MD implementations are available, that changes the tradeoff. From owner-cvs-src@FreeBSD.ORG Fri Mar 7 02:52: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 D38A51065695 for ; Fri, 7 Mar 2008 02:52:06 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo3so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id A75978FC1B for ; Fri, 7 Mar 2008 02:52:06 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-qfe3.prod.shaw.ca [10.0.141.177]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JXC00M32AMU6RD0@l-daemon> for cvs-src@FreeBSD.ORG; Thu, 06 Mar 2008 19:52:06 -0700 (MST) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd3mr1so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JXC009HFAMUAJ10@pd3mr1so.prod.shaw.ca> for cvs-src@FreeBSD.ORG; Thu, 06 Mar 2008 19:52:06 -0700 (MST) Received: from hexahedron.daemonology.net ([24.80.10.198]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JXC0050ZAMMAT00@l-daemon> for cvs-src@FreeBSD.ORG; Thu, 06 Mar 2008 19:52:05 -0700 (MST) Received: (qmail 2427 invoked from network); Fri, 07 Mar 2008 02:51:58 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Fri, 07 Mar 2008 02:51:58 +0000 Date: Thu, 06 Mar 2008 18:51:58 -0800 From: Colin Percival In-reply-to: <20080307022416.GA53988@zim.MIT.EDU> To: Colin Percival , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG Message-id: <47D0ADCE.2070405@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.5 References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> <47CF9586.70707@freebsd.org> <20080307085031.P10724@delplex.bde.org> <47D089A4.4060208@freebsd.org> <20080307022416.GA53988@zim.MIT.EDU> User-Agent: Thunderbird 2.0.0.9 (X11/20071117) Cc: Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 02:52:07 -0000 David Schultz wrote: > On Thu, Mar 06, 2008, Colin Percival wrote: >> explicit or implicit final destination. When a variable with a declared format >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> is a final destination, as in format conversion to a variable, that declared >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> format of that variable governs its rounding. The format of an implicit >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> destination, or of an explicit destination without a declared format, is >> defined by language standard expression evaluation rules. > > I think you missed the point about implicit destinations. No. Another quote: 2.2.14 destination: The location for the result of an operation upon one or more operands. A destination might be either explicitly designated by the user or implicitly supplied by the system (for example, intermediate results in subexpressions or arguments for procedures). [...] Implicit destinations are things like the (x * y) in "x * y - 1.0" or in "sqrt(x * y)". > The register is an implicit destination. IEEE 754R explains this > in more detail. Really? I can't find any such statements... quite the contrary. > All that is guaranteed in this case is that the > wider register value is never substituted for z in subsequent > operations. (This is part of what gcc gets wrong.) If IEEE754R intended that "z = x + y" with x, y, and z all doubles did not guarantee reproducible results across compliant platforms, why does it say exactly the opposite? >> What standard states that those bounds are required (or can be relied upon >> when proving that code is correct)? [...] > > There's no standard requirements, but a max error < 0.50x ulps > implies correct rounding nearly all of the time, and that's what > libm attempts to provide. This is about the best you can do > without resorting to multiprecision arithmetic in the hard cases, > so it seems like a good tradeoff between accuracy and ease of > implementation. When substantially faster and slightly less > accurate MD implementations are available, that changes the > tradeoff. Sure. As I said before, more accurate transcendental functions are always nice to have, but they are not *required* by any standard. Correctly-rounded arithmetic operations *are* required. Colin Percival From owner-cvs-src@FreeBSD.ORG Fri Mar 7 02: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 998A01065673; Fri, 7 Mar 2008 02:57:16 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id 307308FC22; Fri, 7 Mar 2008 02:57:15 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m272vBm2029737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 13:57:13 +1100 Date: Fri, 7 Mar 2008 13:57:11 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: David Schultz In-Reply-To: <20080306021222.GA46783@zim.MIT.EDU> Message-ID: <20080307125559.M11320@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, Peter Jeremy , cvs-all@freebsd.org, Bruce Evans , Colin Percival , cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 02:57:16 -0000 On Wed, 5 Mar 2008, David Schultz wrote: > On Wed, Mar 05, 2008, Colin Percival wrote: >> Bruce Evans wrote: >>> Modified files: >>> sys/i386/include _types.h >>> Log: >>> Change float_t and double_t to long double on i386. >> >> Doesn't this have a rather severe performance impact on any code which >> uses double_t? > > Yes, if the code is compiled with -msse2. Otherwise, doubles get > fed to the i387 anyway. Not even then. Doubles get fed to the i387 anyway in many cases (in most cases I think). One exception is double to int conversion -- this uses SSE2 so as to avoid a slow mode switch (cvtsd2si always rounds towards 0, while the default i386 mode rounds to nearest; otherwise it would be the SSE code that is slower). Adds of doubles normally go through the i387 (I've never seen an exception to this). > Technically Bruce's change isn't wrong without changing the > default precision, it's just rather pointless. It isn't pointless, since the default is only the default. Changing it using fpsetprec() has been supported in FreeBSD since 1993, and before that it required 2 lines of asm. My change gives double_t a chance of working right when the default is changed at runtime. While such changes are not really supported, there is no need to force them to be broken. > (Why tell programs > to store variables in a wider format if you're just going to > evaluate them in a narrower format anyway?) After fpsetprec(FP_PE): (1) the evaluation is not in a narrower format. (2) I use double_t when I hope that the variable will stay in a register and not cost a store (3) when I store to a double, it is obviously narrower on i386, and the compiler is tricked into doing the store correctly without using something like STRICT_ASSIGN(). STRICT_ASSIGN() uses a volatile hack which makes it potentially slower than an ordinary assignment, and currently doesn't support this mode. Irrespective of fpsetprec(FP_PE): (1)' - (3)' for float_t vs float precision. float_t just needs to be double for this. Using long double costs little and is technically half required even with the default precision, since the range is almost that of a long double. (The different range affects at least overflow exceptions.) (3)'' I can write code that is more portable and don't need to pessimize all uses of STRICT_ALIGN() on doubles by supporting full long double precision everywhere. Code that supports extra precision (either by a runtime switch or a change in the default) can use double_t and code that doesn't care or doesn't understand the complications can keep using plain double. > So I guess I agree > that if we're going to go down this path, we ought to just bite > the bullet and change npx.h and contrib/gcc/config/i386/freebsd.h > to use 64-bit precision by default on i386. I hope to do that in a non-revolutionary way. Bruce From owner-cvs-src@FreeBSD.ORG Fri Mar 7 03:41: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 59B3D1065671; Fri, 7 Mar 2008 03:41:16 +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 DF47C8FC1D; Fri, 7 Mar 2008 03:41:15 +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 m273gdXI054767; Thu, 6 Mar 2008 22:42:39 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m273gdVR054766; Thu, 6 Mar 2008 22:42:39 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 6 Mar 2008 22:42:39 -0500 From: David Schultz To: Colin Percival Message-ID: <20080307034239.GA54694@zim.MIT.EDU> Mail-Followup-To: Colin Percival , Bruce Evans , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> <47CF9586.70707@freebsd.org> <20080307085031.P10724@delplex.bde.org> <47D089A4.4060208@freebsd.org> <20080307022416.GA53988@zim.MIT.EDU> <47D0ADCE.2070405@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47D0ADCE.2070405@freebsd.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Bruce Evans , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 03:41:16 -0000 On Thu, Mar 06, 2008, Colin Percival wrote: > David Schultz wrote: > > On Thu, Mar 06, 2008, Colin Percival wrote: > >> explicit or implicit final destination. When a variable with a declared format > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >> is a final destination, as in format conversion to a variable, that declared > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >> format of that variable governs its rounding. The format of an implicit > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >> destination, or of an explicit destination without a declared format, is > >> defined by language standard expression evaluation rules. > > > > I think you missed the point about implicit destinations. > > No. Another quote: > 2.2.14 destination: The location for the result of an operation upon one or > more operands. A destination might be either explicitly designated by the user > or implicitly supplied by the system (for example, intermediate results in > subexpressions or arguments for procedures). [...] > > Implicit destinations are things like the (x * y) in "x * y - 1.0" or in > "sqrt(x * y)". > > > The register is an implicit destination. IEEE 754R explains this > > in more detail. > > Really? I can't find any such statements... quite the contrary. When reading the above quotation, you need to keep in mind that in their terminology, 'z = x + y' is an expression and 'x + y' is a subexpression. What you're claiming doesn't even make sense. With your rules, the 'x * y' in 'k = x * y - 1.0' could be evaluated with extra precision, the '- 1.0' would be forced to machine precision, and you'd still have double rounding on the multiply. This really *isn't* what they meant. Look, please have a careful look at section 10.2. This is a really busy week for me, and I don't have the inclination to continue this discussion if you keep sniping. From owner-cvs-src@FreeBSD.ORG Fri Mar 7 04:26: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 A97861065670; Fri, 7 Mar 2008 04:26:40 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.freebsd.org (Postfix) with ESMTP id 4220F8FC12; Fri, 7 Mar 2008 04:26:40 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m274QZMf006276 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 15:26:36 +1100 Date: Fri, 7 Mar 2008 15:26:35 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Colin Percival In-Reply-To: <47CF5AE8.2090101@freebsd.org> Message-ID: <20080307135800.V11489@delplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <47CE8396.6020803@freebsd.org> <20080306095645.V7605@delplex.bde.org> <47CF5AE8.2090101@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org, Bruce Evans , Bruce Evans Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 04:26:40 -0000 On Wed, 5 Mar 2008, Colin Percival wrote: > Bruce Evans wrote: >> On Wed, 5 Mar 2008, Colin Percival wrote: >>> Bruce Evans wrote: >>>> Change float_t and double_t to long double on i386. >>> >>> Doesn't this have a rather severe performance impact on any code which >>> uses double_t? >> >> No. As mentioned in the commit message, this has no performance effect >> except in cases where it avoids compiler bugs. [...] if you use long double >> for memory variables then you get a severe performance impact and some >> space loss for the load instruction, since loading long doubles is >> much slower than loading doubles (about 4 times slower on Athlons). > > Either I'm misunderstanding something, or you seem to be disagreeing with > yourself here... if I have the following code > > double_t foo, bar, foobar; > foobar = foo + bar; > > then prior to this change the processor loads and stores doubles, while > after this change the processor loads and stores long doubles, with the > associated performance penalty. Low quality code might do that :-). Hmm, I thought that these types were intended to be used to avoid loss of precision in intermediate values, and thus should only be used in code that wants the extra precision at a possible cost in efficiency, but C99 (n869.txt draft) doesn't say exactly this, and a footnote (which is not part of the standard) says that they are trhe most efficient types that are wider than the basic types. It specifies them fully if FLT_EVAL_METHOD is 0, 1 or 2, but weird machines like i386 with 53-bit default precision plus compiler bugs must define FLT_EVAL_METHOD as -1. Then these types are implementation-defined and are not specifically required to be wider than the evaluation method types. I think they should be specifically required to be the most efficient types wider than the evaluation method types. Back to performance penalties... It is extremely unclear what are the most efficient types. Your example is too simple for there to be any stores if double_t is long double: > double_t foo, bar, foobar; > foobar = foo + bar; o Efficiency of double_t for foo and bar depends on where they came from. If they are long doubles in memory initially here, then loading them is slow. If they are in registers initially here, then there is no load to worry about and their type doesn't matter from now on, but their type may have affected previous loads and stores like subsequent use of foobar will (see below). o foo + bar is evaluated in registers (except i386 also allows adds from a value in memory to a value in a register if the memory type is not long double). It essentially has type long double, perhaps rounded to 53-bit or 24-bit precision. o Assignment to foobar requires a conversion from long double to double_t. If double_t is long double, then this conversion is null and foobar normally stays in the register. Otherwise, the conversion is not null, but it won't be done here since all the variables have type double_t and the compiler doesn't really know the type of result of the addition (it thinks that double + double gives double). A C compiler would know that the result is long double and always do the conversion if double_t is only double. o Here is an example of why a conversion is necessary on i386 unless all types are long double: double x = DBL_MAX, y = DBL_MAX, z; z = DBL_MAX + DBL_MAX; // should be +Inf/FE_OVERFLOW but is 2.0L*DBL_MAX z = z - DBL_MAX; // should be +Inf/FE_OVERFLOW but is 1.0L*DBL_MAX The extra range of a long double gives this. 53-bit precision doesn't affect it, and a conversion on assignment is still strictly needed to give the correct results for the intermediate and final z. z = DBL_MAX + DBL_MAX - DBL_MAX; Now both DBL_MAX and +Inf/FE_OVERFLOW are correct results, depending on where double expressions are evaluated with extra range. o Now we have a double_t foobar, reloaded into a register if that is useful, and can probably use it as either a double or a long double at no extra cost, but if double_t is double and the compiler is a C compiler, then converting foobar to a double always cost a lot and usually wasted its extra range if not its extra precision. We should probably have used double_t throughout to avoid this... o .. however, if we use double_t too much, then it will be used for memory variables and the loads and stores for these will cost more than conversions to double and reloads. o However2, someday when 64-bit precision is supported, using double_t will be especially important for memory variables, to prevent unintended loss of precision. Bruce From owner-cvs-src@FreeBSD.ORG Fri Mar 7 04:55: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 793BC1065670; Fri, 7 Mar 2008 04:55:59 +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 69FB38FC20; Fri, 7 Mar 2008 04:55:59 +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 m274txp2094540; Fri, 7 Mar 2008 04:55:59 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m274txUv094539; Fri, 7 Mar 2008 04:55:59 GMT (envelope-from yongari) Message-Id: <200803070455.m274txUv094539@repoman.freebsd.org> From: Pyun YongHyeon Date: Fri, 7 Mar 2008 04:55: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/dev/msk if_msk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 04:55:59 -0000 yongari 2008-03-07 04:55:58 UTC FreeBSD src repository Modified files: sys/dev/msk if_msk.c Log: To overcome hardware checksum offload bug msk(4) used to compute TCP/UDP checksum in driver for short frames. For frames that requires hardware VLAN tag insertion, the checksum offload trick does not work due to changes of checksum offset in mbuf after the VLAN tag. Disable hardware checksum offload for VLAN interface to fix the bug. Reported by: Christopher Cowart < ccowart AT rescomp DOT berkeley DOT edu > Tested by: Christopher Cowart < ccowart AT rescomp DOT berkeley DOT edu > MFC after: 5 days Revision Changes Path 1.30 +6 -2 src/sys/dev/msk/if_msk.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 06:22: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 A245A1065676; Fri, 7 Mar 2008 06:22:26 +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 2C1898FC35; Fri, 7 Mar 2008 06:22:25 +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 m276MLDJ005534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Mar 2008 17:22:21 +1100 Date: Fri, 7 Mar 2008 17:22:20 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Colin Percival In-Reply-To: <47D089A4.4060208@freebsd.org> Message-ID: <20080307163246.J22709@besplex.bde.org> References: <200803051121.m25BLE03035426@repoman.freebsd.org> <20080305182531.GS68971@server.vk2pj.dyndns.org> <20080306021222.GA46783@zim.MIT.EDU> <47CF5D19.3090100@freebsd.org> <20080306033246.GA47280@zim.MIT.EDU> <47CF7EBF.6000009@freebsd.org> <20080306063452.GB48339@zim.MIT.EDU> <47CF9586.70707@freebsd.org> <20080307085031.P10724@delplex.bde.org> <47D089A4.4060208@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Bruce Evans , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include _types.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, 07 Mar 2008 06:22:27 -0000 On Thu, 6 Mar 2008, Colin Percival wrote: > Bruce Evans wrote: >> On Wed, 5 Mar 2008, Colin Percival wrote: >>> You could have stopped this sentence here -- for all practical purposes, >>> correctly rounded trigonometric functions are not feasible. >> >> Nah, it's quite feasible, especially for transcendental functions since >> transcendental numbers in general can be approximated more closely by >> rationals than algebraic numbers. > > In fact, one of the common ways to prove that a real number is transcendental > is to show that it can be approximated more closely by rationals than any > algebraic function can be. I've only studied a few pages related to this. >> The evaluation just needs to be >> done in extra precision > > How much extra precision do you need? If the exact value of a transcendental > function is extremely close to halfway between two consecutive floating-point > values, how do you decide which way to round it? Probably not much more than the same number of extra bits as there are in the original precision. Values of trig functions mod 2^N are apparently sort of uniformly distributed. Thus each extra bit of precision gives correct rounding for about half of the remaining cases and N extra bits gives correct rounding for about 2^N cases, which is all cases if there were only 2^N cases to start with. This works out in practice for float precision -- with about 24 bits of extra precision, all except about 10 cases are perfectly rounded, and it is easy to evaluate those cases in extra precision to see that only a few more bits are needed. If the exact value is very close to half-way then you may need many more bits but would be unlucky to need many more. AFAIK (not far), no one knows exactly how many bits are needed for the worst case for even double precision. The domain is just too large to search (almost 2^64 bits). However, the large size of the domain means that very-near- half-way cases are very unlikely to occur in practice, so calling a slow multi-precision library to handle such cases would be a good way to handle them and sending mail about them would be a not so good way. But detecting such cases is too costly to do routinely, at least without hardware support. > Computing transcendental functions to within (0.5+x)ulp for small positive > values of x is certainly feasible, but computing provably correctly rounded > transcendental functions is very very hard. I think it is only very hard globally and for general functions. Elementary transcendental functions like exp() have rational coefficients and well-known properties which make them easier to bound. >>> Fortunately, library functions aren't required to have any particular >>> error bounds. >> >> We require error bounds of < 1 ulp and aim for < 0.5[0]1 ulps. > > What standard states that those bounds are required (or can be relied upon > when proving that code is correct)? Just the principle of least error. > Intel FPUs over the years have been > variously documented to compute transcendental functions to within 1.0, 2.5, > or 3.5 ulp -- are you saying that the 8087 doesn't comply with the standard > which it inspired? I didn't say that before, but in fact the ix87 has always had multi-gulp errors where its docs indicate errors of < 1 ulp, mainly for trig functions. Its trig functions can't possibly have errors of < 1 ulp, since its approximation to pi has only 66-68 bits, but an approximation with thousands of bits is needed (see libm). Multi-gulp errors occur as early as for x near pi/2 in 64-bit precision, since subtracting a 64-bit x near pi/2 from a 66 or 68 bit approx to pi/2 gives about 2 or 4 bits of accuracy or about 62 or 60 bits of error. 2^60 is about 1 exa-ulp (10^9 gulps). The errors are much larger for larger x, and give multi-gulp errors even for float precision for not very large x. Backwards compatibility has apparently resulted in these errors being perfectly preserved in all implementations of the ix87. Other ix87 errors are relatively minor AFAIK. E.g., exp(x) is not implemented directly in hardware. It requires several imprecise calculations like x*log2(e), so the hardware is good enough for double precision but not for long double precision where I guess it has an error of a few ulps. It has to switch the mode to long double precision to be good enough for double precision. log(x) is implemented more directly in hardware and I guess it has an error of about 1 ulp in long double precision. Bruce From owner-cvs-src@FreeBSD.ORG Fri Mar 7 09:29: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 951441065672; Fri, 7 Mar 2008 09:29:21 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6ACC58FC17; Fri, 7 Mar 2008 09:29:21 +0000 (UTC) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m279TLZa020794; Fri, 7 Mar 2008 09:29:21 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m279TLGM020793; Fri, 7 Mar 2008 09:29:21 GMT (envelope-from sos) Message-Id: <200803070929.m279TLGM020793@repoman.freebsd.org> From: Søren Schmidt Date: Fri, 7 Mar 2008 09:29: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/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: Fri, 07 Mar 2008 09:29:21 -0000 sos 2008-03-07 09:29:20 UTC FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c ata-pci.h Log: Add proper support for the SATA/AHCI part of IXP[67]00 Revision Changes Path 1.212 +22 -12 src/sys/dev/ata/ata-chipset.c 1.83 +6 -0 src/sys/dev/ata/ata-pci.h From owner-cvs-src@FreeBSD.ORG Fri Mar 7 09:33: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 17FDF106566C; Fri, 7 Mar 2008 09:33:30 +0000 (UTC) (envelope-from syrinx@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 076DD8FC2E; Fri, 7 Mar 2008 09:33:30 +0000 (UTC) (envelope-from syrinx@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m279XTtQ021101; Fri, 7 Mar 2008 09:33:29 GMT (envelope-from syrinx@repoman.freebsd.org) Received: (from syrinx@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m279XTD1021100; Fri, 7 Mar 2008 09:33:29 GMT (envelope-from syrinx) Message-Id: <200803070933.m279XTD1021100@repoman.freebsd.org> From: Shteryana Shopova Date: Fri, 7 Mar 2008 09:33:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: BEGEMOT Cc: Subject: cvs commit: src/contrib/bsnmp - Imported sources X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 09:33:30 -0000 syrinx 2008-03-07 09:33:29 UTC FreeBSD src repository src/contrib/bsnmp - Imported sources Update of /home/ncvs/src/contrib/bsnmp In directory repoman.freebsd.org:/tmp/cvs-serv20735 Log Message: Vendor patch: Prevent bsnmpd from dumping core when a module's init hook returns an error. Approved by: bz (mentor), harti Status: Vendor Tag: BEGEMOT Release Tags: syrinx_20080307_bugfix U src/contrib/bsnmp/Makefile.in U src/contrib/bsnmp/NEWS U src/contrib/bsnmp/README U src/contrib/bsnmp/TODO U src/contrib/bsnmp/VERSION U src/contrib/bsnmp/acinclude.m4 U src/contrib/bsnmp/aclocal.m4 U src/contrib/bsnmp/configure U src/contrib/bsnmp/configure.ac U src/contrib/bsnmp/oid-list U src/contrib/bsnmp/config/Makefile.build U src/contrib/bsnmp/config/Makefile.post U src/contrib/bsnmp/config/Makefile.pre U src/contrib/bsnmp/config/config.guess U src/contrib/bsnmp/config/config.sub U src/contrib/bsnmp/config/install.sh U src/contrib/bsnmp/config/ltmain.sh U src/contrib/bsnmp/config/mkinstalldirs U src/contrib/bsnmp/gensnmpdef/Makefile.in U src/contrib/bsnmp/gensnmpdef/gensnmpdef.1 U src/contrib/bsnmp/gensnmpdef/gensnmpdef.c U src/contrib/bsnmp/gensnmptree/Makefile.in U src/contrib/bsnmp/gensnmptree/gensnmptree.1 U src/contrib/bsnmp/gensnmptree/gensnmptree.c U src/contrib/bsnmp/lib/Makefile.in U src/contrib/bsnmp/lib/asn1.3 U src/contrib/bsnmp/lib/asn1.c U src/contrib/bsnmp/lib/asn1.h U src/contrib/bsnmp/lib/bsnmpagent.3 U src/contrib/bsnmp/lib/bsnmpclient.3 U src/contrib/bsnmp/lib/bsnmplib.3 U src/contrib/bsnmp/lib/snmp.c U src/contrib/bsnmp/lib/snmp.h U src/contrib/bsnmp/lib/snmpagent.c U src/contrib/bsnmp/lib/snmpagent.h U src/contrib/bsnmp/lib/snmpclient.c U src/contrib/bsnmp/lib/snmpclient.h U src/contrib/bsnmp/lib/snmppriv.h U src/contrib/bsnmp/lib/support.c U src/contrib/bsnmp/lib/support.h U src/contrib/bsnmp/snmp_mibII/BEGEMOT-IP-MIB.txt U src/contrib/bsnmp/snmp_mibII/BEGEMOT-MIB2-MIB.txt U src/contrib/bsnmp/snmp_mibII/mibII.c U src/contrib/bsnmp/snmp_mibII/mibII.h U src/contrib/bsnmp/snmp_mibII/mibII_begemot.c U src/contrib/bsnmp/snmp_mibII/mibII_ifmib.c U src/contrib/bsnmp/snmp_mibII/mibII_ifstack.c U src/contrib/bsnmp/snmp_mibII/mibII_interfaces.c U src/contrib/bsnmp/snmp_mibII/mibII_ip.c U src/contrib/bsnmp/snmp_mibII/mibII_ipaddr.c U src/contrib/bsnmp/snmp_mibII/mibII_nettomedia.c U src/contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c U src/contrib/bsnmp/snmp_mibII/mibII_route.c U src/contrib/bsnmp/snmp_mibII/mibII_tcp.c U src/contrib/bsnmp/snmp_mibII/mibII_tree.def U src/contrib/bsnmp/snmp_mibII/mibII_udp.c U src/contrib/bsnmp/snmp_mibII/snmp_mibII.3 U src/contrib/bsnmp/snmp_mibII/snmp_mibII.h U src/contrib/bsnmp/snmp_ntp/BEGEMOT-NTP-MIB.txt U src/contrib/bsnmp/snmp_ntp/Makefile.in U src/contrib/bsnmp/snmp_ntp/NTP-MIB.txt U src/contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt U src/contrib/bsnmp/snmp_ntp/ntp_tree.def U src/contrib/bsnmp/snmp_ntp/snmp_ntp.c U src/contrib/bsnmp/snmpd/.gdbinit U src/contrib/bsnmp/snmpd/BEGEMOT-MIB.txt U src/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt U src/contrib/bsnmp/snmpd/FOKUS-MIB.txt U src/contrib/bsnmp/snmpd/Makefile.in U src/contrib/bsnmp/snmpd/action.c U src/contrib/bsnmp/snmpd/bsnmpd.1 U src/contrib/bsnmp/snmpd/config.c U src/contrib/bsnmp/snmpd/export.c U src/contrib/bsnmp/snmpd/main.c U src/contrib/bsnmp/snmpd/snmpd.config U src/contrib/bsnmp/snmpd/snmpd.h U src/contrib/bsnmp/snmpd/snmpd.sh U src/contrib/bsnmp/snmpd/snmpmod.3 U src/contrib/bsnmp/snmpd/snmpmod.h U src/contrib/bsnmp/snmpd/trans_lsock.c U src/contrib/bsnmp/snmpd/trans_lsock.h U src/contrib/bsnmp/snmpd/trans_udp.c U src/contrib/bsnmp/snmpd/trans_udp.h U src/contrib/bsnmp/snmpd/trap.c U src/contrib/bsnmp/snmpd/tree.def No conflicts created by this import From owner-cvs-src@FreeBSD.ORG Fri Mar 7 13:13: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 7F8B81065670; Fri, 7 Mar 2008 13:13:18 +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 542E38FC19; Fri, 7 Mar 2008 13:13:18 +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 m27DDIET044795; Fri, 7 Mar 2008 13:13:18 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27DDIhv044794; Fri, 7 Mar 2008 13:13:18 GMT (envelope-from rwatson) Message-Id: <200803071313.m27DDIhv044794@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 13:13: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/ddb db_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 13:13:18 -0000 rwatson 2008-03-07 13:13:18 UTC FreeBSD src repository Modified files: sys/ddb db_input.c Log: Reserve two bytes at the end of the DDB input line in db_readline() to hold the newline and nul terminator. Otherwise, there are cases where garbage may end up in the command history due to a lack of a nul terminator, or input may end up without room for a newline. MFC after: 3 days PR: 119079 Submitted by: Michael Plass Revision Changes Path 1.39 +4 -1 src/sys/ddb/db_input.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 13:36: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 7D7D5106566C; Fri, 7 Mar 2008 13:36:39 +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 6C84C8FC2B; Fri, 7 Mar 2008 13:36:39 +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 m27Dad18045914; Fri, 7 Mar 2008 13:36:39 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27DadeQ045913; Fri, 7 Mar 2008 13:36:39 GMT (envelope-from jhb) Message-Id: <200803071336.m27DadeQ045913@repoman.freebsd.org> From: John Baldwin Date: Fri, 7 Mar 2008 13:36: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/dev/agp agp_nvidia.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 13:36:39 -0000 jhb 2008-03-07 13:36:39 UTC FreeBSD src repository Modified files: sys/dev/agp agp_nvidia.c Log: Calculate the number of pages the GATT spans when reading from each page to flush the TLB instead of hardcoding a size of 33 pages. Apertures of 32MB and 64MB only use a 16 page GATT and an aperture of 128MB only uses a 32 page GATT, so without this the code could walk off the end of the pointer and cause a page fault if the next page was unmapped. Also, for aperture sizes > 128MB, not all of the pages would be read. The Linux driver has the same bug. MFC after: 1 week Tested by: Frédéric PRACA frederic.praca of freebsd-fr.org Revision Changes Path 1.14 +4 -3 src/sys/dev/agp/agp_nvidia.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 14:19: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 36AAA1065672; Fri, 7 Mar 2008 14:19:06 +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 1D0C28FC17; Fri, 7 Mar 2008 14:19:05 +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 69A451A4D84; Fri, 7 Mar 2008 06:18:35 -0800 (PST) From: John Baldwin To: Marcel Moolenaar Date: Fri, 7 Mar 2008 08:01:30 -0500 User-Agent: KMail/1.9.7 References: <200803061724.m26HOSPO026401@repoman.freebsd.org> In-Reply-To: <200803061724.m26HOSPO026401@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803070801.30460.jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys pcpu.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, 07 Mar 2008 14:19:06 -0000 On Thursday 06 March 2008 12:24:28 pm Marcel Moolenaar wrote: > marcel 2008-03-06 17:24:28 UTC > > FreeBSD src repository > > Modified files: > sys/sys pcpu.h > Log: > Move the PCPU_MD_FIELDS last in struct pcpu. While this header is > private to the kernel, some ports define _KERNEL and include this > header. While arguably this is wrong, it's also reality. By having > the MD fields last, architectures that have CPU-specific variations > of PCPU_MD_FIELDS will at least have the MI fields at a constant > offset. Of course, having all MI fields first helps kernel debugging > as well, so this is not a change without some benefits to us. > > This change does not result in an ABI breakage, because this header > is not part of the ABI. Recompilation of lsof is required though :-) It actually started out being the last "field" in the structure but some new fields were incorrectly added after it rather than before it. It might warrant a comment to prevent similar regressions in the future. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Fri Mar 7 14:26: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 9C6661065672; Fri, 7 Mar 2008 14:26:31 +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 70DBB8FC24; Fri, 7 Mar 2008 14:26:31 +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 m27EQVup049639; Fri, 7 Mar 2008 14:26:31 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27EQVMp049638; Fri, 7 Mar 2008 14:26:31 GMT (envelope-from rwatson) Message-Id: <200803071426.m27EQVMp049638@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 14:26: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/ddb db_command.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 14:26:31 -0000 rwatson 2008-03-07 14:26:31 UTC FreeBSD src repository Modified files: sys/ddb db_command.c Log: When killing a user process from DDB, check that the requested signal is > 0 rather than >= 0, or we will panic when trying to deliver the signal. MFC after: 3 days PR: 100802 Submitted by: Valerio Daelli Revision Changes Path 1.77 +1 -1 src/sys/ddb/db_command.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 14:58: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 6B101106566B; Fri, 7 Mar 2008 14:58:01 +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 3FD038FC17; Fri, 7 Mar 2008 14:58:01 +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 m27Ew1TT050654; Fri, 7 Mar 2008 14:58:01 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27Ew1l6050653; Fri, 7 Mar 2008 14:58:01 GMT (envelope-from remko) Message-Id: <200803071458.m27Ew1l6050653@repoman.freebsd.org> From: Remko Lodder Date: Fri, 7 Mar 2008 14:58: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/sys/dev/drm drm_pciids.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, 07 Mar 2008 14:58:01 -0000 remko 2008-03-07 14:58:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/drm drm_pciids.h Log: MFC rev 1.8 drm_pciids.h Add support for the 965GM. PR: kern/120978 Submitted by: Dominic Fandrey Approved by: imp (mentor, implicit), anholt (drm maintainer) MFC after: 3 days Approved by: imp (mentor, implicit) Revision Changes Path 1.7.2.1 +1 -0 src/sys/dev/drm/drm_pciids.h From owner-cvs-src@FreeBSD.ORG Fri Mar 7 14:58: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 86F351065673; Fri, 7 Mar 2008 14:58:50 +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 5BB4F8FC21; Fri, 7 Mar 2008 14:58:50 +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 m27Ewoiw050701; Fri, 7 Mar 2008 14:58:50 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27EwooY050700; Fri, 7 Mar 2008 14:58:50 GMT (envelope-from remko) Message-Id: <200803071458.m27EwooY050700@repoman.freebsd.org> From: Remko Lodder Date: Fri, 7 Mar 2008 14:58:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/drm drm_pciids.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, 07 Mar 2008 14:58:50 -0000 remko 2008-03-07 14:58:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/drm drm_pciids.h Log: MFC rev 1.8 drm_pciids.h Add support for the 965GM. PR: kern/120978 Submitted by: Dominic Fandrey Approved by: imp (mentor, implicit), anholt (drm maintainer) MFC after: 3 days Approved by: imp (mentor, implicit) Revision Changes Path 1.2.2.5 +1 -0 src/sys/dev/drm/drm_pciids.h From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15: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 5BF031065671; Fri, 7 Mar 2008 15:01:53 +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 30AA98FC18; Fri, 7 Mar 2008 15:01:53 +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 m27F1riT050862; Fri, 7 Mar 2008 15:01:53 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27F1rYD050861; Fri, 7 Mar 2008 15:01:53 GMT (envelope-from remko) Message-Id: <200803071501.m27F1rYD050861@repoman.freebsd.org> From: Remko Lodder Date: Fri, 7 Mar 2008 15:01:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libfetch common.c fetch.3 ftp.c http.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 15:01:53 -0000 remko 2008-03-07 15:01:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libfetch common.c fetch.3 ftp.c http.c Log: MFC libfetch from HEAD to RELENG_7 Approved by: imp (mentor, implicit), DES Glanced at by: des Revision Changes Path 1.50.10.2 +1 -1 src/lib/libfetch/common.c 1.63.2.2 +1 -1 src/lib/libfetch/fetch.3 1.96.2.3 +4 -4 src/lib/libfetch/ftp.c 1.78.2.2 +4 -3 src/lib/libfetch/http.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15:23: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 9996E106566B; Fri, 7 Mar 2008 15:23:33 +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 6E9518FC19; Fri, 7 Mar 2008 15:23:33 +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 m27FNXsN052932; Fri, 7 Mar 2008 15:23:33 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27FNXZ9052931; Fri, 7 Mar 2008 15:23:33 GMT (envelope-from remko) Message-Id: <200803071523.m27FNXZ9052931@repoman.freebsd.org> From: Remko Lodder Date: Fri, 7 Mar 2008 15:23:32 +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/usb usbdevs uscanner.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 15:23:33 -0000 remko 2008-03-07 15:23:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/usb usbdevs uscanner.c Log: MFC rev 1.340 usbdevs MFC rev 1.90 uscanner.c Add support for the EPSON CX5400 scanner PR: usb/120980 Submitted by: Christophe Etcheverry MFC after: 3 days Approved by: imp (mentor, implicit for trivial changes) Approved by: imp (mentor, implicit) Revision Changes Path 1.232.2.26 +1 -0 src/sys/dev/usb/usbdevs 1.63.2.8 +1 -0 src/sys/dev/usb/uscanner.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15:25: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 083E51065675; Fri, 7 Mar 2008 15:25:57 +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 CD7018FC27; Fri, 7 Mar 2008 15:25:56 +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 m27FPuqn053112; Fri, 7 Mar 2008 15:25:56 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27FPucC053111; Fri, 7 Mar 2008 15:25:56 GMT (envelope-from rwatson) Message-Id: <200803071525.m27FPucC053111@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 15:25:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/posix1e mac.c mac_exec.c mac_get.c mac_set.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 15:25:57 -0000 rwatson 2008-03-07 15:25:56 UTC FreeBSD src repository Modified files: lib/libc/posix1e mac.c mac_exec.c mac_get.c mac_set.c Log: Add __FBSDID() tags. MFC after: 3 days Revision Changes Path 1.13 +3 -2 src/lib/libc/posix1e/mac.c 1.3 +3 -2 src/lib/libc/posix1e/mac_exec.c 1.6 +3 -2 src/lib/libc/posix1e/mac_get.c 1.4 +3 -2 src/lib/libc/posix1e/mac_set.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15:26: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 94CDB1065680; Fri, 7 Mar 2008 15:26:41 +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 69CD98FC19; Fri, 7 Mar 2008 15:26:41 +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 m27FQfZV053172; Fri, 7 Mar 2008 15:26:41 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27FQf4x053171; Fri, 7 Mar 2008 15:26:41 GMT (envelope-from remko) Message-Id: <200803071526.m27FQf4x053171@repoman.freebsd.org> From: Remko Lodder Date: Fri, 7 Mar 2008 15:26:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/usb usbdevs uscanner.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 15:26:41 -0000 remko 2008-03-07 15:26:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb usbdevs uscanner.c Log: MFC rev 1.340 usbdevs MFC rev 1.90 uscanner.c Add support for the EPSON CX5400 scanner PR: usb/120980 Submitted by: Christophe Etcheverry MFC after: 3 days Approved by: imp (mentor, implicit for trivial changes) Approved by: imp (mentor, implicit) Revision Changes Path 1.328.2.4 +1 -0 src/sys/dev/usb/usbdevs 1.89.2.1 +1 -0 src/sys/dev/usb/uscanner.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15:27: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 331CB106566B; Fri, 7 Mar 2008 15:27:09 +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 082788FC1E; Fri, 7 Mar 2008 15:27: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 m27FR8m8053288; Fri, 7 Mar 2008 15:27:08 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27FR8ss053287; Fri, 7 Mar 2008 15:27:08 GMT (envelope-from rwatson) Message-Id: <200803071527.m27FR8ss053287@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 15:27: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/kern kern_priv.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 15:27:09 -0000 rwatson 2008-03-07 15:27:08 UTC FreeBSD src repository Modified files: sys/kern kern_priv.c Log: Add __FBSDID() tag. MFC after: 3 days Pointed out by: antoine Revision Changes Path 1.5 +3 -2 src/sys/kern/kern_priv.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15: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 5F860106566B; Fri, 7 Mar 2008 15:54:42 +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 346828FC1F; Fri, 7 Mar 2008 15:54:42 +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 m27FsgNU057346; Fri, 7 Mar 2008 15:54:42 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27FsgDs057345; Fri, 7 Mar 2008 15:54:42 GMT (envelope-from remko) Message-Id: <200803071554.m27FsgDs057345@repoman.freebsd.org> From: Remko Lodder Date: Fri, 7 Mar 2008 15:54:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/usb umass.c usbdevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 15:54:42 -0000 remko 2008-03-07 15:54:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/usb umass.c usbdevs Log: MFC rev 1.162 umass.c MFC rev 1.338 usbdevs Add support for the VIA USB2IDE bridge [1]. PR: usb/95173 Submitted by: Goegele Hannes Ben Kelly Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.160.2.1 +19 -0 src/sys/dev/usb/umass.c 1.328.2.5 +3 -0 src/sys/dev/usb/usbdevs From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15:56: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 6A10D106566B; Fri, 7 Mar 2008 15:56:20 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.78]) by mx1.freebsd.org (Postfix) with ESMTP id 4C89F8FC17; Fri, 7 Mar 2008 15:56:20 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp007-s [10.150.69.70]) by smtpoutm.mac.com (Xserve/smtpout015/MantshX 4.0) with ESMTP id m27FuKGv010225; Fri, 7 Mar 2008 07:56:20 -0800 (PST) Received: from [192.168.1.100] (209-128-86-226.bayarea.net [209.128.86.226]) (authenticated bits=0) by mac.com (Xserve/asmtp007/MantshX 4.0) with ESMTP id m27FuHtj021027 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Mar 2008 07:56:17 -0800 (PST) Message-Id: <17C624F8-3233-49E6-8235-30F8B06C6513@mac.com> From: Marcel Moolenaar To: John Baldwin In-Reply-To: <200803070801.30460.jhb@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: Fri, 7 Mar 2008 07:56:10 -0800 References: <200803061724.m26HOSPO026401@repoman.freebsd.org> <200803070801.30460.jhb@freebsd.org> X-Mailer: Apple Mail (2.919.2) Cc: cvs-src@freebsd.org, Marcel Moolenaar , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys pcpu.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, 07 Mar 2008 15:56:20 -0000 On Mar 7, 2008, at 5:01 AM, John Baldwin wrote: > On Thursday 06 March 2008 12:24:28 pm Marcel Moolenaar wrote: >> marcel 2008-03-06 17:24:28 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/sys pcpu.h >> Log: >> Move the PCPU_MD_FIELDS last in struct pcpu. While this header is >> private to the kernel, some ports define _KERNEL and include this >> header. While arguably this is wrong, it's also reality. By having >> the MD fields last, architectures that have CPU-specific variations >> of PCPU_MD_FIELDS will at least have the MI fields at a constant >> offset. Of course, having all MI fields first helps kernel >> debugging >> as well, so this is not a change without some benefits to us. >> >> This change does not result in an ABI breakage, because this header >> is not part of the ABI. Recompilation of lsof is required though :-) > > It actually started out being the last "field" in the structure but > some new > fields were incorrectly added after it rather than before it. It > might > warrant a comment to prevent similar regressions in the future. > > -- > John Baldwin -- Marcel Moolenaar xcllnt@mac.com From owner-cvs-src@FreeBSD.ORG Fri Mar 7 15:58: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 43429106566B; Fri, 7 Mar 2008 15:58:18 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.73]) by mx1.freebsd.org (Postfix) with ESMTP id 25ACB8FC17; Fri, 7 Mar 2008 15:58:17 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp010-s [10.150.69.73]) by smtpoutm.mac.com (Xserve/smtpout010/MantshX 4.0) with ESMTP id m27FwHae019850; Fri, 7 Mar 2008 07:58:17 -0800 (PST) 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 m27FwEJh003529 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 7 Mar 2008 07:58:15 -0800 (PST) Message-Id: <195BED5E-661B-4AC4-8302-59BEC71708A6@mac.com> From: Marcel Moolenaar To: Marcel Moolenaar In-Reply-To: <17C624F8-3233-49E6-8235-30F8B06C6513@mac.com> 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: Fri, 7 Mar 2008 07:58:12 -0800 References: <200803061724.m26HOSPO026401@repoman.freebsd.org> <200803070801.30460.jhb@freebsd.org> <17C624F8-3233-49E6-8235-30F8B06C6513@mac.com> X-Mailer: Apple Mail (2.919.2) Cc: cvs-src@freebsd.org, Marcel Moolenaar , src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin Subject: Re: cvs commit: src/sys/sys pcpu.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, 07 Mar 2008 15:58:18 -0000 On Mar 7, 2008, at 7:56 AM, Marcel Moolenaar wrote: >> It actually started out being the last "field" in the structure but >> some new >> fields were incorrectly added after it rather than before it. It >> might >> warrant a comment to prevent similar regressions in the future. >> > > What I was about to say is that I agree about the comment and did add one as part of the change... -- Marcel Moolenaar xcllnt@mac.com From owner-cvs-src@FreeBSD.ORG Fri Mar 7 16:00: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 0183E106566B; Fri, 7 Mar 2008 16:00:30 +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 CA4518FC15; Fri, 7 Mar 2008 16:00:29 +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 m27G0Twh057628; Fri, 7 Mar 2008 16:00:29 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27G0Shk057627; Fri, 7 Mar 2008 16:00:28 GMT (envelope-from remko) Message-Id: <200803071600.m27G0Shk057627@repoman.freebsd.org> From: Remko Lodder Date: Fri, 7 Mar 2008 16:00:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/usb umass.c usbdevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 16:00:30 -0000 remko 2008-03-07 16:00:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/usb umass.c usbdevs Log: MFC rev 1.162 umass.c MFC rev 1.338 usbdevs Add support for the VIA USB2IDE bridge [1]. PR: usb/95173 Submitted by: Goegele Hannes Ben Kelly Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week Approved by: imp (mentor, implicit) Revision Changes Path 1.122.2.13 +19 -0 src/sys/dev/usb/umass.c 1.232.2.27 +3 -0 src/sys/dev/usb/usbdevs From owner-cvs-src@FreeBSD.ORG Fri Mar 7 16:00: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 2FCA7106566B; Fri, 7 Mar 2008 16:00:45 +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 04D628FC25; Fri, 7 Mar 2008 16:00:45 +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 m27G0iom057678; Fri, 7 Mar 2008 16:00:44 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27G0iKq057677; Fri, 7 Mar 2008 16:00:44 GMT (envelope-from rwatson) Message-Id: <200803071600.m27G0iKq057677@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 16:00: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/net if.c if_ethersubr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 16:00:45 -0000 rwatson 2008-03-07 16:00:44 UTC FreeBSD src repository Modified files: sys/net if.c if_ethersubr.c Log: Move IFF_NEEDSGIANT warning from if_ethersubr.c to if.c so it is displayed for all network interfaces, not just ethernet-like ones. Upgrade it to a louder WARNING and be explicit that the flag is obsolete. Support for IFF_NEEDSGIANT will be removed in a few months (see arch@ for details) and will not appear in 8.0. Upgrade if_watchdog to a WARNING. Revision Changes Path 1.275 +5 -1 src/sys/net/if.c 1.241 +0 -2 src/sys/net/if_ethersubr.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 16:29: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 5B83C1065681; Fri, 7 Mar 2008 16:29:42 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id 195898FC14; Fri, 7 Mar 2008 16:29:41 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from [195.64.94.120] (helo=elvandar.local) by websrv01.jr-hosting.nl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JXf2q-000PNZ-9N; Fri, 07 Mar 2008 16:03:40 +0000 Message-ID: <47D16741.8070904@FreeBSD.org> Date: Fri, 07 Mar 2008 17:03:13 +0100 From: Remko Lodder User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= References: <200803070929.m279TLGM020793@repoman.freebsd.org> In-Reply-To: <200803070929.m279TLGM020793@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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: Fri, 07 Mar 2008 16:29:42 -0000 Søren Schmidt wrote: > sos 2008-03-07 09:29:20 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ata ata-chipset.c ata-pci.h > Log: > Add proper support for the SATA/AHCI part of IXP[67]00 > > Revision Changes Path > 1.212 +22 -12 src/sys/dev/ata/ata-chipset.c > 1.83 +6 -0 src/sys/dev/ata/ata-pci.h Thanks! I am using a similiar patch for my production system, which works just fine on RELENG_7, please can you do the merge when possible? cheers 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 Fri Mar 7 16:32: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 84CC81065735; Fri, 7 Mar 2008 16:32:44 +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 590E68FC1A; Fri, 7 Mar 2008 16:32:44 +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 m27GWiNx059920; Fri, 7 Mar 2008 16:32:44 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27GWi4d059919; Fri, 7 Mar 2008 16:32:44 GMT (envelope-from bmah) Message-Id: <200803071632.m27GWi4d059919@repoman.freebsd.org> From: "Bruce A. Mah" Date: Fri, 7 Mar 2008 16:32: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/release/doc/en_US.ISO8859-1/errata 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: Fri, 07 Mar 2008 16:32:44 -0000 bmah 2008-03-07 16:32:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) release/doc/en_US.ISO8859-1/errata article.sgml Log: New errata notes: SCTP needs INET6, kldxref(8) warnings on source upgrade, device crypto problems on powerpc. Revision Changes Path 1.73.4.3 +16 -0 src/release/doc/en_US.ISO8859-1/errata/article.sgml From owner-cvs-src@FreeBSD.ORG Fri Mar 7 16:42: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 C2839106566B; Fri, 7 Mar 2008 16:42:16 +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 975CE8FC14; Fri, 7 Mar 2008 16:42:16 +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 m27GgGlr060278; Fri, 7 Mar 2008 16:42:16 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27GgGkk060277; Fri, 7 Mar 2008 16:42:16 GMT (envelope-from bmah) Message-Id: <200803071642.m27GgGkk060277@repoman.freebsd.org> From: "Bruce A. Mah" Date: Fri, 7 Mar 2008 16:42:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/errata 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: Fri, 07 Mar 2008 16:42:16 -0000 bmah 2008-03-07 16:42:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/errata article.sgml Log: New errata note: sysinstall(8) X.org hazard. Revision Changes Path 1.73.2.55 +10 -0 src/release/doc/en_US.ISO8859-1/errata/article.sgml From owner-cvs-src@FreeBSD.ORG Fri Mar 7 16:54: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 CA3CA1065680; Fri, 7 Mar 2008 16:54:04 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9F70A8FC29; Fri, 7 Mar 2008 16:54:04 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27Gs4Fo070577; Fri, 7 Mar 2008 16:54:04 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27Gs4iV070576; Fri, 7 Mar 2008 16:54:04 GMT (envelope-from jasone) Message-Id: <200803071654.m27Gs4iV070576@repoman.freebsd.org> From: Jason Evans Date: Fri, 7 Mar 2008 16:54: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/stdlib malloc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 16:54:05 -0000 jasone 2008-03-07 16:54:04 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Remove stale #include , which as needed by lazy deallocation. Revision Changes Path 1.167 +4 -4 src/lib/libc/stdlib/malloc.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 16:55: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 34AD91065675; Fri, 7 Mar 2008 16:55:25 +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 0A13F8FC1B; Fri, 7 Mar 2008 16:55:25 +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 m27GtOZ5070827; Fri, 7 Mar 2008 16:55:24 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27GtO6h070826; Fri, 7 Mar 2008 16:55:24 GMT (envelope-from marcel) Message-Id: <200803071655.m27GtO6h070826@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 7 Mar 2008 16:55: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/dev/usb if_axe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 16:55:25 -0000 marcel 2008-03-07 16:55:24 UTC FreeBSD src repository Modified files: sys/dev/usb if_axe.c Log: Apply le*toh() or htole*() to the variables of which we use the address as the buffer pointer in the call to axe_cmd(). This is needed to make the code work on big-endian machines. Ok'd: imp@ Revision Changes Path 1.57 +6 -1 src/sys/dev/usb/if_axe.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 17:02: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 9B2751065688; Fri, 7 Mar 2008 17:02:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 70EB18FC23; Fri, 7 Mar 2008 17:02:34 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27H2YFU071108; Fri, 7 Mar 2008 17:02:34 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27H2YSu071107; Fri, 7 Mar 2008 17:02:34 GMT (envelope-from rwatson) Message-Id: <200803071702.m27H2YSu071107@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 17:02: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/share/man/man9 bus_space.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, 07 Mar 2008 17:02:34 -0000 rwatson 2008-03-07 17:02:34 UTC FreeBSD src repository Modified files: share/man/man9 bus_space.9 Log: Minor spelling/grammer fixes. MFC after: 3 days Revision Changes Path 1.5 +2 -2 src/share/man/man9/bus_space.9 From owner-cvs-src@FreeBSD.ORG Fri Mar 7 17:54: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 8C61C106567A; Fri, 7 Mar 2008 17:54:00 +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 62D8A8FC2A; Fri, 7 Mar 2008 17:54:00 +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 m27Hs04j074171; Fri, 7 Mar 2008 17:54:00 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27Hs07G074170; Fri, 7 Mar 2008 17:54:00 GMT (envelope-from mav) Message-Id: <200803071754.m27Hs07G074170@repoman.freebsd.org> From: Alexander Motin Date: Fri, 7 Mar 2008 17:53: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/netgraph ng_nat.c ng_nat.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, 07 Mar 2008 17:54:00 -0000 mav 2008-03-07 17:53:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_nat.c ng_nat.h Log: MFC: Add support for the libalias redirect functionality. Submitted by: Vadim Goncharov Revision Changes Path 1.10.2.1 +431 -1 src/sys/netgraph/ng_nat.c 1.2.2.1 +127 -0 src/sys/netgraph/ng_nat.h From owner-cvs-src@FreeBSD.ORG Fri Mar 7 17:54: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 EF929106566B; Fri, 7 Mar 2008 17:54:21 +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 C5A3D8FC14; Fri, 7 Mar 2008 17:54:21 +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 m27HsLxS074210; Fri, 7 Mar 2008 17:54:21 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27HsLTu074209; Fri, 7 Mar 2008 17:54:21 GMT (envelope-from mav) Message-Id: <200803071754.m27HsLTu074209@repoman.freebsd.org> From: Alexander Motin Date: Fri, 7 Mar 2008 17:54:21 +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_nat.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: Fri, 07 Mar 2008 17:54:22 -0000 mav 2008-03-07 17:54:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 ng_nat.4 Log: MFC: Add support for the libalias redirect functionality. Submitted by: Vadim Goncharov Revision Changes Path 1.3.2.1 +188 -2 src/share/man/man4/ng_nat.4 From owner-cvs-src@FreeBSD.ORG Fri Mar 7 17:58: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 F10EA1065679; Fri, 7 Mar 2008 17:58: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 C6F558FC39; Fri, 7 Mar 2008 17:58: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 m27HwnIU074412; Fri, 7 Mar 2008 17:58:49 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27HwnZY074411; Fri, 7 Mar 2008 17:58:49 GMT (envelope-from mav) Message-Id: <200803071758.m27HwnZY074411@repoman.freebsd.org> From: Alexander Motin Date: Fri, 7 Mar 2008 17:58: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/netgraph ng_pppoe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 17:58:50 -0000 mav 2008-03-07 17:58:49 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_pppoe.c Log: MFC rev. 1.92-1.93 Make session ID generator to use session ID hash. Make session ID generator thread-safe. Use more compact LIST instead of TAILQ for session hash. Add all listening hooks into LIST to simplify searches. Use ng_findhook() instead of own equal implementation. Revision Changes Path 1.84.2.5 +67 -100 src/sys/netgraph/ng_pppoe.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 18:09: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 0D7551065673; Fri, 7 Mar 2008 18:09:08 +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 F14E48FC32; Fri, 7 Mar 2008 18:09:07 +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 m27I97To075944; Fri, 7 Mar 2008 18:09:07 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27I97In075943; Fri, 7 Mar 2008 18:09:07 GMT (envelope-from rwatson) Message-Id: <200803071809.m27I97In075943@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 18:09: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/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: Fri, 07 Mar 2008 18:09:08 -0000 rwatson 2008-03-07 18:09:07 UTC FreeBSD src repository Modified files: sys/ddb db_examine.c Log: 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. MFC after: 3 days PR: 57976 Submitted by: Dan Strick Revision Changes Path 1.35 +6 -0 src/sys/ddb/db_examine.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 18:14: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 5C2D61065670; Fri, 7 Mar 2008 18:14: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 31A618FC13; Fri, 7 Mar 2008 18:14: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 m27IEUOd076211; Fri, 7 Mar 2008 18:14:30 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27IEUqi076210; Fri, 7 Mar 2008 18:14:30 GMT (envelope-from rwatson) Message-Id: <200803071814.m27IEUqi076210@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Mar 2008 18:14:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/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: Fri, 07 Mar 2008 18:14:30 -0000 rwatson 2008-03-07 18:14:30 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 Log: Update ddb.4 to reflect addition of /S (symbol name) printing mode for examine. MFC after: 3 days PR: 57976 Revision Changes Path 1.48 +2 -0 src/share/man/man4/ddb.4 From owner-cvs-src@FreeBSD.ORG Fri Mar 7 20:19: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 91CA41065675; Fri, 7 Mar 2008 20:19:24 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 685068FC14; Fri, 7 Mar 2008 20:19:24 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27KJOPc084605; Fri, 7 Mar 2008 20:19:24 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27KJO55084604; Fri, 7 Mar 2008 20:19:24 GMT (envelope-from jhb) Message-Id: <200803072019.m27KJO55084604@repoman.freebsd.org> From: John Baldwin Date: Fri, 7 Mar 2008 20:19: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 identcpu.c initcpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 20:19:24 -0000 jhb 2008-03-07 20:19:24 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/i386 identcpu.c initcpu.c Log: MFC: VIA Padlock changes: - Read the brand string from VIA/IDT CPUs. - Add a VIA Padlock feature line in dmesg. - Support the newer Via C7 core (0x6d0). Revision Changes Path 1.180.2.1 +43 -23 src/sys/i386/i386/identcpu.c 1.56.2.1 +1 -0 src/sys/i386/i386/initcpu.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 20:19: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 574321065671; Fri, 7 Mar 2008 20:19:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2DA728FC14; Fri, 7 Mar 2008 20:19:34 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27KJXOs084638; Fri, 7 Mar 2008 20:19:33 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27KJXYY084637; Fri, 7 Mar 2008 20:19:33 GMT (envelope-from jhb) Message-Id: <200803072019.m27KJXYY084637@repoman.freebsd.org> From: John Baldwin Date: Fri, 7 Mar 2008 20:19:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/i386/i386 identcpu.c initcpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 20:19:34 -0000 jhb 2008-03-07 20:19:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/i386/i386 identcpu.c initcpu.c Log: MFC: VIA Padlock changes: - Read the brand string from VIA/IDT CPUs. - Add a VIA Padlock feature line in dmesg. - Support the newer Via C7 core (0x6d0). Revision Changes Path 1.145.2.7 +41 -26 src/sys/i386/i386/identcpu.c 1.52.2.4 +1 -0 src/sys/i386/i386/initcpu.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 20:33: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 9BFAF1065673; Fri, 7 Mar 2008 20:33:49 +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 D37628FC28; Fri, 7 Mar 2008 20:33:48 +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 234662018-1834499 for multiple; Fri, 07 Mar 2008 15:35:11 -0500 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 m27KXbOo051647; Fri, 7 Mar 2008 15:33:37 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Marcel Moolenaar Date: Fri, 7 Mar 2008 14:59:43 -0500 User-Agent: KMail/1.9.7 References: <200803061724.m26HOSPO026401@repoman.freebsd.org> <17C624F8-3233-49E6-8235-30F8B06C6513@mac.com> <195BED5E-661B-4AC4-8302-59BEC71708A6@mac.com> In-Reply-To: <195BED5E-661B-4AC4-8302-59BEC71708A6@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803071459.43636.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]); Fri, 07 Mar 2008 15:33:37 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/6166/Fri Mar 7 11:36:07 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, Marcel Moolenaar , src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys pcpu.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, 07 Mar 2008 20:33:50 -0000 On Friday 07 March 2008 10:58:12 am Marcel Moolenaar wrote: > > On Mar 7, 2008, at 7:56 AM, Marcel Moolenaar wrote: > > >> It actually started out being the last "field" in the structure but > >> some new > >> fields were incorrectly added after it rather than before it. It > >> might > >> warrant a comment to prevent similar regressions in the future. > >> > > > > > > > What I was about to say is that I agree about the comment and did add > one > as part of the change... Oh, my bad then. :) -- John Baldwin From owner-cvs-src@FreeBSD.ORG Fri Mar 7 21:12: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 989F5106566B; Fri, 7 Mar 2008 21:12:56 +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 6F74D8FC1D; Fri, 7 Mar 2008 21:12:56 +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 m27LCu0v096882; Fri, 7 Mar 2008 21:12:56 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27LCuGQ096881; Fri, 7 Mar 2008 21:12:56 GMT (envelope-from mav) Message-Id: <200803072112.m27LCuGQ096881@repoman.freebsd.org> From: Alexander Motin Date: Fri, 7 Mar 2008 21:12: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/sys/netgraph ng_ksocket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Mar 2008 21:12:56 -0000 mav 2008-03-07 21:12:56 UTC FreeBSD src repository Modified files: sys/netgraph ng_ksocket.c Log: Send only one incoming notification at a time to reduce queue trashing and improve performance. Remove waitflag argument from ng_ksocket_incoming2(), it means nothing as function call was queued by netgraph. Remove node validity check, as node validity guarantied by netgraph. Update comments. Revision Changes Path 1.61 +26 -32 src/sys/netgraph/ng_ksocket.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 22:08: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 C709F106566C; Fri, 7 Mar 2008 22:08:43 +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 B42F78FC1C; Fri, 7 Mar 2008 22:08:43 +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 m27M8hg6001750; Fri, 7 Mar 2008 22:08:43 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27M8h8r001749; Fri, 7 Mar 2008 22:08:43 GMT (envelope-from marcel) Message-Id: <200803072208.m27M8h8r001749@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 7 Mar 2008 22:08: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/powerpc/include intr_machdep.h openpicvar.h src/sys/powerpc/mpc85xx ocpbus.c opic.c src/sys/powerpc/powermac openpic_macio.c src/sys/powerpc/powerpc intr_machdep.c openpic.c pic_if.m 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: Fri, 07 Mar 2008 22:08:43 -0000 marcel 2008-03-07 22:08:43 UTC FreeBSD src repository Modified files: sys/powerpc/include intr_machdep.h openpicvar.h sys/powerpc/mpc85xx ocpbus.c opic.c sys/powerpc/powermac openpic_macio.c sys/powerpc/powerpc intr_machdep.c openpic.c pic_if.m sys/powerpc/psim openpic_iobus.c Log: Add support for the BUS_CONFIG_INTR() method to the platform and to openpic(4). Make use of it in ocpbus(4). On the MPC85xxCDS, IRQ0:4 are active-low. Revision Changes Path 1.11 +1 -0 src/sys/powerpc/include/intr_machdep.h 1.8 +1 -0 src/sys/powerpc/include/openpicvar.h 1.3 +16 -0 src/sys/powerpc/mpc85xx/ocpbus.c 1.3 +1 -0 src/sys/powerpc/mpc85xx/opic.c 1.12 +1 -0 src/sys/powerpc/powermac/openpic_macio.c 1.16 +88 -42 src/sys/powerpc/powerpc/intr_machdep.c 1.18 +20 -0 src/sys/powerpc/powerpc/openpic.c 1.6 +7 -0 src/sys/powerpc/powerpc/pic_if.m 1.9 +1 -0 src/sys/powerpc/psim/openpic_iobus.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 22:27: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 044181065677; Fri, 7 Mar 2008 22:27:11 +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 E7F8D8FC1D; Fri, 7 Mar 2008 22:27:10 +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 m27MRAC2002441; Fri, 7 Mar 2008 22:27:10 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27MRA7r002440; Fri, 7 Mar 2008 22:27:10 GMT (envelope-from marcel) Message-Id: <200803072227.m27MRA7r002440@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 7 Mar 2008 22:27: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/powerpc/aim locore.S machdep.c src/sys/powerpc/include md_var.h src/sys/powerpc/powerpc cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 22:27:11 -0000 marcel 2008-03-07 22:27:06 UTC FreeBSD src repository Modified files: sys/powerpc/aim locore.S machdep.c sys/powerpc/include md_var.h sys/powerpc/powerpc cpu.c Log: For AIM, have cpu_idle() set MSR_POW when the powerpc_pow_enabled variable is set. On my Mac Mini this puts the CPU in NAP mode when the kernel is idle and, any technical or environmental reasons aside, avoids that I have to listen to the fan all day :-) Revision Changes Path 1.25 +0 -3 src/sys/powerpc/aim/locore.S 1.110 +10 -2 src/sys/powerpc/aim/machdep.c 1.32 +2 -0 src/sys/powerpc/include/md_var.h 1.11 +4 -6 src/sys/powerpc/powerpc/cpu.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 22:29: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 0E2891065677; Fri, 7 Mar 2008 22:29:54 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D93ED8FC1F; Fri, 7 Mar 2008 22:29:53 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27MTrmh002504; Fri, 7 Mar 2008 22:29:53 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27MTrpt002503; Fri, 7 Mar 2008 22:29:53 GMT (envelope-from jasone) Message-Id: <200803072229.m27MTrpt002503@repoman.freebsd.org> From: Jason Evans Date: Fri, 7 Mar 2008 22:29: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/share/man/man3 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: Fri, 07 Mar 2008 22:29:54 -0000 jasone 2008-03-07 22:29:53 UTC FreeBSD src repository Modified files: share/man/man3 Makefile Log: Install manpage links for RB_PREV and RB_FOREACH_REVERSE. Revision Changes Path 1.46 +2 -0 src/share/man/man3/Makefile From owner-cvs-src@FreeBSD.ORG Fri Mar 7 22:34: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 AC4EA1065670; Fri, 7 Mar 2008 22:34:17 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 825638FC14; Fri, 7 Mar 2008 22:34:17 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27MYHwN002767; Fri, 7 Mar 2008 22:34:17 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27MYHno002766; Fri, 7 Mar 2008 22:34:17 GMT (envelope-from jasone) Message-Id: <200803072234.m27MYHno002766@repoman.freebsd.org> From: Jason Evans Date: Fri, 7 Mar 2008 22:34:17 +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/man3 Makefile tree.3 src/sys/sys tree.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, 07 Mar 2008 22:34:17 -0000 jasone 2008-03-07 22:34:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man3 tree.3 Makefile sys/sys tree.h Log: MFC: Implement the RB_FOREACH_REVERSE() and RB_PREV() macros. RB_PREV is needed by malloc(3). Revision Changes Path 1.45.2.1 +2 -0 src/share/man/man3/Makefile 1.6.2.1 +10 -2 src/share/man/man3/tree.3 1.6.2.1 +29 -0 src/sys/sys/tree.h From owner-cvs-src@FreeBSD.ORG Fri Mar 7 22:39: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 192961065673; Fri, 7 Mar 2008 22:39:40 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0657A8FC2F; Fri, 7 Mar 2008 22:39:40 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27Mdd4M003086; Fri, 7 Mar 2008 22:39:39 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27MddwJ003085; Fri, 7 Mar 2008 22:39:39 GMT (envelope-from jasone) Message-Id: <200803072239.m27MddwJ003085@repoman.freebsd.org> From: Jason Evans Date: Fri, 7 Mar 2008 22:39: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/lib/libc/gen Symbol.map src/lib/libc/stdlib malloc.3 malloc.c src/lib/libkse kse.map src/lib/libkse/sys lock.c lock.h src/lib/libkse/thread thr_cond.c thr_init.c thr_kern.c thr_mutex.c thr_rtld.c src/lib/libthr pthread.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: Fri, 07 Mar 2008 22:39:40 -0000 jasone 2008-03-07 22:39:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/gen Symbol.map lib/libc/stdlib malloc.3 malloc.c lib/libkse kse.map lib/libkse/sys lock.c lock.h lib/libkse/thread thr_cond.c thr_init.c thr_kern.c thr_mutex.c thr_rtld.c lib/libthr pthread.map lib/libthr/thread thr_mutex.c Log: MFC: Merge malloc(3) improvements and fixes. The highlights are: * Avoid re-zeroing memory in calloc() when possible. * Use pthread mutexes where possible instead of libc "spinlocks", and actually spin some during contention before blocking. * Implement dynamic load balancing of thread-->arena mapping. * Avoid floating point math in order to avoid increased context switch overhead for applications that otherwise would not use floating point math. * Restructure how sbrk() and mmap() are used to acquire memory mappings. This provides a way to force malloc to only use sbrk(), which can be useful in the context of resource limits. * Reduce the number of mmap() calls typically necessary when allocating a chunk. * Track dirty unused pages so that they can be purged if they exceed a threshold. * Try to realloc() large objects in place. * Manage page runs with trees instead of chunk maps, which allows logarithmic-time run allocation. Revision Changes Path 1.6.2.1 +1 -0 src/lib/libc/gen/Symbol.map 1.73.2.1 +95 -36 src/lib/libc/stdlib/malloc.3 1.147.2.2 +2283 -1341 src/lib/libc/stdlib/malloc.c 1.1.2.1 +1 -0 src/lib/libkse/kse.map 1.11.2.2 +4 -3 src/lib/libkse/sys/lock.c 1.8.2.1 +1 -1 src/lib/libkse/sys/lock.h 1.57.2.1 +1 -1 src/lib/libkse/thread/thr_cond.c 1.76.2.1 +4 -4 src/lib/libkse/thread/thr_init.c 1.125.2.2 +5 -5 src/lib/libkse/thread/thr_kern.c 1.53.2.2 +30 -7 src/lib/libkse/thread/thr_mutex.c 1.7.2.1 +1 -1 src/lib/libkse/thread/thr_rtld.c 1.18.2.1 +1 -0 src/lib/libthr/pthread.map 1.54.2.3 +23 -6 src/lib/libthr/thread/thr_mutex.c From owner-cvs-src@FreeBSD.ORG Fri Mar 7 23:09: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 0DD241065673; Fri, 7 Mar 2008 23:09:11 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D7D2B8FC1B; Fri, 7 Mar 2008 23:09:10 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m27N9Ahk005294; Fri, 7 Mar 2008 23:09:10 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m27N9AAI005293; Fri, 7 Mar 2008 23:09:10 GMT (envelope-from delphij) Message-Id: <200803072309.m27N9AAI005293@repoman.freebsd.org> From: Xin LI Date: Fri, 7 Mar 2008 23:09: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/amd64/conf GENERIC src/sys/i386/conf GENERIC src/sys/powerpc/conf GENERIC X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 23:09:11 -0000 delphij 2008-03-07 23:09:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/conf GENERIC sys/i386/conf GENERIC sys/powerpc/conf GENERIC Log: MFC: Switch to use ULE as default scheduler on amd64, i386 and powerpc architectures. Revision Changes Path 1.484.2.4 +1 -1 src/sys/amd64/conf/GENERIC 1.474.2.4 +1 -1 src/sys/i386/conf/GENERIC 1.71.2.3 +1 -1 src/sys/powerpc/conf/GENERIC From owner-cvs-src@FreeBSD.ORG Sat Mar 8 00:04: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 AA6361065670; Sat, 8 Mar 2008 00:04:59 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 80E668FC22; Sat, 8 Mar 2008 00:04:59 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2804xk8011924; Sat, 8 Mar 2008 00:04:59 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2804xiC011923; Sat, 8 Mar 2008 00:04:59 GMT (envelope-from delphij) Message-Id: <200803080004.m2804xiC011923@repoman.freebsd.org> From: Xin LI Date: Sat, 8 Mar 2008 00:04: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/usr.sbin/pkg_install/add main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 00:04:59 -0000 delphij 2008-03-08 00:04:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/pkg_install/add main.c Log: Merge from RELENG_7_0: Teach pkg_add(1) about 6.3-RELEASE, 7.0-RELEASE and 7-STABLE. Revision Changes Path 1.72.2.1 +3 -1 src/usr.sbin/pkg_install/add/main.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 00:16: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 C4D03106566C; Sat, 8 Mar 2008 00:16:17 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0C68FC2A; Sat, 8 Mar 2008 00:16:16 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-85-109.lns10.adl6.internode.on.net [121.45.85.109]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m2803oGP052670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Mar 2008 10:33:51 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: cvs-all@freebsd.org Date: Sat, 8 Mar 2008 10:33:34 +1030 User-Agent: KMail/1.9.7 References: <200803051413.m25EDU9o054744@repoman.freebsd.org> In-Reply-To: <200803051413.m25EDU9o054744@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1402815.nQ3FqyFBix"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200803081033.42393.doconnor@gsoft.com.au> X-Spam-Score: -2.212 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: cvs-src@freebsd.org, Rink Springer , src-committers@freebsd.org Subject: Re: cvs commit: src/share/man/man4 Makefile uslcom.4 src/sys/amd64/conf GENERIC src/sys/conf NOTES files src/sys/dev/usb usbdevs uslcom.c src/sys/i386/conf GENERIC 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: Sat, 08 Mar 2008 00:16:17 -0000 --nextPart1402815.nQ3FqyFBix Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 6 Mar 2008, Rink Springer wrote: > Log: > Import uslcom(4) from OpenBSD - this is a driver for Silicon > Laboratories CP2101/CP2102 based USB serial adapters. Hah, I ported this too.. Mine has issues though - I have the CP2102 in a=20 a AVR programmer/debugger tool and while the programmer part works the=20 JTAG debugger part times out.. It seemed to me it was some subtle flow=20 control issue to me but I haven't been able to debug it. The code you have appears to be very similar to mine though (hardly=20 surprising given they have the same source). I will try and find time=20 to see if your works with the JTAG debugger I have (fingers crossed :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1402815.nQ3FqyFBix Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBH0dfe5ZPcIHs/zowRAgXGAJ9sTVyiQ9m88FoWCEUtdUUASqnE/ACfQNwA CPPjMhLdwMuz36SllWZBPxg= =6ThN -----END PGP SIGNATURE----- --nextPart1402815.nQ3FqyFBix-- From owner-cvs-src@FreeBSD.ORG Sat Mar 8 00:53: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 AA09B106566B; Sat, 8 Mar 2008 00:53:54 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 809AF8FC19; Sat, 8 Mar 2008 00:53:54 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m280rsEa022618; Sat, 8 Mar 2008 00:53:54 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m280rsnP022617; Sat, 8 Mar 2008 00:53:54 GMT (envelope-from delphij) Message-Id: <200803080053.m280rsnP022617@repoman.freebsd.org> From: Xin LI Date: Sat, 8 Mar 2008 00:53: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/ffsinfo ffsinfo.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 00:53:54 -0000 delphij 2008-03-08 00:53:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ffsinfo ffsinfo.c Log: MFC revision 1.14 date: 2008/01/29 00:20:00; author: delphij; state: Exp; lines: +1 -1 Don't coredump when executed with -o. Revision Changes Path 1.13.2.1 +1 -1 src/sbin/ffsinfo/ffsinfo.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 00:54: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 198001065672; Sat, 8 Mar 2008 00:54:28 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E41E58FC1D; Sat, 8 Mar 2008 00:54:27 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m280sRqA022662; Sat, 8 Mar 2008 00:54:27 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m280sR5d022661; Sat, 8 Mar 2008 00:54:27 GMT (envelope-from delphij) Message-Id: <200803080054.m280sR5d022661@repoman.freebsd.org> From: Xin LI Date: Sat, 8 Mar 2008 00:54:27 +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/ffsinfo ffsinfo.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 00:54:28 -0000 delphij 2008-03-08 00:54:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/ffsinfo ffsinfo.c Log: MFC revision 1.14 date: 2008/01/29 00:20:00; author: delphij; state: Exp; lines: +1 -1 Don't coredump when executed with -o. Revision Changes Path 1.10.2.3 +1 -1 src/sbin/ffsinfo/ffsinfo.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 01:00: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 3D78A106566B; Sat, 8 Mar 2008 01:00:26 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 143F28FC1C; Sat, 8 Mar 2008 01:00:26 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2810POW022917; Sat, 8 Mar 2008 01:00:25 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2810Pp8022916; Sat, 8 Mar 2008 01:00:25 GMT (envelope-from delphij) Message-Id: <200803080100.m2810Pp8022916@repoman.freebsd.org> From: Xin LI Date: Sat, 8 Mar 2008 01:00: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/usr.sbin/newsyslog newsyslog.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 01:00:26 -0000 delphij 2008-03-08 01:00:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/newsyslog newsyslog.c Log: MFC revision 1.108 date: 2008/01/30 22:11:59; author: delphij; state: Exp; lines: +2 -2 Fix two typos. Revision Changes Path 1.107.2.1 +2 -2 src/usr.sbin/newsyslog/newsyslog.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 01:00: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 E18281065672; Sat, 8 Mar 2008 01:00:39 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B80F88FC18; Sat, 8 Mar 2008 01:00:39 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2810dQN022950; Sat, 8 Mar 2008 01:00:39 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2810d4M022949; Sat, 8 Mar 2008 01:00:39 GMT (envelope-from delphij) Message-Id: <200803080100.m2810d4M022949@repoman.freebsd.org> From: Xin LI Date: Sat, 8 Mar 2008 01:00:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 01:00:40 -0000 delphij 2008-03-08 01:00:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/newsyslog newsyslog.c Log: MFC revision 1.108 date: 2008/01/30 22:11:59; author: delphij; state: Exp; lines: +2 -2 Fix two typos. Revision Changes Path 1.101.2.5 +2 -2 src/usr.sbin/newsyslog/newsyslog.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 03:54: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 1D3351065674; Sat, 8 Mar 2008 03:54:31 +0000 (UTC) (envelope-from lippe@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E7E6D8FC1D; Sat, 8 Mar 2008 03:54:30 +0000 (UTC) (envelope-from lippe@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m283sUjZ032551; Sat, 8 Mar 2008 03:54:30 GMT (envelope-from lippe@repoman.freebsd.org) Received: (from lippe@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m283sURd032550; Sat, 8 Mar 2008 03:54:30 GMT (envelope-from lippe) Message-Id: <200803080354.m283sURd032550@repoman.freebsd.org> From: Felippe de Meirelles Motta Date: Sat, 8 Mar 2008 03:54: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/calendar/calendars calendar.freebsd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 03:54:31 -0000 lippe 2008-03-08 03:54:30 UTC FreeBSD src repository (ports committer) Modified files: usr.bin/calendar/calendars calendar.freebsd Log: - Add my birthday entry Approved by: gabor (mentor) Revision Changes Path 1.228 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From owner-cvs-src@FreeBSD.ORG Sat Mar 8 05:36: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 E972A1065670; Sat, 8 Mar 2008 05:36:25 +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 C04D98FC1F; Sat, 8 Mar 2008 05:36:25 +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 m285aPWs047605; Sat, 8 Mar 2008 05:36:25 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m285aPN7047604; Sat, 8 Mar 2008 05:36:25 GMT (envelope-from marcel) Message-Id: <200803080536.m285aPN7047604@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 8 Mar 2008 05:36:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/powerpc/booke 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, 08 Mar 2008 05:36:26 -0000 marcel 2008-03-08 05:36:25 UTC FreeBSD src repository Modified files: sys/powerpc/booke machdep.c Log: Enable the D-cache and I-cache when not already enabled. It so happens that U-Boot disables the D-cache when booting an ELF image, so this change makes sure we run with the D-cache enabled from now on. It shows too... While here, remove the duplicate definition of the hw.model sysctl. Revision Changes Path 1.2 +28 -3 src/sys/powerpc/booke/machdep.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 05:42: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 B0268106566B; Sat, 8 Mar 2008 05:42:09 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A0B1C8FC14; Sat, 8 Mar 2008 05:42:09 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m285g9CP047825; Sat, 8 Mar 2008 05:42:09 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m285g9Co047824; Sat, 8 Mar 2008 05:42:09 GMT (envelope-from rafan) Message-Id: <200803080542.m285g9Co047824@repoman.freebsd.org> From: Rong-En Fan Date: Sat, 8 Mar 2008 05:42: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/share/termcap termcap.src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 05:42:09 -0000 rafan 2008-03-08 05:42:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/termcap termcap.src Log: MFC termcap changes for the END/ENTER keys Log: - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end). As ncurses has the limitation that it returns the first matched key symbol, you can not use END in ncurses based program, like mutt, with xterm. - Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with ncurses based program. I also found that NetBSD's xterm does the same thing. PR: 100150 Reported by: Arseny Nasokin Discussed with: Thomas Dickey, Ulrich Spoerlein Reviewed by: freebsd-arch@ Revision Changes Path 1.148.2.1 +2 -2 src/share/termcap/termcap.src From owner-cvs-src@FreeBSD.ORG Sat Mar 8 05:42: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 E87EC106566C; Sat, 8 Mar 2008 05:42:52 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D971A8FC15; Sat, 8 Mar 2008 05:42:52 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m285gqAC047869; Sat, 8 Mar 2008 05:42:52 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m285gq2s047868; Sat, 8 Mar 2008 05:42:52 GMT (envelope-from rafan) Message-Id: <200803080542.m285gq2s047868@repoman.freebsd.org> From: Rong-En Fan Date: Sat, 8 Mar 2008 05:42:52 +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/termcap termcap.src X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 05:42:53 -0000 rafan 2008-03-08 05:42:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) share/termcap termcap.src Log: MFC termcap changes for the END/ENTER keys Log: - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end) As ncurses has the limitation that it returns the first matched key symbol, you can not use END in ncurses based program, like mutt, with xterm. - Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with ncurses based program. I also found that NetBSD's xterm does the same thing. PR: 100150 Reported by: Arseny Nasokin Discussed with: Thomas Dickey, Ulrich Spoerlein Reviewed by: freebsd-arch@ Revision Changes Path 1.144.8.1 +2 -2 src/share/termcap/termcap.src From owner-cvs-src@FreeBSD.ORG Sat Mar 8 09:29: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 959901065679 for ; Sat, 8 Mar 2008 09:29:55 +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 5B6BD8FC2C for ; Sat, 8 Mar 2008 09:29:55 +0000 (UTC) (envelope-from peter@wemm.org) Received: by an-out-0708.google.com with SMTP id c14so304453anc.13 for ; Sat, 08 Mar 2008 01:29:54 -0800 (PST) Received: by 10.100.205.9 with SMTP id c9mr6151343ang.1.1204967098365; Sat, 08 Mar 2008 01:04:58 -0800 (PST) Received: by 10.100.8.6 with HTTP; Sat, 8 Mar 2008 01:04:58 -0800 (PST) Message-ID: Date: Sat, 8 Mar 2008 01:04:58 -0800 From: "Peter Wemm" To: "Xin LI" In-Reply-To: <200803072309.m27N9AAI005293@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200803072309.m27N9AAI005293@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC src/sys/powerpc/conf GENERIC X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 09:29:55 -0000 On Fri, Mar 7, 2008 at 3:09 PM, Xin LI wrote: > delphij 2008-03-07 23:09:10 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/amd64/conf GENERIC > sys/i386/conf GENERIC > sys/powerpc/conf GENERIC > Log: > MFC: Switch to use ULE as default scheduler on amd64, i386 and powerpc > architectures. You broke powerpc tinderbox: #if !defined(__i386__) && !defined(__amd64__) && !defined(__arm__) #error "This architecture is not currently compatible with ULE" #endif -- 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 From owner-cvs-src@FreeBSD.ORG Sat Mar 8 09:38: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 37D101065670; Sat, 8 Mar 2008 09:38:19 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7E68FC18; Sat, 8 Mar 2008 09:38:19 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m289cINF069067; Sat, 8 Mar 2008 09:38:18 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m289cIYI069066; Sat, 8 Mar 2008 09:38:18 GMT (envelope-from delphij) Message-Id: <200803080938.m289cIYI069066@repoman.freebsd.org> From: Xin LI Date: Sat, 8 Mar 2008 09:38: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/powerpc/conf GENERIC X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 09:38:19 -0000 delphij 2008-03-08 09:38:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/powerpc/conf GENERIC Log: Revert powerpc scheduler change for now. This change should be done after necessary ULE changes to be MFC'ed. Pointed out by: peter Revision Changes Path 1.71.2.4 +1 -1 src/sys/powerpc/conf/GENERIC From owner-cvs-src@FreeBSD.ORG Sat Mar 8 09:40: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 AC1291065679; Sat, 8 Mar 2008 09:40:26 +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 2E4068FC18; Sat, 8 Mar 2008 09:40:25 +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 53ABF28458; Sat, 8 Mar 2008 17:40:24 +0800 (CST) Received: from localhost (tarsier.geekcn.org [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id D5133EC3195; Sat, 8 Mar 2008 17:40:23 +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 6+LBZWH7L5Ga; Sat, 8 Mar 2008 17:39:50 +0800 (CST) Received: from li-xins-macbook.lan (c-67-161-39-180.hsd1.ca.comcast.net [67.161.39.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 3AB74EB14D4; Sat, 8 Mar 2008 17:39:47 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=raSYX4O7DiZhKhnyf9MeLxHrgg90eJLZSD76wwZRIMTs+Z3m5ODYr9aB93x0jHqdx YGo0hUIN4Fj7zk0Z5ejcw== Message-ID: <47D25EC9.5090704@delphij.net> Date: Sat, 08 Mar 2008 01:39:21 -0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Peter Wemm References: <200803072309.m27N9AAI005293@repoman.freebsd.org> In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigA12A886D0A476AC27A9EB07A" Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Xin LI , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/amd64/conf GENERIC src/sys/i386/conf GENERIC src/sys/powerpc/conf GENERIC 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: Sat, 08 Mar 2008 09:40:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA12A886D0A476AC27A9EB07A Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Peter Wemm wrote: > On Fri, Mar 7, 2008 at 3:09 PM, Xin LI wrote: >> delphij 2008-03-07 23:09:10 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_7) >> sys/amd64/conf GENERIC >> sys/i386/conf GENERIC >> sys/powerpc/conf GENERIC >> Log: >> MFC: Switch to use ULE as default scheduler on amd64, i386 and power= pc >> architectures. >=20 > You broke powerpc tinderbox: >=20 > #if !defined(__i386__) && !defined(__amd64__) && !defined(__arm__) > #error "This architecture is not currently compatible with ULE" > #endif Sorry for that, I have backed out the change. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigA12A886D0A476AC27A9EB07A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH0l7KOfuToMruuMARCg1AAKCNZjPEwKLPCCvnyAj8MpW65zzE/ACfWw96 qAbfCvhtvIA0B/2UooNxgsA= =Fwe7 -----END PGP SIGNATURE----- --------------enigA12A886D0A476AC27A9EB07A-- From owner-cvs-src@FreeBSD.ORG Sat Mar 8 10:30: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 148D0106566B; Sat, 8 Mar 2008 10:30:32 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id CBCCD8FC15; Sat, 8 Mar 2008 10:30:31 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id m28AJEIv011050; Sat, 8 Mar 2008 03:19:15 -0700 Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 75CB614313; Sat, 8 Mar 2008 11:29:23 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32363-10; Sat, 8 Mar 2008 11:29:22 +0100 (CET) Message-ID: <47D2681F.2070309@semihalf.com> Date: Sat, 08 Mar 2008 11:19:11 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: Marcel Moolenaar References: <200803080536.m285aPN7047604@repoman.freebsd.org> In-Reply-To: <200803080536.m285aPN7047604@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/powerpc/booke 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, 08 Mar 2008 10:30:32 -0000 Marcel Moolenaar wrote: > marcel 2008-03-08 05:36:25 UTC > > FreeBSD src repository > > Modified files: > sys/powerpc/booke machdep.c > Log: > Enable the D-cache and I-cache when not already enabled. > It so happens that U-Boot disables the D-cache when booting > an ELF image, so this change makes sure we run with the > D-cache enabled from now on. It shows too... > Thanks for hooking this up, Marcel; it was [far] on my list too :) BTW: currently U-Boot is broken for most of PPC variations (including 85xx) in the following way: d-cache is not being flushed before disabling and strange things happen as you imagine. For a quick workaround apply something like this when using ELF images: http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff Rafal From owner-cvs-src@FreeBSD.ORG Sat Mar 8 12:13: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 71564106566B; Sat, 8 Mar 2008 12:13:02 +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 465948FC1D; Sat, 8 Mar 2008 12:13:02 +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 m28CD2fZ083282; Sat, 8 Mar 2008 12:13:02 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28CD0mI083279; Sat, 8 Mar 2008 12:13:00 GMT (envelope-from brueffer) Message-Id: <200803081213.m28CD0mI083279@repoman.freebsd.org> From: Christian Brueffer Date: Sat, 8 Mar 2008 12:13: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/sbin/geom/class/multipath gmultipath.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: Sat, 08 Mar 2008 12:13:02 -0000 brueffer 2008-03-08 12:13:00 UTC FreeBSD src repository Modified files: sbin/geom/class/multipath gmultipath.8 Log: Fix typos. PR: 121486 Submitted by: Anatoly Borodin MFC after: 3 days Revision Changes Path 1.5 +2 -2 src/sbin/geom/class/multipath/gmultipath.8 From owner-cvs-src@FreeBSD.ORG Sat Mar 8 14:12: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 49842106566C; Sat, 8 Mar 2008 14:12:36 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1F0AB8FC12; Sat, 8 Mar 2008 14:12:36 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28ECaET008904; Sat, 8 Mar 2008 14:12:36 GMT (envelope-from rpaulo@repoman.freebsd.org) Received: (from rpaulo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28ECZqO008903; Sat, 8 Mar 2008 14:12:35 GMT (envelope-from rpaulo) Message-Id: <200803081412.m28ECZqO008903@repoman.freebsd.org> From: Rui Paulo Date: Sat, 8 Mar 2008 14:12: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/sys/i386/cpufreq est.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 14:12:36 -0000 rpaulo 2008-03-08 14:12:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/cpufreq est.c Log: MFC r1.12: Validate the id16 values gathered from ACPI (previously a TODO item). Style changes by me and njl. Submitted by: Takeharu KATO PR: 119350 Revision Changes Path 1.11.2.1 +59 -17 src/sys/i386/cpufreq/est.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 14:14: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 A30E5106566C; Sat, 8 Mar 2008 14:14:35 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 785738FC1A; Sat, 8 Mar 2008 14:14:35 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28EEZTZ008978; Sat, 8 Mar 2008 14:14:35 GMT (envelope-from rpaulo@repoman.freebsd.org) Received: (from rpaulo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28EEZtK008977; Sat, 8 Mar 2008 14:14:35 GMT (envelope-from rpaulo) Message-Id: <200803081414.m28EEZtK008977@repoman.freebsd.org> From: Rui Paulo Date: Sat, 8 Mar 2008 14:14:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/i386/cpufreq est.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 14:14:35 -0000 rpaulo 2008-03-08 14:14:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/i386/cpufreq est.c Log: MFC r1.12: Validate the id16 values gathered from ACPI (previously a TODO item). Style changes by me and njl. Submitted by: Takeharu KATO PR: 119350 Revision Changes Path 1.7.2.2 +59 -17 src/sys/i386/cpufreq/est.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 14:21: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 B57811065672 for ; Sat, 8 Mar 2008 14:21:12 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33701.mail.mud.yahoo.com (web33701.mail.mud.yahoo.com [68.142.201.198]) by mx1.freebsd.org (Postfix) with SMTP id 842498FC21 for ; Sat, 8 Mar 2008 14:21:12 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 73310 invoked by uid 60001); 8 Mar 2008 14:21:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=ocOrlOE96DZh1ZWiF5CSt/DkEvjzprPyBW6I2aILfMAEgpS8f8LNUzQTQrE2oGe+UFd0ijsOqT9rYFI1rvRx9M7Uole/K9aPTfhLbhWVWk20V8ujPuxdYLGTxAH2TCrPnyO3ewpNk9lBTB6842mVHylbZqylvvJIUgFaZgEK3bk=; X-YMail-OSG: RPnWXjMVM1nBkhh_mHB..rFicZxJekkOBQzU9TQzru2DUAIyKPzBY92qWBnM7hW_n9sx08uvPeBaEZYXpYWFdQdTLtfG1B0qsgziKLzncUV5pgA- Received: from [82.148.96.69] by web33701.mail.mud.yahoo.com via HTTP; Sat, 08 Mar 2008 06:21:11 PST X-Mailer: YahooMailRC/902.35 YahooMailWebService/0.7.162 Date: Sat, 8 Mar 2008 06:21:11 -0800 (PST) From: Abdullah Ibn Hamad Al-Marri To: Rui Paulo , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org MIME-Version: 1.0 Message-ID: <943547.71624.qm@web33701.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: cvs commit: src/sys/i386/cpufreq est.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 14:21:12 -0000 ----- Original Message ---- > From: Rui Paulo > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > Sent: Saturday, March 8, 2008 5:12:35 PM > Subject: cvs commit: src/sys/i386/cpufreq est.c > > rpaulo 2008-03-08 14:12:35 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/i386/cpufreq est.c > Log: > MFC r1.12: > Validate the id16 values gathered from ACPI (previously a TODO > item). > Style changes by me and njl. > > Submitted by: Takeharu KATO > PR: 119350 > > Revision Changes Path > 1.11.2.1 +59 -17 src/sys/i386/cpufreq/est.c Thanks, how about AMD64? Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From owner-cvs-src@FreeBSD.ORG Sat Mar 8 15:38: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 4AD991065671 for ; Sat, 8 Mar 2008 15:38:11 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 007C28FC1B for ; Sat, 8 Mar 2008 15:38:10 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so333871anc.13 for ; Sat, 08 Mar 2008 07:38:10 -0800 (PST) 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=Brag8qY0nrQxvKc48K0CS3m7o6RC5hrfdcunhHwfXKA=; b=pppm6hbWySzfMMKJNbl3e6Uq+adehGolIYgRDVedsJCk2Q53Upt9itUqGGzJT1tKfioy3T7zKVISyLqHjxXd1hKW2pXPBj1MOIz21MJS6uLzOC3aEt7LqXuznMkBDWu0EIJjKM9Rp8X1rfuVo0swv2YepSntxVO8SysOTRYCF5c= 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=m1a7S2r09yImuSoMyx/6op8ivYKBYjx/SGB56ocFl8pgs0HDB2tHSSJHuCf+RWEkoUbUV9JAFQu9jun8HtDvBWObsCaTem4VYDGjkTcQNvjbZm4SSMlPGKcwuJPI70/2DZSdEpHpwEQ+0LoRtooJaR1cS19vOqaUk5P2aA//hs0= Received: by 10.100.253.12 with SMTP id a12mr6718921ani.117.1204990690158; Sat, 08 Mar 2008 07:38:10 -0800 (PST) Received: by 10.100.153.10 with HTTP; Sat, 8 Mar 2008 07:38:10 -0800 (PST) Message-ID: Date: Sat, 8 Mar 2008 15:38:10 +0000 From: "Rui Paulo" Sender: rpaulo@gmail.com To: "Abdullah Ibn Hamad Al-Marri" In-Reply-To: <943547.71624.qm@web33701.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <943547.71624.qm@web33701.mail.mud.yahoo.com> X-Google-Sender-Auth: 270db5000a72cf21 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/cpufreq est.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 15:38:11 -0000 On Sat, Mar 8, 2008 at 2:21 PM, Abdullah Ibn Hamad Al-Marri wrote: > > ----- Original Message ---- > > > From: Rui Paulo > > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > > Sent: Saturday, March 8, 2008 5:12:35 PM > > Subject: cvs commit: src/sys/i386/cpufreq est.c > > > > rpaulo 2008-03-08 14:12:35 UTC > > > > FreeBSD src repository > > > > Modified files: (Branch: RELENG_7) > > > sys/i386/cpufreq est.c > > Log: > > MFC r1.12: > > Validate the id16 values gathered from ACPI (previously a TODO > > item). > > Style changes by me and njl. > > > > Submitted by: Takeharu KATO > > PR: 119350 > > > > Revision Changes Path > > 1.11.2.1 +59 -17 src/sys/i386/cpufreq/est.c > > Thanks, how about AMD64? This directory is shared by i386 and amd64. Regards. -- Rui Paulo From owner-cvs-src@FreeBSD.ORG Sat Mar 8 15:41: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 0C168106566B; Sat, 8 Mar 2008 15:41:07 +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 D5EB48FC15; Sat, 8 Mar 2008 15:41:06 +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 m28Ff6ON012926; Sat, 8 Mar 2008 15:41:06 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28Ff6JM012925; Sat, 8 Mar 2008 15:41:06 GMT (envelope-from remko) Message-Id: <200803081541.m28Ff6JM012925@repoman.freebsd.org> From: Remko Lodder Date: Sat, 8 Mar 2008 15:41: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/tools/tools/tinybsd tinybsd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 15:41:07 -0000 remko 2008-03-08 15:41:06 UTC FreeBSD src repository Modified files: tools/tools/tinybsd tinybsd Log: Improve handling of the tinybsd application wrt ports. Ports that have dependencies or need to install a new user/group, are not problematic anymore. PR: 121367 Submitted by: Richard Arends < richard at unixguru dot nl > MFC after: 3 days Revision Changes Path 1.8 +41 -53 src/tools/tools/tinybsd/tinybsd From owner-cvs-src@FreeBSD.ORG Sat Mar 8 15:42: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 C35A9106566C; Sat, 8 Mar 2008 15:42:24 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from websrv01.jr-hosting.nl (websrv01.jr-hosting.nl [78.47.69.233]) by mx1.freebsd.org (Postfix) with ESMTP id 8462F8FC12; Sat, 8 Mar 2008 15:42:24 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from [195.64.94.120] (helo=elvandar.local) by websrv01.jr-hosting.nl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JY1CC-000Hsf-K1; Sat, 08 Mar 2008 15:42:48 +0000 Message-ID: <47D2B3DF.5000409@FreeBSD.org> Date: Sat, 08 Mar 2008 16:42:23 +0100 From: Remko Lodder User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200803081541.m28Ff6JM012925@repoman.freebsd.org> In-Reply-To: <200803081541.m28Ff6JM012925@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: cvs commit: src/tools/tools/tinybsd tinybsd X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 15:42:24 -0000 Remko Lodder wrote: > remko 2008-03-08 15:41:06 UTC > > FreeBSD src repository > > Modified files: > tools/tools/tinybsd tinybsd > Log: > Improve handling of the tinybsd application wrt ports. Ports that > have dependencies or need to install a new user/group, are not > problematic anymore. > > PR: 121367 > Submitted by: Richard Arends < richard at unixguru dot nl > > MFC after: 3 days Approved by: imp (mentor, implicit for trivial changes) -- /"\ 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 Sat Mar 8 15:48: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 75F3F1065671; Sat, 8 Mar 2008 15:48:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9CB8FC16; Sat, 8 Mar 2008 15:48:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28Fm6nQ013118; Sat, 8 Mar 2008 15:48:06 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28Fm6L2013117; Sat, 8 Mar 2008 15:48:06 GMT (envelope-from rwatson) Message-Id: <200803081548.m28Fm6L2013117@repoman.freebsd.org> From: Robert Watson Date: Sat, 8 Mar 2008 15:48: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/kern kern_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 15:48:06 -0000 rwatson 2008-03-08 15:48:06 UTC FreeBSD src repository Modified files: sys/kern kern_sig.c Log: Unlock the process lock when expand_name() fails, or we may leak the process lock leading to a hang. This bug was introduced in kern_sig.c:1.351, when the call to expand_name() was moved earlier bit this particular error case was not updated. Revision Changes Path 1.356 +1 -0 src/sys/kern/kern_sig.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 16:31: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 91D841065673; Sat, 8 Mar 2008 16:31: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 6778F8FC1F; Sat, 8 Mar 2008 16:31: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 m28GVWeM015836; Sat, 8 Mar 2008 16:31:32 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28GVVZd015835; Sat, 8 Mar 2008 16:31:31 GMT (envelope-from rwatson) Message-Id: <200803081631.m28GVVZd015835@repoman.freebsd.org> From: Robert Watson Date: Sat, 8 Mar 2008 16:31:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 16:31:32 -0000 rwatson 2008-03-08 16:31:29 UTC FreeBSD src repository Modified files: sys/kern kern_sig.c Log: Use sbuf routines to construct core dump filenames rather than custom string buffer handling, making the code both easier to read and more robust against string-handling bugs. MFC after: 1 week Revision Changes Path 1.357 +22 -27 src/sys/kern/kern_sig.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 16:33: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 461821065671 for ; Sat, 8 Mar 2008 16:33:14 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33703.mail.mud.yahoo.com (web33703.mail.mud.yahoo.com [68.142.201.200]) by mx1.freebsd.org (Postfix) with SMTP id 180D98FC15 for ; Sat, 8 Mar 2008 16:33:13 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 74165 invoked by uid 60001); 8 Mar 2008 16:33:13 -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=EKb7gCs8UDIUT5r3fME0HlZzjOv0CJdXeArwyhATdLe9VWy/wEunfxhlDWlOqcfeYO7L+ip8WX4kW+8UKkfLNxhppIjp5UhNcnPSA4RzYf7KTCWZ73YqjkPal4Yhnia+cMIGAtflTz1StHZ4iEDd4kzC17jJ0MlPdl2Y3A+RzGI=; X-YMail-OSG: RFxtFXYVM1lUiOaRh1UDHtXZdrpOi0jwt5HMveN5ocyxqxaViEq65zqXbZOWZ1sP..KST1DGeun.j7q5yLi0MY_nFzg0LhZ5sAJsX_Y0Si93L_c- Received: from [82.148.96.69] by web33703.mail.mud.yahoo.com via HTTP; Sat, 08 Mar 2008 08:33:13 PST X-Mailer: YahooMailRC/902.35 YahooMailWebService/0.7.162 Date: Sat, 8 Mar 2008 08:33:13 -0800 (PST) From: Abdullah Ibn Hamad Al-Marri To: Rui Paulo MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <484742.73871.qm@web33703.mail.mud.yahoo.com> Cc: cvs-src@freebsd.org, src-committers@freebsd.org Subject: Re: cvs commit: src/sys/i386/cpufreq est.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 16:33:14 -0000 ----- Original Message ---- > From: Rui Paulo > To: Abdullah Ibn Hamad Al-Marri > Cc: src-committers@freebsd.org; cvs-src@freebsd.org; cvs-all@freebsd.org > Sent: Saturday, March 8, 2008 6:38:10 PM > Subject: Re: cvs commit: src/sys/i386/cpufreq est.c > > On Sat, Mar 8, 2008 at 2:21 PM, Abdullah Ibn Hamad Al-Marri > wrote: > > > > ----- Original Message ---- > > > > > From: Rui Paulo > > > To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org > > > Sent: Saturday, March 8, 2008 5:12:35 PM > > > Subject: cvs commit: src/sys/i386/cpufreq est.c > > > > > > rpaulo 2008-03-08 14:12:35 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: (Branch: RELENG_7) > > > > > sys/i386/cpufreq est.c > > > Log: > > > MFC r1.12: > > > Validate the id16 values gathered from ACPI (previously a TODO > > > item). > > > Style changes by me and njl. > > > > > > Submitted by: Takeharu KATO > > > PR: 119350 > > > > > > Revision Changes Path > > > 1.11.2.1 +59 -17 src/sys/i386/cpufreq/est.c > > > > Thanks, how about AMD64? > > This directory is shared by i386 and amd64. > > Regards. > -- > Rui Paulo > Thank you, Here what I got. FreeBSD 7.0-STABLE #0: Sat Mar 8 16:16:54 UTC 2008 arabian@MX1.WeArab.Net:/usr/obj/usr/src/sys/MX1 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (2666.62-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3fd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 4276043776 (4077 MB) avail memory = 4106977280 (3916 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 82a082a0600082a device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 82a082a0600082a device_attach: est1 attach returned 6 p4tcc1: on cpu1 Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From owner-cvs-src@FreeBSD.ORG Sat Mar 8 16: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 88F5F1065672; Sat, 8 Mar 2008 16:51:47 +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 59E3C8FC1C; Sat, 8 Mar 2008 16:51:47 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: by sub.vaned.net (Postfix, from userid 1001) id 58ED32E4; Sat, 8 Mar 2008 10:51:46 -0600 (CST) Date: Sat, 8 Mar 2008 10:51:46 -0600 From: "Christian S.J. Peron" To: Robert Watson Message-ID: <20080308165146.GA29675@sub.vaned.net> References: <200803081548.m28Fm6L2013117@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803081548.m28Fm6L2013117@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 16:51:47 -0000 On Sat, Mar 08, 2008 at 03:48:06PM +0000, Robert Watson wrote: > rwatson 2008-03-08 15:48:06 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_sig.c > Log: > Unlock the process lock when expand_name() fails, or we may leak the > process lock leading to a hang. This bug was introduced in > kern_sig.c:1.351, when the call to expand_name() was moved earlier > bit this particular error case was not updated. > Pointy hat to: csjp Thanks for catching this! From owner-cvs-src@FreeBSD.ORG Sat Mar 8 16:58: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 DD5BA1065672; Sat, 8 Mar 2008 16:58:21 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D37C8FC1C; Sat, 8 Mar 2008 16:58:21 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28GwLPG025770; Sat, 8 Mar 2008 16:58:21 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28GwLKt025769; Sat, 8 Mar 2008 16:58:21 GMT (envelope-from bz) Message-Id: <200803081658.m28GwLKt025769@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 16:58:21 +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/netipsec key.c key_debug.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 16:58:22 -0000 bz 2008-03-08 16:58:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netipsec key.c key_debug.c Log: MFC: rev. 1.29 key.c, 1.6 key_debug.c Fix bugs when allocating and passing information of current lifetime and soft lifetime [1] introduced in rev. 1.21 of key.c. Along with that, fix a related problem in key_debug printing the correct data. While there replace a printf by panic in a sanity check. PR: 120751 Submitted by: Kazuaki ODA (kazuaki aliceblue.jp) [1] Revision Changes Path 1.28.2.1 +7 -2 src/sys/netipsec/key.c 1.5.2.1 +22 -4 src/sys/netipsec/key_debug.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 17:01: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 8F6C5106566B; Sat, 8 Mar 2008 17:01:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7F87A8FC1E; Sat, 8 Mar 2008 17:01:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28H1Rkw025975; Sat, 8 Mar 2008 17:01:27 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28H1RaN025974; Sat, 8 Mar 2008 17:01:27 GMT (envelope-from bz) Message-Id: <200803081701.m28H1RaN025974@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 17:01: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/netinet tcp_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 17:01:27 -0000 bz 2008-03-08 17:01:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet tcp_input.c Log: MFC: rev. 1.372 Fix indentation (whitespace changes only). rev. 1.373 Some "cleanup" of tcp_mss(): - Move the assigment of the socket down before we first need it. No need to do it at the beginning and then drop out the function by one of the returns before using it 100 lines further down. - Use t_maxopd which was assigned the "tcp_mssdflt" for the corrrect AF already instead of another #ifdef ? : #endif block doing the same. - Remove an unneeded (duplicate) assignment of mss to t_maxseg just before we possibly change mss and re-do the assignment without using t_maxseg in between. Revision Changes Path 1.370.2.1 +8 -12 src/sys/netinet/tcp_input.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:06: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 06A9C1065671; Sat, 8 Mar 2008 18:06: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 EA64B8FC19; Sat, 8 Mar 2008 18:06:48 +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 m28I6mU4033884; Sat, 8 Mar 2008 18:06:48 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28I6m3K033883; Sat, 8 Mar 2008 18:06:48 GMT (envelope-from scottl) Message-Id: <200803081806.m28I6m3K033883@repoman.freebsd.org> From: Scott Long Date: Sat, 8 Mar 2008 18:06:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/hptrr hptrr_os_bsd.c hptrr_osm_bsd.c ldm.h osm.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:06:49 -0000 scottl 2008-03-08 18:06:48 UTC FreeBSD src repository Modified files: sys/dev/hptrr hptrr_os_bsd.c hptrr_osm_bsd.c ldm.h osm.h Log: Fix a mistake made during the import of the driver. Previous versions of HPT drivers would sometimes test the value of a preprocessor definition but not always make sure that the definition existed in the first place, leading to warnings on newer compilers. I blindly assumed the same with this driver, and it turned out to be wrong and to enable some code that doesn't work. Revision Changes Path 1.4 +3 -3 src/sys/dev/hptrr/hptrr_os_bsd.c 1.4 +2 -2 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.3 +1 -1 src/sys/dev/hptrr/ldm.h 1.4 +1 -1 src/sys/dev/hptrr/osm.h From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:16: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 4AB1F106566B; Sat, 8 Mar 2008 18:16:33 +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 380E08FC1F; Sat, 8 Mar 2008 18:16:33 +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 m28IGXqm034514; Sat, 8 Mar 2008 18:16:33 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IGXY8034513; Sat, 8 Mar 2008 18:16:33 GMT (envelope-from scottl) Message-Id: <200803081816.m28IGXY8034513@repoman.freebsd.org> From: Scott Long Date: Sat, 8 Mar 2008 18:16: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/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:16:33 -0000 scottl 2008-03-08 18:16:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/hptrr amd64-elf.hptrr_lib.o.uu array.h him.h himfuncs.h hptintf.h hptrr_config.c hptrr_config.h hptrr_os_bsd.c hptrr_osm_bsd.c i386-elf.hptrr_lib.o.uu ldm.h list.h os_bsd.h osm.h Log: Re-update to rev 1.2 of the hptrr driver. Revision Changes Path 1.1.2.4 +13261 -12830 src/sys/dev/hptrr/amd64-elf.hptrr_lib.o.uu 1.1.2.4 +8 -5 src/sys/dev/hptrr/array.h 1.1.2.4 +134 -117 src/sys/dev/hptrr/him.h 1.1.2.3 +0 -0 src/sys/dev/hptrr/himfuncs.h 1.1.2.4 +76 -20 src/sys/dev/hptrr/hptintf.h 1.1.2.4 +5 -2 src/sys/dev/hptrr/hptrr_config.c 1.1.2.4 +8 -3 src/sys/dev/hptrr/hptrr_config.h 1.1.2.5 +4 -4 src/sys/dev/hptrr/hptrr_os_bsd.c 1.1.2.4 +9 -10 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.1.2.4 +8768 -8363 src/sys/dev/hptrr/i386-elf.hptrr_lib.o.uu 1.1.2.4 +57 -32 src/sys/dev/hptrr/ldm.h 1.1.2.3 +0 -0 src/sys/dev/hptrr/list.h 1.1.2.4 +4 -0 src/sys/dev/hptrr/os_bsd.h 1.1.2.5 +11 -9 src/sys/dev/hptrr/osm.h From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:17: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 1AEF01065672; Sat, 8 Mar 2008 18:17:26 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E52CC8FC16; Sat, 8 Mar 2008 18:17:25 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IHPTm034585; Sat, 8 Mar 2008 18:17:25 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IHP7V034584; Sat, 8 Mar 2008 18:17:25 GMT (envelope-from bz) Message-Id: <200803081817.m28IHP7V034584@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:17:25 +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/netipsec ipsec.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:17:26 -0000 bz 2008-03-08 18:17:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec ipsec.c Log: "MFC" (code is different) rev. 1.20 ipsec.c s,#if INET*,#ifdef INET*, Revision Changes Path 1.12.2.1 +2 -2 src/sys/netipsec/ipsec.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:19: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 95A5C106566B; Sat, 8 Mar 2008 18:19:50 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3DB8FC22; Sat, 8 Mar 2008 18:19:50 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IJoRl034658; Sat, 8 Mar 2008 18:19:50 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IJoYa034657; Sat, 8 Mar 2008 18:19:50 GMT (envelope-from bz) Message-Id: <200803081819.m28IJoYa034657@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:19:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netipsec key.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:19:50 -0000 bz 2008-03-08 18:19:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec key.c Log: MFC rev. 1.23 key.c Add missing break; so when comparing AF_INET6 addresses, scope and ports we do not run into the default case and return 'no match' instead of 'match'. Revision Changes Path 1.20.2.2 +1 -0 src/sys/netipsec/key.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:22: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 502721065673; Sat, 8 Mar 2008 18:22:21 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 263A98FC14; Sat, 8 Mar 2008 18:22:21 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IMLFK034837; Sat, 8 Mar 2008 18:22:21 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IMLFU034836; Sat, 8 Mar 2008 18:22:21 GMT (envelope-from bz) Message-Id: <200803081822.m28IMLFU034836@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:22:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netipsec ipsec.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:22:21 -0000 bz 2008-03-08 18:22:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec ipsec.c Log: MFC rev. 1.23 ipsec.c Implement ICMPv6 support in ipsec6_get_ulp(). This is needed to make security policies work correctly if ICMPv6 type and/or code are given. See setkey(8) 'upperspec' para. for details. Revision Changes Path 1.12.2.2 +10 -0 src/sys/netipsec/ipsec.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:23: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 D5B70106566B; Sat, 8 Mar 2008 18:23:55 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ABE148FC23; Sat, 8 Mar 2008 18:23:55 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28INtfc034876; Sat, 8 Mar 2008 18:23:55 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28INtfS034875; Sat, 8 Mar 2008 18:23:55 GMT (envelope-from bz) Message-Id: <200803081823.m28INtfS034875@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:23:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netipsec ipsec_output.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:23:56 -0000 bz 2008-03-08 18:23:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec ipsec_output.c Log: MFC rev. 1.13 ipsec_output.c fix typo: s,applyed,applied,g Revision Changes Path 1.10.8.2 +2 -2 src/sys/netipsec/ipsec_output.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:25: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 7F326106566C; Sat, 8 Mar 2008 18:25:58 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 554C28FC15; Sat, 8 Mar 2008 18:25:58 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IPwdb034979; Sat, 8 Mar 2008 18:25:58 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IPwru034978; Sat, 8 Mar 2008 18:25:58 GMT (envelope-from bz) Message-Id: <200803081825.m28IPwru034978@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:25: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/netipsec ipsec_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:25:58 -0000 bz 2008-03-08 18:25:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec ipsec_input.c Log: MFC rev. 1.15 ipsec_input.c Though we are only called for the three security protocols we can handle, document those sprotos using an IPSEC_ASSERT so that it will be clear that 'spi' will always be initialized when used the first time. Found with: Coverity Prevent(tm) CID: 2533 Revision Changes Path 1.9.2.3 +4 -0 src/sys/netipsec/ipsec_input.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:27: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 ED78C106566B; Sat, 8 Mar 2008 18:27:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C3D668FC14; Sat, 8 Mar 2008 18:27:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IRRc8035078; Sat, 8 Mar 2008 18:27:27 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IRRj8035077; Sat, 8 Mar 2008 18:27:27 GMT (envelope-from bz) Message-Id: <200803081827.m28IRRj8035077@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:27:27 +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/netipsec ipsec_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:27:28 -0000 bz 2008-03-08 18:27:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec ipsec_input.c Log: MFC rev. 1.16 ipsec_input.c s,#,*, in a multi-line comment. This is C. No functional change. Revision Changes Path 1.9.2.4 +1 -1 src/sys/netipsec/ipsec_input.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:29: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 96F221065671; Sat, 8 Mar 2008 18:29:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE828FC14; Sat, 8 Mar 2008 18:29:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28ITd14035158; Sat, 8 Mar 2008 18:29:39 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28ITdZo035157; Sat, 8 Mar 2008 18:29:39 GMT (envelope-from bz) Message-Id: <200803081829.m28ITdZo035157@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:29:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netipsec ipsec_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:29:39 -0000 bz 2008-03-08 18:29:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec ipsec_input.c Log: MFC rev. 1.17 ipsec_input.c Looking at {ah,esp}_input_cb it seems we might be able to end up without an mtag in ipsec4_common_input_cb. So in case of !IPCOMP (AH,ESP) only change the m_tag_id if an mtag was passed to ipsec4_common_input_cb. Found with: Coverity Prevent(tm) CID: 2523 Revision Changes Path 1.9.2.5 +1 -1 src/sys/netipsec/ipsec_input.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:34: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 2287B1065670; Sat, 8 Mar 2008 18:34:18 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ECEEF8FC19; Sat, 8 Mar 2008 18:34:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IYH41035883; Sat, 8 Mar 2008 18:34:17 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IYHB6035877; Sat, 8 Mar 2008 18:34:17 GMT (envelope-from bz) Message-Id: <200803081834.m28IYHB6035877@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:34: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/netipsec key.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:34:18 -0000 bz 2008-03-08 18:34:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec key.c Log: MFC rev. 1.25 Add a missing return so that we drop out in case of an error and do not continue with a NULL pointer. [1] While here change the return of the error handling code path above. I cannot see why we should always return 0 there. Neither does KAME nor do we in here for the similar check in all the other functions. Found with: Coverity Prevent(tm) [1] CID: 2521 Revision Changes Path 1.20.2.3 +2 -3 src/sys/netipsec/key.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:37: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 CA0CF106566B; Sat, 8 Mar 2008 18:37:03 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A063F8FC1B; Sat, 8 Mar 2008 18:37:03 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28Ib3uA036415; Sat, 8 Mar 2008 18:37:03 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28Ib3C3036414; Sat, 8 Mar 2008 18:37:03 GMT (envelope-from bz) Message-Id: <200803081837.m28Ib3C3036414@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:37:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netipsec key.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:37:03 -0000 bz 2008-03-08 18:37:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec key.c Log: MFC rev. 1.26 key.c In case of failure we can directly return ENOBUFS because 'result' is still NULL and we do not need to free anything. That allows us to gc the entire goto parts and a now unused variable. Found with: Coverity Prevent(tm) CID: 2519 Revision Changes Path 1.20.2.4 +3 -10 src/sys/netipsec/key.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18: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 61FEA106566C; Sat, 8 Mar 2008 18:38:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 39A068FC31; Sat, 8 Mar 2008 18:38:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IcRrm036464; Sat, 8 Mar 2008 18:38:27 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IcQfP036460; Sat, 8 Mar 2008 18:38:26 GMT (envelope-from bz) Message-Id: <200803081838.m28IcQfP036460@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:38:25 +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/netipsec key.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:38:27 -0000 bz 2008-03-08 18:38:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec key.c Log: MFC rev. 1.27 key.c 'spi' and the return value of ntohl are unsigned. Remove the extra >=0 check which was always true. Document the special meaning of spi values of 0 and 1-255 with a comment. Found with: Coverity Prevent(tm) CID: 2047 Revision Changes Path 1.20.2.5 +6 -1 src/sys/netipsec/key.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:55: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 2BD8B1065670; Sat, 8 Mar 2008 18:55:08 +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 DB67F8FC14; Sat, 8 Mar 2008 18:55: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 948CB41C7A3; Sat, 8 Mar 2008 19:55:05 +0100 (CET) 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 n5KtJ8qteyzF; Sat, 8 Mar 2008 19:55:04 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id E763141C7A7; Sat, 8 Mar 2008 19:55:04 +0100 (CET) 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 60B8B44487F; Sat, 8 Mar 2008 18:53:37 +0000 (UTC) Date: Sat, 8 Mar 2008 18:53:37 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <200803081834.m28IYHB6035877@repoman.freebsd.org> Message-ID: <20080308185230.Q50685@maildrop.int.zabbadoz.net> References: <200803081834.m28IYHB6035877@repoman.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: cvs commit: src/sys/netipsec key.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:55:08 -0000 On Sat, 8 Mar 2008, Bjoern A. Zeeb wrote: > bz 2008-03-08 18:34:17 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_6) > sys/netipsec key.c > Log: > MFC rev. 1.25 > > Add a missing return so that we drop out in case of an error and > do not continue with a NULL pointer. [1] > > While here change the return of the error handling code path above. > I cannot see why we should always return 0 there. Neither does KAME > nor do we in here for the similar check in all the other functions. > > Found with: Coverity Prevent(tm) [1] > CID: 2521 > > Revision Changes Path > 1.20.2.3 +2 -3 src/sys/netipsec/key.c The problem (which was a missing MFC) was Reported by: Matthew Grooms mgrooms shrew.net PR: 121140 -- 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 Mar 8 18:56: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 6F43F10657DA; Sat, 8 Mar 2008 18:56:28 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D6AA98FC1B; Sat, 8 Mar 2008 18:56:22 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28IuMej037736; Sat, 8 Mar 2008 18:56:22 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28IuMsD037735; Sat, 8 Mar 2008 18:56:22 GMT (envelope-from bz) Message-Id: <200803081856.m28IuMsD037735@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 18:56:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netipsec ipsec_input.c ipsec_output.c xform_ipip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 18:56:28 -0000 bz 2008-03-08 18:56:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netipsec ipsec_input.c ipsec_output.c xform_ipip.c Log: MFC rev.s 1.18 ipsec_input.c, 1.16 ipsec_output.c, 1.15 xform_ipip.c Replace hard coded options by their defined PFIL_{IN,OUT} names. Revision Changes Path 1.9.2.6 +2 -1 src/sys/netipsec/ipsec_input.c 1.10.8.3 +2 -1 src/sys/netipsec/ipsec_output.c 1.11.2.3 +2 -1 src/sys/netipsec/xform_ipip.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 18:59: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 4AB28106566C; Sat, 8 Mar 2008 18:59:48 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.71]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB178FC21; Sat, 8 Mar 2008 18:59:47 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp002-s [10.150.69.65]) by smtpoutm.mac.com (Xserve/smtpout008/MantshX 4.0) with ESMTP id m28Ixlg1019674; Sat, 8 Mar 2008 10:59:47 -0800 (PST) Received: from [192.168.1.100] (209-128-86-226.bayarea.net [209.128.86.226]) (authenticated bits=0) by mac.com (Xserve/asmtp002/MantshX 4.0) with ESMTP id m28Ixhjp001096 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 8 Mar 2008 10:59:45 -0800 (PST) Message-Id: <82F5E125-8914-46CB-8522-8FA39F05DC4A@mac.com> From: Marcel Moolenaar To: Rafal Jaworowski In-Reply-To: <47D2681F.2070309@semihalf.com> 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: Sat, 8 Mar 2008 10:59:42 -0800 References: <200803080536.m285aPN7047604@repoman.freebsd.org> <47D2681F.2070309@semihalf.com> X-Mailer: Apple Mail (2.919.2) Cc: cvs-src@FreeBSD.org, Marcel Moolenaar , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/powerpc/booke 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, 08 Mar 2008 18:59:48 -0000 On Mar 8, 2008, at 2:19 AM, Rafal Jaworowski wrote: > Marcel Moolenaar wrote: >> marcel 2008-03-08 05:36:25 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/powerpc/booke machdep.c >> Log: >> Enable the D-cache and I-cache when not already enabled. >> It so happens that U-Boot disables the D-cache when booting >> an ELF image, so this change makes sure we run with the >> D-cache enabled from now on. It shows too... >> > > Thanks for hooking this up, Marcel; it was [far] on my list too :) I just wanted my kernel builds to be faster :-) > BTW: currently U-Boot is broken for most of PPC variations > (including 85xx) in > the following way: d-cache is not being flushed before disabling and > strange > things happen as you imagine. For a quick workaround apply something > like this > when using ELF images: > http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff Yup. That's what we do at Juniper. I don't see any bad effects other than having to invalidate the cache before (re-)enabling it so I don't have that patch applied myself... The problem I'm having with U-Boot is with the TSEC driver as you've seen on the U-Boot mailing list. I have one MPC8555CDS sitting idle after the U-Boot upgrade because I can't netboot :-/ -- Marcel Moolenaar xcllnt@mac.com From owner-cvs-src@FreeBSD.ORG Sat Mar 8 19:14: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 064BF1065671; Sat, 8 Mar 2008 19:14:44 +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 D0CA28FC18; Sat, 8 Mar 2008 19:14:43 +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 m28JEhbx039747; Sat, 8 Mar 2008 19:14:43 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28JEhtd039746; Sat, 8 Mar 2008 19:14:43 GMT (envelope-from obrien) Message-Id: <200803081914.m28JEhtd039746@repoman.freebsd.org> From: "David E. O'Brien" Date: Sat, 8 Mar 2008 19:14: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/modules/zfs 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: Sat, 08 Mar 2008 19:14:44 -0000 obrien 2008-03-08 19:14:43 UTC FreeBSD src repository Modified files: sys/modules/zfs Makefile Log: "root" the include path so there is less duplication. Revision Changes Path 1.9 +18 -16 src/sys/modules/zfs/Makefile From owner-cvs-src@FreeBSD.ORG Sat Mar 8 19:21: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 54384106566C; Sat, 8 Mar 2008 19:21:31 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF988FC17; Sat, 8 Mar 2008 19:21:30 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id m28JLRdL023657; Sat, 8 Mar 2008 12:21:29 -0700 Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id 4C12F143BF; Sat, 8 Mar 2008 20:31:38 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17555-05; Sat, 8 Mar 2008 20:31:36 +0100 (CET) Received: from [77.113.78.105] (apn-77-113-78-105.gprs.plus.pl [77.113.78.105]) by mail.semihalf.com (Postfix) with ESMTP id 88BBA143BA; Sat, 8 Mar 2008 20:31:35 +0100 (CET) Message-ID: <47D2E72E.1000107@semihalf.com> Date: Sat, 08 Mar 2008 20:21:18 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: Marcel Moolenaar References: <200803080536.m285aPN7047604@repoman.freebsd.org> <47D2681F.2070309@semihalf.com> <82F5E125-8914-46CB-8522-8FA39F05DC4A@mac.com> In-Reply-To: <82F5E125-8914-46CB-8522-8FA39F05DC4A@mac.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: cvs-src@FreeBSD.org, Marcel Moolenaar , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/powerpc/booke 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, 08 Mar 2008 19:21:31 -0000 Marcel Moolenaar wrote: >> >> Thanks for hooking this up, Marcel; it was [far] on my list too :) > > I just wanted my kernel builds to be faster :-) > Ah, self-hosted builds you mean? Over NFS, right? (this is how we usually test this) >> BTW: currently U-Boot is broken for most of PPC variations (including >> 85xx) in >> the following way: d-cache is not being flushed before disabling and >> strange >> things happen as you imagine. For a quick workaround apply something >> like this >> when using ELF images: >> http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff > > Yup. That's what we do at Juniper. I don't see any bad effects other > than having to invalidate the cache before (re-)enabling it so I don't > have that patch applied myself... > I have seen strange things, including hangs, and also TSEC non-functional effects due to this issue... :) > The problem I'm having with U-Boot is with the TSEC driver as you've > seen on the U-Boot mailing list. I have one MPC8555CDS sitting idle > after the U-Boot upgrade because I can't netboot :-/ > Yes, I saw. Let me re-flash my 8555 with the latest image and try, but when I'm not remote i.e. Monday. Don't know if you know this tip, but there used to be a second flash bank on the MPC8555CDS that you can access while running from the boot one, so you can recover in such scenario without a h/w debugger by copying over that backup flash bank, provided you have a working image there... Rafal From owner-cvs-src@FreeBSD.ORG Sat Mar 8 19:33: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 83253106566C; Sat, 8 Mar 2008 19:33:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 590308FC12; Sat, 8 Mar 2008 19:33:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28JXZon046052; Sat, 8 Mar 2008 19:33:35 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28JXZ0d046051; Sat, 8 Mar 2008 19:33:35 GMT (envelope-from marius) Message-Id: <200803081933.m28JXZ0d046051@repoman.freebsd.org> From: Marius Strobl Date: Sat, 8 Mar 2008 19:33: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/contrib/gcc/config/sparc freebsd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 19:33:35 -0000 marius 2008-03-08 19:33:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) contrib/gcc/config/sparc freebsd.h Log: MFC: 1.11 Allow the targeted CPU type to be set via -mcpu instead of limiting to the hardcoded equivalent of -mcpu=ultrasparc. PR: 109510 Revision Changes Path 1.10.2.1 +8 -6 src/contrib/gcc/config/sparc/freebsd.h From owner-cvs-src@FreeBSD.ORG Sat Mar 8 21:56: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 BB42B106566C; Sat, 8 Mar 2008 21:56:00 +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 918888FC1D; Sat, 8 Mar 2008 21:56:00 +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 m28Lu05p070347; Sat, 8 Mar 2008 21:56:00 GMT (envelope-from antoine@repoman.freebsd.org) Received: (from antoine@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28Lu0cQ070344; Sat, 8 Mar 2008 21:56:00 GMT (envelope-from antoine) Message-Id: <200803082156.m28Lu0cQ070344@repoman.freebsd.org> From: Antoine Brodin Date: Sat, 8 Mar 2008 21:56: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/lib/libutil humanize_number.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 21:56:00 -0000 antoine 2008-03-08 21:55:59 UTC FreeBSD src repository Modified files: lib/libutil humanize_number.c Log: Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13 Significant changes: - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print an int64_t. - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it should be "1.0G" or "1.0M". The bug reported by Greg Troxel. PR: 118461 PR: 102694 Approved by: rwatson (mentor) Obtained from: NetBSD MFC after: 1 month Revision Changes Path 1.3 +10 -5 src/lib/libutil/humanize_number.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 21:57: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 CFE8B1065672; Sat, 8 Mar 2008 21:57:35 +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 A67FD8FC1A; Sat, 8 Mar 2008 21:57:35 +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 m28LvZh2070412; Sat, 8 Mar 2008 21:57:35 GMT (envelope-from antoine@repoman.freebsd.org) Received: (from antoine@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28LvZCq070411; Sat, 8 Mar 2008 21:57:35 GMT (envelope-from antoine) Message-Id: <200803082157.m28LvZCq070411@repoman.freebsd.org> From: Antoine Brodin Date: Sat, 8 Mar 2008 21:57: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/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: Sat, 08 Mar 2008 21:57:36 -0000 antoine 2008-03-08 21:57:35 UTC FreeBSD src repository Modified files: tools/build/mk OptionalObsoleteFiles.inc Log: Add some checks for amd64 target around usr/lib32 libraries, missed in previous commit. Approved by: rwatson (mentor) X-MFC: with revision 1.13 Revision Changes Path 1.14 +4 -0 src/tools/build/mk/OptionalObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Sat Mar 8 21:59: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 7F82A106566C; Sat, 8 Mar 2008 21:59:44 +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 55F328FC23; Sat, 8 Mar 2008 21:59:44 +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 m28LxifR070489; Sat, 8 Mar 2008 21:59:44 GMT (envelope-from antoine@repoman.freebsd.org) Received: (from antoine@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28LxidP070488; Sat, 8 Mar 2008 21:59:44 GMT (envelope-from antoine) Message-Id: <200803082159.m28LxidP070488@repoman.freebsd.org> From: Antoine Brodin Date: Sat, 8 Mar 2008 21:59:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src 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: Sat, 08 Mar 2008 21:59:44 -0000 antoine 2008-03-08 21:59:44 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: Add some obsolete usr/lib32 libraries. PR: 117189 Submitted by: Scot Hetzel Approved by: rwatson (mentor) MFC after: 1 month Revision Changes Path 1.132 +50 -0 src/ObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Sat Mar 8 22:02: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 E97D7106566B; Sat, 8 Mar 2008 22:02:21 +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 D8C8F8FC17; Sat, 8 Mar 2008 22:02:21 +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 m28M2Lnw070690; Sat, 8 Mar 2008 22:02:21 GMT (envelope-from antoine@repoman.freebsd.org) Received: (from antoine@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28M2Lxu070689; Sat, 8 Mar 2008 22:02:21 GMT (envelope-from antoine) Message-Id: <200803082202.m28M2Lxu070689@repoman.freebsd.org> From: Antoine Brodin Date: Sat, 8 Mar 2008 22:02:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/sys fcntl.2 src/sys/kern kern_descrip.c src/sys/sys fcntl.h src/tools/regression/file/dup dup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 22:02:22 -0000 antoine 2008-03-08 22:02:21 UTC FreeBSD src repository Modified files: lib/libc/sys fcntl.2 sys/kern kern_descrip.c sys/sys fcntl.h tools/regression/file/dup dup.c Log: Introduce a new F_DUP2FD command to fcntl(2), for compatibility with Solaris and AIX. fcntl(fd, F_DUP2FD, arg) and dup2(fd, arg) are functionnaly equivalent. Document it. Add some regression tests (identical to the dup2(2) regression tests). PR: 120233 Submitted by: Jukka Ukkonen Approved by: rwaston (mentor) MFC after: 1 month Revision Changes Path 1.46 +37 -1 src/lib/libc/sys/fcntl.2 1.325 +6 -1 src/sys/kern/kern_descrip.c 1.18 +1 -0 src/sys/sys/fcntl.h 1.3 +71 -2 src/tools/regression/file/dup/dup.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 22:17: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 6ABD91065675; Sat, 8 Mar 2008 22:17:15 +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 413758FC1C; Sat, 8 Mar 2008 22:17:15 +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 m28MHF84072327; Sat, 8 Mar 2008 22:17:15 GMT (envelope-from antoine@repoman.freebsd.org) Received: (from antoine@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28MHFHD072326; Sat, 8 Mar 2008 22:17:15 GMT (envelope-from antoine) Message-Id: <200803082217.m28MHFHD072326@repoman.freebsd.org> From: Antoine Brodin Date: Sat, 8 Mar 2008 22:17: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 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: Sat, 08 Mar 2008 22:17:15 -0000 antoine 2008-03-08 22:17:14 UTC FreeBSD src repository Modified files: sys/sys param.h Log: Bump __FreeBSD_version for F_DUP2FD command to fcntl(2) Requested by: Craig Rodrigues Approved by: rwatson (mentor) Revision Changes Path 1.341 +1 -1 src/sys/sys/param.h From owner-cvs-src@FreeBSD.ORG Sat Mar 8 23:36: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 2DA801065670; Sat, 8 Mar 2008 23:36:26 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 03C758FC15; Sat, 8 Mar 2008 23:36:26 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28NaPVw076008; Sat, 8 Mar 2008 23:36:25 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28NaPjo076007; Sat, 8 Mar 2008 23:36:25 GMT (envelope-from bz) Message-Id: <200803082336.m28NaPjo076007@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 23:36: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/boot/i386/libi386 biosdisk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 23:36:26 -0000 bz 2008-03-08 23:36:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/boot/i386/libi386 biosdisk.c Log: MFC rev. 1.54 Though we are currently not interested in the EDD3 flag, Enhanced Disk Drive Specification Ver 3.0 defines that the version of extension in AH would be 30h. Correct the check for that to be >=30h instead of >3h. Revision Changes Path 1.48.2.5 +1 -1 src/sys/boot/i386/libi386/biosdisk.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 23:41: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 57E271065672; Sat, 8 Mar 2008 23:41:48 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3E48FC1E; Sat, 8 Mar 2008 23:41:48 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28NfmSl076163; Sat, 8 Mar 2008 23:41:48 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28Nfmae076162; Sat, 8 Mar 2008 23:41:48 GMT (envelope-from bz) Message-Id: <200803082341.m28Nfmae076162@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 23:41: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/netinet in.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 23:41:48 -0000 bz 2008-03-08 23:41:47 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in.c Log: MFC rev. 1.103 in.c Differentiate between addifaddr and delifaddr for the privilege check. Revision Changes Path 1.102.2.1 +2 -1 src/sys/netinet/in.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 23:45: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 0C7791065671; Sat, 8 Mar 2008 23:45:40 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D7CC78FC23; Sat, 8 Mar 2008 23:45:39 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28Njd87076352; Sat, 8 Mar 2008 23:45:39 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28NjdXI076351; Sat, 8 Mar 2008 23:45:39 GMT (envelope-from bz) Message-Id: <200803082345.m28NjdXI076351@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 8 Mar 2008 23:45: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/sys/netinet6 in6_src.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 23:45:40 -0000 bz 2008-03-08 23:45:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet6 in6_src.c Log: MFC rev. 1.49 in6_src.c Correct the commented out debugging printf()s in REPLACE and NEXT macros. ip6_sprintf() needs a buffer as first argument these days. Revision Changes Path 1.46.2.1 +8 -2 src/sys/netinet6/in6_src.c From owner-cvs-src@FreeBSD.ORG Sat Mar 8 23:55: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 9FF75106566C; Sat, 8 Mar 2008 23:55:30 +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 75E798FC16; Sat, 8 Mar 2008 23:55:30 +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 m28NtU8d076703; Sat, 8 Mar 2008 23:55:30 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28NtU6Y076702; Sat, 8 Mar 2008 23:55:30 GMT (envelope-from mav) Message-Id: <200803082355.m28NtU6Y076702@repoman.freebsd.org> From: Alexander Motin Date: Sat, 8 Mar 2008 23:55:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_l2tp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Mar 2008 23:55:30 -0000 mav 2008-03-08 23:55:29 UTC FreeBSD src repository Modified files: sys/netgraph ng_l2tp.c Log: To avoid control data losses do not acknowledge recieving of control packet if netgraph reported error while delivering to destination. Reset 'next send' counter to the last requested by peer on ack timeout to resend all subsequest packets after lost one again without additional hints. Revision Changes Path 1.23 +44 -54 src/sys/netgraph/ng_l2tp.c