From owner-cvs-src@FreeBSD.ORG Sun Jun 3 00:40:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A77916A400; Sun, 3 Jun 2007 00:40:57 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 44AD513C458; Sun, 3 Jun 2007 00:40:57 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l530evwv031078; Sun, 3 Jun 2007 00:40:57 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l530evvv031065; Sun, 3 Jun 2007 00:40:57 GMT (envelope-from njl) Message-Id: <200706030040.l530evvv031065@repoman.freebsd.org> From: Nate Lawson Date: Sun, 3 Jun 2007 00:40: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/dev/acpica acpi_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 00:40:57 -0000 njl 2007-06-03 00:40:56 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_cpu.c Log: Disable CPU idle states during suspend and reenable them during resume. While in the suspend path, this means the idle thread will just return immediately rather than trying to enter C1-n. This helps in the case where the chipset is powered down before the rest of the system and reads from the cpu sleep registers begin returning immediately, causing the logic that catches bad C2/C3 behavior to kick in. Observed on my Panasonic Y4. MFC after: 3 days Revision Changes Path 1.66 +29 -2 src/sys/dev/acpica/acpi_cpu.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 02:16:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F6CF16A421; Sun, 3 Jun 2007 02:16:50 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3985A13C448; Sun, 3 Jun 2007 02:16:50 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l532GoKo026639; Sun, 3 Jun 2007 02:16:50 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l532GnLc026638; Sun, 3 Jun 2007 02:16:49 GMT (envelope-from sam) Message-Id: <200706030216.l532GnLc026638@repoman.freebsd.org> From: Sam Leffler Date: Sun, 3 Jun 2007 02:16: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/ath if_ath.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 02:16:50 -0000 sam 2007-06-03 02:16:49 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c Log: disable taskqueue_drain calls on transition to INIT state; we need to find another way to do this as we cannot hold the softc mtx across these calls Revision Changes Path 1.169 +2 -0 src/sys/dev/ath/if_ath.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 03:07:11 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCEE516A400; Sun, 3 Jun 2007 03:07:11 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9706F13C447; Sun, 3 Jun 2007 03:07:11 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5337BiC073941; Sun, 3 Jun 2007 03:07:11 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5337B0T073934; Sun, 3 Jun 2007 03:07:11 GMT (envelope-from grog) Message-Id: <200706030307.l5337B0T073934@repoman.freebsd.org> From: Greg Lehey Date: Sun, 3 Jun 2007 03:07:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/calendar day.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 03:07:11 -0000 grog 2007-06-03 03:07:10 UTC FreeBSD src repository Modified files: usr.bin/calendar day.c Log: Fix various bugs in the -A and -B options. Submitted by: edwin@ PR: bin/113250 MFC after: 2 weeks Revision Changes Path 1.26 +36 -8 src/usr.bin/calendar/day.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 03:29:33 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6559416A41F; Sun, 3 Jun 2007 03:29:33 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5365513C44C; Sun, 3 Jun 2007 03:29:33 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l533TXQ3095000; Sun, 3 Jun 2007 03:29:33 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l533TXao094990; Sun, 3 Jun 2007 03:29:33 GMT (envelope-from grog) Message-Id: <200706030329.l533TXao094990@repoman.freebsd.org> From: Greg Lehey Date: Sun, 3 Jun 2007 03:29: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/tools/regression/usr.bin Makefile src/tools/regression/usr.bin/calendar Makefile calendar.calibrate regress.a1.out regress.a2.out regress.a3.out regress.a4.out regress.a5.out regress.b1.out regress.b2.out regress.b3.out regress.b4.out regress.b5.out ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 03:29:33 -0000 grog 2007-06-03 03:29:32 UTC FreeBSD src repository Modified files: tools/regression/usr.bin Makefile Added files: tools/regression/usr.bin/calendar Makefile calendar.calibrate regress.a1.out regress.a2.out regress.a3.out regress.a4.out regress.a5.out regress.b1.out regress.b2.out regress.b3.out regress.b4.out regress.b5.out regress.s1.out regress.s2.out regress.s3.out regress.s4.out regress.sh regress.t Log: Add regression tests for calendar. Submitted by: edwin@ PR: bin/113275 MFC after: 2 weeks Revision Changes Path 1.12 +1 -1 src/tools/regression/usr.bin/Makefile 1.1 +4 -0 src/tools/regression/usr.bin/calendar/Makefile (new) 1.1 +367 -0 src/tools/regression/usr.bin/calendar/calendar.calibrate (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a1.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a2.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a3.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a4.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.a5.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b1.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b2.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b3.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b4.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.b5.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.s1.out (new) 1.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.s2.out (new) 1.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.s3.out (new) 1.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.s4.out (new) 1.1 +33 -0 src/tools/regression/usr.bin/calendar/regress.sh (new) 1.1 +6 -0 src/tools/regression/usr.bin/calendar/regress.t (new) From owner-cvs-src@FreeBSD.ORG Sun Jun 3 05:42:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1919D16A400; Sun, 3 Jun 2007 05:42:06 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0B3A113C44B; Sun, 3 Jun 2007 05:42:06 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l535g5ew022633; Sun, 3 Jun 2007 05:42:05 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l535g54h022629; Sun, 3 Jun 2007 05:42:05 GMT (envelope-from imp) Message-Id: <200706030542.l535g54h022629@repoman.freebsd.org> From: Warner Losh Date: Sun, 3 Jun 2007 05:42:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/pccbb pccbb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 05:42:06 -0000 imp 2007-06-03 05:42:05 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: Minor filter tweaks: o If we don't have a filter, also check to make sure the card is there before calling the scheduled ISR. This is necessary to help old drivers whose ISRs can't cope with being called with the hardware missing, which sadly still exist in the tree. This is the main reason why we have an extra layer of indirection for cardbus interrupts. o If the card is no longer present, mark the interrupt as 'handled' rather than 'stray' because this accounts for why the interrupt happened. Stray isn't all bad, since there are other filters that would claim it... o Fix some comments + Add comment about why we check for CARD_OK and touch the hardware in both the filter and ISR. + add a note about why we don't care about Giant + also note that giant can't be taken out in a filter... + Some minor formatting nits on very long comments. Revision Changes Path 1.162 +47 -26 src/sys/dev/pccbb/pccbb.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 07:43:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2444516A469; Sun, 3 Jun 2007 07:43:16 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F1F9213C44C; Sun, 3 Jun 2007 07:43:15 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l537hFPf031016; Sun, 3 Jun 2007 07:43:15 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l537hF29031012; Sun, 3 Jun 2007 07:43:15 GMT (envelope-from yongari) Message-Id: <200706030743.l537hF29031012@repoman.freebsd.org> From: Pyun YongHyeon Date: Sun, 3 Jun 2007 07:43:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/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, 03 Jun 2007 07:43:16 -0000 yongari 2007-06-03 07:43:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/re if_re.c Log: MFC if_re.c, 1.81 to RELENG_6 Fix re_setmulti() so that it works correctly for PCIe chips where the multicast hash table are in reverse order compared to older devices. PR: 112089 Revision Changes Path 1.46.2.28 +19 -2 src/sys/dev/re/if_re.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 07:47:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B714516A421; Sun, 3 Jun 2007 07:47:40 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A8DDB13C455; Sun, 3 Jun 2007 07:47:40 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l537le8n035130; Sun, 3 Jun 2007 07:47:40 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l537leHu035129; Sun, 3 Jun 2007 07:47:40 GMT (envelope-from yongari) Message-Id: <200706030747.l537leHu035129@repoman.freebsd.org> From: Pyun YongHyeon Date: Sun, 3 Jun 2007 07:47:40 +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, 03 Jun 2007 07:47:40 -0000 yongari 2007-06-03 07:47:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/re if_re.c Log: MFC if_re.c, 1.84 to RELENG_6 The TCP checksum offload handling in the 8111B/8168B and 8101E PCIe can apparently be confused by short TCP segments that have been manually padded to the minimum ethernet frame size. The driver does short frame padding in software as a workaround for a bug in the 8169 PCI devices that causes short IP fragments to be corrupted due to an apparent conflict between the hardware autopadding and hardware IP checksumming. To fix this, we avoid software padding for short TCP segments, since the hardware seems to autopad and checksum these correctly (even the older 8169 NICs get these right). Short UDP packets appear to be handled correctly in all cases. This should work around the IP header checksum bug in the 8169 while not tripping the TCP checksum bug in the 8111B/8168B and 8101E. PR: 112089 Revision Changes Path 1.46.2.29 +6 -1 src/sys/dev/re/if_re.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 10:56:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0860416A400; Sun, 3 Jun 2007 10:56:24 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D682013C465; Sun, 3 Jun 2007 10:56:23 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53AuNYt016120; Sun, 3 Jun 2007 10:56:23 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53AuNZD016111; Sun, 3 Jun 2007 10:56:23 GMT (envelope-from ariff) Message-Id: <200706031056.l53AuNZD016111@repoman.freebsd.org> From: Ariff Abdullah Date: Sun, 3 Jun 2007 10:56:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/sound/pcm dsp.c mixer.c sound.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 10:56:24 -0000 ariff 2007-06-03 10:56:23 UTC FreeBSD src repository Modified files: sys/dev/sound/pcm dsp.c mixer.c sound.c Log: Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) . Things can get ugly without it due to uninitialized class. RELENG_6 need a simmilar, but different treatment as well. err.. perhaps we should teach devclass_get_maxunit() to return -1 ? MFC after: 1 day Revision Changes Path 1.104 +2 -1 src/sys/dev/sound/pcm/dsp.c 1.60 +2 -1 src/sys/dev/sound/pcm/mixer.c 1.114 +8 -4 src/sys/dev/sound/pcm/sound.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 13:36:05 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C55916A46C; Sun, 3 Jun 2007 13:36:05 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5E77213C455; Sun, 3 Jun 2007 13:36:05 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53Da54p082501; Sun, 3 Jun 2007 13:36:05 GMT (envelope-from philip@repoman.freebsd.org) Received: (from philip@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53Da5xJ082500; Sun, 3 Jun 2007 13:36:05 GMT (envelope-from philip) Message-Id: <200706031336.l53Da5xJ082500@repoman.freebsd.org> From: Philip Paeps Date: Sun, 3 Jun 2007 13:36:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/moused Makefile moused.8 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: Sun, 03 Jun 2007 13:36:05 -0000 philip 2007-06-03 13:36:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/moused Makefile moused.8 moused.c Log: MFC: moused.c rev 1.77 and rev 1.78 moused.8 rev 1.60 and rev 1.61 Makefile rev 1.9 Add dynamic acceleration to moused(8). This introduces a '-A' flag to control the acceleration algorithm. It can be used together with the '-a' flag for regular acceleration. [1] Convert macros to use C99's syntax for macros with a variable number of arguments. Markup fixes to moused(8). Submitted by: Oliver Fromme [1] Behind on MFCs: philip Revision Changes Path 1.7.2.2 +2 -2 src/usr.sbin/moused/Makefile 1.53.2.3 +67 -17 src/usr.sbin/moused/moused.8 1.70.2.4 +79 -16 src/usr.sbin/moused/moused.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 13:43:00 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 988E216A41F; Sun, 3 Jun 2007 13:43:00 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 72ACF13C45E; Sun, 3 Jun 2007 13:43:00 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53Dh0Kj089252; Sun, 3 Jun 2007 13:43:00 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53Dh0JR089251; Sun, 3 Jun 2007 13:43:00 GMT (envelope-from simokawa) Message-Id: <200706031343.l53Dh0JR089251@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Sun, 3 Jun 2007 13:43:00 +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/dconschat dconschat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 13:43:00 -0000 simokawa 2007-06-03 13:43:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/dconschat dconschat.c Log: MFC: rev 1.10 Discard backlog on GDB port when connected. Revision Changes Path 1.9.2.1 +10 -0 src/usr.sbin/dconschat/dconschat.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 13:52:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43C4316A400; Sun, 3 Jun 2007 13:52:47 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1DC3E13C447; Sun, 3 Jun 2007 13:52:47 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53Dqk3J097927; Sun, 3 Jun 2007 13:52:46 GMT (envelope-from philip@repoman.freebsd.org) Received: (from philip@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53Dqkij097923; Sun, 3 Jun 2007 13:52:46 GMT (envelope-from philip) Message-Id: <200706031352.l53Dqkij097923@repoman.freebsd.org> From: Philip Paeps Date: Sun, 3 Jun 2007 13:52:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/gnu/usr.bin/send-pr send-pr.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 13:52:47 -0000 philip 2007-06-03 13:52:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) gnu/usr.bin/send-pr send-pr.sh Log: MFC: Don't lie about saved reports. PR: gnu/89777 Submitted by: edwin Revision Changes Path 1.36.2.1 +1 -1 src/gnu/usr.bin/send-pr/send-pr.sh From owner-cvs-src@FreeBSD.ORG Sun Jun 3 14:59:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71BF316A41F; Sun, 3 Jun 2007 14:59:12 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4B8B613C447; Sun, 3 Jun 2007 14:59:12 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53ExCXi055955; Sun, 3 Jun 2007 14:59:12 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53ExCet055954; Sun, 3 Jun 2007 14:59:12 GMT (envelope-from brueffer) Message-Id: <200706031459.l53ExCet055954@repoman.freebsd.org> From: Christian Brueffer Date: Sun, 3 Jun 2007 14:59:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 14:59:12 -0000 brueffer 2007-06-03 14:59:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: MFC: New release notes: - touch -A - xorg 7.2 update - mxge(4) - X11BASE -> LOCALBASE transition - netcat update to OpenBSD 4.1 version - fdisk -p Revision Changes Path 1.883.2.73 +24 -0 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Sun Jun 3 15:32:07 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F69416A468; Sun, 3 Jun 2007 15:32:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2A23C13C448; Sun, 3 Jun 2007 15:32:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53FW7a3088028; Sun, 3 Jun 2007 15:32:07 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53FW6S7088023; Sun, 3 Jun 2007 15:32:06 GMT (envelope-from bz) Message-Id: <200706031532.l53FW6S7088023@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Sun, 3 Jun 2007 15:32: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/libexec/tftpd tftpd.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 15:32:07 -0000 bz 2007-06-03 15:32:06 UTC FreeBSD src repository Modified files: libexec/tftpd tftpd.8 Log: Correct a typo. PR: 106049 Submitted by: edwin (as part of a larger patch) Revision Changes Path 1.21 +1 -1 src/libexec/tftpd/tftpd.8 From owner-cvs-src@FreeBSD.ORG Sun Jun 3 16:49:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D52116A468; Sun, 3 Jun 2007 16:49:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 079C413C46E; Sun, 3 Jun 2007 16:49:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53Gnv9U080050; Sun, 3 Jun 2007 16:49:57 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53GnvYs080046; Sun, 3 Jun 2007 16:49:57 GMT (envelope-from dougb) Message-Id: <200706031649.l53GnvYs080046@repoman.freebsd.org> From: Doug Barton Date: Sun, 3 Jun 2007 16:49: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/lib/bind config.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: Sun, 03 Jun 2007 16:49:58 -0000 dougb 2007-06-03 16:49:57 UTC FreeBSD src repository Modified files: lib/bind config.mk Log: Fix the amd64 and pc98 versions of ISC_ATOMIC_ARCH with some help from ru@. Take a guess at what might work on arm to try and fix the build. Revision Changes Path 1.18 +3 -5 src/lib/bind/config.mk From owner-cvs-src@FreeBSD.ORG Sun Jun 3 17:02:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 131D916A468; Sun, 3 Jun 2007 17:02:36 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 05B8713C455; Sun, 3 Jun 2007 17:02:36 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53H2Z5G089482; Sun, 3 Jun 2007 17:02:35 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53H2ZxQ089469; Sun, 3 Jun 2007 17:02:35 GMT (envelope-from ume) Message-Id: <200706031702.l53H2ZxQ089469@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Sun, 3 Jun 2007 17:02:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: ISC Cc: Subject: cvs commit: src - 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: Sun, 03 Jun 2007 17:02:36 -0000 ume 2007-06-03 17:02:34 UTC FreeBSD src repository src - Imported sources Update of /home/ncvs/src In directory repoman.freebsd.org:/tmp/cvs-serv89319 Log Message: Vendor import of BIND 9.4.1 Status: Vendor Tag: ISC Release Tags: BIND_9_4_1 U src/lib/libc/include/resolv_mt.h U src/lib/libc/include/isc/eventlib.h C src/lib/libc/inet/inet_addr.c U src/lib/libc/inet/inet_cidr_ntop.c C src/lib/libc/inet/inet_cidr_pton.c C src/lib/libc/inet/inet_lnaof.c C src/lib/libc/inet/inet_makeaddr.c C src/lib/libc/inet/inet_net_ntop.c C src/lib/libc/inet/inet_net_pton.c C src/lib/libc/inet/inet_neta.c C src/lib/libc/inet/inet_netof.c C src/lib/libc/inet/inet_network.c C src/lib/libc/inet/inet_ntoa.c C src/lib/libc/inet/inet_ntop.c C src/lib/libc/inet/inet_pton.c C src/lib/libc/inet/nsap_addr.c C src/lib/libc/isc/ev_streams.c C src/lib/libc/isc/ev_timers.c C src/lib/libc/isc/eventlib_p.h U src/lib/libc/nameser/ns_name.c U src/lib/libc/nameser/ns_netint.c U src/lib/libc/nameser/ns_parse.c C src/lib/libc/nameser/ns_print.c C src/lib/libc/nameser/ns_samedomain.c U src/lib/libc/nameser/ns_ttl.c C src/lib/libc/resolv/herror.c U src/lib/libc/resolv/mtctxres.c C src/lib/libc/resolv/res_comp.c C src/lib/libc/resolv/res_data.c C src/lib/libc/resolv/res_debug.c U src/lib/libc/resolv/res_debug.h C src/lib/libc/resolv/res_findzonecut.c C src/lib/libc/resolv/res_init.c C src/lib/libc/resolv/res_mkquery.c C src/lib/libc/resolv/res_mkupdate.c U src/lib/libc/resolv/res_private.h C src/lib/libc/resolv/res_query.c C src/lib/libc/resolv/res_send.c C src/lib/libc/resolv/res_update.c C src/include/res_update.h C src/include/resolv.h C src/include/arpa/nameser.h C src/include/arpa/inet.h C src/include/arpa/nameser_compat.h 34 conflicts created by this import. Use the following command to help the merge: cvs checkout -jISC:yesterday -jISC src From owner-cvs-src@FreeBSD.ORG Sun Jun 3 17:20:28 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A97516A421; Sun, 3 Jun 2007 17:20:28 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1986413C465; Sun, 3 Jun 2007 17:20:28 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53HKRcN007334; Sun, 3 Jun 2007 17:20:27 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53HKRNs007330; Sun, 3 Jun 2007 17:20:27 GMT (envelope-from ume) Message-Id: <200706031720.l53HKRNs007330@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Sun, 3 Jun 2007 17:20: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/include res_update.h resolv.h src/include/arpa inet.h nameser.h nameser_compat.h src/lib/libc/inet inet_addr.c inet_cidr_pton.c inet_lnaof.c inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c inet_network.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 17:20:28 -0000 ume 2007-06-03 17:20:27 UTC FreeBSD src repository Modified files: include res_update.h resolv.h include/arpa inet.h nameser.h nameser_compat.h lib/libc/inet inet_addr.c inet_cidr_pton.c inet_lnaof.c inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c nsap_addr.c lib/libc/isc ev_streams.c ev_timers.c eventlib_p.h lib/libc/nameser ns_print.c ns_samedomain.c lib/libc/resolv herror.c res_comp.c res_data.c res_debug.c res_findzonecut.c res_init.c res_mkquery.c res_mkupdate.c res_query.c res_send.c res_update.c Log: Merge BIND 9.4.1 into main chunk. MFC after: 2 weeks Revision Changes Path 1.27 +4 -2 src/include/arpa/inet.h 1.20 +169 -171 src/include/arpa/nameser.h 1.7 +30 -29 src/include/arpa/nameser_compat.h 1.3 +17 -13 src/include/res_update.h 1.32 +82 -83 src/include/resolv.h 1.4 +9 -7 src/lib/libc/inet/inet_addr.c 1.3 +9 -7 src/lib/libc/inet/inet_cidr_pton.c 1.4 +3 -1 src/lib/libc/inet/inet_lnaof.c 1.4 +3 -1 src/lib/libc/inet/inet_makeaddr.c 1.4 +6 -4 src/lib/libc/inet/inet_net_ntop.c 1.3 +20 -18 src/lib/libc/inet/inet_net_pton.c 1.3 +4 -2 src/lib/libc/inet/inet_neta.c 1.4 +3 -1 src/lib/libc/inet/inet_netof.c 1.4 +3 -1 src/lib/libc/inet/inet_network.c 1.4 +4 -2 src/lib/libc/inet/inet_ntoa.c 1.3 +4 -2 src/lib/libc/inet/inet_ntop.c 1.3 +5 -3 src/lib/libc/inet/inet_pton.c 1.3 +3 -1 src/lib/libc/inet/nsap_addr.c 1.3 +3 -1 src/lib/libc/isc/ev_streams.c 1.3 +3 -1 src/lib/libc/isc/ev_timers.c 1.5 +8 -7 src/lib/libc/isc/eventlib_p.h 1.3 +15 -16 src/lib/libc/nameser/ns_print.c 1.4 +26 -25 src/lib/libc/nameser/ns_samedomain.c 1.4 +9 -7 src/lib/libc/resolv/herror.c 1.4 +21 -19 src/lib/libc/resolv/res_comp.c 1.4 +24 -22 src/lib/libc/resolv/res_data.c 1.5 +57 -55 src/lib/libc/resolv/res_debug.c 1.3 +24 -21 src/lib/libc/resolv/res_findzonecut.c 1.6 +14 -12 src/lib/libc/resolv/res_init.c 1.4 +23 -22 src/lib/libc/resolv/res_mkquery.c 1.3 +40 -36 src/lib/libc/resolv/res_mkupdate.c 1.5 +19 -19 src/lib/libc/resolv/res_query.c 1.8 +29 -24 src/lib/libc/resolv/res_send.c 1.3 +5 -4 src/lib/libc/resolv/res_update.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 18:11:31 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D54CA16A41F; Sun, 3 Jun 2007 18:11:31 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AF9E113C45D; Sun, 3 Jun 2007 18:11:31 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53IBVh1059590; Sun, 3 Jun 2007 18:11:31 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53IBV1I059568; Sun, 3 Jun 2007 18:11:31 GMT (envelope-from ume) Message-Id: <200706031811.l53IBV1I059568@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Sun, 3 Jun 2007 18:11:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: ISC Cc: Subject: cvs commit: src - 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: Sun, 03 Jun 2007 18:11:31 -0000 ume 2007-06-03 18:11:30 UTC FreeBSD src repository src - Imported sources Update of /home/ncvs/src In directory repoman.freebsd.org:/tmp/cvs-serv59502 Log Message: Vendor import of BIND 9.4.1 Status: Vendor Tag: ISC Release Tags: BIND_9_4_1 U src/lib/libc/include/resolv_mt.h C src/lib/libc/include/isc/list.h 1 conflicts created by this import. Use the following command to help the merge: cvs checkout -jISC:yesterday -jISC src From owner-cvs-src@FreeBSD.ORG Sun Jun 3 18:14:09 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C374E16A421; Sun, 3 Jun 2007 18:14:09 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAF013C448; Sun, 3 Jun 2007 18:14:09 +0000 (UTC) (envelope-from ume@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53IE9c6062378; Sun, 3 Jun 2007 18:14:09 GMT (envelope-from ume@repoman.freebsd.org) Received: (from ume@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53IDxo4062149; Sun, 3 Jun 2007 18:13:59 GMT (envelope-from ume) Message-Id: <200706031813.l53IDxo4062149@repoman.freebsd.org> From: Hajimu UMEMOTO Date: Sun, 3 Jun 2007 18:13: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/libc/include/isc list.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, 03 Jun 2007 18:14:09 -0000 ume 2007-06-03 18:13:59 UTC FreeBSD src repository Modified files: lib/libc/include/isc list.h Log: Merge BIND 9.4.1 into main chunk. MFC after: 2 weeks Revision Changes Path 1.3 +7 -2 src/lib/libc/include/isc/list.h From owner-cvs-src@FreeBSD.ORG Sun Jun 3 18:24:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 547BB16A41F; Sun, 3 Jun 2007 18:24:32 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED4813C45B; Sun, 3 Jun 2007 18:24:32 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53IOWxd073922; Sun, 3 Jun 2007 18:24:32 GMT (envelope-from kris@repoman.freebsd.org) Received: (from kris@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53IOVel073913; Sun, 3 Jun 2007 18:24:31 GMT (envelope-from kris) Message-Id: <200706031824.l53IOVel073913@repoman.freebsd.org> From: Kris Kennaway Date: Sun, 3 Jun 2007 18:24:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern subr_lock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 18:24:32 -0000 kris 2007-06-03 18:24:31 UTC FreeBSD src repository Modified files: sys/kern subr_lock.c Log: Revert some debugging KTRs that were added during development. Revision Changes Path 1.16 +0 -4 src/sys/kern/subr_lock.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 19:39:39 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D40E16A46D; Sun, 3 Jun 2007 19:39:39 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 133F513C46E; Sun, 3 Jun 2007 19:39:39 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53Jdc6U042502; Sun, 3 Jun 2007 19:39:38 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53Jdckw042501; Sun, 3 Jun 2007 19:39:38 GMT (envelope-from alc) Message-Id: <200706031939.l53Jdckw042501@repoman.freebsd.org> From: Alan Cox Date: Sun, 3 Jun 2007 19:39: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/sparc64/sparc64 pmap.c tsb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 03 Jun 2007 19:39:39 -0000 alc 2007-06-03 19:39:38 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 pmap.c tsb.c Log: Prepare for the new physical memory allocator: Change the way that the physical page's color is obtained. Approved by: re Revision Changes Path 1.164 +1 -1 src/sys/sparc64/sparc64/pmap.c 1.39 +1 -1 src/sys/sparc64/sparc64/tsb.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 22:44:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FB1D16A400; Sun, 3 Jun 2007 22:44:24 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6851113C45E; Sun, 3 Jun 2007 22:44:24 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53MiOmJ035190; Sun, 3 Jun 2007 22:44:24 GMT (envelope-from philip@repoman.freebsd.org) Received: (from philip@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53MiOBK035185; Sun, 3 Jun 2007 22:44:24 GMT (envelope-from philip) Message-Id: <200706032244.l53MiOBK035185@repoman.freebsd.org> From: Philip Paeps Date: Sun, 3 Jun 2007 22:44:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/acpi_support acpi_asus.c src/share/man/man4/man4.i386 acpi_asus.4 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 22:44:24 -0000 philip 2007-06-03 22:44:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/acpi_support acpi_asus.c share/man/man4/man4.i386 acpi_asus.4 Log: MFC: Add support for Asus A3N laptops. Submitted by: Holger Jorra Revision Changes Path 1.9.2.4 +3 -1 src/share/man/man4/man4.i386/acpi_asus.4 1.24.2.3 +12 -0 src/sys/dev/acpi_support/acpi_asus.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 22:58:28 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61EEF16A469; Sun, 3 Jun 2007 22:58:28 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 438EC13C447; Sun, 3 Jun 2007 22:58:28 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53MwSfr047549; Sun, 3 Jun 2007 22:58:28 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53MwScr047542; Sun, 3 Jun 2007 22:58:28 GMT (envelope-from scottl) Message-Id: <200706032258.l53MwScr047542@repoman.freebsd.org> From: Scott Long Date: Sun, 3 Jun 2007 22:58:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mpt/mpilib mpi.h mpi_cnfg.h mpi_init.h mpi_ioc.h mpi_log_fc.h mpi_log_sas.h mpi_raid.h mpi_sas.h mpi_targ.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, 03 Jun 2007 22:58:28 -0000 scottl 2007-06-03 22:58:27 UTC FreeBSD src repository Modified files: sys/dev/mpt/mpilib mpi.h mpi_cnfg.h mpi_init.h mpi_ioc.h mpi_raid.h mpi_sas.h mpi_targ.h Removed files: sys/dev/mpt/mpilib mpi_log_fc.h mpi_log_sas.h Log: Update to MPI 1.5.16 Revision Changes Path 1.9 +33 -30 src/sys/dev/mpt/mpilib/mpi.h 1.9 +285 -51 src/sys/dev/mpt/mpilib/mpi_cnfg.h 1.8 +11 -2 src/sys/dev/mpt/mpilib/mpi_init.h 1.9 +229 -59 src/sys/dev/mpt/mpilib/mpi_ioc.h 1.2 +0 -117 src/sys/dev/mpt/mpilib/mpi_log_fc.h (dead) 1.2 +0 -181 src/sys/dev/mpt/mpilib/mpi_log_sas.h (dead) 1.8 +9 -3 src/sys/dev/mpt/mpilib/mpi_raid.h 1.3 +19 -10 src/sys/dev/mpt/mpilib/mpi_sas.h 1.7 +3 -3 src/sys/dev/mpt/mpilib/mpi_targ.h From owner-cvs-src@FreeBSD.ORG Sun Jun 3 23:13:05 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1F5616A400; Sun, 3 Jun 2007 23:13:05 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E2AF613C468; Sun, 3 Jun 2007 23:13:05 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53ND5tE055070; Sun, 3 Jun 2007 23:13:05 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53ND5qI055069; Sun, 3 Jun 2007 23:13:05 GMT (envelope-from scottl) Message-Id: <200706032313.l53ND5qI055069@repoman.freebsd.org> From: Scott Long Date: Sun, 3 Jun 2007 23:13:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 23:13:06 -0000 scottl 2007-06-03 23:13:05 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c mpt.h mpt_cam.c Log: mpt.c: mpt.h: Add support for reading extended configuration pages. mpt_cam.c: Do a top level topology scan on the SAS controller. If any SATA device are discovered in this scan, send a passthrough FIS to set the write cache. This is controllable through the following tunable at boot: hw.mpt.enable_sata_wc: -1 = Do not configure, use the controller default 0 = Disable the write cache 1 = Enable the write cache The default is -1. This tunable is just a hack and may be deprecated in the future. Turning on the write cache alleviates the write performance problems with SATA that many people have observed. It is not recommend for those who value data reliability! I cannot stress this strongly enough. However, it is useful in certain circumstances, and it brings the performence in line with what a generic SATA controller running under the FreeBSD ATA driver provides (and the ATA driver has had the WC enabled by default for years). Revision Changes Path 1.42 +154 -29 src/sys/dev/mpt/mpt.c 1.41 +55 -3 src/sys/dev/mpt/mpt.h 1.57 +305 -0 src/sys/dev/mpt/mpt_cam.c From owner-cvs-src@FreeBSD.ORG Sun Jun 3 23:18:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4928416A400; Sun, 3 Jun 2007 23:18:30 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 21F5A13C44B; Sun, 3 Jun 2007 23:18:30 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53NIUoe059713; Sun, 3 Jun 2007 23:18:30 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53NITQ7059709; Sun, 3 Jun 2007 23:18:29 GMT (envelope-from alc) Message-Id: <200706032318.l53NITQ7059709@repoman.freebsd.org> From: Alan Cox Date: Sun, 3 Jun 2007 23: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/sys/amd64/amd64 machdep.c src/sys/amd64/include 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: Sun, 03 Jun 2007 23:18:30 -0000 alc 2007-06-03 23:18:29 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c sys/amd64/include vmparam.h Log: Add the machine-specific definitions for configuring the new physical memory allocator. Set the size of phys_avail[] and dump_avail[] using one of these definitions. Approved by: re Revision Changes Path 1.673 +7 -1 src/sys/amd64/amd64/machdep.c 1.48 +38 -0 src/sys/amd64/include/vmparam.h From owner-cvs-src@FreeBSD.ORG Sun Jun 3 23:33:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DC1D16A469; Sun, 3 Jun 2007 23:33:12 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 06F2013C45E; Sun, 3 Jun 2007 23:33:12 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53NXBVf074479; Sun, 3 Jun 2007 23:33:11 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53NXBfh074474; Sun, 3 Jun 2007 23:33:11 GMT (envelope-from alc) Message-Id: <200706032333.l53NXBfh074474@repoman.freebsd.org> From: Alan Cox Date: Sun, 3 Jun 2007 23: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/sys/sun4v/include 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: Sun, 03 Jun 2007 23:33:12 -0000 alc 2007-06-03 23:33:11 UTC FreeBSD src repository Modified files: sys/sun4v/include vmparam.h Log: Add the machine-specific definitions for configuring the new physical memory allocator. Approved by: re Revision Changes Path 1.4 +38 -0 src/sys/sun4v/include/vmparam.h From owner-cvs-src@FreeBSD.ORG Sun Jun 3 23:36:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 242B216A469; Sun, 3 Jun 2007 23:36:24 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F130B13C45A; Sun, 3 Jun 2007 23:36:23 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l53NaN8w077667; Sun, 3 Jun 2007 23:36:23 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l53NaNwn077665; Sun, 3 Jun 2007 23:36:23 GMT (envelope-from truckman) Message-Id: <200706032336.l53NaNwn077665@repoman.freebsd.org> From: Don Lewis Date: Sun, 3 Jun 2007 23:36: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 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: Sun, 03 Jun 2007 23:36:24 -0000 truckman 2007-06-03 23:36:23 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: Nuke man page links that were orphaned by vendor branch import of TrustedBSD OpenBSM 1.0 alpha 6. MFC after: 3 days Revision Changes Path 1.93 +4 -0 src/ObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Mon Jun 4 00:24:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EDBB16A421; Mon, 4 Jun 2007 00:24:57 +0000 (UTC) (envelope-from richardtector@thekeelecentre.com) Received: from mx0.thekeelecentre.com (mx0.thekeelecentre.com [217.206.238.167]) by mx1.freebsd.org (Postfix) with ESMTP id E405813C4B7; Mon, 4 Jun 2007 00:24:56 +0000 (UTC) (envelope-from richardtector@thekeelecentre.com) Received: from localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 9541B4099; Mon, 4 Jun 2007 01:24:55 +0100 (BST) X-Virus-Scanned: by amavisd-new at mx0.thekeelecentre.com Received: from mx0.thekeelecentre.com ([217.206.238.167]) by localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) (amavisd-new, port 10024) with ESMTP id oQP2dA0vnirh; Mon, 4 Jun 2007 01:24:53 +0100 (BST) Received: from [10.0.2.11] (82-71-32-9.dsl.in-addr.zen.co.uk [82.71.32.9]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 73A37408E; Mon, 4 Jun 2007 01:24:47 +0100 (BST) Message-ID: <46635BC8.7010408@thekeelecentre.com> Date: Mon, 04 Jun 2007 01:24:40 +0100 From: Richard Tector User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Scott Long References: <200706032313.l53ND5qI055069@repoman.freebsd.org> In-Reply-To: <200706032313.l53ND5qI055069@repoman.freebsd.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms070606020604060006010802" Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 00:24:57 -0000 This is a cryptographically signed message in MIME format. --------------ms070606020604060006010802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Scott Long wrote: > scottl 2007-06-03 23:13:05 UTC > > FreeBSD src repository > > Modified files: > sys/dev/mpt mpt.c mpt.h mpt_cam.c > Log: > mpt.c: > mpt.h: > Add support for reading extended configuration pages. > mpt_cam.c: > Do a top level topology scan on the SAS controller. If any SATA > device are discovered in this scan, send a passthrough FIS to set > the write cache. > Brilliant. Is there any possibilty of an MFC? Or are the changes too great? (I realise that the locking bits and pieces haven't been MFC'd either). Regards, Richard --------------ms070606020604060006010802 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHPDCC A5owggMDoAMCAQICAQcwDQYJKoZIhvcNAQEEBQAwgYExCzAJBgNVBAYTAlVLMRYwFAYDVQQI Ew1TdGFmZm9yZHNoaXJlMQ4wDAYDVQQHEwVLZWVsZTEZMBcGA1UEChMQVGhlIEtlZWxlIENl bnRyZTEvMC0GA1UEAxMmVGhlIEtlZWxlIENlbnRyZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkw HhcNMDYwOTI5MTQyNTM4WhcNMTAwOTI5MTQyNTM4WjCBijELMAkGA1UEBhMCVUsxFjAUBgNV BAgTDVN0YWZmb3Jkc2hpcmUxGTAXBgNVBAoTEFRoZSBLZWVsZSBDZW50cmUxFzAVBgNVBAMT DlJpY2hhcmQgVGVjdG9yMS8wLQYJKoZIhvcNAQkBFiByaWNoYXJkdGVjdG9yQHRoZWtlZWxl Y2VudHJlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxAE7t9Z0xg5iVOnqE2q7 UhaRoPrygXPXnZ4bHM8P2E4VKfpCP9tmU5rqP/zDwOKwUAFZsv1yHvzMj2d4S8nTP3eC75YY pztd1tiGIUyi2O1vtQuVrcogCC0Xe8TovubsjeosoEN6kujkTLhgWKj+/jDtb0ELiSwh7NnN CoStDvcCAwEAAaOCARUwggERMAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wg R2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBR5NRc2TrF8Qfj9ZMKvq5m5Lh9IFTCB tgYDVR0jBIGuMIGrgBSNCaM0QC1N5Hiyb/MPAVd/ouQEEqGBh6SBhDCBgTELMAkGA1UEBhMC VUsxFjAUBgNVBAgTDVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYDVQQKExBU aGUgS2VlbGUgQ2VudHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRpZmljYXRl IEF1dGhvcml0eYIJAJZYbH4e6XXnMA0GCSqGSIb3DQEBBAUAA4GBABy7Pq1hPDwR2vUs9Jlh LHXE1xLe/COWwTjmZ95mnvsX6XL6eVEzuc0xE66Mf1pyFxDKXxTCBj+G/ialE9AYiXTJAAVJ uvhvkm/u1vXdlNlfQJDRnZKFxrZsIT03LIysq+Hb4qZDpQvgWUUyGib4Ze7pNXPp8HOtlTgB ICafws5LMIIDmjCCAwOgAwIBAgIBBzANBgkqhkiG9w0BAQQFADCBgTELMAkGA1UEBhMCVUsx FjAUBgNVBAgTDVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYDVQQKExBUaGUg S2VlbGUgQ2VudHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRpZmljYXRlIEF1 dGhvcml0eTAeFw0wNjA5MjkxNDI1MzhaFw0xMDA5MjkxNDI1MzhaMIGKMQswCQYDVQQGEwJV SzEWMBQGA1UECBMNU3RhZmZvcmRzaGlyZTEZMBcGA1UEChMQVGhlIEtlZWxlIENlbnRyZTEX MBUGA1UEAxMOUmljaGFyZCBUZWN0b3IxLzAtBgkqhkiG9w0BCQEWIHJpY2hhcmR0ZWN0b3JA dGhla2VlbGVjZW50cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEATu31nTG DmJU6eoTartSFpGg+vKBc9ednhsczw/YThUp+kI/22ZTmuo//MPA4rBQAVmy/XIe/MyPZ3hL ydM/d4LvlhinO13W2IYhTKLY7W+1C5WtyiAILRd7xOi+5uyN6iygQ3qS6ORMuGBYqP7+MO1v QQuJLCHs2c0KhK0O9wIDAQABo4IBFTCCAREwCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYd T3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFHk1FzZOsXxB+P1kwq+r mbkuH0gVMIG2BgNVHSMEga4wgauAFI0JozRALU3keLJv8w8BV3+i5AQSoYGHpIGEMIGBMQsw CQYDVQQGEwJVSzEWMBQGA1UECBMNU3RhZmZvcmRzaGlyZTEOMAwGA1UEBxMFS2VlbGUxGTAX BgNVBAoTEFRoZSBLZWVsZSBDZW50cmUxLzAtBgNVBAMTJlRoZSBLZWVsZSBDZW50cmUgQ2Vy dGlmaWNhdGUgQXV0aG9yaXR5ggkAllhsfh7pdecwDQYJKoZIhvcNAQEEBQADgYEAHLs+rWE8 PBHa9Sz0mWEsdcTXEt78I5bBOOZn3mae+xfpcvp5UTO5zTETrox/WnIXEMpfFMIGP4b+JqUT 0BiJdMkABUm6+G+Sb+7W9d2U2V9AkNGdkoXGtmwhPTcsjKyr4dvipkOlC+BZRTIaJvhl7uk1 c+nwc62VOAEgJp/CzksxggMbMIIDFwIBATCBhzCBgTELMAkGA1UEBhMCVUsxFjAUBgNVBAgT DVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYDVQQKExBUaGUgS2VlbGUgQ2Vu dHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRpZmljYXRlIEF1dGhvcml0eQIB BzAJBgUrDgMCGgUAoIIB6TAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJ BTEPFw0wNzA2MDQwMDI0NDBaMCMGCSqGSIb3DQEJBDEWBBSmCDzf9sducVZKwvbeTH/B7NUN RDBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG 9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBmAYJKwYBBAGCNxAEMYGKMIGHMIGB MQswCQYDVQQGEwJVSzEWMBQGA1UECBMNU3RhZmZvcmRzaGlyZTEOMAwGA1UEBxMFS2VlbGUx GTAXBgNVBAoTEFRoZSBLZWVsZSBDZW50cmUxLzAtBgNVBAMTJlRoZSBLZWVsZSBDZW50cmUg Q2VydGlmaWNhdGUgQXV0aG9yaXR5AgEHMIGaBgsqhkiG9w0BCRACCzGBiqCBhzCBgTELMAkG A1UEBhMCVUsxFjAUBgNVBAgTDVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYD VQQKExBUaGUgS2VlbGUgQ2VudHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRp ZmljYXRlIEF1dGhvcml0eQIBBzANBgkqhkiG9w0BAQEFAASBgKfAqog0fiQCton9UryE8imx H98t/uumiQnE4IkF/jSXfNhpCHAUBJlM4lCks0EIpLtl19Ji2dzeD9N0H4pnkBvdoqiB3M7K jbWAyidYKYHMzJOCa7xSr0T01i0x2A+AOOlRxzVCLV7IFvJq8WSWo2x4zPg/vuCbLPUcpuow q96BAAAAAAAA --------------ms070606020604060006010802-- From owner-cvs-src@FreeBSD.ORG Mon Jun 4 00:27:43 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C66B16A41F; Mon, 4 Jun 2007 00:27:43 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 022CA13C46C; Mon, 4 Jun 2007 00:27:42 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l540RcP4001167; Sun, 3 Jun 2007 18:27:39 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <46635C7A.3020908@samsco.org> Date: Sun, 03 Jun 2007 18:27:38 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Richard Tector References: <200706032313.l53ND5qI055069@repoman.freebsd.org> <46635BC8.7010408@thekeelecentre.com> In-Reply-To: <46635BC8.7010408@thekeelecentre.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Sun, 03 Jun 2007 18:27:39 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 00:27:43 -0000 Richard Tector wrote: > Scott Long wrote: >> scottl 2007-06-03 23:13:05 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/dev/mpt mpt.c mpt.h mpt_cam.c Log: >> mpt.c: >> mpt.h: >> Add support for reading extended configuration pages. >> mpt_cam.c: >> Do a top level topology scan on the SAS controller. If any >> SATA >> device are discovered in this scan, send a passthrough FIS >> to set >> the write cache. >> > > Brilliant. Is there any possibilty of an MFC? Or are the changes too > great? (I realise that the locking bits and pieces haven't been MFC'd > either). > > Regards, > > Richard An MFC is coming soon. Scott From owner-cvs-src@FreeBSD.ORG Mon Jun 4 00:29:18 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC84C16A400; Mon, 4 Jun 2007 00:29:18 +0000 (UTC) (envelope-from richardtector@thekeelecentre.com) Received: from mx0.thekeelecentre.com (mx0.thekeelecentre.com [217.206.238.167]) by mx1.freebsd.org (Postfix) with ESMTP id 12BB513C4AE; Mon, 4 Jun 2007 00:29:18 +0000 (UTC) (envelope-from richardtector@thekeelecentre.com) Received: from localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 70336415C; Mon, 4 Jun 2007 01:29:17 +0100 (BST) X-Virus-Scanned: by amavisd-new at mx0.thekeelecentre.com Received: from mx0.thekeelecentre.com ([217.206.238.167]) by localhost (mailfil.mx0.thekeelecentre.com [217.206.238.165]) (amavisd-new, port 10024) with ESMTP id fvOA4lmh3GBd; Mon, 4 Jun 2007 01:29:14 +0100 (BST) Received: from [10.0.2.11] (82-71-32-9.dsl.in-addr.zen.co.uk [82.71.32.9]) by mx0.thekeelecentre.com (Postfix) with ESMTP id 00A71408E; Mon, 4 Jun 2007 01:29:13 +0100 (BST) Message-ID: <46635CD5.3000204@thekeelecentre.com> Date: Mon, 04 Jun 2007 01:29:09 +0100 From: Richard Tector User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Scott Long References: <200706032313.l53ND5qI055069@repoman.freebsd.org> <46635BC8.7010408@thekeelecentre.com> <46635C7A.3020908@samsco.org> In-Reply-To: <46635C7A.3020908@samsco.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020002080505090602050301" Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 00:29:18 -0000 This is a cryptographically signed message in MIME format. --------------ms020002080505090602050301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Scott Long wrote: > Richard Tector wrote: >> Scott Long wrote: >>> scottl 2007-06-03 23:13:05 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sys/dev/mpt mpt.c mpt.h mpt_cam.c Log: >>> mpt.c: >>> mpt.h: >>> Add support for reading extended configuration pages. >>> mpt_cam.c: >>> Do a top level topology scan on the SAS controller. If any >>> SATA >>> device are discovered in this scan, send a passthrough FIS >>> to set >>> the write cache. >>> >> >> Brilliant. Is there any possibilty of an MFC? Or are the changes too >> great? (I realise that the locking bits and pieces haven't been MFC'd >> either). >> >> Regards, >> >> Richard > > An MFC is coming soon. > > Scott > Great news, thank you for your work in solving this. Richard --------------ms020002080505090602050301 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIHPDCC A5owggMDoAMCAQICAQcwDQYJKoZIhvcNAQEEBQAwgYExCzAJBgNVBAYTAlVLMRYwFAYDVQQI Ew1TdGFmZm9yZHNoaXJlMQ4wDAYDVQQHEwVLZWVsZTEZMBcGA1UEChMQVGhlIEtlZWxlIENl bnRyZTEvMC0GA1UEAxMmVGhlIEtlZWxlIENlbnRyZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkw HhcNMDYwOTI5MTQyNTM4WhcNMTAwOTI5MTQyNTM4WjCBijELMAkGA1UEBhMCVUsxFjAUBgNV BAgTDVN0YWZmb3Jkc2hpcmUxGTAXBgNVBAoTEFRoZSBLZWVsZSBDZW50cmUxFzAVBgNVBAMT DlJpY2hhcmQgVGVjdG9yMS8wLQYJKoZIhvcNAQkBFiByaWNoYXJkdGVjdG9yQHRoZWtlZWxl Y2VudHJlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxAE7t9Z0xg5iVOnqE2q7 UhaRoPrygXPXnZ4bHM8P2E4VKfpCP9tmU5rqP/zDwOKwUAFZsv1yHvzMj2d4S8nTP3eC75YY pztd1tiGIUyi2O1vtQuVrcogCC0Xe8TovubsjeosoEN6kujkTLhgWKj+/jDtb0ELiSwh7NnN CoStDvcCAwEAAaOCARUwggERMAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wg R2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBR5NRc2TrF8Qfj9ZMKvq5m5Lh9IFTCB tgYDVR0jBIGuMIGrgBSNCaM0QC1N5Hiyb/MPAVd/ouQEEqGBh6SBhDCBgTELMAkGA1UEBhMC VUsxFjAUBgNVBAgTDVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYDVQQKExBU aGUgS2VlbGUgQ2VudHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRpZmljYXRl IEF1dGhvcml0eYIJAJZYbH4e6XXnMA0GCSqGSIb3DQEBBAUAA4GBABy7Pq1hPDwR2vUs9Jlh LHXE1xLe/COWwTjmZ95mnvsX6XL6eVEzuc0xE66Mf1pyFxDKXxTCBj+G/ialE9AYiXTJAAVJ uvhvkm/u1vXdlNlfQJDRnZKFxrZsIT03LIysq+Hb4qZDpQvgWUUyGib4Ze7pNXPp8HOtlTgB ICafws5LMIIDmjCCAwOgAwIBAgIBBzANBgkqhkiG9w0BAQQFADCBgTELMAkGA1UEBhMCVUsx FjAUBgNVBAgTDVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYDVQQKExBUaGUg S2VlbGUgQ2VudHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRpZmljYXRlIEF1 dGhvcml0eTAeFw0wNjA5MjkxNDI1MzhaFw0xMDA5MjkxNDI1MzhaMIGKMQswCQYDVQQGEwJV SzEWMBQGA1UECBMNU3RhZmZvcmRzaGlyZTEZMBcGA1UEChMQVGhlIEtlZWxlIENlbnRyZTEX MBUGA1UEAxMOUmljaGFyZCBUZWN0b3IxLzAtBgkqhkiG9w0BCQEWIHJpY2hhcmR0ZWN0b3JA dGhla2VlbGVjZW50cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEATu31nTG DmJU6eoTartSFpGg+vKBc9ednhsczw/YThUp+kI/22ZTmuo//MPA4rBQAVmy/XIe/MyPZ3hL ydM/d4LvlhinO13W2IYhTKLY7W+1C5WtyiAILRd7xOi+5uyN6iygQ3qS6ORMuGBYqP7+MO1v QQuJLCHs2c0KhK0O9wIDAQABo4IBFTCCAREwCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYd T3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFHk1FzZOsXxB+P1kwq+r mbkuH0gVMIG2BgNVHSMEga4wgauAFI0JozRALU3keLJv8w8BV3+i5AQSoYGHpIGEMIGBMQsw CQYDVQQGEwJVSzEWMBQGA1UECBMNU3RhZmZvcmRzaGlyZTEOMAwGA1UEBxMFS2VlbGUxGTAX BgNVBAoTEFRoZSBLZWVsZSBDZW50cmUxLzAtBgNVBAMTJlRoZSBLZWVsZSBDZW50cmUgQ2Vy dGlmaWNhdGUgQXV0aG9yaXR5ggkAllhsfh7pdecwDQYJKoZIhvcNAQEEBQADgYEAHLs+rWE8 PBHa9Sz0mWEsdcTXEt78I5bBOOZn3mae+xfpcvp5UTO5zTETrox/WnIXEMpfFMIGP4b+JqUT 0BiJdMkABUm6+G+Sb+7W9d2U2V9AkNGdkoXGtmwhPTcsjKyr4dvipkOlC+BZRTIaJvhl7uk1 c+nwc62VOAEgJp/CzksxggMbMIIDFwIBATCBhzCBgTELMAkGA1UEBhMCVUsxFjAUBgNVBAgT DVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYDVQQKExBUaGUgS2VlbGUgQ2Vu dHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRpZmljYXRlIEF1dGhvcml0eQIB BzAJBgUrDgMCGgUAoIIB6TAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJ BTEPFw0wNzA2MDQwMDI5MDlaMCMGCSqGSIb3DQEJBDEWBBQ4l3hWJ3YMY5ieTsJsnoYC1Wnj UTBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG 9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBmAYJKwYBBAGCNxAEMYGKMIGHMIGB MQswCQYDVQQGEwJVSzEWMBQGA1UECBMNU3RhZmZvcmRzaGlyZTEOMAwGA1UEBxMFS2VlbGUx GTAXBgNVBAoTEFRoZSBLZWVsZSBDZW50cmUxLzAtBgNVBAMTJlRoZSBLZWVsZSBDZW50cmUg Q2VydGlmaWNhdGUgQXV0aG9yaXR5AgEHMIGaBgsqhkiG9w0BCRACCzGBiqCBhzCBgTELMAkG A1UEBhMCVUsxFjAUBgNVBAgTDVN0YWZmb3Jkc2hpcmUxDjAMBgNVBAcTBUtlZWxlMRkwFwYD VQQKExBUaGUgS2VlbGUgQ2VudHJlMS8wLQYDVQQDEyZUaGUgS2VlbGUgQ2VudHJlIENlcnRp ZmljYXRlIEF1dGhvcml0eQIBBzANBgkqhkiG9w0BAQEFAASBgCsFiwBvR9jq9BJAqoOm834W MzX/zXeS2VX5uVcBxGe294Pj7wqB7fJS+PQnJ5iqHoigf4wAyORtD2juGDc0NgrxnF2esf4K Kt7aay0LPayObrFcp2FTWvOZyoIgIHYOMcAKkMcFaykT6DzdG/mmNOlUV9ojOVAb+k/afYye q/E7AAAAAAAA --------------ms020002080505090602050301-- From owner-cvs-src@FreeBSD.ORG Mon Jun 4 01:41:46 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED69B16A46E; Mon, 4 Jun 2007 01:41:46 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id C236613C487; Mon, 4 Jun 2007 01:41:46 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (localhost [127.0.0.1]) by ns1.feral.com (8.14.1/8.14.1) with ESMTP id l541fcQG008263; Sun, 3 Jun 2007 18:41:46 -0700 (PDT) (envelope-from mjacob@freebsd.org) Received: from localhost (mjacob@localhost) by ns1.feral.com (8.14.1/8.14.1/Submit) with ESMTP id l541fcpM008260; Sun, 3 Jun 2007 18:41:38 -0700 (PDT) (envelope-from mjacob@freebsd.org) X-Authentication-Warning: ns1.feral.com: mjacob owned process doing -bs Date: Sun, 3 Jun 2007 18:41:38 -0700 (PDT) From: mjacob@freebsd.org To: Scott Long In-Reply-To: <200706032313.l53ND5qI055069@repoman.freebsd.org> Message-ID: <20070603184128.G8259@ns1.feral.com> References: <200706032313.l53ND5qI055069@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/dev/mpt mpt.c mpt.h mpt_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mjacob@freebsd.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 01:41:47 -0000 Awesome! Thanks1 On Sun, 3 Jun 2007, Scott Long wrote: > scottl 2007-06-03 23:13:05 UTC > > FreeBSD src repository > > Modified files: > sys/dev/mpt mpt.c mpt.h mpt_cam.c > Log: > mpt.c: > mpt.h: > Add support for reading extended configuration pages. > mpt_cam.c: > Do a top level topology scan on the SAS controller. If any SATA > device are discovered in this scan, send a passthrough FIS to set > the write cache. This is controllable through the following > tunable at boot: > > hw.mpt.enable_sata_wc: > -1 = Do not configure, use the controller default > 0 = Disable the write cache > 1 = Enable the write cache > > The default is -1. This tunable is just a hack and may be > deprecated in the future. > > Turning on the write cache alleviates the write performance problems with > SATA that many people have observed. It is not recommend for those who > value data reliability! I cannot stress this strongly enough. However, > it is useful in certain circumstances, and it brings the performence in line > with what a generic SATA controller running under the FreeBSD ATA driver > provides (and the ATA driver has had the WC enabled by default for years). > > Revision Changes Path > 1.42 +154 -29 src/sys/dev/mpt/mpt.c > 1.41 +55 -3 src/sys/dev/mpt/mpt.h > 1.57 +305 -0 src/sys/dev/mpt/mpt_cam.c > From owner-cvs-src@FreeBSD.ORG Mon Jun 4 01:42:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0286516A41F; Mon, 4 Jun 2007 01:42:58 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E76DB13C4B8; Mon, 4 Jun 2007 01:42:57 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l541gvvS018235; Mon, 4 Jun 2007 01:42:57 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l541gvpn018234; Mon, 4 Jun 2007 01:42:57 GMT (envelope-from delphij) Message-Id: <200706040142.l541gvpn018234@repoman.freebsd.org> From: Xin LI Date: Mon, 4 Jun 2007 01:42:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: LESS Cc: Subject: cvs commit: src/contrib/less - Imported sources X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 01:42:58 -0000 delphij 2007-06-04 01:42:57 UTC FreeBSD src repository src/contrib/less - Imported sources Update of /home/ncvs/src/contrib/less In directory repoman.freebsd.org:/tmp/cvs-serv17548 Log Message: /home/delphij/m Status: Vendor Tag: LESS Release Tags: v403 U src/contrib/less/brac.c U src/contrib/less/ch.c U src/contrib/less/charset.c U src/contrib/less/charset.h U src/contrib/less/cmd.h U src/contrib/less/cmdbuf.c C src/contrib/less/command.c U src/contrib/less/configure U src/contrib/less/configure.ac U src/contrib/less/COPYING U src/contrib/less/decode.c U src/contrib/less/defines.ds U src/contrib/less/defines.h.in U src/contrib/less/defines.o2 U src/contrib/less/defines.o9 U src/contrib/less/defines.wn U src/contrib/less/edit.c U src/contrib/less/filename.c C src/contrib/less/forwback.c U src/contrib/less/funcs.h U src/contrib/less/help.c U src/contrib/less/ifile.c U src/contrib/less/input.c U src/contrib/less/INSTALL U src/contrib/less/install.sh U src/contrib/less/jump.c C src/contrib/less/less.h U src/contrib/less/less.hlp U src/contrib/less/less.man U src/contrib/less/less.nro U src/contrib/less/lessecho.c U src/contrib/less/lessecho.man U src/contrib/less/lessecho.nro U src/contrib/less/lesskey.c U src/contrib/less/lesskey.h U src/contrib/less/lesskey.man U src/contrib/less/lesskey.nro U src/contrib/less/lglob.h U src/contrib/less/LICENSE C src/contrib/less/line.c U src/contrib/less/linenum.c U src/contrib/less/lsystem.c C src/contrib/less/main.c U src/contrib/less/Makefile.aut U src/contrib/less/Makefile.dsb U src/contrib/less/Makefile.dsg U src/contrib/less/Makefile.dsu U src/contrib/less/Makefile.in U src/contrib/less/Makefile.o2e U src/contrib/less/Makefile.o9c U src/contrib/less/mark.c U src/contrib/less/Makefile.o9u U src/contrib/less/Makefile.wnb U src/contrib/less/Makefile.wnm U src/contrib/less/mkfuncs.awk U src/contrib/less/mkhelp.c U src/contrib/less/mkinstalldirs U src/contrib/less/NEWS U src/contrib/less/optfunc.c U src/contrib/less/option.c U src/contrib/less/option.h U src/contrib/less/opttbl.c U src/contrib/less/os.c U src/contrib/less/output.c U src/contrib/less/pckeys.h U src/contrib/less/position.c U src/contrib/less/position.h C src/contrib/less/prompt.c U src/contrib/less/README U src/contrib/less/regexp.c U src/contrib/less/regexp.h C src/contrib/less/screen.c U src/contrib/less/scrsize.c C src/contrib/less/search.c C src/contrib/less/signal.c U src/contrib/less/tags.c U src/contrib/less/ttyin.c U src/contrib/less/version.c 9 conflicts created by this import. Use the following command to help the merge: cvs checkout -jLESS:yesterday -jLESS src/contrib/less From owner-cvs-src@FreeBSD.ORG Mon Jun 4 01:43:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1403016A46B; Mon, 4 Jun 2007 01:43:12 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 03D9813C4BE; Mon, 4 Jun 2007 01:43:12 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l541hBAt018529; Mon, 4 Jun 2007 01:43:11 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l541hBuh018527; Mon, 4 Jun 2007 01:43:11 GMT (envelope-from delphij) Message-Id: <200706040143.l541hBuh018527@repoman.freebsd.org> From: Xin LI Date: Mon, 4 Jun 2007 01:43: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/contrib/less command.c forwback.c less.h line.c main.c prompt.c screen.c search.c signal.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 01:43:12 -0000 delphij 2007-06-04 01:43:11 UTC FreeBSD src repository Modified files: contrib/less command.c forwback.c less.h line.c main.c prompt.c screen.c search.c signal.c Log: Resolve conflicts. Revision Changes Path 1.7 +38 -13 src/contrib/less/command.c 1.6 +23 -14 src/contrib/less/forwback.c 1.7 +6 -1 src/contrib/less/less.h 1.4 +26 -4 src/contrib/less/line.c 1.6 +23 -16 src/contrib/less/main.c 1.6 +8 -3 src/contrib/less/prompt.c 1.6 +49 -6 src/contrib/less/screen.c 1.7 +102 -36 src/contrib/less/search.c 1.5 +6 -7 src/contrib/less/signal.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 01:43:26 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23F9216A46D; Mon, 4 Jun 2007 01:43:26 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F0FCA13C44B; Mon, 4 Jun 2007 01:43:25 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l541hPdB018794; Mon, 4 Jun 2007 01:43:25 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l541hPZb018793; Mon, 4 Jun 2007 01:43:25 GMT (envelope-from delphij) Message-Id: <200706040143.l541hPZb018793@repoman.freebsd.org> From: Xin LI Date: Mon, 4 Jun 2007 01:43: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/usr.bin/less defines.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, 04 Jun 2007 01:43:26 -0000 delphij 2007-06-04 01:43:25 UTC FreeBSD src repository Modified files: usr.bin/less defines.h Log: Regen. Revision Changes Path 1.7 +26 -23 src/usr.bin/less/defines.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 01:44:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3257E16A468; Mon, 4 Jun 2007 01:44:08 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1C613C44B; Mon, 4 Jun 2007 01:44:08 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l541i7QL019516; Mon, 4 Jun 2007 01:44:07 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l541i796019515; Mon, 4 Jun 2007 01:44:07 GMT (envelope-from grog) Message-Id: <200706040144.l541i796019515@repoman.freebsd.org> From: Greg Lehey Date: Mon, 4 Jun 2007 01:44: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/tools/regression/usr.bin/calendar calendar.calibrate X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 01:44:08 -0000 grog 2007-06-04 01:44:07 UTC FreeBSD src repository Modified files: tools/regression/usr.bin/calendar calendar.calibrate Log: Use correct comment syntax for $FreeBSD$. This file gets put through cpp, not a shell script. Pointy hat to: grog Revision Changes Path 1.2 +5 -1 src/tools/regression/usr.bin/calendar/calendar.calibrate From owner-cvs-src@FreeBSD.ORG Mon Jun 4 01:48:11 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.ORG Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E494716A400; Mon, 4 Jun 2007 01:48:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id DE8BB13C48C; Mon, 4 Jun 2007 01:48:10 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id D754EEB6FA0; Mon, 4 Jun 2007 09:48:09 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id AzZSmEc4PYkr; Mon, 4 Jun 2007 09:48:03 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 7E675EB6FCE; Mon, 4 Jun 2007 09:48:03 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=wjHz97E/Olzo1dl4DAi+S1RtfsGgTwuKki8JlynDKXm9YzVYE1tVARMKDR6g3y5EA 6ccVVbr1M6YjoETJSlnOg== Message-ID: <46636F3B.2070407@delphij.net> Date: Mon, 04 Jun 2007 09:47:39 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Xin LI References: <200706040142.l541gvpn018234@repoman.freebsd.org> In-Reply-To: <200706040142.l541gvpn018234@repoman.freebsd.org> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig68DCEC2CDFE2F1956D5D60B6" Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/contrib/less - Imported sources X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 01:48:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig68DCEC2CDFE2F1956D5D60B6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xin LI wrote: > delphij 2007-06-04 01:42:57 UTC >=20 > FreeBSD src repository >=20 > src/contrib/less - Imported sources > Update of /home/ncvs/src/contrib/less > In directory repoman.freebsd.org:/tmp/cvs-serv17548 > =20 > Log Message: > /home/delphij/m Grrr, my bad, should read: Virgin import of less v403. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig68DCEC2CDFE2F1956D5D60B6 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 iD8DBQFGY287OfuToMruuMARCmXDAJ9RL8gBufwYqUFWTvkEhl2KUk4f8gCfa2sq EcYbCL9ZQos5r/q8Jm/XD34= =HRga -----END PGP SIGNATURE----- --------------enig68DCEC2CDFE2F1956D5D60B6-- From owner-cvs-src@FreeBSD.ORG Mon Jun 4 02:32:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8589916A421; Mon, 4 Jun 2007 02:32:08 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5E81713C44C; Mon, 4 Jun 2007 02:32:08 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l542W8VD068153; Mon, 4 Jun 2007 02:32:08 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l542W8IW068146; Mon, 4 Jun 2007 02:32:08 GMT (envelope-from alc) Message-Id: <200706040232.l542W8IW068146@repoman.freebsd.org> From: Alan Cox Date: Mon, 4 Jun 2007 02:32: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/sparc64/include 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, 04 Jun 2007 02:32:08 -0000 alc 2007-06-04 02:32:08 UTC FreeBSD src repository Modified files: sys/sparc64/include vmparam.h Log: Add the machine-specific definitions for configuring the new physical memory allocator. Approved by: re Revision Changes Path 1.17 +38 -0 src/sys/sparc64/include/vmparam.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 02:49:22 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CABF16A41F; Mon, 4 Jun 2007 02:49:22 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7E513C43E; Mon, 4 Jun 2007 02:49:22 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l542nMm2083610; Mon, 4 Jun 2007 02:49:22 GMT (envelope-from darrenr@repoman.freebsd.org) Received: (from darrenr@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l542nMow083603; Mon, 4 Jun 2007 02:49:22 GMT (envelope-from darrenr) Message-Id: <200706040249.l542nMow083603@repoman.freebsd.org> From: Darren Reed Date: Mon, 4 Jun 2007 02:49:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: DARRENR Cc: Subject: cvs commit: src/contrib/ipfilter - Imported sources X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 02:49:22 -0000 darrenr 2007-06-04 02:49:21 UTC FreeBSD src repository src/contrib/ipfilter - Imported sources Update of /home/ncvs/src/contrib/ipfilter In directory repoman.freebsd.org:/tmp/cvs-serv81786 Log Message: Import IPFilter 4.1.23 to vendor branch. See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13 Status: Vendor Tag: DARRENR Release Tags: v4-1-23 U src/contrib/ipfilter/IMPORTANT U src/contrib/ipfilter/BNF U src/contrib/ipfilter/mlf_rule.c U src/contrib/ipfilter/pcap-ipf.h U src/contrib/ipfilter/radix.c C src/contrib/ipfilter/bpf_filter.c U src/contrib/ipfilter/NAT.FreeBSD U src/contrib/ipfilter/ipt.h U src/contrib/ipfilter/FAQ.FreeBSD U src/contrib/ipfilter/mkfilters U src/contrib/ipfilter/STYLE.TXT U src/contrib/ipfilter/md5.c C src/contrib/ipfilter/ip_fil.c U src/contrib/ipfilter/HISTORY C src/contrib/ipfilter/Makefile U src/contrib/ipfilter/BugReport U src/contrib/ipfilter/kmem.h U src/contrib/ipfilter/opts.h U src/contrib/ipfilter/snoop.h U src/contrib/ipfilter/WhatsNew40.txt U src/contrib/ipfilter/README U src/contrib/ipfilter/md5.h U src/contrib/ipfilter/ipmon.h C src/contrib/ipfilter/radix_ipf.h U src/contrib/ipfilter/bsdinstall C src/contrib/ipfilter/ipf.h U src/contrib/ipfilter/bpf-ipf.h U src/contrib/ipfilter/mlfk_rule.c U src/contrib/ipfilter/Y2K C src/contrib/ipfilter/lib/ipft_pc.c C src/contrib/ipfilter/lib/printfr.c C src/contrib/ipfilter/lib/getport.c C src/contrib/ipfilter/lib/printsbuf.c C src/contrib/ipfilter/lib/printpoolnode.c C src/contrib/ipfilter/lib/getproto.c C src/contrib/ipfilter/lib/ionames.c C src/contrib/ipfilter/lib/facpri.c C src/contrib/ipfilter/lib/icmpcode.c N src/contrib/ipfilter/lib/printhashdata.c U src/contrib/ipfilter/lib/Makefile C src/contrib/ipfilter/lib/addicmp.c C src/contrib/ipfilter/lib/printportcmp.c C src/contrib/ipfilter/lib/v6ionames.c C src/contrib/ipfilter/lib/load_poolnode.c C src/contrib/ipfilter/lib/hostname.c N src/contrib/ipfilter/lib/alist_free.c C src/contrib/ipfilter/lib/count4bits.c C src/contrib/ipfilter/lib/load_pool.c C src/contrib/ipfilter/lib/tcpoptnames.c U src/contrib/ipfilter/lib/printproto.c C src/contrib/ipfilter/lib/kmemcpywrap.c C src/contrib/ipfilter/lib/printhashnode.c C src/contrib/ipfilter/lib/printaps.c C src/contrib/ipfilter/lib/printhostmask.c C src/contrib/ipfilter/lib/getnattype.c C src/contrib/ipfilter/lib/resetlexer.c N src/contrib/ipfilter/lib/printpooldata.c C src/contrib/ipfilter/lib/printifname.c C src/contrib/ipfilter/lib/ipft_hx.c N src/contrib/ipfilter/lib/printpool_live.c C src/contrib/ipfilter/lib/buildopts.c C src/contrib/ipfilter/lib/mutex_emul.c C src/contrib/ipfilter/lib/load_hash.c C src/contrib/ipfilter/lib/load_hashnode.c C src/contrib/ipfilter/lib/debug.c C src/contrib/ipfilter/lib/tcp_flags.c C src/contrib/ipfilter/lib/gethost.c C src/contrib/ipfilter/lib/optprint.c C src/contrib/ipfilter/lib/v6optvalue.c C src/contrib/ipfilter/lib/count6bits.c C src/contrib/ipfilter/lib/kmem.c C src/contrib/ipfilter/lib/getportproto.c C src/contrib/ipfilter/lib/fill6bits.c C src/contrib/ipfilter/lib/kvatoname.c C src/contrib/ipfilter/lib/ntomask.c C src/contrib/ipfilter/lib/printlog.c N src/contrib/ipfilter/lib/load_url.c C src/contrib/ipfilter/lib/printactivenat.c C src/contrib/ipfilter/lib/ipft_tx.c C src/contrib/ipfilter/lib/optname.c C src/contrib/ipfilter/lib/ipft_sn.c C src/contrib/ipfilter/lib/printhash.c C src/contrib/ipfilter/lib/portname.c U src/contrib/ipfilter/lib/inet_addr.c C src/contrib/ipfilter/lib/printstate.c N src/contrib/ipfilter/lib/load_http.c C src/contrib/ipfilter/lib/remove_poolnode.c C src/contrib/ipfilter/lib/remove_pool.c N src/contrib/ipfilter/lib/load_file.c C src/contrib/ipfilter/lib/printfraginfo.c C src/contrib/ipfilter/lib/optprintv6.c C src/contrib/ipfilter/lib/optvalue.c C src/contrib/ipfilter/lib/printhostmap.c N src/contrib/ipfilter/lib/printhash_live.c C src/contrib/ipfilter/lib/rwlock_emul.c C src/contrib/ipfilter/lib/facpri.h C src/contrib/ipfilter/lib/printmask.c C src/contrib/ipfilter/lib/binprint.c C src/contrib/ipfilter/lib/printpacket6.c N src/contrib/ipfilter/lib/alist_new.c C src/contrib/ipfilter/lib/checkrev.c C src/contrib/ipfilter/lib/print_toif.c C src/contrib/ipfilter/lib/kmem.h N src/contrib/ipfilter/lib/printtqtable.c C src/contrib/ipfilter/lib/ipf_dotuning.c C src/contrib/ipfilter/lib/remove_hash.c C src/contrib/ipfilter/lib/printip.c C src/contrib/ipfilter/lib/verbose.c C src/contrib/ipfilter/lib/ipft_td.c C src/contrib/ipfilter/lib/nat_setgroupmap.c C src/contrib/ipfilter/lib/addipopt.c C src/contrib/ipfilter/lib/printpool.c C src/contrib/ipfilter/lib/getsumd.c C src/contrib/ipfilter/lib/printtunable.c C src/contrib/ipfilter/lib/nametokva.c C src/contrib/ipfilter/lib/printbuf.c C src/contrib/ipfilter/lib/remove_hashnode.c C src/contrib/ipfilter/lib/flags.c C src/contrib/ipfilter/lib/initparse.c C src/contrib/ipfilter/lib/getifname.c C src/contrib/ipfilter/lib/var.c C src/contrib/ipfilter/lib/ipft_ef.c C src/contrib/ipfilter/lib/bcopywrap.c C src/contrib/ipfilter/lib/printpacket.c C src/contrib/ipfilter/lib/printnat.c C src/contrib/ipfilter/lib/tcpflags.c C src/contrib/ipfilter/lib/ipoptsec.c C src/contrib/ipfilter/iplang/iplang_y.y U src/contrib/ipfilter/iplang/Makefile U src/contrib/ipfilter/iplang/iplang_l.l U src/contrib/ipfilter/iplang/BNF U src/contrib/ipfilter/iplang/iplang.tst U src/contrib/ipfilter/iplang/iplang.h U src/contrib/ipfilter/rules/example.6 U src/contrib/ipfilter/rules/example.1 U src/contrib/ipfilter/rules/example.10 U src/contrib/ipfilter/rules/ftppxy U src/contrib/ipfilter/rules/server U src/contrib/ipfilter/rules/ipmon.conf U src/contrib/ipfilter/rules/example.5 U src/contrib/ipfilter/rules/example.8 U src/contrib/ipfilter/rules/example.2 U src/contrib/ipfilter/rules/example.13 U src/contrib/ipfilter/rules/example.sr U src/contrib/ipfilter/rules/example.11 U src/contrib/ipfilter/rules/ftp-proxy U src/contrib/ipfilter/rules/firewall U src/contrib/ipfilter/rules/BASIC_1.FW U src/contrib/ipfilter/rules/nat.eg U src/contrib/ipfilter/rules/example.7 U src/contrib/ipfilter/rules/ip_rules U src/contrib/ipfilter/rules/tcpstate U src/contrib/ipfilter/rules/BASIC_2.FW U src/contrib/ipfilter/rules/BASIC.NAT U src/contrib/ipfilter/rules/example.12 U src/contrib/ipfilter/rules/pool.conf U src/contrib/ipfilter/rules/example.3 U src/contrib/ipfilter/rules/example.9 U src/contrib/ipfilter/rules/nat-setup U src/contrib/ipfilter/rules/example.4 N src/contrib/ipfilter/BSD/ipfadm-rcd U src/contrib/ipfilter/BSD/make-devices U src/contrib/ipfilter/BSD/Makefile U src/contrib/ipfilter/BSD/Makefile.ipsend U src/contrib/ipfilter/BSD/kupgrade U src/contrib/ipfilter/etc/services U src/contrib/ipfilter/etc/protocols U src/contrib/ipfilter/perl/Isbgraph U src/contrib/ipfilter/perl/plog U src/contrib/ipfilter/perl/LICENSE U src/contrib/ipfilter/perl/logfilter.pl U src/contrib/ipfilter/perl/ipfmeta.pl U src/contrib/ipfilter/perl/ipf-mrtg.pl U src/contrib/ipfilter/perl/Services U src/contrib/ipfilter/perl/Ipfanaly.pl U src/contrib/ipfilter/ipsend/iptest.c C src/contrib/ipfilter/ipsend/arp.c U src/contrib/ipfilter/ipsend/Makefile U src/contrib/ipfilter/ipsend/tcpip.h U src/contrib/ipfilter/ipsend/README U src/contrib/ipfilter/ipsend/ipsend.h U src/contrib/ipfilter/ipsend/ip_var.h U src/contrib/ipfilter/ipsend/dltest.h U src/contrib/ipfilter/ipsend/lsock.c U src/contrib/ipfilter/ipsend/ipsend.5 C src/contrib/ipfilter/ipsend/44arp.c U src/contrib/ipfilter/ipsend/ipsend.1 U src/contrib/ipfilter/ipsend/hpux.c C src/contrib/ipfilter/ipsend/resend.c U src/contrib/ipfilter/ipsend/ipresend.c U src/contrib/ipfilter/ipsend/sirix.c U src/contrib/ipfilter/ipsend/snit.c U src/contrib/ipfilter/ipsend/ipsopt.c U src/contrib/ipfilter/ipsend/ipresend.1 U src/contrib/ipfilter/ipsend/Crashable U src/contrib/ipfilter/ipsend/dlcommon.c U src/contrib/ipfilter/ipsend/larp.c C src/contrib/ipfilter/ipsend/iptests.c U src/contrib/ipfilter/ipsend/ipsend.c C src/contrib/ipfilter/ipsend/ip.c U src/contrib/ipfilter/ipsend/sbpf.c C src/contrib/ipfilter/ipsend/sdlpi.c U src/contrib/ipfilter/ipsend/slinux.c U src/contrib/ipfilter/ipsend/sockraw.c U src/contrib/ipfilter/ipsend/iptest.1 C src/contrib/ipfilter/ipsend/sock.c U src/contrib/ipfilter/ipsend/in_var.h U src/contrib/ipfilter/ipsend/linux.h U src/contrib/ipfilter/ipsend/.OLD/ip_compat.h U src/contrib/ipfilter/ipsd/linux.h U src/contrib/ipfilter/ipsd/ipsdr.c U src/contrib/ipfilter/ipsd/sdlpi.c U src/contrib/ipfilter/ipsd/slinux.c U src/contrib/ipfilter/ipsd/ipsd.h U src/contrib/ipfilter/ipsd/sbpf.c U src/contrib/ipfilter/ipsd/ipsd.c U src/contrib/ipfilter/ipsd/README U src/contrib/ipfilter/ipsd/Makefile U src/contrib/ipfilter/ipsd/snit.c U src/contrib/ipfilter/ipsd/Celler/ip_compat.h U src/contrib/ipfilter/samples/proxy.c U src/contrib/ipfilter/samples/ipfilter-pb.gif U src/contrib/ipfilter/samples/Makefile U src/contrib/ipfilter/samples/userauth.c U src/contrib/ipfilter/samples/relay.c U src/contrib/ipfilter/man/ipnat.5 U src/contrib/ipfilter/man/ipnat.8 U src/contrib/ipfilter/man/ipfilter.5 C src/contrib/ipfilter/man/ipfstat.8 U src/contrib/ipfilter/man/ipftest.1 U src/contrib/ipfilter/man/ipscan.5 U src/contrib/ipfilter/man/ipl.4 U src/contrib/ipfilter/man/ipscan.8 U src/contrib/ipfilter/man/mkfilters.1 U src/contrib/ipfilter/man/ipf.4 U src/contrib/ipfilter/man/ipfs.8 U src/contrib/ipfilter/man/ipmon.5 U src/contrib/ipfilter/man/Makefile U src/contrib/ipfilter/man/ippool.5 U src/contrib/ipfilter/man/ipfilter.4 U src/contrib/ipfilter/man/ippool.8 U src/contrib/ipfilter/man/ipnat.4 C src/contrib/ipfilter/man/ipmon.8 U src/contrib/ipfilter/man/ipf.5 U src/contrib/ipfilter/man/ipfilter.4.mandoc C src/contrib/ipfilter/man/ipf.8 U src/contrib/ipfilter/l4check/http.ok U src/contrib/ipfilter/l4check/Makefile U src/contrib/ipfilter/l4check/l4check.c U src/contrib/ipfilter/l4check/l4check.conf U src/contrib/ipfilter/l4check/http.check U src/contrib/ipfilter/FWTK/fwtkp U src/contrib/ipfilter/FWTK/Index U src/contrib/ipfilter/FWTK/ftp-gw.diff U src/contrib/ipfilter/FWTK/fwtk_transparent.diff U src/contrib/ipfilter/FWTK/README U src/contrib/ipfilter/FWTK/README.ipfilter U src/contrib/ipfilter/test/Makefile U src/contrib/ipfilter/test/mtest U src/contrib/ipfilter/test/dotest U src/contrib/ipfilter/test/intest U src/contrib/ipfilter/test/dotest6 U src/contrib/ipfilter/test/ptest U src/contrib/ipfilter/test/mhtest U src/contrib/ipfilter/test/logtest U src/contrib/ipfilter/test/bpftest U src/contrib/ipfilter/test/vfycksum.pl U src/contrib/ipfilter/test/test.format U src/contrib/ipfilter/test/nattest U src/contrib/ipfilter/test/natipftest U src/contrib/ipfilter/test/iptest U src/contrib/ipfilter/test/hextest U src/contrib/ipfilter/test/itest U src/contrib/ipfilter/test/README.TXT U src/contrib/ipfilter/test/input/f15 U src/contrib/ipfilter/test/input/p2 U src/contrib/ipfilter/test/input/f1 U src/contrib/ipfilter/test/input/n11 U src/contrib/ipfilter/test/input/n1 U src/contrib/ipfilter/test/input/ni14 U src/contrib/ipfilter/test/input/ipv6.1 U src/contrib/ipfilter/test/input/ni13 U src/contrib/ipfilter/test/input/ni19 U src/contrib/ipfilter/test/input/n6 U src/contrib/ipfilter/test/input/ni21 U src/contrib/ipfilter/test/input/ni7 U src/contrib/ipfilter/test/input/f6 U src/contrib/ipfilter/test/input/f20 N src/contrib/ipfilter/test/input/p5 U src/contrib/ipfilter/test/input/f18 U src/contrib/ipfilter/test/input/f12 U src/contrib/ipfilter/test/input/p1 U src/contrib/ipfilter/test/input/f16 U src/contrib/ipfilter/test/input/f8 U src/contrib/ipfilter/test/input/f2 U src/contrib/ipfilter/test/input/n12 U src/contrib/ipfilter/test/input/ni9 U src/contrib/ipfilter/test/input/ni3 U src/contrib/ipfilter/test/input/ipv6.2 U src/contrib/ipfilter/test/input/ni17 U src/contrib/ipfilter/test/input/n8 U src/contrib/ipfilter/test/input/n2 U src/contrib/ipfilter/test/input/n5 N src/contrib/ipfilter/test/input/ipv6.5 U src/contrib/ipfilter/test/input/ni10 U src/contrib/ipfilter/test/input/ni4 U src/contrib/ipfilter/test/input/f5 U src/contrib/ipfilter/test/input/f11 U src/contrib/ipfilter/test/input/f7 U src/contrib/ipfilter/test/input/f13 U src/contrib/ipfilter/test/input/f19 U src/contrib/ipfilter/test/input/ni12 U src/contrib/ipfilter/test/input/n7 U src/contrib/ipfilter/test/input/ni20 U src/contrib/ipfilter/test/input/ni6 U src/contrib/ipfilter/test/input/n10 U src/contrib/ipfilter/test/input/ni1 U src/contrib/ipfilter/test/input/ni15 U src/contrib/ipfilter/test/input/l1 U src/contrib/ipfilter/test/input/f14 N src/contrib/ipfilter/test/input/ip2.data U src/contrib/ipfilter/test/input/p3 U src/contrib/ipfilter/test/input/f4 U src/contrib/ipfilter/test/input/f10 U src/contrib/ipfilter/test/input/n4 U src/contrib/ipfilter/test/input/ni11 U src/contrib/ipfilter/test/input/ni5 U src/contrib/ipfilter/test/input/n14 N src/contrib/ipfilter/test/input/ni23 U src/contrib/ipfilter/test/input/ni2 U src/contrib/ipfilter/test/input/ni8 U src/contrib/ipfilter/test/input/n13 U src/contrib/ipfilter/test/input/ipv6.3 U src/contrib/ipfilter/test/input/ni16 U src/contrib/ipfilter/test/input/n3 U src/contrib/ipfilter/test/input/n9 U src/contrib/ipfilter/test/input/f17 U src/contrib/ipfilter/test/input/f3 U src/contrib/ipfilter/test/input/f9 U src/contrib/ipfilter/test/regress/ipv6.3 U src/contrib/ipfilter/test/regress/i8 U src/contrib/ipfilter/test/regress/n5 U src/contrib/ipfilter/test/regress/i2 U src/contrib/ipfilter/test/regress/f11 U src/contrib/ipfilter/test/regress/ip1 U src/contrib/ipfilter/test/regress/in2 U src/contrib/ipfilter/test/regress/i14 U src/contrib/ipfilter/test/regress/f5 U src/contrib/ipfilter/test/regress/n12 U src/contrib/ipfilter/test/regress/ni5.ipf U src/contrib/ipfilter/test/regress/bpf1 U src/contrib/ipfilter/test/regress/ni2.ipf U src/contrib/ipfilter/test/regress/f8 U src/contrib/ipfilter/test/regress/i21 U src/contrib/ipfilter/test/regress/f2 U src/contrib/ipfilter/test/regress/ni16.nat U src/contrib/ipfilter/test/regress/i19 U src/contrib/ipfilter/test/regress/in5 U src/contrib/ipfilter/test/regress/ni11.nat U src/contrib/ipfilter/test/regress/i13 U src/contrib/ipfilter/test/regress/f16 U src/contrib/ipfilter/test/regress/ni10.ipf U src/contrib/ipfilter/test/regress/n8 U src/contrib/ipfilter/test/regress/i5 U src/contrib/ipfilter/test/regress/n2 N src/contrib/ipfilter/test/regress/ni23.nat U src/contrib/ipfilter/test/regress/ni3.nat U src/contrib/ipfilter/test/regress/ni19.ipf U src/contrib/ipfilter/test/regress/ni4.nat U src/contrib/ipfilter/test/regress/p1.ipf U src/contrib/ipfilter/test/regress/f20 U src/contrib/ipfilter/test/regress/p3.pool U src/contrib/ipfilter/test/regress/f18 N src/contrib/ipfilter/test/regress/ip2 U src/contrib/ipfilter/test/regress/f12 U src/contrib/ipfilter/test/regress/i1 U src/contrib/ipfilter/test/regress/n6 U src/contrib/ipfilter/test/regress/i17 U src/contrib/ipfilter/test/regress/in1 U src/contrib/ipfilter/test/regress/bpf-f1 U src/contrib/ipfilter/test/regress/f6 U src/contrib/ipfilter/test/regress/f1 U src/contrib/ipfilter/test/regress/ni5.nat U src/contrib/ipfilter/test/regress/ni2.nat U src/contrib/ipfilter/test/regress/n11 U src/contrib/ipfilter/test/regress/i10 U src/contrib/ipfilter/test/regress/in6 U src/contrib/ipfilter/test/regress/ni16.ipf U src/contrib/ipfilter/test/regress/ni11.ipf U src/contrib/ipfilter/test/regress/n1 U src/contrib/ipfilter/test/regress/i6 U src/contrib/ipfilter/test/regress/ni10.nat U src/contrib/ipfilter/test/regress/f15 U src/contrib/ipfilter/test/regress/ni17.nat N src/contrib/ipfilter/test/regress/ni23.ipf U src/contrib/ipfilter/test/regress/ni3.ipf U src/contrib/ipfilter/test/regress/ni19.nat U src/contrib/ipfilter/test/regress/ni4.ipf U src/contrib/ipfilter/test/regress/ni1.nat U src/contrib/ipfilter/test/regress/f17 U src/contrib/ipfilter/test/regress/n3 U src/contrib/ipfilter/test/regress/i4 U src/contrib/ipfilter/test/regress/n9 U src/contrib/ipfilter/test/regress/ni6.nat U src/contrib/ipfilter/test/regress/p3.ipf U src/contrib/ipfilter/test/regress/ni12.ipf N src/contrib/ipfilter/test/regress/ipv6.5 U src/contrib/ipfilter/test/regress/p1.pool U src/contrib/ipfilter/test/regress/ni8.nat U src/contrib/ipfilter/test/regress/ni21.nat U src/contrib/ipfilter/test/regress/ni15.ipf U src/contrib/ipfilter/test/regress/n13 U src/contrib/ipfilter/test/regress/ni20.ipf U src/contrib/ipfilter/test/regress/ni14.nat U src/contrib/ipfilter/test/regress/i20 U src/contrib/ipfilter/test/regress/f3 U src/contrib/ipfilter/test/regress/ni13.nat U src/contrib/ipfilter/test/regress/f9 U src/contrib/ipfilter/test/regress/ni9.ipf U src/contrib/ipfilter/test/regress/ni7.ipf U src/contrib/ipfilter/test/regress/i12 U src/contrib/ipfilter/test/regress/in4 N src/contrib/ipfilter/test/regress/p5.pool U src/contrib/ipfilter/test/regress/i18 U src/contrib/ipfilter/test/regress/i15 U src/contrib/ipfilter/test/regress/in3 U src/contrib/ipfilter/test/regress/f4 U src/contrib/ipfilter/test/regress/n14 U src/contrib/ipfilter/test/regress/ipv6.2 U src/contrib/ipfilter/test/regress/i3 U src/contrib/ipfilter/test/regress/n4 U src/contrib/ipfilter/test/regress/i9 U src/contrib/ipfilter/test/regress/f10 U src/contrib/ipfilter/test/regress/ni1.ipf U src/contrib/ipfilter/test/regress/i7 U src/contrib/ipfilter/test/regress/f14 U src/contrib/ipfilter/test/regress/ni6.ipf U src/contrib/ipfilter/test/regress/ni12.nat U src/contrib/ipfilter/test/regress/ni8.ipf U src/contrib/ipfilter/test/regress/ni21.ipf U src/contrib/ipfilter/test/regress/ni15.nat U src/contrib/ipfilter/test/regress/ni20.nat U src/contrib/ipfilter/test/regress/ni14.ipf U src/contrib/ipfilter/test/regress/n10 U src/contrib/ipfilter/test/regress/ni13.ipf U src/contrib/ipfilter/test/regress/ni9.nat U src/contrib/ipfilter/test/regress/l1 U src/contrib/ipfilter/test/regress/i11 U src/contrib/ipfilter/test/regress/p2.ipf U src/contrib/ipfilter/test/regress/ni7.nat N src/contrib/ipfilter/test/regress/p5.ipf U src/contrib/ipfilter/test/regress/i16 U src/contrib/ipfilter/test/regress/f7 U src/contrib/ipfilter/test/regress/ipv6.1 U src/contrib/ipfilter/test/regress/f13 U src/contrib/ipfilter/test/regress/f19 U src/contrib/ipfilter/test/regress/n7 U src/contrib/ipfilter/test/expected/ni4 U src/contrib/ipfilter/test/expected/ni19 U src/contrib/ipfilter/test/expected/ni13 U src/contrib/ipfilter/test/expected/f5 U src/contrib/ipfilter/test/expected/i14 U src/contrib/ipfilter/test/expected/in2 U src/contrib/ipfilter/test/expected/ni21 U src/contrib/ipfilter/test/expected/ip1 U src/contrib/ipfilter/test/expected/f11 U src/contrib/ipfilter/test/expected/i2 U src/contrib/ipfilter/test/expected/n5 U src/contrib/ipfilter/test/expected/i8 U src/contrib/ipfilter/test/expected/ipv6.1 U src/contrib/ipfilter/test/expected/n2 U src/contrib/ipfilter/test/expected/i5 U src/contrib/ipfilter/test/expected/n8 U src/contrib/ipfilter/test/expected/f16 U src/contrib/ipfilter/test/expected/i13 U src/contrib/ipfilter/test/expected/in5 U src/contrib/ipfilter/test/expected/i19 U src/contrib/ipfilter/test/expected/f2 U src/contrib/ipfilter/test/expected/f8 U src/contrib/ipfilter/test/expected/i21 U src/contrib/ipfilter/test/expected/ni14 U src/contrib/ipfilter/test/expected/p1 U src/contrib/ipfilter/test/expected/ni3 U src/contrib/ipfilter/test/expected/n12 U src/contrib/ipfilter/test/expected/ni9 N src/contrib/ipfilter/test/expected/p5 U src/contrib/ipfilter/test/expected/ni10 U src/contrib/ipfilter/test/expected/ni7 U src/contrib/ipfilter/test/expected/in1 U src/contrib/ipfilter/test/expected/i17 U src/contrib/ipfilter/test/expected/f6 U src/contrib/ipfilter/test/expected/f12 U src/contrib/ipfilter/test/expected/l1.b N src/contrib/ipfilter/test/expected/ip2 U src/contrib/ipfilter/test/expected/f18 U src/contrib/ipfilter/test/expected/f20 U src/contrib/ipfilter/test/expected/n6 U src/contrib/ipfilter/test/expected/i1 N src/contrib/ipfilter/test/expected/ipv6.5 U src/contrib/ipfilter/test/expected/i6 U src/contrib/ipfilter/test/expected/n1 U src/contrib/ipfilter/test/expected/ipv6.2 U src/contrib/ipfilter/test/expected/f15 U src/contrib/ipfilter/test/expected/f1 U src/contrib/ipfilter/test/expected/in6 U src/contrib/ipfilter/test/expected/i10 U src/contrib/ipfilter/test/expected/bpf1 U src/contrib/ipfilter/test/expected/n11 U src/contrib/ipfilter/test/expected/p2 U src/contrib/ipfilter/test/expected/i18 U src/contrib/ipfilter/test/expected/in4 U src/contrib/ipfilter/test/expected/i12 U src/contrib/ipfilter/test/expected/f9 U src/contrib/ipfilter/test/expected/f3 U src/contrib/ipfilter/test/expected/ni15 U src/contrib/ipfilter/test/expected/i20 U src/contrib/ipfilter/test/expected/bpf-f1 U src/contrib/ipfilter/test/expected/ni8 U src/contrib/ipfilter/test/expected/n13 U src/contrib/ipfilter/test/expected/ni2 U src/contrib/ipfilter/test/expected/n9 U src/contrib/ipfilter/test/expected/i4 U src/contrib/ipfilter/test/expected/n3 U src/contrib/ipfilter/test/expected/f17 U src/contrib/ipfilter/test/expected/f10 U src/contrib/ipfilter/test/expected/i9 U src/contrib/ipfilter/test/expected/n4 U src/contrib/ipfilter/test/expected/i3 U src/contrib/ipfilter/test/expected/n14 U src/contrib/ipfilter/test/expected/ni5 U src/contrib/ipfilter/test/expected/ni12 U src/contrib/ipfilter/test/expected/f4 U src/contrib/ipfilter/test/expected/ni20 U src/contrib/ipfilter/test/expected/in3 U src/contrib/ipfilter/test/expected/i15 U src/contrib/ipfilter/test/expected/i11 U src/contrib/ipfilter/test/expected/ni1 U src/contrib/ipfilter/test/expected/n10 U src/contrib/ipfilter/test/expected/l1 U src/contrib/ipfilter/test/expected/ni16 U src/contrib/ipfilter/test/expected/p3 U src/contrib/ipfilter/test/expected/i7 U src/contrib/ipfilter/test/expected/ipv6.3 U src/contrib/ipfilter/test/expected/f14 U src/contrib/ipfilter/test/expected/f19 U src/contrib/ipfilter/test/expected/f13 U src/contrib/ipfilter/test/expected/n7 U src/contrib/ipfilter/test/expected/ni11 U src/contrib/ipfilter/test/expected/ni6 U src/contrib/ipfilter/test/expected/i16 N src/contrib/ipfilter/test/expected/ni23 U src/contrib/ipfilter/test/expected/f7 C src/contrib/ipfilter/tools/ipfcomp.c C src/contrib/ipfilter/tools/ipsyncm.c C src/contrib/ipfilter/tools/ipftest.c C src/contrib/ipfilter/tools/ipfstat.c C src/contrib/ipfilter/tools/ipsyncs.c C src/contrib/ipfilter/tools/ipf_y.y C src/contrib/ipfilter/tools/ipfs.c C src/contrib/ipfilter/tools/ipmon_y.y C src/contrib/ipfilter/tools/ipf.c C src/contrib/ipfilter/tools/ipmon.c U src/contrib/ipfilter/tools/BNF.ipnat C src/contrib/ipfilter/tools/lexer.c C src/contrib/ipfilter/tools/ippool.c U src/contrib/ipfilter/tools/BNF.ipf C src/contrib/ipfilter/tools/ipscan_y.y C src/contrib/ipfilter/tools/ipnat_y.y C src/contrib/ipfilter/tools/lex_var.h C src/contrib/ipfilter/tools/ipnat.c U src/contrib/ipfilter/tools/Makefile C src/contrib/ipfilter/tools/ippool_y.y C src/contrib/ipfilter/tools/lexer.h 119 conflicts created by this import. Use the following command to help the merge: cvs checkout -jDARRENR:yesterday -jDARRENR src/contrib/ipfilter From owner-cvs-src@FreeBSD.ORG Mon Jun 4 02:50:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30B8A16A41F; Mon, 4 Jun 2007 02:50:32 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 21E8013C44C; Mon, 4 Jun 2007 02:50:32 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l542oWHt084615; Mon, 4 Jun 2007 02:50:32 GMT (envelope-from darrenr@repoman.freebsd.org) Received: (from darrenr@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l542oV2F084614; Mon, 4 Jun 2007 02:50:32 GMT (envelope-from darrenr) Message-Id: <200706040250.l542oV2F084614@repoman.freebsd.org> From: Darren Reed Date: Mon, 4 Jun 2007 02:50:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: DARRENR Cc: Subject: cvs commit: src/sys/contrib/ipfilter/netinet - Imported sources X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 02:50:32 -0000 darrenr 2007-06-04 02:50:31 UTC FreeBSD src repository src/sys/contrib/ipfilter/netinet - Imported sources Update of /home/ncvs/src/sys/contrib/ipfilter/netinet In directory repoman.freebsd.org:/tmp/cvs-serv83738 Log Message: Import IPFilter 4.1.23 to vendor branch. See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13 Status: Vendor Tag: DARRENR Release Tags: v4-1-23 C src/sys/contrib/ipfilter/netinet/ip_raudio_pxy.c U src/sys/contrib/ipfilter/netinet/ip_pool.h C src/sys/contrib/ipfilter/netinet/mlfk_ipl.c C src/sys/contrib/ipfilter/netinet/ip_state.h C src/sys/contrib/ipfilter/netinet/ip_auth.h C src/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c C src/sys/contrib/ipfilter/netinet/ip_compat.h U src/sys/contrib/ipfilter/netinet/ip_lookup.h U src/sys/contrib/ipfilter/netinet/ip_rpcb_pxy.c C src/sys/contrib/ipfilter/netinet/ip_sync.c U src/sys/contrib/ipfilter/netinet/ip_irc_pxy.c U src/sys/contrib/ipfilter/netinet/ip_netbios_pxy.c U src/sys/contrib/ipfilter/netinet/ip_ipsec_pxy.c C src/sys/contrib/ipfilter/netinet/ip_frag.h C src/sys/contrib/ipfilter/netinet/ip_nat.c U src/sys/contrib/ipfilter/netinet/ip_pptp_pxy.c U src/sys/contrib/ipfilter/netinet/ip_htable.h C src/sys/contrib/ipfilter/netinet/ip_proxy.h U src/sys/contrib/ipfilter/netinet/ip_scan.c U src/sys/contrib/ipfilter/netinet/ip_lookup.c U src/sys/contrib/ipfilter/netinet/IPFILTER.LICENCE C src/sys/contrib/ipfilter/netinet/ipl.h U src/sys/contrib/ipfilter/netinet/ip_sync.h U src/sys/contrib/ipfilter/netinet/ip_pool.c C src/sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c C src/sys/contrib/ipfilter/netinet/ip_state.c C src/sys/contrib/ipfilter/netinet/ip_auth.c C src/sys/contrib/ipfilter/netinet/fil.c C src/sys/contrib/ipfilter/netinet/ip_log.c U src/sys/contrib/ipfilter/netinet/ip_scan.h U src/sys/contrib/ipfilter/netinet/QNX_OCL.txt C src/sys/contrib/ipfilter/netinet/ip_proxy.c C src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c C src/sys/contrib/ipfilter/netinet/ip_frag.c C src/sys/contrib/ipfilter/netinet/ip_nat.h C src/sys/contrib/ipfilter/netinet/ip_htable.c C src/sys/contrib/ipfilter/netinet/ip_fil.h 22 conflicts created by this import. Use the following command to help the merge: cvs checkout -jDARRENR:yesterday -jDARRENR src/sys/contrib/ipfilter/netinet From owner-cvs-src@FreeBSD.ORG Mon Jun 4 02:54:37 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E04916A41F; Mon, 4 Jun 2007 02:54:37 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3F413C457; Mon, 4 Jun 2007 02:54:37 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l542sbe2089178; Mon, 4 Jun 2007 02:54:37 GMT (envelope-from darrenr@repoman.freebsd.org) Received: (from darrenr@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l542saoc089176; Mon, 4 Jun 2007 02:54:36 GMT (envelope-from darrenr) Message-Id: <200706040254.l542saoc089176@repoman.freebsd.org> From: Darren Reed Date: Mon, 4 Jun 2007 02:54: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/contrib/ipfilter Makefile bpf_filter.c ip_fil.c ipf.h radix_ipf.h src/contrib/ipfilter/iplang iplang_y.y src/contrib/ipfilter/ipsend 44arp.c arp.c ip.c iptests.c resend.c sdlpi.c sock.c src/contrib/ipfilter/lib addicmp.c addipopt.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 02:54:37 -0000 darrenr 2007-06-04 02:54:36 UTC FreeBSD src repository Modified files: contrib/ipfilter Makefile bpf_filter.c ip_fil.c ipf.h radix_ipf.h contrib/ipfilter/iplang iplang_y.y contrib/ipfilter/ipsend 44arp.c arp.c ip.c iptests.c resend.c sdlpi.c sock.c contrib/ipfilter/lib addicmp.c addipopt.c bcopywrap.c binprint.c buildopts.c checkrev.c count4bits.c count6bits.c debug.c facpri.c facpri.h fill6bits.c flags.c gethost.c getifname.c getnattype.c getport.c getportproto.c getproto.c getsumd.c hostname.c icmpcode.c initparse.c ionames.c ipf_dotuning.c ipft_ef.c ipft_hx.c ipft_pc.c ipft_sn.c ipft_td.c ipft_tx.c ipoptsec.c kmem.c kmem.h kmemcpywrap.c kvatoname.c load_hash.c load_hashnode.c load_pool.c load_poolnode.c mutex_emul.c nametokva.c nat_setgroupmap.c ntomask.c optname.c optprint.c optprintv6.c optvalue.c portname.c print_toif.c printactivenat.c printaps.c printbuf.c printfr.c printfraginfo.c printhash.c printhashnode.c printhostmap.c printhostmask.c printifname.c printip.c printlog.c printmask.c printnat.c printpacket.c printpacket6.c printpool.c printpoolnode.c printportcmp.c printsbuf.c printstate.c printtunable.c remove_hash.c remove_hashnode.c remove_pool.c remove_poolnode.c resetlexer.c rwlock_emul.c tcp_flags.c tcpflags.c tcpoptnames.c v6ionames.c v6optvalue.c var.c verbose.c contrib/ipfilter/man ipf.8 ipfstat.8 ipmon.8 contrib/ipfilter/tools ipf.c ipf_y.y ipfcomp.c ipfs.c ipfstat.c ipftest.c ipmon.c ipmon_y.y ipnat.c ipnat_y.y ippool.c ippool_y.y ipscan_y.y ipsyncm.c ipsyncs.c lex_var.h lexer.c lexer.h sbin/ipf/libipf Makefile sys/contrib/ipfilter/netinet fil.c ip_auth.c ip_auth.h ip_compat.h ip_fil.h ip_fil_freebsd.c ip_frag.c ip_frag.h ip_ftp_pxy.c ip_htable.c ip_log.c ip_nat.c ip_nat.h ip_proxy.c ip_proxy.h ip_raudio_pxy.c ip_rcmd_pxy.c ip_state.c ip_state.h ip_sync.c ipl.h mlfk_ipl.c Log: Merge IPFilter 4.1.23 back to HEAD See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13 Revision Changes Path 1.7 +10 -1 src/contrib/ipfilter/Makefile 1.6 +3 -2 src/contrib/ipfilter/bpf_filter.c 1.5 +20 -220 src/contrib/ipfilter/ip_fil.c 1.5 +14 -21 src/contrib/ipfilter/ipf.h 1.9 +7 -4 src/contrib/ipfilter/iplang/iplang_y.y 1.3 +3 -1 src/contrib/ipfilter/ipsend/44arp.c 1.4 +6 -3 src/contrib/ipfilter/ipsend/arp.c 1.4 +4 -1 src/contrib/ipfilter/ipsend/ip.c 1.13 +4 -1 src/contrib/ipfilter/ipsend/iptests.c 1.5 +4 -1 src/contrib/ipfilter/ipsend/resend.c 1.4 +2 -1 src/contrib/ipfilter/ipsend/sdlpi.c 1.18 +8 -2 src/contrib/ipfilter/ipsend/sock.c 1.5 +2 -2 src/contrib/ipfilter/lib/addicmp.c 1.4 +2 -2 src/contrib/ipfilter/lib/addipopt.c 1.3 +8 -0 src/contrib/ipfilter/lib/bcopywrap.c 1.4 +2 -2 src/contrib/ipfilter/lib/binprint.c 1.4 +2 -2 src/contrib/ipfilter/lib/buildopts.c 1.4 +2 -2 src/contrib/ipfilter/lib/checkrev.c 1.4 +2 -2 src/contrib/ipfilter/lib/count4bits.c 1.4 +2 -2 src/contrib/ipfilter/lib/count6bits.c 1.4 +2 -2 src/contrib/ipfilter/lib/debug.c 1.5 +3 -3 src/contrib/ipfilter/lib/facpri.c 1.4 +2 -2 src/contrib/ipfilter/lib/facpri.h 1.4 +2 -2 src/contrib/ipfilter/lib/fill6bits.c 1.4 +2 -2 src/contrib/ipfilter/lib/flags.c 1.3 +8 -0 src/contrib/ipfilter/lib/gethost.c 1.3 +16 -0 src/contrib/ipfilter/lib/getifname.c 1.4 +18 -11 src/contrib/ipfilter/lib/getnattype.c 1.4 +8 -0 src/contrib/ipfilter/lib/getport.c 1.3 +8 -0 src/contrib/ipfilter/lib/getportproto.c 1.4 +8 -0 src/contrib/ipfilter/lib/getproto.c 1.3 +8 -0 src/contrib/ipfilter/lib/getsumd.c 1.3 +9 -0 src/contrib/ipfilter/lib/hostname.c 1.5 +2 -2 src/contrib/ipfilter/lib/icmpcode.c 1.4 +2 -2 src/contrib/ipfilter/lib/initparse.c 1.4 +2 -2 src/contrib/ipfilter/lib/ionames.c 1.5 +8 -0 src/contrib/ipfilter/lib/ipf_dotuning.c 1.4 +14 -9 src/contrib/ipfilter/lib/ipft_ef.c 1.4 +2 -2 src/contrib/ipfilter/lib/ipft_hx.c 1.4 +3 -3 src/contrib/ipfilter/lib/ipft_pc.c 1.4 +3 -3 src/contrib/ipfilter/lib/ipft_sn.c 1.4 +7 -3 src/contrib/ipfilter/lib/ipft_td.c 1.6 +8 -9 src/contrib/ipfilter/lib/ipft_tx.c 1.4 +2 -2 src/contrib/ipfilter/lib/ipoptsec.c 1.4 +2 -2 src/contrib/ipfilter/lib/kmem.c 1.4 +2 -2 src/contrib/ipfilter/lib/kmem.h 1.3 +8 -0 src/contrib/ipfilter/lib/kmemcpywrap.c 1.3 +8 -0 src/contrib/ipfilter/lib/kvatoname.c 1.4 +5 -3 src/contrib/ipfilter/lib/load_hash.c 1.4 +2 -2 src/contrib/ipfilter/lib/load_hashnode.c 1.4 +2 -2 src/contrib/ipfilter/lib/load_pool.c 1.4 +3 -3 src/contrib/ipfilter/lib/load_poolnode.c 1.3 +8 -0 src/contrib/ipfilter/lib/mutex_emul.c 1.3 +8 -0 src/contrib/ipfilter/lib/nametokva.c 1.4 +2 -2 src/contrib/ipfilter/lib/nat_setgroupmap.c 1.3 +8 -0 src/contrib/ipfilter/lib/ntomask.c 1.4 +2 -2 src/contrib/ipfilter/lib/optname.c 1.5 +2 -2 src/contrib/ipfilter/lib/optprint.c 1.4 +2 -2 src/contrib/ipfilter/lib/optprintv6.c 1.4 +2 -2 src/contrib/ipfilter/lib/optvalue.c 1.4 +2 -2 src/contrib/ipfilter/lib/portname.c 1.4 +2 -2 src/contrib/ipfilter/lib/print_toif.c 1.4 +9 -7 src/contrib/ipfilter/lib/printactivenat.c 1.4 +2 -2 src/contrib/ipfilter/lib/printaps.c 1.4 +2 -2 src/contrib/ipfilter/lib/printbuf.c 1.5 +7 -2 src/contrib/ipfilter/lib/printfr.c 1.4 +7 -6 src/contrib/ipfilter/lib/printfraginfo.c 1.3 +8 -94 src/contrib/ipfilter/lib/printhash.c 1.3 +2 -1 src/contrib/ipfilter/lib/printhashnode.c 1.4 +9 -3 src/contrib/ipfilter/lib/printhostmap.c 1.4 +2 -2 src/contrib/ipfilter/lib/printhostmask.c 1.4 +2 -2 src/contrib/ipfilter/lib/printifname.c 1.4 +2 -2 src/contrib/ipfilter/lib/printip.c 1.5 +2 -2 src/contrib/ipfilter/lib/printlog.c 1.4 +2 -2 src/contrib/ipfilter/lib/printmask.c 1.4 +10 -4 src/contrib/ipfilter/lib/printnat.c 1.4 +3 -2 src/contrib/ipfilter/lib/printpacket.c 1.3 +8 -0 src/contrib/ipfilter/lib/printpacket6.c 1.3 +5 -51 src/contrib/ipfilter/lib/printpool.c 1.3 +4 -4 src/contrib/ipfilter/lib/printpoolnode.c 1.4 +2 -2 src/contrib/ipfilter/lib/printportcmp.c 1.3 +8 -0 src/contrib/ipfilter/lib/printsbuf.c 1.5 +78 -78 src/contrib/ipfilter/lib/printstate.c 1.3 +8 -0 src/contrib/ipfilter/lib/printtunable.c 1.4 +2 -2 src/contrib/ipfilter/lib/remove_hash.c 1.4 +2 -2 src/contrib/ipfilter/lib/remove_hashnode.c 1.4 +2 -2 src/contrib/ipfilter/lib/remove_pool.c 1.4 +2 -2 src/contrib/ipfilter/lib/remove_poolnode.c 1.3 +8 -0 src/contrib/ipfilter/lib/resetlexer.c 1.3 +8 -0 src/contrib/ipfilter/lib/rwlock_emul.c 1.4 +2 -2 src/contrib/ipfilter/lib/tcp_flags.c 1.4 +2 -2 src/contrib/ipfilter/lib/tcpflags.c 1.4 +2 -2 src/contrib/ipfilter/lib/tcpoptnames.c 1.4 +2 -2 src/contrib/ipfilter/lib/v6ionames.c 1.4 +2 -2 src/contrib/ipfilter/lib/v6optvalue.c 1.3 +8 -0 src/contrib/ipfilter/lib/var.c 1.4 +2 -2 src/contrib/ipfilter/lib/verbose.c 1.8 +12 -0 src/contrib/ipfilter/man/ipf.8 1.11 +5 -1 src/contrib/ipfilter/man/ipfstat.8 1.18 +1 -0 src/contrib/ipfilter/man/ipmon.8 1.4 +1 -1 src/contrib/ipfilter/radix_ipf.h 1.6 +7 -5 src/contrib/ipfilter/tools/ipf.c 1.6 +33 -11 src/contrib/ipfilter/tools/ipf_y.y 1.5 +20 -7 src/contrib/ipfilter/tools/ipfcomp.c 1.5 +18 -2 src/contrib/ipfilter/tools/ipfs.c 1.5 +412 -96 src/contrib/ipfilter/tools/ipfstat.c 1.5 +15 -13 src/contrib/ipfilter/tools/ipftest.c 1.7 +33 -10 src/contrib/ipfilter/tools/ipmon.c 1.3 +6 -0 src/contrib/ipfilter/tools/ipmon_y.y 1.5 +178 -59 src/contrib/ipfilter/tools/ipnat.c 1.5 +9 -3 src/contrib/ipfilter/tools/ipnat_y.y 1.4 +346 -168 src/contrib/ipfilter/tools/ippool.c 1.3 +110 -3 src/contrib/ipfilter/tools/ippool_y.y 1.3 +6 -0 src/contrib/ipfilter/tools/ipscan_y.y 1.5 +2 -2 src/contrib/ipfilter/tools/ipsyncm.c 1.5 +2 -2 src/contrib/ipfilter/tools/ipsyncs.c 1.3 +5 -0 src/contrib/ipfilter/tools/lex_var.h 1.4 +11 -5 src/contrib/ipfilter/tools/lexer.c 1.3 +5 -0 src/contrib/ipfilter/tools/lexer.h 1.6 +22 -22 src/sbin/ipf/libipf/Makefile 1.51 +1125 -173 src/sys/contrib/ipfilter/netinet/fil.c 1.44 +471 -232 src/sys/contrib/ipfilter/netinet/ip_auth.c 1.16 +3 -1 src/sys/contrib/ipfilter/netinet/ip_auth.h 1.33 +62 -55 src/sys/contrib/ipfilter/netinet/ip_compat.h 1.35 +166 -20 src/sys/contrib/ipfilter/netinet/ip_fil.h 1.6 +82 -166 src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c 1.32 +162 -32 src/sys/contrib/ipfilter/netinet/ip_frag.c 1.19 +21 -4 src/sys/contrib/ipfilter/netinet/ip_frag.h 1.28 +4 -30 src/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c 1.4 +303 -103 src/sys/contrib/ipfilter/netinet/ip_htable.c 1.33 +10 -5 src/sys/contrib/ipfilter/netinet/ip_log.c 1.42 +725 -244 src/sys/contrib/ipfilter/netinet/ip_nat.c 1.26 +13 -22 src/sys/contrib/ipfilter/netinet/ip_nat.h 1.29 +9 -8 src/sys/contrib/ipfilter/netinet/ip_proxy.c 1.17 +2 -1 src/sys/contrib/ipfilter/netinet/ip_proxy.h 1.13 +3 -3 src/sys/contrib/ipfilter/netinet/ip_raudio_pxy.c 1.15 +2 -2 src/sys/contrib/ipfilter/netinet/ip_rcmd_pxy.c 1.39 +503 -230 src/sys/contrib/ipfilter/netinet/ip_state.c 1.19 +4 -3 src/sys/contrib/ipfilter/netinet/ip_state.h 1.5 +4 -3 src/sys/contrib/ipfilter/netinet/ip_sync.c 1.26 +2 -2 src/sys/contrib/ipfilter/netinet/ipl.h 1.19 +27 -9 src/sys/contrib/ipfilter/netinet/mlfk_ipl.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 03:07:35 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA5CF16A468; Mon, 4 Jun 2007 03:07:35 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BA08913C45B; Mon, 4 Jun 2007 03:07:35 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5437ZEF001913; Mon, 4 Jun 2007 03:07:35 GMT (envelope-from darrenr@repoman.freebsd.org) Received: (from darrenr@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5437ZLQ001912; Mon, 4 Jun 2007 03:07:35 GMT (envelope-from darrenr) Message-Id: <200706040307.l5437ZLQ001912@repoman.freebsd.org> From: Darren Reed Date: Mon, 4 Jun 2007 03:07: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/contrib/ipfilter/lib extras.c genmask.c getline.c hexdump.c hostmask.c hostnum.c loglevel.c natparse.c parse.c portnum.c ports.c ratoi.c ratoui.c to_interface.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 03:07:35 -0000 darrenr 2007-06-04 03:07:34 UTC FreeBSD src repository Removed files: contrib/ipfilter/lib extras.c genmask.c getline.c hexdump.c hostmask.c hostnum.c loglevel.c natparse.c parse.c portnum.c ports.c ratoi.c ratoui.c to_interface.c Log: Remove files no longer required to build IPFilter Revision Changes Path 1.4 +0 -114 src/contrib/ipfilter/lib/extras.c (dead) 1.4 +0 -56 src/contrib/ipfilter/lib/genmask.c (dead) 1.4 +0 -58 src/contrib/ipfilter/lib/getline.c (dead) 1.3 +0 -30 src/contrib/ipfilter/lib/hexdump.c (dead) 1.4 +0 -95 src/contrib/ipfilter/lib/hostmask.c (dead) 1.4 +0 -49 src/contrib/ipfilter/lib/hostnum.c (dead) 1.4 +0 -55 src/contrib/ipfilter/lib/loglevel.c (dead) 1.4 +0 -730 src/contrib/ipfilter/lib/natparse.c (dead) 1.4 +0 -754 src/contrib/ipfilter/lib/parse.c (dead) 1.4 +0 -64 src/contrib/ipfilter/lib/portnum.c (dead) 1.4 +0 -81 src/contrib/ipfilter/lib/ports.c (dead) 1.4 +0 -26 src/contrib/ipfilter/lib/ratoi.c (dead) 1.4 +0 -26 src/contrib/ipfilter/lib/ratoui.c (dead) 1.4 +0 -31 src/contrib/ipfilter/lib/to_interface.c (dead) From owner-cvs-src@FreeBSD.ORG Mon Jun 4 03:13:25 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2203016A469; Mon, 4 Jun 2007 03:13:25 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F011913C44C; Mon, 4 Jun 2007 03:13:24 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l543DODr005023; Mon, 4 Jun 2007 03:13:24 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l543DOGi005016; Mon, 4 Jun 2007 03:13:24 GMT (envelope-from imp) Message-Id: <200706040313.l543DOGi005016@repoman.freebsd.org> From: Warner Losh Date: Mon, 4 Jun 2007 03:13: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/pccbb pccbb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 03:13:25 -0000 imp 2007-06-04 03:13:24 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: Don't register cb_func_filt if the client driver doesn't have a filter. ditto for the isr. Reviewed/Suggested by: simokawa-san Revision Changes Path 1.163 +3 -4 src/sys/dev/pccbb/pccbb.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 04:35:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 957BB16A477; Mon, 4 Jun 2007 04:35:06 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 10B5613C48A; Mon, 4 Jun 2007 04:35:05 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l544Z5SB086232; Mon, 4 Jun 2007 04:35:05 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l544Z54P086227; Mon, 4 Jun 2007 04:35:05 GMT (envelope-from scottl) Message-Id: <200706040435.l544Z54P086227@repoman.freebsd.org> From: Scott Long Date: Mon, 4 Jun 2007 04:35:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mpt mpt_cam.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 04:35:06 -0000 scottl 2007-06-04 04:35:05 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt_cam.c Log: Free the portinfo object on unload. Revision Changes Path 1.58 +4 -0 src/sys/dev/mpt/mpt_cam.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 05:59:45 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E0E816A41F; Mon, 4 Jun 2007 05:59:45 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 00C2513C45A; Mon, 4 Jun 2007 05:59:45 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l545xiJ6067929; Mon, 4 Jun 2007 05:59:44 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l545xikH067923; Mon, 4 Jun 2007 05:59:44 GMT (envelope-from imp) Message-Id: <200706040559.l545xikH067923@repoman.freebsd.org> From: Warner Losh Date: Mon, 4 Jun 2007 05: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/sys/dev/pccbb pccbb.c pccbb_pci.c pccbbvar.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, 04 Jun 2007 05:59:45 -0000 imp 2007-06-04 05:59:44 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c pccbb_pci.c pccbbvar.h Log: Migrate from setting a CARD_OK flag in a shared word, to setting its own entry in the softc. This should allow more of cbb_pci_intr() to migrate to a new cbb_pci_filt() so that we don't have to run cbb's ISR in almost every case we get an interrupt. We can't just move cbb_pci_intr into cbb_pci_filt because it does things that aren't safe to do from a fast interrupt handler, err I mean from a filter. This is an important first step. # I wonder if I need to make cardok volatile or not. Revision Changes Path 1.164 +8 -29 src/sys/dev/pccbb/pccbb.c 1.25 +12 -2 src/sys/dev/pccbb/pccbb_pci.c 1.31 +1 -1 src/sys/dev/pccbb/pccbbvar.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 06:01:05 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6383B16A400; Mon, 4 Jun 2007 06:01:05 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5614113C46A; Mon, 4 Jun 2007 06:01:05 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54615aE069191; Mon, 4 Jun 2007 06:01:05 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54615lN069185; Mon, 4 Jun 2007 06:01:05 GMT (envelope-from yongari) Message-Id: <200706040601.l54615lN069185@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 4 Jun 2007 06:01: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/dev/gem if_gem.c if_gemreg.h if_gemvar.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, 04 Jun 2007 06:01:05 -0000 yongari 2007-06-04 06:01:04 UTC FreeBSD src repository Modified files: sys/dev/gem if_gem.c if_gemreg.h if_gemvar.h Log: o Implemented Rx/Tx checksum offload. The simple checksum logic in GEMs is unable to discriminate UDP from TCP packets such that it can generate 0x0000 checksum value for the UDP datagram. So the UDP checksum offload was disabled by default. You can enable it by setting link0 flag with ifconfig(8). o bus_dma(9) clean up. It now correctly set number of required DMA segments/size and removed incorrect use of BUS_DMA_ALLOCNOW flag in static allocations done via bus_dmamem_alloc(9). o Implemented ALTQ(9) support. o Implemented Tx side bus_dmamap_load_mbuf_sg(9) which can remove several book keeping chores orginated from call-back mechanism. Therefore gem_txdma_callback() was removed and its functionality was reimplemented in gem_load_txmbuf(). o Don't set GEM_TD_START_OF_PACKET flag until all remaining mbuf chains are set. I think it was a long standing bug and it caused fluctuating interrupts/CPU usage patterns while netperf test is in progress. Previously it seems that we race with the device. Because I don't have a documentation for GEM I'm not sure this is correct but almost all other documentations I have stated this implications on setting SOP mark in descriptor ring(e.g. hme(4)). o Borrowed gem_defrag() from ath(4) which is supposed to be much faster than m_defrag(9) since it's not need to defrag all mbuf chains. o gem_load_txmbuf() was changed to allow passed mbuf chains to free. Caller of gem_load_txmbuf() correctly handles freed mbuf chains. o In gem_start_locked(), added checks for availability of Tx descriptors before trying to load DMA maps which could save CPU cycles when number of available descriptors are low. Also, simplyfy IFF_DRV_OACTIVE detection logic. o Removed hard-coded function names in CTR macros and replaced it with __func__. o Moved statistics counter register access to gem_tick() to reduce number of PCI bus accesses. There is no reason to update statistics counters in interrupt handler. o Removed unnecessary call of gem_start_locked() in gem_ioctl(). Reviewed by: grehan (initial version), marius (with improvements and suggestions) Tested by: grehan (ppc), marius(sparc64) Revision Changes Path 1.42 +417 -218 src/sys/dev/gem/if_gem.c 1.4 +2 -0 src/sys/dev/gem/if_gemreg.h 1.14 +1 -6 src/sys/dev/gem/if_gemvar.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 06:01:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 445DA16A400; Mon, 4 Jun 2007 06:01:58 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9C213C455; Mon, 4 Jun 2007 06:01:58 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5461vZ1070563; Mon, 4 Jun 2007 06:01:57 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5461vPH070559; Mon, 4 Jun 2007 06:01:57 GMT (envelope-from yongari) Message-Id: <200706040601.l5461vPH070559@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 4 Jun 2007 06:01: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/share/man/man4 altq.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, 04 Jun 2007 06:01:58 -0000 yongari 2007-06-04 06:01:57 UTC FreeBSD src repository Modified files: share/man/man4 altq.4 Log: gem(4) supports altq(4) now. Revision Changes Path 1.31 +2 -1 src/share/man/man4/altq.4 From owner-cvs-src@FreeBSD.ORG Mon Jun 4 06:06:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78F5B16A41F; Mon, 4 Jun 2007 06:06:36 +0000 (UTC) (envelope-from jinmei@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5339713C455; Mon, 4 Jun 2007 06:06:36 +0000 (UTC) (envelope-from jinmei@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5466aaM076340; Mon, 4 Jun 2007 06:06:36 GMT (envelope-from jinmei@repoman.freebsd.org) Received: (from jinmei@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5466aZT076338; Mon, 4 Jun 2007 06:06:36 GMT (envelope-from jinmei) Message-Id: <200706040606.l5466aZT076338@repoman.freebsd.org> From: JINMEI Tatuya Date: Mon, 4 Jun 2007 06:06: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/netinet6 frag6.c ip6_var.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 06:06:36 -0000 jinmei 2007-06-04 06:06:36 UTC FreeBSD src repository Modified files: sys/netinet6 frag6.c ip6_var.h Log: cleanup about the reassembly structures and routine: - removed unused structure members - fixed a minor bug that the ECN code point may not be restored correctly Approved by: ume (mentor) MFC after: 1 week Revision Changes Path 1.31 +13 -14 src/sys/netinet6/frag6.c 1.38 +3 -11 src/sys/netinet6/ip6_var.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 06:18:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D036916A468; Mon, 4 Jun 2007 06:18:08 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AB2B113C44B; Mon, 4 Jun 2007 06:18:08 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l546I8ZJ087250; Mon, 4 Jun 2007 06:18:08 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l546I8E9087246; Mon, 4 Jun 2007 06:18:08 GMT (envelope-from scottl) Message-Id: <200706040618.l546I8E9087246@repoman.freebsd.org> From: Scott Long Date: Mon, 4 Jun 2007 06:18: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/mpt mpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 06:18:08 -0000 scottl 2007-06-04 06:18:08 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c Log: Track an update in the MPI headers that was missed earlier. Revision Changes Path 1.43 +1 -1 src/sys/dev/mpt/mpt.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 08:02:23 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 318D916A400; Mon, 4 Jun 2007 08:02:23 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0D17E13C4BD; Mon, 4 Jun 2007 08:02:23 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5482Mlb089237; Mon, 4 Jun 2007 08:02:22 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5482MGf089233; Mon, 4 Jun 2007 08:02:22 GMT (envelope-from alc) Message-Id: <200706040802.l5482MGf089233@repoman.freebsd.org> From: Alan Cox Date: Mon, 4 Jun 2007 08:02: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/arm/include 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, 04 Jun 2007 08:02:23 -0000 alc 2007-06-04 08:02:22 UTC FreeBSD src repository Modified files: sys/arm/include vmparam.h Log: Add the machine-specific definitions for configuring the new physical memory allocator. Approved by: re Revision Changes Path 1.10 +15 -0 src/sys/arm/include/vmparam.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 08:33:18 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEC6116A46E; Mon, 4 Jun 2007 08:33:18 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8986F13C48A; Mon, 4 Jun 2007 08:33:18 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l548XItV021433; Mon, 4 Jun 2007 08:33:18 GMT (envelope-from brian@repoman.freebsd.org) Received: (from brian@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l548XIVm021432; Mon, 4 Jun 2007 08:33:18 GMT (envelope-from brian) Message-Id: <200706040833.l548XIVm021432@repoman.freebsd.org> From: Brian Somers Date: Mon, 4 Jun 2007 08:33: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/dev/speaker spkr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 08:33:18 -0000 brian 2007-06-04 08:33:18 UTC FreeBSD src repository Modified files: sys/dev/speaker spkr.c Log: Speaker durations are specified in 1/100ths of a second according to spkr(4). PR: 70610, 67995 Submitted by: dada at sbox dot tugraz dot at (modulo one fix) MFC after: 2 weeks Revision Changes Path 1.71 +19 -15 src/sys/dev/speaker/spkr.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 08:49:15 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41F0716A468; Mon, 4 Jun 2007 08:49:15 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.freebsd.org (Postfix) with SMTP id 4FB3413C465; Mon, 4 Jun 2007 08:49:13 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 4 Jun 2007 09:49:13 +0100 (BST) Date: Mon, 4 Jun 2007 09:49:12 +0100 From: David Malone To: Brian Somers Message-ID: <20070604084912.GA20502@walton.maths.tcd.ie> References: <200706040833.l548XIVm021432@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706040833.l548XIVm021432@repoman.freebsd.org> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/speaker spkr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 08:49:15 -0000 On Mon, Jun 04, 2007 at 08:33:18AM +0000, Brian Somers wrote: > brian 2007-06-04 08:33:18 UTC > > FreeBSD src repository > > Modified files: > sys/dev/speaker spkr.c > Log: > Speaker durations are specified in 1/100ths of a second according to > spkr(4). I wasn't sure that the patch in the PR was completly correct, because the tone and reset functions seem to be called from a few places, some of which already factor in hz (playtone() does calculations with "whole" which factors in hz) and some of which don't (spkrioctl, which the PR referrs to). David. From owner-cvs-src@FreeBSD.ORG Mon Jun 4 09:06:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63B7216A400; Mon, 4 Jun 2007 09:06:06 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2D9E813C480; Mon, 4 Jun 2007 09:06:06 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54966JK061498; Mon, 4 Jun 2007 09:06:06 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54966Nb061497; Mon, 4 Jun 2007 09:06:06 GMT (envelope-from ariff) Message-Id: <200706040906.l54966Nb061497@repoman.freebsd.org> From: Ariff Abdullah Date: Mon, 4 Jun 2007 09:06:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/sound/pcm sound.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 09:06:06 -0000 ariff 2007-06-04 09:06:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/sound/pcm sound.c Log: MFC: Simmilar, but different treatment: Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) . Things can get ugly without it due to uninitialized class. err.. perhaps we should teach devclass_get_maxunit() to return -1 ? Revision Changes Path 1.93.2.5 +2 -1 src/sys/dev/sound/pcm/sound.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 09:06:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4D9616A46B; Mon, 4 Jun 2007 09:06:36 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from storm.uk.FreeBSD.org (storm.uk.FreeBSD.org [194.242.157.42]) by mx1.freebsd.org (Postfix) with ESMTP id 63CF013C457; Mon, 4 Jun 2007 09:06:36 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from store.lan.Awfulhak.org (store.lan.Awfulhak.org [172.16.0.35]) by storm.uk.FreeBSD.org (8.14.1/8.14.1) with ESMTP id l5496Yt4024160; Mon, 4 Jun 2007 10:06:34 +0100 (BST) (envelope-from brian@FreeBSD.org) Received: from store.lan.Awfulhak.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id CF7351957C6D; Mon, 4 Jun 2007 09:06:30 +0000 (GMT) Received: from gw.Awfulhak.org (gw.lan.Awfulhak.org [172.16.0.1]) by store.lan.Awfulhak.org (Postfix) with ESMTP id B03171957C61; Mon, 4 Jun 2007 09:06:24 +0000 (GMT) Received: from dev.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by gw.Awfulhak.org (8.14.1/8.14.1) with ESMTP id l5496OGZ011150; Mon, 4 Jun 2007 02:06:24 -0700 (PDT) (envelope-from brian@FreeBSD.org) Date: Mon, 4 Jun 2007 02:06:23 -0700 From: Brian Somers To: David Malone Message-ID: <20070604020623.49c95405@dev.lan.Awfulhak.org> In-Reply-To: <20070604084912.GA20502@walton.maths.tcd.ie> References: <200706040833.l548XIVm021432@repoman.freebsd.org> <20070604084912.GA20502@walton.maths.tcd.ie> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/speaker spkr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 09:06:36 -0000 On Mon, 4 Jun 2007 09:49:12 +0100 David Malone wrote: > On Mon, Jun 04, 2007 at 08:33:18AM +0000, Brian Somers wrote: > > brian 2007-06-04 08:33:18 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/speaker spkr.c > > Log: > > Speaker durations are specified in 1/100ths of a second according to > > spkr(4). > > I wasn't sure that the patch in the PR was completly correct, because > the tone and reset functions seem to be called from a few places, > some of which already factor in hz (playtone() does calculations > with "whole" which factors in hz) and some of which don't (spkrioctl, > which the PR referrs to). > > David. You're probably right - changing hz to '100' where 'whole' is set may be required. I'm just looking at testing some tempo and playtone() settings now... BRB. -- Brian Somers Don't _EVER_ lose your sense of humour ! From owner-cvs-src@FreeBSD.ORG Mon Jun 4 09:27:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8182116A468; Mon, 4 Jun 2007 09:27:14 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5CAED13C465; Mon, 4 Jun 2007 09:27:14 +0000 (UTC) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l549RE0e079537; Mon, 4 Jun 2007 09:27:14 GMT (envelope-from brian@repoman.freebsd.org) Received: (from brian@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l549REOZ079532; Mon, 4 Jun 2007 09:27:14 GMT (envelope-from brian) Message-Id: <200706040927.l549REOZ079532@repoman.freebsd.org> From: Brian Somers Date: Mon, 4 Jun 2007 09:27:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/speaker spkr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 09:27:14 -0000 brian 2007-06-04 09:27:14 UTC FreeBSD src repository Modified files: sys/dev/speaker spkr.c Log: Now that tone & delay times are correct (independent of hz), adjust playtone() so that it uses times of 1/100ths of a second. Now 'time echo T60ABC >/dev/speaker' takes ~3 seconds. MFC after: 2 weeks Problem noted by: dwmalone Revision Changes Path 1.72 +2 -2 src/sys/dev/speaker/spkr.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 09:28:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3F6916A473; Mon, 4 Jun 2007 09:28:16 +0000 (UTC) (envelope-from brian@Awfulhak.org) Received: from storm.uk.FreeBSD.org (storm.uk.FreeBSD.org [194.242.157.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5A26313C4BC; Mon, 4 Jun 2007 09:28:16 +0000 (UTC) (envelope-from brian@Awfulhak.org) Received: from store.lan.Awfulhak.org (store.lan.Awfulhak.org [172.16.0.35]) by storm.uk.FreeBSD.org (8.14.1/8.14.1) with ESMTP id l549SEde024522; Mon, 4 Jun 2007 10:28:14 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from store.lan.Awfulhak.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 773121957C76; Mon, 4 Jun 2007 09:28:10 +0000 (GMT) Received: from gw.Awfulhak.org (gw.lan.Awfulhak.org [172.16.0.1]) by store.lan.Awfulhak.org (Postfix) with ESMTP id 576A01957C61; Mon, 4 Jun 2007 09:28:02 +0000 (GMT) Received: from dev.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by gw.Awfulhak.org (8.14.1/8.14.1) with ESMTP id l549S1ZR011848; Mon, 4 Jun 2007 02:28:01 -0700 (PDT) (envelope-from brian@Awfulhak.org) Date: Mon, 4 Jun 2007 02:28:01 -0700 From: Brian Somers To: Brian Somers Message-ID: <20070604022801.40ab3a1b@dev.lan.Awfulhak.org> In-Reply-To: <20070604020623.49c95405@dev.lan.Awfulhak.org> References: <200706040833.l548XIVm021432@repoman.freebsd.org> <20070604084912.GA20502@walton.maths.tcd.ie> <20070604020623.49c95405@dev.lan.Awfulhak.org> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: David Malone , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/speaker spkr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 09:28:17 -0000 On Mon, 4 Jun 2007 02:06:23 -0700 Brian Somers wrote: > On Mon, 4 Jun 2007 09:49:12 +0100 David Malone wrote: > > On Mon, Jun 04, 2007 at 08:33:18AM +0000, Brian Somers wrote: > > > brian 2007-06-04 08:33:18 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/dev/speaker spkr.c > > > Log: > > > Speaker durations are specified in 1/100ths of a second according to > > > spkr(4). > > > > I wasn't sure that the patch in the PR was completly correct, because > > the tone and reset functions seem to be called from a few places, > > some of which already factor in hz (playtone() does calculations > > with "whole" which factors in hz) and some of which don't (spkrioctl, > > which the PR referrs to). > > > > David. > > You're probably right - changing hz to '100' where 'whole' > is set may be required. I'm just looking at testing some > tempo and playtone() settings now... BRB. That seems to do it: # time echo T60ABC >/dev/speaker real 0m2.999s user 0m0.000s sys 0m0.000s -- Brian Somers Don't _EVER_ lose your sense of humour ! From owner-cvs-src@FreeBSD.ORG Mon Jun 4 11:31:46 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D68916A400; Mon, 4 Jun 2007 11:31:46 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8E81813C46C; Mon, 4 Jun 2007 11:31:46 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54BVkqZ099573; Mon, 4 Jun 2007 11:31:46 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54BVkpc099569; Mon, 4 Jun 2007 11:31:46 GMT (envelope-from pjd) Message-Id: <200706041131.l54BVkpc099569@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Mon, 4 Jun 2007 11:31: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/compat/opensolaris/kern opensolaris_vfs.c src/sys/compat/opensolaris/sys vfs.h src/sys/contrib/opensolaris/uts/common/fs/zfs zfs_ctldir.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 11:31:46 -0000 pjd 2007-06-04 11:31:46 UTC FreeBSD src repository Modified files: sys/compat/opensolaris/kern opensolaris_vfs.c sys/compat/opensolaris/sys vfs.h sys/contrib/opensolaris/uts/common/fs/zfs zfs_ctldir.c Log: Reimplement traverse() helper function: 1. Pass locking flags to VFS_ROOT(). 2. Check v_mountedhere while the vnode is locked. 3. Always return locked vnode on success. Change 1 fixes problem reported by Stephen M. Rumble - after zfs_vfsops.c,1.9 change, zfs_root() no longer locks the vnode unconditionally and traverse() didn't pass right lock type to VFS_ROOT(). The result was that kernel paniced when .zfs/ directory was accessed via NFS. Revision Changes Path 1.6 +14 -10 src/sys/compat/opensolaris/kern/opensolaris_vfs.c 1.2 +2 -2 src/sys/compat/opensolaris/sys/vfs.h 1.5 +9 -10 src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 11:39:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 358FB16A492; Mon, 4 Jun 2007 11:39:36 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0F82613C46C; Mon, 4 Jun 2007 11:39:36 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54BdZOj008742; Mon, 4 Jun 2007 11:39:35 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54BdZ60008741; Mon, 4 Jun 2007 11:39:35 GMT (envelope-from yar) Message-Id: <200706041139.l54BdZ60008741@repoman.freebsd.org> From: Yar Tikhiy Date: Mon, 4 Jun 2007 11:39: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/etc rc.subr X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 11:39:36 -0000 yar 2007-06-04 11:39:35 UTC FreeBSD src repository Modified files: etc rc.subr Log: Be robust to a bogus script specification or contents when figuring out what the real interpreter is for an interpreted command. That is, check whether we can read the script file in the first place and, if so, make sure we got a valid shebang line from it. Revision Changes Path 1.76 +24 -11 src/etc/rc.subr From owner-cvs-src@FreeBSD.ORG Mon Jun 4 13:50:10 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5DB616A41F; Mon, 4 Jun 2007 13:50:10 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B5D4613C448; Mon, 4 Jun 2007 13:50:10 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54DoAFW047034; Mon, 4 Jun 2007 13:50:10 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54DoASc047029; Mon, 4 Jun 2007 13:50:10 GMT (envelope-from mav) Message-Id: <200706041350.l54DoASc047029@repoman.freebsd.org> From: Alexander Motin Date: Mon, 4 Jun 2007 13:50: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/netgraph ng_ppp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 13:50:11 -0000 mav 2007-06-04 13:50:10 UTC FreeBSD src repository Modified files: sys/netgraph ng_ppp.c Log: No need to update link queue stats when round-robin algorithm enabled. Approved by: glebius (mentor) Revision Changes Path 1.67 +10 -9 src/sys/netgraph/ng_ppp.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 16:26:00 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E707B16A46B; Mon, 4 Jun 2007 16:26:00 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 62DCD13C465; Mon, 4 Jun 2007 16:26:00 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l54GPwXZ020218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Jun 2007 09:25:59 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <46643E93.1000009@errno.com> Date: Mon, 04 Jun 2007 09:32:19 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.0 (X11/20070530) MIME-Version: 1.0 To: Pyun YongHyeon References: <200706040601.l54615lN069185@repoman.freebsd.org> In-Reply-To: <200706040601.l54615lN069185@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/dev/gem if_gem.c if_gemreg.h if_gemvar.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, 04 Jun 2007 16:26:01 -0000 Pyun YongHyeon wrote: > o Borrowed gem_defrag() from ath(4) which is supposed to be much > faster than m_defrag(9) since it's not need to defrag all > mbuf chains. We need to replace m_defrag w/ something that is not a performance bottleneck and has a sane calling api. It's been discussed in the past but been dropped (multiple times). The main issue is that the current m_defrag code is used for 2 totally different purposes and untangling them is a bunch of work. Sam From owner-cvs-src@FreeBSD.ORG Mon Jun 4 16:39:23 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A83F16A41F; Mon, 4 Jun 2007 16:39:23 +0000 (UTC) (envelope-from ambrisko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1B62E13C468; Mon, 4 Jun 2007 16:39:23 +0000 (UTC) (envelope-from ambrisko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54GdMIg028727; Mon, 4 Jun 2007 16:39:22 GMT (envelope-from ambrisko@repoman.freebsd.org) Received: (from ambrisko@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54GdMki028711; Mon, 4 Jun 2007 16:39:22 GMT (envelope-from ambrisko) Message-Id: <200706041639.l54GdMki028711@repoman.freebsd.org> From: Doug Ambrisko Date: Mon, 4 Jun 2007 16: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/dev/mfi mfi.c mfivar.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, 04 Jun 2007 16:39:23 -0000 ambrisko 2007-06-04 16:39:22 UTC FreeBSD src repository Modified files: sys/dev/mfi mfi.c mfivar.h Log: Add in a couple of things: - In the ioctl path let command get queued up and return when complete _without_ blocking the driving waiting for the response. This way the driver doesn't "lock up" for ~30s during a flash command. Submitted by scottl. - Add a guard so that if a DCMD of 0 is sent down the ioctl path don't send it to the controller. Return with a status of OK. This is a little strange since MegaCli doesn't seem to like something and will issue some DCMD of 0. This doesn't happen under Linux. So the emulation needs to be improved but I'm not sure what. Another strange thing is that when a DCMD of 0 gets issued under i386 the controller returns OK but in amd64 the context is messed up. - Add a guard so the context has to be with-in the legal limit so we get a reasonable error assertion versus random panic. It's going to be a challenge to figure out why MegaCli is not totally happy and then sends some bogus commands. This means that flashing firmware via the Linux tool won't work since it generates a DCMD of 0 when it should be opening the firmware for a flash update. Without this problem flashing works fine. This means there is no publicly available tool to upgrade the RAID firmware under FreeBSD right now. I plan to MFC all of the mfi changes to 6.X shortly. This might not include the SCSI pass-through changes. Submitted by: scottl Reviewed by: scottl MFC after: 3 days Revision Changes Path 1.30 +32 -19 src/sys/dev/mfi/mfi.c 1.9 +1 -0 src/sys/dev/mfi/mfivar.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 16:59:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9F8316A46F; Mon, 4 Jun 2007 16:59:12 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 82AE013C480; Mon, 4 Jun 2007 16:59:12 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54GxCkm057887; Mon, 4 Jun 2007 16:59:12 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54GxCqi057886; Mon, 4 Jun 2007 16:59:12 GMT (envelope-from brueffer) Message-Id: <200706041659.l54GxCqi057886@repoman.freebsd.org> From: Christian Brueffer Date: Mon, 4 Jun 2007 16:59: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/share/man/man4 gem.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, 04 Jun 2007 16:59:12 -0000 brueffer 2007-06-04 16:59:12 UTC FreeBSD src repository Modified files: share/man/man4 gem.4 Log: Xref altq(4). Revision Changes Path 1.7 +2 -1 src/share/man/man4/gem.4 From owner-cvs-src@FreeBSD.ORG Mon Jun 4 17:53:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCF9B16A41F; Mon, 4 Jun 2007 17:53:47 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 95B7713C483; Mon, 4 Jun 2007 17:53:47 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54Hrg2i009749; Mon, 4 Jun 2007 17:53:42 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54HrgNw009745; Mon, 4 Jun 2007 17:53:42 GMT (envelope-from marcel) Message-Id: <200706041753.l54HrgNw009745@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 4 Jun 2007 17:53: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/arm/at91 uart_cpu_at91rm9200usart.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 17:53:47 -0000 marcel 2007-06-04 17:53:42 UTC FreeBSD src repository Modified files: sys/arm/at91 uart_cpu_at91rm9200usart.c Log: Revert to the previous version where the return value of uart_getenv() is being ignored. It's optional and the lack of environment variable is not an error condition. Revision Changes Path 1.4 +2 -1 src/sys/arm/at91/uart_cpu_at91rm9200usart.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 18:02:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE91316A400; Mon, 4 Jun 2007 18:02:24 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C6FDA13C4AD; Mon, 4 Jun 2007 18:02:24 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54I2O5n017995; Mon, 4 Jun 2007 18:02:24 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54I2ONH017987; Mon, 4 Jun 2007 18:02:24 GMT (envelope-from dwmalone) Message-Id: <200706041802.l54I2ONH017987@repoman.freebsd.org> From: David Malone Date: Mon, 4 Jun 2007 18:02:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/sysctl sysctl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 18:02:25 -0000 dwmalone 2007-06-04 18:02:24 UTC FreeBSD src repository Modified files: sbin/sysctl sysctl.c Log: Use common code for printing ints and longs by coppying the sysctl value into a variable of the right type and then printing it via an intmax_t. This makes avoids some duplication and makes it easy to add a new integer format Q for printing things of type CTLTYPE_QUAD. Revision Changes Path 1.82 +42 -42 src/sbin/sysctl/sysctl.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 18:08:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B998516A469; Mon, 4 Jun 2007 18:08:08 +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 7929813C45B; Mon, 4 Jun 2007 18:08:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l54I7WHx029835; Mon, 4 Jun 2007 12:07:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 04 Jun 2007 12:07:53 -0600 (MDT) Message-Id: <20070604.120753.-233673455.imp@bsdimp.com> To: marcel@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200706041753.l54HrgNw009745@repoman.freebsd.org> References: <200706041753.l54HrgNw009745@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 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 04 Jun 2007 12:07:34 -0600 (MDT) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/arm/at91 uart_cpu_at91rm9200usart.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 18:08:08 -0000 In message: <200706041753.l54HrgNw009745@repoman.freebsd.org> Marcel Moolenaar writes: : marcel 2007-06-04 17:53:42 UTC : : FreeBSD src repository : : Modified files: : sys/arm/at91 uart_cpu_at91rm9200usart.c : Log: : Revert to the previous version where the return value of uart_getenv() : is being ignored. It's optional and the lack of environment variable : is not an error condition. Thanks Marcel! I was just about to commit this change... but you seemed to have a better commit message :-) Warner From owner-cvs-src@FreeBSD.ORG Mon Jun 4 18:14:29 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16A4716A46F; Mon, 4 Jun 2007 18:14:29 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D91FB13C480; Mon, 4 Jun 2007 18:14:28 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54IESBP031036; Mon, 4 Jun 2007 18:14:28 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54IES28031034; Mon, 4 Jun 2007 18:14:28 GMT (envelope-from dwmalone) Message-Id: <200706041814.l54IES28031034@repoman.freebsd.org> From: David Malone Date: Mon, 4 Jun 2007 18:14: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/kern kern_sysctl.c src/sys/sys sysctl.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, 04 Jun 2007 18:14:29 -0000 dwmalone 2007-06-04 18:14:28 UTC FreeBSD src repository Modified files: sys/kern kern_sysctl.c sys/sys sysctl.h Log: Add a function for exporting 64 bit types. Revision Changes Path 1.175 +25 -0 src/sys/kern/kern_sysctl.c 1.148 +1 -0 src/sys/sys/sysctl.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 18:25:09 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 203CE16A474; Mon, 4 Jun 2007 18:25:09 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0DE7513C458; Mon, 4 Jun 2007 18:25:09 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54IP8AI042277; Mon, 4 Jun 2007 18:25:08 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54IP8RD042273; Mon, 4 Jun 2007 18:25:08 GMT (envelope-from dwmalone) Message-Id: <200706041825.l54IP8RD042273@repoman.freebsd.org> From: David Malone Date: Mon, 4 Jun 2007 18:25:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 tsc.c src/sys/amd64/isa clock.c src/sys/cam cam_xpt.c src/sys/cam/scsi scsi_all.c src/sys/compat/opensolaris/kern opensolaris_kstat.c src/sys/dev/acpica acpi_timer.c src/sys/dev/bge if_bge.c src/sys/dev/sound clone.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 18:25:09 -0000 dwmalone 2007-06-04 18:25:08 UTC FreeBSD src repository Modified files: sys/amd64/amd64 tsc.c sys/amd64/isa clock.c sys/cam cam_xpt.c sys/cam/scsi scsi_all.c sys/compat/opensolaris/kern opensolaris_kstat.c sys/dev/acpica acpi_timer.c sys/dev/bge if_bge.c sys/dev/sound clone.c sys/dev/sound/pci atiixp.c emu10kx.c es137x.c via8233.c sys/dev/sound/pci/hda hdac.c sys/dev/sound/pcm ac97.c channel.c feeder.c feeder_rate.c sndstat.c sound.c vchan.c sys/dev/usb uplcom.c uvscom.c sys/geom/cache g_cache.c sys/geom/journal g_journal.c sys/geom/stripe g_stripe.c sys/i386/i386 elan-mmcr.c mp_clock.c tsc.c sys/i386/isa clock.c sys/kern kern_mbuf.c kern_poll.c kern_tc.c uipc_socket.c sys/netgraph ng_base.c sys/netgraph/bluetooth/common ng_bluetooth.c sys/netinet tcp_timewait.c sys/pc98/cbus clock.c Log: Despite several examples in the kernel, the third argument of sysctl_handle_int is not sizeof the int type you want to export. The type must always be an int or an unsigned int. Remove the instances where a sizeof(variable) is passed to stop people accidently cut and pasting these examples. In a few places this was sysctl_handle_int was being used on 64 bit types, which would truncate the value to be exported. In these cases use sysctl_handle_quad to export them and change the format to Q so that sysctl(1) can still print them. Revision Changes Path 1.208 +3 -3 src/sys/amd64/amd64/tsc.c 1.231 +1 -1 src/sys/amd64/isa/clock.c 1.188 +1 -1 src/sys/cam/cam_xpt.c 1.51 +1 -1 src/sys/cam/scsi/scsi_all.c 1.2 +3 -3 src/sys/compat/opensolaris/kern/opensolaris_kstat.c 1.41 +1 -1 src/sys/dev/acpica/acpi_timer.c 1.197 +1 -1 src/sys/dev/bge/if_bge.c 1.3 +1 -1 src/sys/dev/sound/clone.c 1.15 +1 -1 src/sys/dev/sound/pci/atiixp.c 1.11 +1 -1 src/sys/dev/sound/pci/emu10kx.c 1.66 +5 -5 src/sys/dev/sound/pci/es137x.c 1.38 +3 -3 src/sys/dev/sound/pci/hda/hdac.c 1.35 +3 -3 src/sys/dev/sound/pci/via8233.c 1.71 +1 -1 src/sys/dev/sound/pcm/ac97.c 1.119 +3 -3 src/sys/dev/sound/pcm/channel.c 1.42 +1 -1 src/sys/dev/sound/pcm/feeder.c 1.22 +3 -3 src/sys/dev/sound/pcm/feeder_rate.c 1.27 +2 -2 src/sys/dev/sound/pcm/sndstat.c 1.115 +7 -7 src/sys/dev/sound/pcm/sound.c 1.34 +1 -1 src/sys/dev/sound/pcm/vchan.c 1.42 +1 -1 src/sys/dev/usb/uplcom.c 1.31 +2 -2 src/sys/dev/usb/uvscom.c 1.2 +1 -1 src/sys/geom/cache/g_cache.c 1.12 +3 -3 src/sys/geom/journal/g_journal.c 1.32 +1 -1 src/sys/geom/stripe/g_stripe.c 1.35 +1 -1 src/sys/i386/i386/elan-mmcr.c 1.20 +1 -1 src/sys/i386/i386/mp_clock.c 1.208 +2 -2 src/sys/i386/i386/tsc.c 1.236 +1 -1 src/sys/i386/isa/clock.c 1.30 +1 -1 src/sys/kern/kern_mbuf.c 1.29 +5 -5 src/sys/kern/kern_poll.c 1.178 +3 -3 src/sys/kern/kern_tc.c 1.302 +2 -2 src/sys/kern/uipc_socket.c 1.7 +4 -4 src/sys/netgraph/bluetooth/common/ng_bluetooth.c 1.134 +1 -1 src/sys/netgraph/ng_base.c 1.286 +1 -1 src/sys/netinet/tcp_timewait.c 1.160 +1 -1 src/sys/pc98/cbus/clock.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 18:26:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A81216A473; Mon, 4 Jun 2007 18:26:36 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 72C4713C48A; Mon, 4 Jun 2007 18:26:36 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54IQaXo043697; Mon, 4 Jun 2007 18:26:36 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54IQan9043696; Mon, 4 Jun 2007 18:26:36 GMT (envelope-from bmah) Message-Id: <200706041826.l54IQan9043696@repoman.freebsd.org> From: "Bruce A. Mah" Date: Mon, 4 Jun 2007 18:26:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 18:26:36 -0000 bmah 2007-06-04 18:26:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release/doc/en_US.ISO8859-1/relnotes/common new.sgml Log: Unbreak release notes build. Revision Changes Path 1.883.2.74 +1 -1 src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml From owner-cvs-src@FreeBSD.ORG Mon Jun 4 21:38:49 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16D7B16A41F; Mon, 4 Jun 2007 21:38:49 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 05C6313C44B; Mon, 4 Jun 2007 21:38:49 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54LcmoV048452; Mon, 4 Jun 2007 21:38:48 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54LcmBr048448; Mon, 4 Jun 2007 21:38:48 GMT (envelope-from attilio) Message-Id: <200706042138.l54LcmBr048448@repoman.freebsd.org> From: Attilio Rao Date: Mon, 4 Jun 2007 21:38: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/amd64/amd64 intr_machdep.c trap.c src/sys/amd64/ia32 ia32_syscall.c src/sys/amd64/include pcpu.h src/sys/arm/arm intr.c trap.c undefined.c src/sys/arm/include pcpu.h src/sys/i386/i386 intr_machdep.c trap.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 21:38:49 -0000 attilio 2007-06-04 21:38:48 UTC FreeBSD src repository Modified files: sys/amd64/amd64 intr_machdep.c trap.c sys/amd64/ia32 ia32_syscall.c sys/amd64/include pcpu.h sys/arm/arm intr.c trap.c undefined.c sys/arm/include pcpu.h sys/i386/i386 intr_machdep.c trap.c sys/i386/include pcpu.h sys/ia64/ia32 ia32_trap.c sys/ia64/ia64 interrupt.c trap.c sys/ia64/include pcpu.h sys/kern kern_intr.c sys/powerpc/include pcpu.h sys/powerpc/powerpc trap.c sys/sparc64/include pcpu.h sys/sparc64/sparc64 trap.c sys/sun4v/include pcpu.h sys/sun4v/sun4v trap.c sys/vm vm_fault.c Log: Rework the PCPU_* (MD) interface: - Rename PCPU_LAZY_INC into PCPU_INC - Add the PCPU_ADD interface which just does an add on the pcpu member given a specific value. Note that for most architectures PCPU_INC and PCPU_ADD are not safe. This is a point that needs some discussions/work in the next days. Reviewed by: alc, bde Approved by: jeff (mentor) Revision Changes Path 1.34 +2 -2 src/sys/amd64/amd64/intr_machdep.c 1.317 +3 -3 src/sys/amd64/amd64/trap.c 1.18 +2 -2 src/sys/amd64/ia32/ia32_syscall.c 1.48 +26 -3 src/sys/amd64/include/pcpu.h 1.16 +1 -1 src/sys/arm/arm/intr.c 1.34 +3 -3 src/sys/arm/arm/trap.c 1.15 +1 -1 src/sys/arm/arm/undefined.c 1.5 +2 -1 src/sys/arm/include/pcpu.h 1.29 +2 -2 src/sys/i386/i386/intr_machdep.c 1.304 +3 -3 src/sys/i386/i386/trap.c 1.50 +26 -3 src/sys/i386/include/pcpu.h 1.14 +2 -2 src/sys/ia64/ia32/ia32_trap.c 1.59 +1 -1 src/sys/ia64/ia64/interrupt.c 1.128 +2 -2 src/sys/ia64/ia64/trap.c 1.20 +2 -1 src/sys/ia64/include/pcpu.h 1.146 +1 -1 src/sys/kern/kern_intr.c 1.24 +2 -1 src/sys/powerpc/include/pcpu.h 1.65 +2 -2 src/sys/powerpc/powerpc/trap.c 1.22 +2 -1 src/sys/sparc64/include/pcpu.h 1.88 +2 -2 src/sys/sparc64/sparc64/trap.c 1.8 +2 -1 src/sys/sun4v/include/pcpu.h 1.13 +2 -2 src/sys/sun4v/sun4v/trap.c 1.231 +6 -6 src/sys/vm/vm_fault.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 21:45:18 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A3AB16A41F; Mon, 4 Jun 2007 21:45:18 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 69F5513C447; Mon, 4 Jun 2007 21:45:18 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54LjIeu055199; Mon, 4 Jun 2007 21:45:18 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54LjI2U055198; Mon, 4 Jun 2007 21:45:18 GMT (envelope-from attilio) Message-Id: <200706042145.l54LjI2U055198@repoman.freebsd.org> From: Attilio Rao Date: Mon, 4 Jun 2007 21:45:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/smbfs smbfs_io.c src/sys/kern kern_synch.c kern_thread.c subr_trap.c src/sys/nfsclient nfs_bio.c src/sys/vm swap_pager.c vm_object.c vm_page.c vm_pageout.c vnode_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 21:45:18 -0000 attilio 2007-06-04 21:45:18 UTC FreeBSD src repository Modified files: sys/fs/smbfs smbfs_io.c sys/kern kern_synch.c kern_thread.c subr_trap.c sys/nfsclient nfs_bio.c sys/vm swap_pager.c vm_object.c vm_page.c vm_pageout.c vnode_pager.c Log: Do proper "locking" for missing vmmeters part. Now, we assume no more sched_lock protection for some of them and use the distribuited loads method for vmmeter (distribuited through CPUs). Reviewed by: alc, bde Approved by: jeff (mentor) Revision Changes Path 1.41 +4 -4 src/sys/fs/smbfs/smbfs_io.c 1.299 +1 -1 src/sys/kern/kern_synch.c 1.246 +1 -1 src/sys/kern/kern_thread.c 1.296 +1 -1 src/sys/kern/subr_trap.c 1.163 +4 -4 src/sys/nfsclient/nfs_bio.c 1.293 +5 -5 src/sys/vm/swap_pager.c 1.380 +1 -1 src/sys/vm/vm_object.c 1.346 +8 -3 src/sys/vm/vm_page.c 1.282 +11 -6 src/sys/vm/vm_pageout.c 1.235 +8 -8 src/sys/vm/vnode_pager.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 22:02:12 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FACA16A475 for ; Mon, 4 Jun 2007 22:02:12 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id AFA0013C448 for ; Mon, 4 Jun 2007 22:02:11 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so1026815uge for ; Mon, 04 Jun 2007 15:02:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=rK1T/Yjk5Ed1BhYBchLJgAAGh4CRt1KsCKtr4JQB6oxeWMBMbUJyP45Oy4mJIJaH0QnEYp3AbAvkT1fgPfUjHi9HyX3qZBPgLvUwl1rrr7wZEQqMGyQo3C2G+/SrJ8aj3IzH1huPeoWp96EP8h+tIxekNvYqxqc8PFwWxDULiNs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=rBakcD6+zwXYJENo3XLo/EqMvssmwAwL8ByYWnxkz/W/CsXAxGrpQmQ+ynY6irLkdhgDRqVlkjQyylG7zu0cEYMf8WGATKQXEPaWEJHqilYMOJeBTmAyTIymWqFIVOeuh4V5PJk3uw0E59rN9dQNb1iiIk4K6qA8UlSf+h9ubzE= Received: by 10.67.115.7 with SMTP id s7mr3397856ugm.1180994530290; Mon, 04 Jun 2007 15:02:10 -0700 (PDT) Received: from ?151.75.229.254? ( [151.75.229.254]) by mx.google.com with ESMTP id b36sm1767319ika.2007.06.04.15.02.09; Mon, 04 Jun 2007 15:02:10 -0700 (PDT) Message-ID: <46648BD0.2030107@FreeBSD.org> Date: Tue, 05 Jun 2007 00:01:52 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200706042138.l54LcmBr048448@repoman.freebsd.org> In-Reply-To: <200706042138.l54LcmBr048448@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: Subject: Re: cvs commit: src/sys/amd64/amd64 intr_machdep.c trap.c src/sys/amd64/ia32 ia32_syscall.c src/sys/amd64/include pcpu.h src/sys/arm/arm intr.c trap.c undefined.c src/sys/arm/include pcpu.h src/sys/i386/i386 intr_machdep.c trap.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 22:02:12 -0000 Attilio Rao wrote: > Log: > Rework the PCPU_* (MD) interface: > - Rename PCPU_LAZY_INC into PCPU_INC > - Add the PCPU_ADD interface which just does an add on the pcpu member > given a specific value. > > Note that for most architectures PCPU_INC and PCPU_ADD are not safe. > This is a point that needs some discussions/work in the next days. > > Reviewed by: alc, bde > Approved by: jeff (mentor) Let's say that I misunderstood jeff's words: he needs more reviewing in order to fully ok with the patch. Sorry for the inconvenience and just hope that he doesn't find something :) Attilio From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:50:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49DB216A421; Mon, 4 Jun 2007 23:50:32 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2BD13C45E; Mon, 4 Jun 2007 23:50:32 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NoWeJ073739; Mon, 4 Jun 2007 23:50:32 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NoWcD073738; Mon, 4 Jun 2007 23:50:32 GMT (envelope-from jeff) Message-Id: <200706042350.l54NoWcD073738@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:50:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_switch.c sched_4bsd.c sched_core.c sched_ule.c src/sys/sys mutex.h proc.h sched.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, 04 Jun 2007 23:50:32 -0000 jeff 2007-06-04 23:50:31 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c sched_core.c sched_ule.c kern_switch.c sys/sys mutex.h proc.h sched.h Log: Commit 1/14 of sched_lock decomposition. - Move all scheduler locking into the schedulers utilizing a technique similar to solaris's container locking. - A per-process spinlock is now used to protect the queue of threads, thread count, suspension count, p_sflags, and other process related scheduling fields. - The new thread lock is actually a pointer to a spinlock for the container that the thread is currently owned by. The container may be a turnstile, sleepqueue, or run queue. - thread_lock() is now used to protect access to thread related scheduling fields. thread_unlock() unlocks the lock and thread_set_lock() implements the transition from one lock to another. - A new "blocked_lock" is used in cases where it is not safe to hold the actual thread's lock yet we must prevent access to the thread. - sched_throw() and sched_fork_exit() are introduced to allow the schedulers to fix-up locking at these points. - Add some minor infrastructure for optionally exporting scheduler statistics that were invaluable in solving performance problems with this patch. Generally these statistics allow you to differentiate between different causes of context switches. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.130 +71 -21 src/sys/kern/kern_switch.c 1.98 +115 -45 src/sys/kern/sched_4bsd.c 1.14 +57 -2 src/sys/kern/sched_core.c 1.193 +136 -39 src/sys/kern/sched_ule.c 1.96 +9 -0 src/sys/sys/mutex.h 1.479 +57 -56 src/sys/sys/proc.h 1.32 +15 -1 src/sys/sys/sched.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:50:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 377C316A502; Mon, 4 Jun 2007 23:50:57 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 298ED13C45D; Mon, 4 Jun 2007 23:50:57 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NovhB073815; Mon, 4 Jun 2007 23:50:57 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NovdY073814; Mon, 4 Jun 2007 23:50:57 GMT (envelope-from jeff) Message-Id: <200706042350.l54NovdY073814@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:50:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_condvar.c kern_synch.c subr_sleepqueue.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 23:50:57 -0000 jeff 2007-06-04 23:50:57 UTC FreeBSD src repository Modified files: sys/kern kern_condvar.c kern_synch.c subr_sleepqueue.c Log: Commit 2/14 of sched_lock decomposition. - Adapt sleepqueues to the new thread_lock() mechanism. - Delay assigning the sleep queue spinlock as the thread lock until after we've checked for signals. It is illegal for a thread to return in mi_switch() with any lock assigned to td_lock other than the scheduler locks. - Change sleepq_catch_signals() to do the switch if necessary to simplify the callers. - Simplify timeout handling now that locking a sleeping thread has the side-effect of locking the sleepqueue. Some previous races are no longer possible. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.62 +2 -2 src/sys/kern/kern_condvar.c 1.300 +7 -7 src/sys/kern/kern_synch.c 1.37 +97 -106 src/sys/kern/subr_sleepqueue.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:51:44 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D01C516A41F; Mon, 4 Jun 2007 23:51:44 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C1D0113C483; Mon, 4 Jun 2007 23:51:44 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54Npi3u074537; Mon, 4 Jun 2007 23:51:44 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54Npid4074536; Mon, 4 Jun 2007 23:51:44 GMT (envelope-from jeff) Message-Id: <200706042351.l54Npid4074536@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:51: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/kern kern_mutex.c kern_rwlock.c subr_turnstile.c src/sys/sys turnstile.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, 04 Jun 2007 23:51:44 -0000 jeff 2007-06-04 23:51:44 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c kern_rwlock.c subr_turnstile.c sys/sys turnstile.h Log: Commit 3/14 of sched_lock decomposition. - Add a per-turnstile spinlock to solve potential priority propagation deadlocks that are possible with thread_lock(). - The turnstile lock order is defined as the exact opposite of the lock order used with the sleep locks they represent. This allows us to walk in reverse order in priority_propagate and this is the only place we wish to multiply acquire turnstile locks. - Use the turnstile_chain lock to protect assigning mutexes to turnstiles. - Change the turnstile interface to pass back turnstile pointers to the consumers. This allows us to reduce some locking and makes it easier to cancel turnstile assignment while the turnstile chain lock is held. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.191 +122 -27 src/sys/kern/kern_mutex.c 1.26 +28 -26 src/sys/kern/kern_rwlock.c 1.168 +149 -135 src/sys/kern/subr_turnstile.c 1.12 +6 -4 src/sys/sys/turnstile.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:52:25 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39C8816A400; Mon, 4 Jun 2007 23:52:25 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2C5CF13C447; Mon, 4 Jun 2007 23:52:25 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NqP5H074769; Mon, 4 Jun 2007 23:52:25 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NqPUZ074768; Mon, 4 Jun 2007 23:52:25 GMT (envelope-from jeff) Message-Id: <200706042352.l54NqPUZ074768@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:52: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_sig.c kern_thread.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 23:52:25 -0000 jeff 2007-06-04 23:52:25 UTC FreeBSD src repository Modified files: sys/kern kern_sig.c kern_thread.c Log: Commit 4/14 of sched_lock decomposition. - Use thread_lock() rather than sched_lock for per-thread scheduling sychronization. - Use the per-process spinlock rather than the sched_lock for per-process scheduling synchronization. - Move some common code into thread_suspend_switch() to handle the mechanics of suspending a thread. The locking here is incredibly convoluted and should be simplified. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.346 +66 -56 src/sys/kern/kern_sig.c 1.247 +97 -73 src/sys/kern/kern_thread.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:53:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D815916A47C; Mon, 4 Jun 2007 23:53:06 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id CA92D13C4AE; Mon, 4 Jun 2007 23:53:06 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54Nr6Vv074948; Mon, 4 Jun 2007 23:53:06 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54Nr6X9074947; Mon, 4 Jun 2007 23:53:06 GMT (envelope-from jeff) Message-Id: <200706042353.l54Nr6X9074947@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:53: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_clock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 23:53:06 -0000 jeff 2007-06-04 23:53:06 UTC FreeBSD src repository Modified files: sys/kern kern_clock.c Log: Commit 5/14 of sched_lock decomposition. - Protect the cp_time tick counts with atomics instead of a global lock. There will only be one atomic per tick and this allows all processors to execute softclock concurrently. - In softclock, protect access to rusage and td_*tick data with the thread_lock(), expanding the scope of the thread lock over the whole function. - Do some creative re-arranging in hardclock() to avoid excess locking. - Protect the p_timer fields with the per-process spinlock. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.200 +33 -35 src/sys/kern/kern_clock.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:53:35 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E78C16A477; Mon, 4 Jun 2007 23:53:35 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B6A0113C4C1; Mon, 4 Jun 2007 23:53:34 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NrY1I075056; Mon, 4 Jun 2007 23:53:34 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NrYvU075054; Mon, 4 Jun 2007 23:53:34 GMT (envelope-from jeff) Message-Id: <200706042353.l54NrYvU075054@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:53: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/kern kern_fork.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 23:53:35 -0000 jeff 2007-06-04 23:53:34 UTC FreeBSD src repository Modified files: sys/kern kern_fork.c Log: Commit 6/14 of sched_lock decomposition. - Use thread_lock() rather than sched_lock for per-thread scheduling sychronization. - Use the per-process spinlock rather than the sched_lock for per-process scheduling synchronization. - Replace the tail-end of fork_exit() with a scheduler specific routine which can do the appropriate lock manipulations. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.275 +14 -30 src/sys/kern/kern_fork.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:54:27 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0A5616A41F; Mon, 4 Jun 2007 23:54:27 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E361D13C4AE; Mon, 4 Jun 2007 23:54:27 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NsRI2075226; Mon, 4 Jun 2007 23:54:27 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NsRav075224; Mon, 4 Jun 2007 23:54:27 GMT (envelope-from jeff) Message-Id: <200706042354.l54NsRav075224@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:54:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_kse.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 23:54:28 -0000 jeff 2007-06-04 23:54:27 UTC FreeBSD src repository Modified files: sys/kern kern_kse.c Log: Commit 7/14 of sched_lock decomposition. - Use thread_lock() rather than sched_lock for per-thread scheduling sychronization. - Use the per-process spinlock rather than the sched_lock for per-process scheduling synchronization. - Use a global kse spinlock to protect upcall and thread assignment. The per-process spinlock can not be used because this lock must be acquired via mi_switch() where we already hold a thread lock. The kse spinlock is a leaf lock ordered after the process and thread spinlocks. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.230 +82 -58 src/sys/kern/kern_kse.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:54:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3A9A16A468; Mon, 4 Jun 2007 23:54:50 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BE3B513C457; Mon, 4 Jun 2007 23:54:50 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NsoSn075324; Mon, 4 Jun 2007 23:54:50 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54Nso5P075323; Mon, 4 Jun 2007 23:54:50 GMT (envelope-from jeff) Message-Id: <200706042354.l54Nso5P075323@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:54: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/kern kern_umtx.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 23:54:51 -0000 jeff 2007-06-04 23:54:50 UTC FreeBSD src repository Modified files: sys/kern kern_umtx.c Log: Commit 8/14 of sched_lock decomposition. - Use a global umtx spinlock to protect the sleep queues now that there is no global scheduler lock. - Use thread_lock() to protect thread state. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.60 +52 -33 src/sys/kern/kern_umtx.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:55:33 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9E2616A46B; Mon, 4 Jun 2007 23:55:33 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 940FA13C489; Mon, 4 Jun 2007 23:55:33 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NtXnR075550; Mon, 4 Jun 2007 23:55:33 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NtXLB075547; Mon, 4 Jun 2007 23:55:33 GMT (envelope-from jeff) Message-Id: <200706042355.l54NtXLB075547@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:55: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/kern tty.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 23:55:33 -0000 jeff 2007-06-04 23:55:33 UTC FreeBSD src repository Modified files: sys/kern tty.c Log: Commit 9/14 of sched_lock decomposition. - Attempt to return the ttyinfo() selection algorithm to something sane as it has been broken and disabled for some time. Adapt this algorithm in such a way that it does not conflict with per-cpu scheduler locking. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.269 +117 -57 src/sys/kern/tty.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:55:46 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57C8B16A468; Mon, 4 Jun 2007 23:55:46 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3206313C4BF; Mon, 4 Jun 2007 23:55:46 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54Ntkcu075659; Mon, 4 Jun 2007 23:55:46 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54Ntk8e075658; Mon, 4 Jun 2007 23:55:46 GMT (envelope-from jeff) Message-Id: <200706042355.l54Ntk8e075658@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:55:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern subr_witness.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 23:55:46 -0000 jeff 2007-06-04 23:55:46 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Commit 10/14 of sched_lock decomposition. - Add new spinlocks to support thread_lock() and adjust ordering. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.233 +11 -6 src/sys/kern/subr_witness.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:56:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5E4116A473; Mon, 4 Jun 2007 23:56:08 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D670313C480; Mon, 4 Jun 2007 23:56:08 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54Nu85v075829; Mon, 4 Jun 2007 23:56:08 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54Nu8bn075828; Mon, 4 Jun 2007 23:56:08 GMT (envelope-from jeff) Message-Id: <200706042356.l54Nu8bn075828@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:56:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/ia64/ia64 mp_machdep.c src/sys/sparc64/sparc64 mp_machdep.c src/sys/sun4v/sun4v mp_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, 04 Jun 2007 23:56:09 -0000 jeff 2007-06-04 23:56:08 UTC FreeBSD src repository Modified files: sys/amd64/amd64 mp_machdep.c sys/i386/i386 mp_machdep.c sys/ia64/ia64 mp_machdep.c sys/sparc64/sparc64 mp_machdep.c sys/sun4v/sun4v mp_machdep.c Log: Commit 10/14 of sched_lock decomposition. - Use sched_throw() rather than replicating the same cpu_throw() code for each architecture. This also allows the scheduler to use any locking it may want to. - Use the thread_lock() rather than sched_lock when preempting. - The scheduler lock is not required to synchronize release_aps. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.286 +4 -23 src/sys/amd64/amd64/mp_machdep.c 1.280 +5 -21 src/sys/i386/i386/mp_machdep.c 1.63 +1 -16 src/sys/ia64/ia64/mp_machdep.c 1.35 +2 -6 src/sys/sparc64/sparc64/mp_machdep.c 1.7 +4 -10 src/sys/sun4v/sun4v/mp_machdep.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:56:34 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 354E316A46B; Mon, 4 Jun 2007 23:56:34 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2766413C45B; Mon, 4 Jun 2007 23:56:34 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NuYB6075885; Mon, 4 Jun 2007 23:56:34 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NuYpY075884; Mon, 4 Jun 2007 23:56:34 GMT (envelope-from jeff) Message-Id: <200706042356.l54NuYpY075884@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:56: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/amd64/amd64 mp_watchdog.c src/sys/i386/i386 mp_watchdog.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 23:56:34 -0000 jeff 2007-06-04 23:56:33 UTC FreeBSD src repository Modified files: sys/amd64/amd64 mp_watchdog.c sys/i386/i386 mp_watchdog.c Log: Commit 11/14 of sched_lock decomposition. - There is no globally visible scheduler lock any longer. For now the watchdog can only check Giant. This model of checking particular locks is flawed and should be revisited. Other metrics should be considered. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.5 +0 -30 src/sys/amd64/amd64/mp_watchdog.c 1.5 +0 -30 src/sys/i386/i386/mp_watchdog.c From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:57:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEC4A16A468; Mon, 4 Jun 2007 23:57:32 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AE85B13C44B; Mon, 4 Jun 2007 23:57:32 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54NvWur076107; Mon, 4 Jun 2007 23:57:32 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NvWtt076106; Mon, 4 Jun 2007 23:57:32 GMT (envelope-from jeff) Message-Id: <200706042357.l54NvWtt076106@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:57: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/amd64/amd64 vm_machdep.c src/sys/arm/arm vm_machdep.c src/sys/dev/syscons syscons.c src/sys/i386/i386 vm_machdep.c src/sys/ia64/ia64 vm_machdep.c src/sys/powerpc/powerpc vm_machdep.c src/sys/sparc64/sparc64 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 04 Jun 2007 23:57:32 -0000 jeff 2007-06-04 23:57:32 UTC FreeBSD src repository Modified files: sys/amd64/amd64 vm_machdep.c sys/arm/arm vm_machdep.c sys/dev/syscons syscons.c sys/i386/i386 vm_machdep.c sys/ia64/ia64 vm_machdep.c sys/powerpc/powerpc vm_machdep.c sys/sparc64/sparc64 vm_machdep.c sys/sun4v/sun4v trap.c vm_machdep.c sys/sys resourcevar.h Log: - Change comments and asserts to reflect the removal of the global scheduler lock. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.255 +2 -2 src/sys/amd64/amd64/vm_machdep.c 1.32 +2 -2 src/sys/arm/arm/vm_machdep.c 1.451 +2 -2 src/sys/dev/syscons/syscons.c 1.282 +2 -2 src/sys/i386/i386/vm_machdep.c 1.94 +2 -2 src/sys/ia64/ia64/vm_machdep.c 1.114 +2 -2 src/sys/powerpc/powerpc/vm_machdep.c 1.75 +2 -2 src/sys/sparc64/sparc64/vm_machdep.c 1.14 +0 -1 src/sys/sun4v/sun4v/trap.c 1.6 +2 -2 src/sys/sun4v/sun4v/vm_machdep.c 1.51 +1 -1 src/sys/sys/resourcevar.h From owner-cvs-src@FreeBSD.ORG Mon Jun 4 23:58:48 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7701916A400; Mon, 4 Jun 2007 23:58:48 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6942713C45E; Mon, 4 Jun 2007 23:58:48 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l54Nwm8M076226; Mon, 4 Jun 2007 23:58:48 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54NwmuO076225; Mon, 4 Jun 2007 23:58:48 GMT (envelope-from jeff) Message-Id: <200706042358.l54NwmuO076225@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 4 Jun 2007 23:58: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/ia64/ia64 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, 04 Jun 2007 23:58:48 -0000 jeff 2007-06-04 23:58:48 UTC FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c Log: Commit 13/14 of sched_lock decomposition. - Add a new parameter to cpu_switch() that is used to release the lock on the outgoing thread and properly acquire the lock on the incoming thread. This parameter is not required for schedulers that don't do per-cpu locking and architectures which do not support it may continue to use the 4BSD scheduler. This feature is presently not supported on ia64 Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.218 +1 -1 src/sys/ia64/ia64/machdep.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:00:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9A2C16A46B; Tue, 5 Jun 2007 00:00:57 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D83BD13C44C; Tue, 5 Jun 2007 00:00:57 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5500vm0076951; Tue, 5 Jun 2007 00:00:57 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5500vM5076949; Tue, 5 Jun 2007 00:00:57 GMT (envelope-from jeff) Message-Id: <200706050000.l5500vM5076949@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 00:00: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/amd64/amd64 machdep.c src/sys/amd64/linux32 linux32_machdep.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/ndis subr_ntoskrnl.c src/sys/compat/svr4 svr4_misc.c src/sys/dev/hwpmc hwpmc_mod.c 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: Tue, 05 Jun 2007 00:00:58 -0000 jeff 2007-06-05 00:00:57 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c sys/amd64/linux32 linux32_machdep.c sys/compat/linprocfs linprocfs.c sys/compat/ndis subr_ntoskrnl.c sys/compat/svr4 svr4_misc.c sys/dev/hwpmc hwpmc_mod.c sys/dev/md md.c sys/fs/procfs procfs_ctl.c procfs_ioctl.c procfs_status.c sys/geom geom_kern.c sys/geom/eli g_eli.c sys/geom/journal g_journal.c sys/geom/mirror g_mirror.c sys/geom/raid3 g_raid3.c sys/i386/i386 machdep.c sys/i386/isa npx.c sys/i386/linux linux_machdep.c sys/ia64/ia64 pmap.c sys/kern init_main.c kern_acct.c kern_cpu.c kern_exit.c kern_idle.c kern_intr.c kern_kthread.c kern_lockf.c kern_poll.c kern_proc.c kern_resource.c kern_shutdown.c kern_subr.c kern_thr.c kern_time.c ksched.c subr_prof.c subr_smp.c subr_taskqueue.c subr_trap.c sys_generic.c sys_process.c sys/netncp ncp_sock.c sys/netsmb smb_trantcp.c sys/pc98/pc98 machdep.c sys/security/mac_lomac mac_lomac.c sys/ufs/ffs ffs_snapshot.c sys/vm vm_glue.c vm_meter.c vm_pageout.c vm_zeroidle.c Log: Commit 14/14 of sched_lock decomposition. - Use thread_lock() rather than sched_lock for per-thread scheduling sychronization. - Use the per-process spinlock rather than the sched_lock for per-process scheduling synchronization. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) Revision Changes Path 1.674 +4 -4 src/sys/amd64/amd64/machdep.c 1.44 +6 -6 src/sys/amd64/linux32/linux32_machdep.c 1.115 +2 -2 src/sys/compat/linprocfs/linprocfs.c 1.89 +2 -2 src/sys/compat/ndis/subr_ntoskrnl.c 1.94 +3 -3 src/sys/compat/svr4/svr4_misc.c 1.29 +6 -6 src/sys/dev/hwpmc/hwpmc_mod.c 1.169 +2 -2 src/sys/dev/md/md.c 1.56 +4 -4 src/sys/fs/procfs/procfs_ctl.c 1.18 +2 -2 src/sys/fs/procfs/procfs_ioctl.c 1.60 +2 -2 src/sys/fs/procfs/procfs_status.c 1.38 +2 -2 src/sys/geom/eli/g_eli.c 1.41 +6 -6 src/sys/geom/geom_kern.c 1.13 +2 -2 src/sys/geom/journal/g_journal.c 1.93 +2 -2 src/sys/geom/mirror/g_mirror.c 1.81 +2 -2 src/sys/geom/raid3/g_raid3.c 1.655 +4 -4 src/sys/i386/i386/machdep.c 1.172 +2 -2 src/sys/i386/isa/npx.c 1.76 +6 -6 src/sys/i386/linux/linux_machdep.c 1.188 +6 -4 src/sys/ia64/ia64/pmap.c 1.278 +4 -4 src/sys/kern/init_main.c 1.92 +2 -2 src/sys/kern/kern_acct.c 1.25 +8 -8 src/sys/kern/kern_cpu.c 1.300 +12 -10 src/sys/kern/kern_exit.c 1.48 +2 -2 src/sys/kern/kern_idle.c 1.147 +24 -24 src/sys/kern/kern_intr.c 1.38 +2 -2 src/sys/kern/kern_kthread.c 1.55 +16 -8 src/sys/kern/kern_lockf.c 1.30 +4 -4 src/sys/kern/kern_poll.c 1.249 +16 -12 src/sys/kern/kern_proc.c 1.174 +33 -24 src/sys/kern/kern_resource.c 1.182 +6 -6 src/sys/kern/kern_shutdown.c 1.103 +2 -2 src/sys/kern/kern_subr.c 1.60 +13 -10 src/sys/kern/kern_thr.c 1.141 +4 -4 src/sys/kern/kern_time.c 1.36 +0 -8 src/sys/kern/ksched.c 1.79 +10 -7 src/sys/kern/subr_prof.c 1.199 +1 -3 src/sys/kern/subr_smp.c 1.39 +2 -2 src/sys/kern/subr_taskqueue.c 1.297 +11 -8 src/sys/kern/subr_trap.c 1.157 +16 -16 src/sys/kern/sys_generic.c 1.143 +18 -15 src/sys/kern/sys_process.c 1.19 +11 -11 src/sys/netncp/ncp_sock.c 1.25 +7 -7 src/sys/netsmb/smb_trantcp.c 1.394 +4 -4 src/sys/pc98/pc98/machdep.c 1.51 +2 -2 src/sys/security/mac_lomac/mac_lomac.c 1.136 +15 -9 src/sys/ufs/ffs/ffs_snapshot.c 1.223 +38 -27 src/sys/vm/vm_glue.c 1.94 +9 -3 src/sys/vm/vm_meter.c 1.283 +12 -7 src/sys/vm/vm_pageout.c 1.47 +4 -4 src/sys/vm/vm_zeroidle.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:01:34 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6605016A468; Tue, 5 Jun 2007 00:01:34 +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 CC6CE13C44C; Tue, 5 Jun 2007 00:01:33 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l5501Vb8031887 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 4 Jun 2007 20:01:32 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Mon, 4 Jun 2007 17:01:18 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Jeff Roberson In-Reply-To: <200706042355.l54Ntk8e075658@repoman.freebsd.org> Message-ID: <20070604170051.R606@10.0.0.1> References: <200706042355.l54Ntk8e075658@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 subr_witness.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 00:01:34 -0000 er, this was supposed to go in with another commit. sorry for the two 10s. On Mon, 4 Jun 2007, Jeff Roberson wrote: > jeff 2007-06-04 23:55:46 UTC > > FreeBSD src repository > > Modified files: > sys/kern subr_witness.c > Log: > Commit 10/14 of sched_lock decomposition. > - Add new spinlocks to support thread_lock() and adjust ordering. > > Tested by: kris, current@ > Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. > Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) > > Revision Changes Path > 1.233 +11 -6 src/sys/kern/subr_witness.c > From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:06:35 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25AD616A400; Tue, 5 Jun 2007 00:06: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 E25E013C447; Tue, 5 Jun 2007 00:06:34 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l5506WN1032812 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 4 Jun 2007 20:06:34 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Mon, 4 Jun 2007 17:06:19 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Jeff Roberson In-Reply-To: <20070604170051.R606@10.0.0.1> Message-ID: <20070604170544.B606@10.0.0.1> References: <200706042355.l54Ntk8e075658@repoman.freebsd.org> <20070604170051.R606@10.0.0.1> 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 subr_witness.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 00:06:35 -0000 Ok folks, make sure you don't sup a snapshot from the middle of my commits and you should have a solid working tree. Thanks, Jeff On Mon, 4 Jun 2007, Jeff Roberson wrote: > er, this was supposed to go in with another commit. sorry for the two 10s. > > On Mon, 4 Jun 2007, Jeff Roberson wrote: > >> jeff 2007-06-04 23:55:46 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern subr_witness.c >> Log: >> Commit 10/14 of sched_lock decomposition. >> - Add new spinlocks to support thread_lock() and adjust ordering. >> >> Tested by: kris, current@ >> Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. >> Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) >> >> Revision Changes Path >> 1.233 +11 -6 src/sys/kern/subr_witness.c >> > From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:07:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BE1E16A468; Tue, 5 Jun 2007 00:07:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 28EB913C44C; Tue, 5 Jun 2007 00:07:36 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id B70C81A4D84; Mon, 4 Jun 2007 17:08:52 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 2618D5129D; Mon, 4 Jun 2007 20:07:35 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id 10D84C204; Mon, 4 Jun 2007 20:07:35 -0400 (EDT) Date: Mon, 4 Jun 2007 20:07:35 -0400 From: Kris Kennaway To: Jeff Roberson Message-ID: <20070605000735.GB32994@rot13.obsecurity.org> References: <200706042355.l54Ntk8e075658@repoman.freebsd.org> <20070604170051.R606@10.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070604170051.R606@10.0.0.1> User-Agent: Mutt/1.4.2.2i Cc: cvs-src@FreeBSD.org, Jeff Roberson , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern subr_witness.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 00:07:36 -0000 On Mon, Jun 04, 2007 at 05:01:18PM -0700, Jeff Roberson wrote: > er, this was supposed to go in with another commit. sorry for the two > 10s. Should have used an atomic op. Kris > > On Mon, 4 Jun 2007, Jeff Roberson wrote: > > >jeff 2007-06-04 23:55:46 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern subr_witness.c > > Log: > > Commit 10/14 of sched_lock decomposition. > > - Add new spinlocks to support thread_lock() and adjust ordering. > > > > Tested by: kris, current@ > > Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. > > Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each) > > > > Revision Changes Path > > 1.233 +11 -6 src/sys/kern/subr_witness.c > > > From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:12:37 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8DA716A469; Tue, 5 Jun 2007 00:12:37 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B266513C44B; Tue, 5 Jun 2007 00:12:37 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l550Cb0Z089955; Tue, 5 Jun 2007 00:12:37 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l550CbQD089954; Tue, 5 Jun 2007 00:12:37 GMT (envelope-from jeff) Message-Id: <200706050012.l550CbQD089954@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 00:12: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/conf NOTES files options src/sys/kern sched_core.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 00:12:38 -0000 jeff 2007-06-05 00:12:37 UTC FreeBSD src repository Modified files: sys/conf NOTES files options Removed files: sys/kern sched_core.c Log: - Remove sched_core.c. The maintainer has lost interest in pursuing this and it has been neglected in the recent ksegrp removal as well as the thread_lock() changes. Discussed with: davidxu Revision Changes Path 1.1428 +0 -1 src/sys/conf/NOTES 1.1214 +0 -1 src/sys/conf/files 1.590 +0 -1 src/sys/conf/options 1.15 +0 -1806 src/sys/kern/sched_core.c (dead) From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:13:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0414816A400; Tue, 5 Jun 2007 00:13:50 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D303C13C45D; Tue, 5 Jun 2007 00:13:49 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l550Dndx091170; Tue, 5 Jun 2007 00:13:49 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l550DnQM091169; Tue, 5 Jun 2007 00:13:49 GMT (envelope-from jeff) Message-Id: <200706050013.l550DnQM091169@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 00:13:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 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: Tue, 05 Jun 2007 00:13:50 -0000 jeff 2007-06-05 00:13:49 UTC FreeBSD src repository Modified files: sys/amd64/amd64 genassym.c Log: - Expose td_lock to assembly so it may be used in cpu_switch(). Revision Changes Path 1.162 +1 -0 src/sys/amd64/amd64/genassym.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:16:44 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FF6E16A469; Tue, 5 Jun 2007 00:16:44 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1264013C46A; Tue, 5 Jun 2007 00:16:44 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l550Ghbw093636; Tue, 5 Jun 2007 00:16:43 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l550GhDH093630; Tue, 5 Jun 2007 00:16:43 GMT (envelope-from jeff) Message-Id: <200706050016.l550GhDH093630@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 00:16: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/amd64/amd64 cpu_switch.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: Tue, 05 Jun 2007 00:16:44 -0000 jeff 2007-06-05 00:16:43 UTC FreeBSD src repository Modified files: sys/amd64/amd64 cpu_switch.S Log: - Add a new argument to cpu_switch. This is a pointer to a mutex that oldthread should point at before we return. - When cpu_switch() is called the td_lock pointer in the old thread may point at the blocked lock. This prevents other processors from switching into this thread while we're still switching out. Wait until we're done deactivating the vmspace before we release the thread by assigning to td_lock. - Before we can activate the new vmspace we must make sure that the new thread is not assigned to the blocked lock. It may be in the process of switching out on another cpu. Spin until the new thread is available. Revision Changes Path 1.157 +27 -14 src/sys/amd64/amd64/cpu_switch.S From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:32:02 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81B3216A41F; Tue, 5 Jun 2007 00:32:02 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5BFDA13C4B9; Tue, 5 Jun 2007 00:32:02 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l550W2NF008062; Tue, 5 Jun 2007 00:32:02 GMT (envelope-from davidch@repoman.freebsd.org) Received: (from davidch@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l550W2jZ008058; Tue, 5 Jun 2007 00:32:02 GMT (envelope-from davidch) Message-Id: <200706050032.l550W2jZ008058@repoman.freebsd.org> From: David Christensen Date: Tue, 5 Jun 2007 00:32: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/net if_media.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, 05 Jun 2007 00:32:02 -0000 davidch 2007-06-05 00:32:01 UTC FreeBSD src repository Modified files: sys/net if_media.h Log: - Added a new Ethernet media type (2500BaseSX) to support BCM5708 controllers which support a 2.5Gbps mode over fiber using next page extensions during autonegotiation. Typically only found in blade systems which also include a Broadcom 2.5Gbps capable switch. MFC after: 2 weeks Revision Changes Path 1.38 +4 -0 src/sys/net/if_media.h From owner-cvs-src@FreeBSD.ORG Tue Jun 5 00:59:27 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AACA16A468; Tue, 5 Jun 2007 00:59:27 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.freebsd.org (Postfix) with ESMTP id 636DB13C468; Tue, 5 Jun 2007 00:59:27 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.47] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id l550xOJv004653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Jun 2007 17:59:25 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <4664B4D8.5070209@FreeBSD.org> Date: Mon, 04 Jun 2007 17:56:56 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Jeff Roberson References: <200706050012.l550CbQD089954@repoman.freebsd.org> In-Reply-To: <200706050012.l550CbQD089954@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/conf NOTES files options src/sys/kern sched_core.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 00:59:27 -0000 Jeff Roberson wrote: > jeff 2007-06-05 00:12:37 UTC > > FreeBSD src repository > > Modified files: > sys/conf NOTES files options > Removed files: > sys/kern sched_core.c > Log: > - Remove sched_core.c. The maintainer has lost interest in pursuing this > and it has been neglected in the recent ksegrp removal as well as > the thread_lock() changes. > > Discussed with: davidxu There is also sched_core manpage. -Maxim From owner-cvs-src@FreeBSD.ORG Tue Jun 5 01:09:28 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBD7016A41F; Tue, 5 Jun 2007 01:09:28 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B5F3B13C43E; Tue, 5 Jun 2007 01:09:28 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5519SRs051997; Tue, 5 Jun 2007 01:09:28 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5519Slp051996; Tue, 5 Jun 2007 01:09:28 GMT (envelope-from delphij) Message-Id: <200706050109.l5519Slp051996@repoman.freebsd.org> From: Xin LI Date: Tue, 5 Jun 2007 01:09: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/share/man/man4 Makefile sched_4bsd.4 sched_core.4 sched_ule.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, 05 Jun 2007 01:09:29 -0000 delphij 2007-06-05 01:09:28 UTC FreeBSD src repository Modified files: share/man/man4 Makefile sched_4bsd.4 sched_ule.4 Removed files: share/man/man4 sched_core.4 Log: sched_core(4) removed. Revision Changes Path 1.387 +0 -1 src/share/man/man4/Makefile 1.5 +1 -2 src/share/man/man4/sched_4bsd.4 1.5 +0 -103 src/share/man/man4/sched_core.4 (dead) 1.6 +1 -2 src/share/man/man4/sched_ule.4 From owner-cvs-src@FreeBSD.ORG Tue Jun 5 01:10:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DEBBF16A46F; Tue, 5 Jun 2007 01:10:47 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B945713C48C; Tue, 5 Jun 2007 01:10:47 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l551AlrO053233; Tue, 5 Jun 2007 01:10:47 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l551Albe053232; Tue, 5 Jun 2007 01:10:47 GMT (envelope-from delphij) Message-Id: <200706050110.l551Albe053232@repoman.freebsd.org> From: Xin LI Date: Tue, 5 Jun 2007 01: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 ObsoleteFiles.inc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 01:10:48 -0000 delphij 2007-06-05 01:10:47 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc Log: sched_core(4) removed. Revision Changes Path 1.94 +2 -0 src/ObsoleteFiles.inc From owner-cvs-src@FreeBSD.ORG Tue Jun 5 01:31:05 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AB3416A41F; Tue, 5 Jun 2007 01:31:05 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 15A0A13C46A; Tue, 5 Jun 2007 01:31:05 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l551V4Vo072799; Tue, 5 Jun 2007 01:31:04 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l551V4um072793; Tue, 5 Jun 2007 01:31:04 GMT (envelope-from jeff) Message-Id: <200706050131.l551V4um072793@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 01:31:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 sched_ule.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, 05 Jun 2007 01:31:05 -0000 jeff 2007-06-05 01:31:04 UTC FreeBSD src repository Modified files: share/man/man4 sched_ule.4 Log: - ULE is no longer buggy or experimental. Revision Changes Path 1.7 +0 -8 src/share/man/man4/sched_ule.4 From owner-cvs-src@FreeBSD.ORG Tue Jun 5 01:56:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E48CF16A469; Tue, 5 Jun 2007 01:56:08 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D731B13C45A; Tue, 5 Jun 2007 01:56:08 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l551u84A094432; Tue, 5 Jun 2007 01:56:08 GMT (envelope-from davidch@repoman.freebsd.org) Received: (from davidch@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l551u8qm094430; Tue, 5 Jun 2007 01:56:08 GMT (envelope-from davidch) Message-Id: <200706050156.l551u8qm094430@repoman.freebsd.org> From: David Christensen Date: Tue, 5 Jun 2007 01:56:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/bce if_bce.c if_bcereg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 01:56:09 -0000 davidch 2007-06-05 01:56:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/bce if_bce.c if_bcereg.h Log: Merged changes from HEAD, including: - Updated copyright date to 2007. - Tested with BCM5706 A3. - Added ID for BCM5708 B2. - Removed unused driver version string. - Modified BCE_PRINTF macro to automatically fill-in the sc pointer. - Fixed a kernel panic when the driver was loaded as a module from the command-line because the MII bus pointer was null (i.e. the MII bus hadn't been enumerated yet). - Added fix proposed by Vladimir Ivanov to prevent driver state corruption when releasing the lock during the ISR in bce_rx_intr() to send packets up the stack. - Added new TX chain and register read sysctl interfaces for debugging. - Cleaned up formatting for various other debug routines. - Added a new statistic maintained by firmware which tracks the number of received packets dropped because no receive buffers are available. Revision Changes Path 1.2.2.15 +484 -283 src/sys/dev/bce/if_bce.c 1.1.2.6 +6 -2 src/sys/dev/bce/if_bcereg.h From owner-cvs-src@FreeBSD.ORG Tue Jun 5 02:53:52 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 549C816A473; Tue, 5 Jun 2007 02:53:52 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4D013C45E; Tue, 5 Jun 2007 02:53:52 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l552rqps045452; Tue, 5 Jun 2007 02:53:52 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l552rqri045448; Tue, 5 Jun 2007 02:53:52 GMT (envelope-from jeff) Message-Id: <200706050253.l552rqri045448@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 02:53:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/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: Tue, 05 Jun 2007 02:53:52 -0000 jeff 2007-06-05 02:53:51 UTC FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Define TDQ_ID() for the !SMP case. - Default pick_pri to off. It is not faster in most cases. Revision Changes Path 1.194 +2 -1 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 03:46:55 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB73316A46B; Tue, 5 Jun 2007 03:46:55 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C621013C455; Tue, 5 Jun 2007 03:46:55 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l553kt0G097072; Tue, 5 Jun 2007 03:46:55 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l553ktYj097061; Tue, 5 Jun 2007 03:46:55 GMT (envelope-from jeff) Message-Id: <200706050346.l553ktYj097061@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 03:46:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern 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: Tue, 05 Jun 2007 03:46:56 -0000 jeff 2007-06-05 03:46:55 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c sched_ule.c Log: - Pass &sched_lock as the third argument to cpu_switch() as this will always be the correct lock and we don't get volatile warnings this way. Pointed out by: kan Revision Changes Path 1.99 +1 -1 src/sys/kern/sched_4bsd.c 1.195 +1 -1 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 04:06:34 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC45B16A400; Tue, 5 Jun 2007 04:06:34 +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 A542913C44B; Tue, 5 Jun 2007 04:06:34 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l5546Vb2082634 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2007 00:06:32 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Mon, 4 Jun 2007 21:06:18 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Jeff Roberson In-Reply-To: <200706050346.l553ktYj097061@repoman.freebsd.org> Message-ID: <20070604210543.L606@10.0.0.1> References: <200706050346.l553ktYj097061@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 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: Tue, 05 Jun 2007 04:06:35 -0000 Woops, this is broken on amd64. fine on other architectures. Please stand by for a better patch. Thanks, Jeff PS Pointy hat to kan! (ok not really) On Tue, 5 Jun 2007, Jeff Roberson wrote: > jeff 2007-06-05 03:46:55 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_4bsd.c sched_ule.c > Log: > - Pass &sched_lock as the third argument to cpu_switch() as this will > always be the correct lock and we don't get volatile warnings this > way. > > Pointed out by: kan > > Revision Changes Path > 1.99 +1 -1 src/sys/kern/sched_4bsd.c > 1.195 +1 -1 src/sys/kern/sched_ule.c > From owner-cvs-src@FreeBSD.ORG Tue Jun 5 04:12:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24F3D16A468; Tue, 5 Jun 2007 04:12:47 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F376113C457; Tue, 5 Jun 2007 04:12:46 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l554CkPs019920; Tue, 5 Jun 2007 04:12:46 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l554CkdC019916; Tue, 5 Jun 2007 04:12:46 GMT (envelope-from jeff) Message-Id: <200706050412.l554CkdC019916@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 5 Jun 2007 04: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/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: Tue, 05 Jun 2007 04:12:47 -0000 jeff 2007-06-05 04:12:46 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c sched_ule.c Log: - Better fix for previous error; use DEVOLATILE on the td_lock pointer it can actually sometimes be something other than sched_lock even on schedulers which rely on a global scheduler lock. Tested by: kan Revision Changes Path 1.100 +1 -1 src/sys/kern/sched_4bsd.c 1.196 +1 -1 src/sys/kern/sched_ule.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 05:03:13 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD09B16A46D; Tue, 5 Jun 2007 05:03:13 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B6A4713C4AD; Tue, 5 Jun 2007 05:03:13 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5553DT5074038; Tue, 5 Jun 2007 05:03:13 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5553Dc3074034; Tue, 5 Jun 2007 05:03:13 GMT (envelope-from scottl) Message-Id: <200706050503.l5553Dc3074034@repoman.freebsd.org> From: Scott Long Date: Tue, 5 Jun 2007 05:03: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/sys/dev/ciss ciss.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 05:03:14 -0000 scottl 2007-06-05 05:03:13 UTC FreeBSD src repository Modified files: sys/dev/ciss ciss.c Log: Satisfy witness during shutdown Revision Changes Path 1.80 +2 -0 src/sys/dev/ciss/ciss.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 05:03:52 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7ADBB16A46C; Tue, 5 Jun 2007 05:03:52 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 5183413C447; Tue, 5 Jun 2007 05:03:52 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (we8x5h2lqnyey6b0@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l5553pfb048976; Mon, 4 Jun 2007 22:03:51 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l5553pPk048975; Mon, 4 Jun 2007 22:03:51 -0700 (PDT) (envelope-from jmg) Date: Mon, 4 Jun 2007 22:03:51 -0700 From: John-Mark Gurney To: David Malone Message-ID: <20070605050351.GJ4602@funkthat.com> References: <200706041825.l54IP8RD042273@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706041825.l54IP8RD042273@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 tsc.c src/sys/amd64/isa clock.c src/sys/cam cam_xpt.c src/sys/cam/scsi scsi_all.c src/sys/compat/opensolaris/kern opensolaris_kstat.c src/sys/dev/acpica acpi_timer.c src/sys/dev/bge if_bge.c src/sys/dev/sound clone.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 05:03:52 -0000 David Malone wrote this message on Mon, Jun 04, 2007 at 18:25 +0000: > Log: > Despite several examples in the kernel, the third argument of > sysctl_handle_int is not sizeof the int type you want to export. > The type must always be an int or an unsigned int. > > Remove the instances where a sizeof(variable) is passed to stop > people accidently cut and pasting these examples. > > In a few places this was sysctl_handle_int was being used on 64 bit > types, which would truncate the value to be exported. In these > cases use sysctl_handle_quad to export them and change the format > to Q so that sysctl(1) can still print them. Perhaps documenting SYSCTL_HANDLER_ARGS and the several standard handlers in sysctl_add_oid(9) would be in order? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-cvs-src@FreeBSD.ORG Tue Jun 5 05:17:21 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17E5716A41F; Tue, 5 Jun 2007 05:17:21 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E5CA913C458; Tue, 5 Jun 2007 05:17:20 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l555HKsj087617; Tue, 5 Jun 2007 05:17:20 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l555HKPv087613; Tue, 5 Jun 2007 05:17:20 GMT (envelope-from alc) Message-Id: <200706050517.l555HKPv087613@repoman.freebsd.org> From: Alan Cox Date: Tue, 5 Jun 2007 05:17:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 machdep.c src/sys/i386/include 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: Tue, 05 Jun 2007 05:17:21 -0000 alc 2007-06-05 05:17:20 UTC FreeBSD src repository Modified files: sys/i386/i386 machdep.c sys/i386/include vmparam.h Log: Add the machine-specific definitions for configuring the new physical memory allocator. Set the size of phys_avail[] and dump_avail[] using one of these definitions. Approved by: re Revision Changes Path 1.656 +7 -1 src/sys/i386/i386/machdep.c 1.44 +37 -0 src/sys/i386/include/vmparam.h From owner-cvs-src@FreeBSD.ORG Tue Jun 5 05:44:42 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DC8816A421; Tue, 5 Jun 2007 05:44:42 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1735413C45D; Tue, 5 Jun 2007 05:44:42 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l555ifPo014694; Tue, 5 Jun 2007 05:44:41 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l555ifKp014690; Tue, 5 Jun 2007 05:44:41 GMT (envelope-from delphij) Message-Id: <200706050544.l555ifKp014690@repoman.freebsd.org> From: Xin LI Date: Tue, 5 Jun 2007 05:44: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/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 05:44:42 -0000 delphij 2007-06-05 05:44:41 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall installUpgrade.c Log: Write to slice name instead of directly to the disk device. This fixes writing boot code upon upgrade. PR: bin/61587 Submitted by: Nobuyuki Koganemaru MFC after: 1 month Revision Changes Path 1.96 +1 -1 src/usr.sbin/sysinstall/installUpgrade.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 08:24:27 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 438B216A400; Tue, 5 Jun 2007 08:24:27 +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 E710213C447; Tue, 5 Jun 2007 08:24:26 +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 05DFD472A8; Tue, 5 Jun 2007 04:24:26 -0400 (EDT) Date: Tue, 5 Jun 2007 09:24:25 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: John-Mark Gurney In-Reply-To: <20070605050351.GJ4602@funkthat.com> Message-ID: <20070605092255.L76940@fledge.watson.org> References: <200706041825.l54IP8RD042273@repoman.freebsd.org> <20070605050351.GJ4602@funkthat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, David Malone , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 tsc.c src/sys/amd64/isa clock.c src/sys/cam cam_xpt.c src/sys/cam/scsi scsi_all.c src/sys/compat/opensolaris/kern opensolaris_kstat.c src/sys/dev/acpica acpi_timer.c src/sys/dev/bge if_bge.c src/sys/dev/sound clone.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 08:24:27 -0000 On Mon, 4 Jun 2007, John-Mark Gurney wrote: > David Malone wrote this message on Mon, Jun 04, 2007 at 18:25 +0000: >> Log: >> Despite several examples in the kernel, the third argument of >> sysctl_handle_int is not sizeof the int type you want to export. >> The type must always be an int or an unsigned int. >> >> Remove the instances where a sizeof(variable) is passed to stop >> people accidently cut and pasting these examples. >> >> In a few places this was sysctl_handle_int was being used on 64 bit >> types, which would truncate the value to be exported. In these >> cases use sysctl_handle_quad to export them and change the format >> to Q so that sysctl(1) can still print them. > > Perhaps documenting SYSCTL_HANDLER_ARGS and the several standard handlers in > sysctl_add_oid(9) would be in order? Or even in sysctl(9). Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Tue Jun 5 08:24:35 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1411F16A49A; Tue, 5 Jun 2007 08:24:35 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D5B6C13C448; Tue, 5 Jun 2007 08:24:34 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l558OYZJ063081; Tue, 5 Jun 2007 08:24:34 GMT (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l558OY00063077; Tue, 5 Jun 2007 08:24:34 GMT (envelope-from des) Message-Id: <200706050824.l558OY00063077@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Tue, 5 Jun 2007 08:24: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/lib/libc/sys Symbol.map stack_protector.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 08:24:35 -0000 des 2007-06-05 08:24:34 UTC FreeBSD src repository Modified files: lib/libc/sys Symbol.map stack_protector.c Log: Expose __stack_chk_fail_local() so -fstack-protector-all works. Revision Changes Path 1.8 +1 -0 src/lib/libc/sys/Symbol.map 1.2 +0 -3 src/lib/libc/sys/stack_protector.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 09:06:26 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9830E16A400; Tue, 5 Jun 2007 09:06:26 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.freebsd.org (Postfix) with SMTP id 73F3F13C457; Tue, 5 Jun 2007 09:06:24 +0000 (UTC) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=walton.maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 5 Jun 2007 10:06:24 +0100 (BST) Received: from localhost ([127.0.0.1] helo=maths.tcd.ie) by walton.maths.tcd.ie with SMTP id ; 5 Jun 2007 10:06:23 +0100 (BST) To: Robert Watson In-reply-to: Your message of "Tue, 05 Jun 2007 09:24:25 BST." <20070605092255.L76940@fledge.watson.org> X-Request-Do: Date: Tue, 05 Jun 2007 10:06:23 +0100 From: David Malone Message-ID: <200706051006.aa31951@walton.maths.tcd.ie> Cc: cvs-src@FreeBSD.org, John-Mark Gurney , src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 tsc.c src/sys/amd64/isa clock.c src/sys/cam cam_xpt.c src/sys/cam/scsi scsi_all.c src/sys/compat/opensolaris/kern opensolaris_kstat.c src/sys/dev/acpica acpi_timer.c src/sys/dev/bge if_bge.c src/sys/dev/sound clone.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 09:06:26 -0000 > > Perhaps documenting SYSCTL_HANDLER_ARGS and the several standard handlers in > > sysctl_add_oid(9) would be in order? > Or even in sysctl(9). Yes - definitely - sysctl(9) could benefit from a few more details. I'll try and add what I know when I have time, but if someone else wants to contribute, please go ahead. David. From owner-cvs-src@FreeBSD.ORG Tue Jun 5 10:21:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C77B716A400; Tue, 5 Jun 2007 10:21:16 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9E76113C44B; Tue, 5 Jun 2007 10:21:16 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55ALGRH079108; Tue, 5 Jun 2007 10:21:16 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55ALGad079093; Tue, 5 Jun 2007 10:21:16 GMT (envelope-from phk) Message-Id: <200706051021.l55ALGad079093@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 5 Jun 2007 10:21:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 10:21:16 -0000 phk 2007-06-05 10:21:15 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: Fix the fstab on the second image, just like updatep2.sh does. Revision Changes Path 1.25 +7 -0 src/tools/tools/nanobsd/nanobsd.sh From owner-cvs-src@FreeBSD.ORG Tue Jun 5 10:48:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 545A416A46E; Tue, 5 Jun 2007 10:48:30 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2A8C513C489; Tue, 5 Jun 2007 10:48:30 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55AmUD1003965; Tue, 5 Jun 2007 10:48:30 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55AmTSJ003958; Tue, 5 Jun 2007 10:48:29 GMT (envelope-from kib) Message-Id: <200706051048.l55AmTSJ003958@repoman.freebsd.org> From: Konstantin Belousov Date: Tue, 5 Jun 2007 10:48: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/man9 VOP_OPENCLOSE.9 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 10:48:30 -0000 kib 2007-06-05 10:48:29 UTC FreeBSD src repository Modified files: share/man/man9 VOP_OPENCLOSE.9 Log: Update man page for VOP_OPEN() after fdidx->fp conversion. Reminded by: ru Revision Changes Path 1.19 +16 -16 src/share/man/man9/VOP_OPENCLOSE.9 From owner-cvs-src@FreeBSD.ORG Tue Jun 5 11:17:45 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB6F916A41F; Tue, 5 Jun 2007 11:17:45 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A1F4913C448; Tue, 5 Jun 2007 11:17:45 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55BHjDP033712; Tue, 5 Jun 2007 11:17:45 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55BHjvG033711; Tue, 5 Jun 2007 11:17:45 GMT (envelope-from phk) Message-Id: <200706051117.l55BHjvG033711@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 5 Jun 2007 11:17: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/tools/tools/nanobsd nanobsd.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 11:17:45 -0000 phk 2007-06-05 11:17:45 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: Default to R/O root filesystem Revision Changes Path 1.26 +3 -0 src/tools/tools/nanobsd/nanobsd.sh From owner-cvs-src@FreeBSD.ORG Tue Jun 5 11:49:56 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5B8916A400; Tue, 5 Jun 2007 11:49:56 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BC4D813C45D; Tue, 5 Jun 2007 11:49:56 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55Bnuxf066479; Tue, 5 Jun 2007 11:49:56 GMT (envelope-from nyan@repoman.freebsd.org) Received: (from nyan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55Bnuqb066472; Tue, 5 Jun 2007 11:49:56 GMT (envelope-from nyan) Message-Id: <200706051149.l55Bnuqb066472@repoman.freebsd.org> From: Takahashi Yoshihiro Date: Tue, 5 Jun 2007 11:49: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/pc98/pc98 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 11:49:57 -0000 nyan 2007-06-05 11:49:56 UTC FreeBSD src repository Modified files: sys/pc98/pc98 machdep.c Log: MFi386: revision 1.656 Add the machine-specific definitions for configuring the new physical memory allocator. Set the size of phys_avail[] and dump_avail[] using one of these definitions. Revision Changes Path 1.395 +7 -1 src/sys/pc98/pc98/machdep.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 14:15:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE36D16A421; Tue, 5 Jun 2007 14:15:47 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 93E9F13C44C; Tue, 5 Jun 2007 14:15:47 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55EFlTd015658; Tue, 5 Jun 2007 14:15:47 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55EFlTK015638; Tue, 5 Jun 2007 14:15:47 GMT (envelope-from simokawa) Message-Id: <200706051415.l55EFlTK015638@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Tue, 5 Jun 2007 14:15: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/net if_fwsubr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 14:15:47 -0000 simokawa 2007-06-05 14:15:46 UTC FreeBSD src repository Modified files: sys/net if_fwsubr.c Log: Remove GIANT_REQUIRED for upcoming changes in FireWire stack. Revision Changes Path 1.24 +0 -4 src/sys/net/if_fwsubr.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 14:20:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C22316A421; Tue, 5 Jun 2007 14:20:14 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2229913C469; Tue, 5 Jun 2007 14:20:14 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55EKESB018926; Tue, 5 Jun 2007 14:20:14 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55EKEih018925; Tue, 5 Jun 2007 14:20:14 GMT (envelope-from kib) Message-Id: <200706051420.l55EKEih018925@repoman.freebsd.org> From: Konstantin Belousov Date: Tue, 5 Jun 2007 14:20: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/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: Tue, 05 Jun 2007 14:20:14 -0000 kib 2007-06-05 14:20:13 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c Log: Restore non-SMP build. Reviewed by: attilio Revision Changes Path 1.192 +2 -1 src/sys/kern/kern_mutex.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 14:30:37 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D352F16A469; Tue, 5 Jun 2007 14:30:37 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A8E2F13C465; Tue, 5 Jun 2007 14:30:37 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55EUbqK027728; Tue, 5 Jun 2007 14:30:37 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55EUbAK027720; Tue, 5 Jun 2007 14:30:37 GMT (envelope-from bmah) Message-Id: <200706051430.l55EUbAK027720@repoman.freebsd.org> From: "Bruce A. Mah" Date: Tue, 5 Jun 2007 14:30: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/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 14:30:37 -0000 bmah 2007-06-05 14:30:37 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: Updated release notes: BIND 9.4.1, IPFilter 4.1.23. Removed release note: CORE scheduler. Revision Changes Path 1.1036 +3 -11 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Tue Jun 5 14:48:13 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8248C16A400; Tue, 5 Jun 2007 14:48:13 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id 000CA13C4BE; Tue, 5 Jun 2007 14:48:12 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l55Em996010923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 00:48:11 +1000 Date: Wed, 6 Jun 2007 00:48:11 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Konstantin Belousov In-Reply-To: <200706051420.l55EKEih018925@repoman.freebsd.org> Message-ID: <20070606003412.W35544@besplex.bde.org> References: <200706051420.l55EKEih018925@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 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: Tue, 05 Jun 2007 14:48:13 -0000 On Tue, 5 Jun 2007, Konstantin Belousov wrote: > kib 2007-06-05 14:20:13 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_mutex.c > Log: > Restore non-SMP build. Does it run? _thread_lock_flags() is an almost identical copy of _mtx_lock_spin_flags(), but _mtx_lock_spin_flags() is only for SMP. Bruce From owner-cvs-src@FreeBSD.ORG Tue Jun 5 14:55:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1753B16A421; Tue, 5 Jun 2007 14:55:16 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E16CA13C487; Tue, 5 Jun 2007 14:55:15 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55EtFu0046348; Tue, 5 Jun 2007 14:55:15 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55EtFVa046341; Tue, 5 Jun 2007 14:55:15 GMT (envelope-from delphij) Message-Id: <200706051455.l55EtFVa046341@repoman.freebsd.org> From: Xin LI Date: Tue, 5 Jun 2007 14:55: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/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 14:55:16 -0000 delphij 2007-06-05 14:55:15 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: Updated release notes: less was updated to v403. Revision Changes Path 1.1037 +1 -1 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:02:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F10B416A41F; Tue, 5 Jun 2007 15:02:14 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C75FC13C455; Tue, 5 Jun 2007 15:02:14 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55F2EvO052509; Tue, 5 Jun 2007 15:02:14 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55F2EVi052505; Tue, 5 Jun 2007 15:02:14 GMT (envelope-from gallatin) Message-Id: <200706051502.l55F2EVi052505@repoman.freebsd.org> From: Andrew Gallatin Date: Tue, 5 Jun 2007 15:02:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mxge if_mxge.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 15:02:15 -0000 gallatin 2007-06-05 15:02:14 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: Use pmap_change_attr() to setup a write combine attribute for our device memory, rather than relying on the less reliable MTRR method used by mem_range_attr_set(). Glanced at by: jhb Revision Changes Path 1.34 +14 -1 src/sys/dev/mxge/if_mxge.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:15:47 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B30F116A400; Tue, 5 Jun 2007 15:15:47 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.freebsd.org (Postfix) with ESMTP id 30D0513C458; Tue, 5 Jun 2007 15:15:46 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l55FFhvd025474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 01:15:45 +1000 Date: Wed, 6 Jun 2007 01:15:45 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Kostik Belousov In-Reply-To: <20070605150521.GX2268@deviant.kiev.zoral.com.ua> Message-ID: <20070606011022.R35623@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> <20070605150005.GW2268@deviant.kiev.zoral.com.ua> <20070605150521.GX2268@deviant.kiev.zoral.com.ua> 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, Bruce Evans Subject: Re: 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: Tue, 05 Jun 2007 15:15:47 -0000 On Tue, 5 Jun 2007, Kostik Belousov wrote: > On Tue, Jun 05, 2007 at 06:00:05PM +0300, Kostik Belousov wrote: >> On Wed, Jun 06, 2007 at 12:48:11AM +1000, Bruce Evans wrote: >>> On Tue, 5 Jun 2007, Konstantin Belousov wrote: >>> >>>> kib 2007-06-05 14:20:13 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> sys/kern kern_mutex.c >>>> Log: >>>> Restore non-SMP build. >>> >>> Does it run? _thread_lock_flags() is an almost identical copy of >>> _mtx_lock_spin_flags(), but _mtx_lock_spin_flags() is only for SMP. >> No, it panics immediately in vm_pagezero() with >> panic: sleepq chain not locked @kern_mutex.c:678. > Clarification: panic occurs only if PREEMPTION is _not_ specified in kernel > config. For PREEMPTION non-SMP kernel, I see no problems is 5-minutes run > still. I get a "spin lock held too long" panic during (an interrupt in?) acpi initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried other cases. Bruce From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:22:21 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8895316A41F; Tue, 5 Jun 2007 15:22:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 2891C13C43E; Tue, 5 Jun 2007 15:22:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1HvabP-000Ejb-Tl; Tue, 05 Jun 2007 18:05:45 +0300 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.1/8.14.1) with ESMTP id l55F5RLf036017 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2007 18:05:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l55F5QQB099128; Tue, 5 Jun 2007 18:05:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l55F5L4d099127; Tue, 5 Jun 2007 18:05:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 5 Jun 2007 18:05:21 +0300 From: Kostik Belousov To: Bruce Evans Message-ID: <20070605150521.GX2268@deviant.kiev.zoral.com.ua> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> <20070605150005.GW2268@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="309evMHi/619oHyA" Content-Disposition: inline In-Reply-To: <20070605150005.GW2268@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on skuns.kiev.zoral.com.ua X-Scanner-Signature: f216f799903dddc2f9accd11d8a1fded 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 1119 [June 05 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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: Tue, 05 Jun 2007 15:22:21 -0000 --309evMHi/619oHyA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 05, 2007 at 06:00:05PM +0300, Kostik Belousov wrote: > On Wed, Jun 06, 2007 at 12:48:11AM +1000, Bruce Evans wrote: > > On Tue, 5 Jun 2007, Konstantin Belousov wrote: > >=20 > > >kib 2007-06-05 14:20:13 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/kern kern_mutex.c > > > Log: > > > Restore non-SMP build. > >=20 > > Does it run? _thread_lock_flags() is an almost identical copy of > > _mtx_lock_spin_flags(), but _mtx_lock_spin_flags() is only for SMP. > No, it panics immediately in vm_pagezero() with > panic: sleepq chain not locked @kern_mutex.c:678. Clarification: panic occurs only if PREEMPTION is _not_ specified in kernel config. For PREEMPTION non-SMP kernel, I see no problems is 5-minutes run still. >=20 > Attilio is looking at it. --309evMHi/619oHyA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD4DBQFGZXuxC3+MBN1Mb4gRApDeAJjknY5tzW8ceJtdhpgeMIkeuTphAJ4teurO 7352Y3EYW8+acoAGMShdMA== =7U9L -----END PGP SIGNATURE----- --309evMHi/619oHyA-- From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:29:30 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A65416A41F for ; Tue, 5 Jun 2007 15:29:30 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 90A8413C480 for ; Tue, 5 Jun 2007 15:29:29 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so225720uge for ; Tue, 05 Jun 2007 08:29:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TrpdYi/IkvmQgDCpVYzc9/DagT0wDkGumh0QysisraO1vKvgaA+pIL18nKo9uEiEjtC5nc7gDkuhfJTVcH+fvZF1gaip/abdxwu+4qqs3y999RS/xPFf4IhoI8dk5WP6z3SeOnEBPAG3n0y+DjWpWnijut4vDPo6nYq2J4l68Dg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ieKzvS/F9ddEqRUB3NP6n+xmp4evEHIff+ol7dPwmwed6lscyRJEo86m5xIBnCH8CeOWq+va+gQDNt8YpiSKvs7objWibrj6oo0zZZpNRlxV9IMqhLXuclU3Is4Ki23oGptI/AV/rk1qsOIXDFxJSAd45U6R8medM8JvNEQvgBo= Received: by 10.78.130.6 with SMTP id c6mr2516531hud.1181057367715; Tue, 05 Jun 2007 08:29:27 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 08:29:27 -0700 (PDT) Message-ID: <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> Date: Tue, 5 Jun 2007 17:29:27 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Bruce Evans" In-Reply-To: <20070606011022.R35623@besplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> <20070605150005.GW2268@deviant.kiev.zoral.com.ua> <20070605150521.GX2268@deviant.kiev.zoral.com.ua> <20070606011022.R35623@besplex.bde.org> X-Google-Sender-Auth: af5625c892d1a3ab Cc: Kostik Belousov , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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: Tue, 05 Jun 2007 15:29:30 -0000 2007/6/5, Bruce Evans : > > I get a "spin lock held too long" panic during (an interrupt in?) acpi > initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried > other cases. Do you have a backtrace or any other debugging stuffs available? Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:33:53 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FADC16A421; Tue, 5 Jun 2007 15:33:53 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCB513C447; Tue, 5 Jun 2007 15:33:53 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55FXrEk090585; Tue, 5 Jun 2007 15:33:53 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55FXr9H090578; Tue, 5 Jun 2007 15:33:53 GMT (envelope-from rafan) Message-Id: <200706051533.l55FXr9H090578@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 5 Jun 2007 15:33:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: BELL_LABS Cc: Subject: cvs commit: src/contrib/one-true-awk - 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: Tue, 05 Jun 2007 15:33:53 -0000 rafan 2007-06-05 15:33:53 UTC FreeBSD src repository src/contrib/one-true-awk - Imported sources Update of /home/ncvs/src/contrib/one-true-awk In directory repoman.freebsd.org:/tmp/cvs-serv89601 Log Message: Vendor import of bwk's 01-May-2007 release. Approved by: delphij (mentor) Nodded by: ru Tested by: make universe Status: Vendor Tag: BELL_LABS Release Tags: bwk_20070501 U src/contrib/one-true-awk/awkgram.y U src/contrib/one-true-awk/FIXES U src/contrib/one-true-awk/README U src/contrib/one-true-awk/awk.1 U src/contrib/one-true-awk/awk.h U src/contrib/one-true-awk/mac.code U src/contrib/one-true-awk/b.c U src/contrib/one-true-awk/lex.c U src/contrib/one-true-awk/lib.c U src/contrib/one-true-awk/makefile U src/contrib/one-true-awk/main.c U src/contrib/one-true-awk/maketab.c U src/contrib/one-true-awk/parse.c U src/contrib/one-true-awk/proctab.c U src/contrib/one-true-awk/proto.h U src/contrib/one-true-awk/run.c U src/contrib/one-true-awk/tran.c No conflicts created by this import From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:34:41 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27E0A16A41F; Tue, 5 Jun 2007 15:34:41 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F226413C484; Tue, 5 Jun 2007 15:34:40 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55FYesx091489; Tue, 5 Jun 2007 15:34:40 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55FYerE091488; Tue, 5 Jun 2007 15:34:40 GMT (envelope-from rafan) Message-Id: <200706051534.l55FYerE091488@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 5 Jun 2007 15:34:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/contrib/one-true-awk FREEBSD-upgrade X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 15:34:41 -0000 rafan 2007-06-05 15:34:40 UTC FreeBSD src repository Modified files: contrib/one-true-awk FREEBSD-upgrade Log: - Update for 2007/05/01 import. Approved by: delphij (mentor) Nodded by: ru Revision Changes Path 1.10 +2 -2 src/contrib/one-true-awk/FREEBSD-upgrade From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:35:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4162C16A468; Tue, 5 Jun 2007 15:35:06 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1755313C45A; Tue, 5 Jun 2007 15:35:06 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55FZ5Io091909; Tue, 5 Jun 2007 15:35:05 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55FZ5qb091907; Tue, 5 Jun 2007 15:35:05 GMT (envelope-from rafan) Message-Id: <200706051535.l55FZ5qb091907@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 5 Jun 2007 15:35:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/awk b.c.diff main.c.diff X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 15:35:06 -0000 rafan 2007-06-05 15:35:05 UTC FreeBSD src repository Modified files: usr.bin/awk b.c.diff main.c.diff Log: - Update for 2007/05/01 import Approved by: delphij (mentor) Nodded by: ru Tested by: make universe Revision Changes Path 1.2 +3 -3 src/usr.bin/awk/b.c.diff 1.3 +2 -2 src/usr.bin/awk/main.c.diff From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:38:55 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99E9116A41F; Tue, 5 Jun 2007 15:38:55 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6FFFA13C455; Tue, 5 Jun 2007 15:38:55 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55Fct6c095302; Tue, 5 Jun 2007 15:38:55 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55FctW1095298; Tue, 5 Jun 2007 15:38:55 GMT (envelope-from rafan) Message-Id: <200706051538.l55FctW1095298@repoman.freebsd.org> From: Rong-En Fan Date: Tue, 5 Jun 2007 15:38: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/release/doc/en_US.ISO8859-1/relnotes article.sgml X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 15:38:55 -0000 rafan 2007-06-05 15:38:55 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/relnotes article.sgml Log: Update release notes: awk is updated to 1 May 2007 release. Approved by: delphij (mentor) Revision Changes Path 1.1038 +3 -0 src/release/doc/en_US.ISO8859-1/relnotes/article.sgml From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:43:05 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4042E16A421 for ; Tue, 5 Jun 2007 15:43:05 +0000 (UTC) (envelope-from asmrookie@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 97E2613C465 for ; Tue, 5 Jun 2007 15:43:04 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so230179uge for ; Tue, 05 Jun 2007 08:43:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ELfvLgrm2038tW04I8uQknBcqQ4VDSv/+dBRVLb6j6UfxmUHCvomKH8XoXu76GchC9/TPc0mIVLZf2rZoVZtAC+fbNyv3buGs7HEeZ91ePThg9IPOJDdB29Nlg+lMV9/wecVuLySGlVPNWxaXjoZTIHm/1ITmmv0iLuPUEDcyWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=L908KgbGT8ubtZZkASua4g6kbyO5aFsiSJihoYhDPNfiFDYT51xUHSW+EANrMVSGvYxZKHK6tQjaG7/jJ65AylpmHtKTZOSCpothONob9yjui5j0gZfYXNmsZUKLqKJlgZoM308vr1nOz6Jxn8OGNs3TkNjyze2YU7Gd2N8raVU= Received: by 10.78.181.13 with SMTP id d13mr2538105huf.1181058183455; Tue, 05 Jun 2007 08:43:03 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 08:43:03 -0700 (PDT) Message-ID: <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> Date: Tue, 5 Jun 2007 17:43:03 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Bruce Evans" In-Reply-To: <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> <20070605150005.GW2268@deviant.kiev.zoral.com.ua> <20070605150521.GX2268@deviant.kiev.zoral.com.ua> <20070606011022.R35623@besplex.bde.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> X-Google-Sender-Auth: 0d4b8be6a9c1c468 Cc: Kostik Belousov , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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: Tue, 05 Jun 2007 15:43:05 -0000 2007/6/5, Attilio Rao : > 2007/6/5, Bruce Evans : > > > > I get a "spin lock held too long" panic during (an interrupt in?) acpi > > initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried > > other cases. > > Do you have a backtrace or any other debugging stuffs available? Mmm, I think I got the bug. basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive case what happens at some point is: td = curthread; if (td->td_critnest > 0 || td1->td_priority >= td->td_priority) return; thread_lock(td1); if (!TD_IS_RUNNING(td1)) { ... mi_switch(SW_INVOL, NULL); ... } thread_unlock(td1); Which is wrong beacause td1 is not curthread and really curthread should be locked too when context switching. To a first look the idea is that td and td1 should be locked both, but I just want more time to look better at it. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Tue Jun 5 15:57:00 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 927AE16A46E; Tue, 5 Jun 2007 15:57:00 +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 2630013C45B; Tue, 5 Jun 2007 15:57:00 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1HvaWG-0002ac-Mi; Tue, 05 Jun 2007 18:00:26 +0300 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.1/8.14.1) with ESMTP id l55F06rc035922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2007 18:00:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l55F06gs091784; Tue, 5 Jun 2007 18:00:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l55F06CW091779; Tue, 5 Jun 2007 18:00:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 5 Jun 2007 18:00:05 +0300 From: Kostik Belousov To: Bruce Evans Message-ID: <20070605150005.GW2268@deviant.kiev.zoral.com.ua> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0ywUhQCikZ2Y3PNw" Content-Disposition: inline In-Reply-To: <20070606003412.W35544@besplex.bde.org> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on skuns.kiev.zoral.com.ua X-Scanner-Signature: b22dd54e5e410b0526d530b08df0ebb5 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 1119 [June 05 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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: Tue, 05 Jun 2007 15:57:00 -0000 --0ywUhQCikZ2Y3PNw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2007 at 12:48:11AM +1000, Bruce Evans wrote: > On Tue, 5 Jun 2007, Konstantin Belousov wrote: >=20 > >kib 2007-06-05 14:20:13 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_mutex.c > > Log: > > Restore non-SMP build. >=20 > Does it run? _thread_lock_flags() is an almost identical copy of > _mtx_lock_spin_flags(), but _mtx_lock_spin_flags() is only for SMP. No, it panics immediately in vm_pagezero() with panic: sleepq chain not locked @kern_mutex.c:678. Attilio is looking at it. --0ywUhQCikZ2Y3PNw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGZXp1C3+MBN1Mb4gRAhQLAJ94EhGukglqCgqq8CuIFMfEZv7b6wCeKW45 gKX9NYFUk+tU96dftO7weXA= =OnK6 -----END PGP SIGNATURE----- --0ywUhQCikZ2Y3PNw-- From owner-cvs-src@FreeBSD.ORG Tue Jun 5 16:30:26 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D9F216A41F; Tue, 5 Jun 2007 16:30:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id C01B313C447; Tue, 5 Jun 2007 16:30:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l55GUNuu029037; Tue, 5 Jun 2007 12:30:23 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Attilio Rao" Date: Tue, 5 Jun 2007 12:30:20 -0400 User-Agent: KMail/1.9.6 References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> In-Reply-To: <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706051230.21242.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]); Tue, 05 Jun 2007 12:30:23 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3360/Tue Jun 5 00:32:46 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Kostik Belousov , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: 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: Tue, 05 Jun 2007 16:30:26 -0000 On Tuesday 05 June 2007 11:43:03 am Attilio Rao wrote: > 2007/6/5, Attilio Rao : > > 2007/6/5, Bruce Evans : > > > > > > I get a "spin lock held too long" panic during (an interrupt in?) acpi > > > initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried > > > other cases. > > > > Do you have a backtrace or any other debugging stuffs available? > > Mmm, I think I got the bug. > basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive > case what happens at some point is: > > td = curthread; > if (td->td_critnest > 0 || td1->td_priority >= td->td_priority) > return; > > thread_lock(td1); > if (!TD_IS_RUNNING(td1)) { > ... > > mi_switch(SW_INVOL, NULL); > ... > } > thread_unlock(td1); > > Which is wrong beacause td1 is not curthread and really curthread > should be locked too when context switching. > > To a first look the idea is that td and td1 should be locked both, but > I just want more time to look better at it. If this is the old #ifndef PREEMPTION manual preemption stuff, then just remove it. I've been wanting to axe it for a while, rwlocks don't do the manual preemption either, and if it is getting in the way it's best to just purge it. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Tue Jun 5 16:48:14 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7393716A400; Tue, 5 Jun 2007 16:48:14 +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 F2E3413C468; Tue, 5 Jun 2007 16:48:13 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1HvcCR-0005Gm-PD; Tue, 05 Jun 2007 19:48:12 +0300 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.1/8.14.1) with ESMTP id l55Gle5F037980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2007 19:47:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l55Gles6019057; Tue, 5 Jun 2007 19:47:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l55Gle2H019048; Tue, 5 Jun 2007 19:47:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 5 Jun 2007 19:47:40 +0300 From: Kostik Belousov To: Attilio Rao Message-ID: <20070605164740.GY2268@deviant.kiev.zoral.com.ua> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> <20070605150005.GW2268@deviant.kiev.zoral.com.ua> <20070605150521.GX2268@deviant.kiev.zoral.com.ua> <20070606011022.R35623@besplex.bde.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3CF/MBslHFRhO8r/" Content-Disposition: inline In-Reply-To: <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on skuns.kiev.zoral.com.ua X-Scanner-Signature: eb35aeac2b84d7677a861f668fbe3b20 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 1119 [June 05 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: 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: Tue, 05 Jun 2007 16:48:14 -0000 --3CF/MBslHFRhO8r/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 05, 2007 at 05:43:03PM +0200, Attilio Rao wrote: > 2007/6/5, Attilio Rao : > >2007/6/5, Bruce Evans : > >> > >> I get a "spin lock held too long" panic during (an interrupt in?) acpi > >> initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried > >> other cases. > > > >Do you have a backtrace or any other debugging stuffs available? >=20 > Mmm, I think I got the bug. > basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive > case what happens at some point is: >=20 > td =3D curthread; > if (td->td_critnest > 0 || td1->td_priority >=3D td->td_priority) > return; >=20 > thread_lock(td1); > if (!TD_IS_RUNNING(td1)) { > ... >=20 > mi_switch(SW_INVOL, NULL); > ... > } > thread_unlock(td1); >=20 > Which is wrong beacause td1 is not curthread and really curthread > should be locked too when context switching. >=20 > To a first look the idea is that td and td1 should be locked both, but > I just want more time to look better at it. With the following patch, I get the panic: mutex sched lock recursed at .../kern_synch.c:379 with backtrace mi_switch _mtx_unlock_sleep _mtx_unlock_flags vm_pagezero diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index e0592a8..bf44229 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -670,7 +670,9 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *= file, int line) "_mtx_unlock_sleep: %p switching out lock=3D%p", m, (void *)m->mtx_lock); =20 + thread_lock(td); mi_switch(SW_INVOL, NULL); + thread_unlock(td); if (LOCK_LOG_TEST(&m->lock_object, opts)) CTR2(KTR_LOCK, "_mtx_unlock_sleep: %p resuming lock=3D%p", m, (void *)m->mtx_lock); --3CF/MBslHFRhO8r/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGZZOsC3+MBN1Mb4gRAo9QAJ0eIEXdW7L4iv2VPwPqgE91Gk659ACgjm+t Rwu/Za9DgLmMx1OhIihjauE= =G420 -----END PGP SIGNATURE----- --3CF/MBslHFRhO8r/-- From owner-cvs-src@FreeBSD.ORG Tue Jun 5 17:04:44 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C67AA16A421; Tue, 5 Jun 2007 17:04:44 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9CD0913C4C5; Tue, 5 Jun 2007 17:04:44 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55H4ihw084994; Tue, 5 Jun 2007 17:04:44 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55H4iYD084993; Tue, 5 Jun 2007 17:04:44 GMT (envelope-from imp) Message-Id: <200706051704.l55H4iYD084993@repoman.freebsd.org> From: Warner Losh Date: Tue, 5 Jun 2007 17:04: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/mmc mmc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 17:04:44 -0000 imp 2007-06-05 17:04:44 UTC FreeBSD src repository Modified files: sys/dev/mmc mmc.c Log: MFp4: When querying the operating condition of SD cards (using the application specific SEND_OP_COND (CMD55 + ACMD41), go ahead and allow 100 tries. This gives a timeout of a second rather than the ~100ms the old style produces. I've had one old 16MB SD card which needs the extra time. I've now had reports from the field that other cards need this too. Originally done at BSDcan 2007 while waiting to give my embedding madness minitalk. Revision Changes Path 1.4 +1 -1 src/sys/dev/mmc/mmc.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 17:12:04 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 699C716A469 for ; Tue, 5 Jun 2007 17:12:04 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 0738213C45E for ; Tue, 5 Jun 2007 17:12:02 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so257785uge for ; Tue, 05 Jun 2007 10:12:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TKDGPtOyt2+7NC3QHuD9agTu5tTS5L1sQ/RW+C7//iArV9B772fqDJulQ8K/ucLep1pCmUsR7ToBCi6unkpFZpmSERSFDxyfbMvwF/zRX2h26aPA16jazMy9vfCKvwxqLH/rgRu0lXnMiNo66I9ASEfu1FgTfXsCMFK7o8aBZmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Xoj329NWRjIh7IQr9SI4Te1oyCculh7BfTL39wh3Nr0pWwaF+Z8C8aZlC3zvnu33OR0hD41G3gzJ4BZAZb1qnZZ80Q7IxEsoUI0p884zX+fZet8g1544ZXv/I0Bfuc5L7DYtX5RTSRAmZJsB2/G4XPg13a4utZG1iO0DJT+brik= Received: by 10.78.205.7 with SMTP id c7mr2601078hug.1181063521648; Tue, 05 Jun 2007 10:12:01 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 10:12:01 -0700 (PDT) Message-ID: <3bbf2fe10706051012x76381687g98e034ceb47b3f26@mail.gmail.com> Date: Tue, 5 Jun 2007 19:12:01 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "John Baldwin" In-Reply-To: <200706051230.21242.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> X-Google-Sender-Auth: db4e3a26349aff14 Cc: Kostik Belousov , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: 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: Tue, 05 Jun 2007 17:12:04 -0000 2007/6/5, John Baldwin : > On Tuesday 05 June 2007 11:43:03 am Attilio Rao wrote: > > 2007/6/5, Attilio Rao : > > > 2007/6/5, Bruce Evans : > > > > > > > > I get a "spin lock held too long" panic during (an interrupt in?) acpi > > > > initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried > > > > other cases. > > > > > > Do you have a backtrace or any other debugging stuffs available? > > > > Mmm, I think I got the bug. > > basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive > > case what happens at some point is: > > > > td = curthread; > > if (td->td_critnest > 0 || td1->td_priority >= td->td_priority) > > return; > > > > thread_lock(td1); > > if (!TD_IS_RUNNING(td1)) { > > ... > > > > mi_switch(SW_INVOL, NULL); > > ... > > } > > thread_unlock(td1); > > > > Which is wrong beacause td1 is not curthread and really curthread > > should be locked too when context switching. > > > > To a first look the idea is that td and td1 should be locked both, but > > I just want more time to look better at it. > > If this is the old #ifndef PREEMPTION manual preemption stuff, then just > remove it. I've been wanting to axe it for a while, rwlocks don't do the > manual preemption either, and if it is getting in the way it's best to just > purge it. Yes. More specifically, I always thought that code would just force a PREEMPTION point in the mtx_unlock(), instead it just happens in the !PREEMPTION case... is this a bug? I don't see why doing something like that in the !PREEMPTION point (but it can be I'm missing something :)). Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Tue Jun 5 17:12:50 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6434A16A46B for ; Tue, 5 Jun 2007 17:12:50 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id A93A513C45A for ; Tue, 5 Jun 2007 17:12:49 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so258007uge for ; Tue, 05 Jun 2007 10:12:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=P6IcLqfhESNPhKGF4XKblF6ij+JCYT+71dP/wB2ltzwXjNTmQiUuaIGUuSQgD0rsXYYfm/szToEFL/wHBFQ2LkKTOCcAScPwQ2SyAwuFN7oQCVdVgNkPVtZX03TAp9MSfVWWWGGbuyZFrksXWiaaiwhjOiQN4xPfI9DZJ1nSCek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FD4KykficGe8XT0wVwOCMkFXLw1DL95j9vp4gMGTyp05jtwgfM9aIWJTRJthzCqR/wnWvYh4ceWBzOAwa9KQWXxJ4exlNTTyPpR6ycZGlh2bombcqM9NTjeXLYE6kodh04b9IjBCEIUIbaApqjkbjnJMnIK03XMr4lo2eGmF1L0= Received: by 10.78.56.19 with SMTP id e19mr2560999hua.1181063568206; Tue, 05 Jun 2007 10:12:48 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 10:12:47 -0700 (PDT) Message-ID: <3bbf2fe10706051012h3d322a8fka35b9580b21ce22d@mail.gmail.com> Date: Tue, 5 Jun 2007 19:12:47 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Kostik Belousov" In-Reply-To: <20070605164740.GY2268@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070606003412.W35544@besplex.bde.org> <20070605150005.GW2268@deviant.kiev.zoral.com.ua> <20070605150521.GX2268@deviant.kiev.zoral.com.ua> <20070606011022.R35623@besplex.bde.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <20070605164740.GY2268@deviant.kiev.zoral.com.ua> X-Google-Sender-Auth: 969e4179277a5c63 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: 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: Tue, 05 Jun 2007 17:12:50 -0000 2007/6/5, Kostik Belousov : > On Tue, Jun 05, 2007 at 05:43:03PM +0200, Attilio Rao wrote: > > 2007/6/5, Attilio Rao : > > >2007/6/5, Bruce Evans : > > >> > > >> I get a "spin lock held too long" panic during (an interrupt in?) acpi > > >> initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried > > >> other cases. > > > > > >Do you have a backtrace or any other debugging stuffs available? > > > > Mmm, I think I got the bug. > > basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive > > case what happens at some point is: > > > > td = curthread; > > if (td->td_critnest > 0 || td1->td_priority >= td->td_priority) > > return; > > > > thread_lock(td1); > > if (!TD_IS_RUNNING(td1)) { > > ... > > > > mi_switch(SW_INVOL, NULL); > > ... > > } > > thread_unlock(td1); > > > > Which is wrong beacause td1 is not curthread and really curthread > > should be locked too when context switching. > > > > To a first look the idea is that td and td1 should be locked both, but > > I just want more time to look better at it. > > With the following patch, I get the > panic: mutex sched lock recursed at .../kern_synch.c:379 > with backtrace > mi_switch > _mtx_unlock_sleep > _mtx_unlock_flags > vm_pagezero > > > diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c > index e0592a8..bf44229 100644 > --- a/sys/kern/kern_mutex.c > +++ b/sys/kern/kern_mutex.c > @@ -670,7 +670,9 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line) > "_mtx_unlock_sleep: %p switching out lock=%p", m, > (void *)m->mtx_lock); > > + thread_lock(td); > mi_switch(SW_INVOL, NULL); > + thread_unlock(td); > if (LOCK_LOG_TEST(&m->lock_object, opts)) > CTR2(KTR_LOCK, "_mtx_unlock_sleep: %p resuming lock=%p", > m, (void *)m->mtx_lock); After I back home I realized there is only sched_lock currently... not yet per-cpu locks :) So we should just disable this code for the moment (or forever). Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Tue Jun 5 17:27:28 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CCE516A400; Tue, 5 Jun 2007 17:27:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id E297E13C484; Tue, 5 Jun 2007 17:27:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l55HROur029442; Tue, 5 Jun 2007 13:27:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Attilio Rao" Date: Tue, 5 Jun 2007 13:27:20 -0400 User-Agent: KMail/1.9.6 References: <200706051420.l55EKEih018925@repoman.freebsd.org> <200706051230.21242.jhb@freebsd.org> <3bbf2fe10706051012x76381687g98e034ceb47b3f26@mail.gmail.com> In-Reply-To: <3bbf2fe10706051012x76381687g98e034ceb47b3f26@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706051327.21307.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]); Tue, 05 Jun 2007 13:27:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3360/Tue Jun 5 00:32:46 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Kostik Belousov , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: 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: Tue, 05 Jun 2007 17:27:28 -0000 On Tuesday 05 June 2007 01:12:01 pm Attilio Rao wrote: > 2007/6/5, John Baldwin : > > On Tuesday 05 June 2007 11:43:03 am Attilio Rao wrote: > > > 2007/6/5, Attilio Rao : > > > > 2007/6/5, Bruce Evans : > > > > > > > > > > I get a "spin lock held too long" panic during (an interrupt in?) acpi > > > > > initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried > > > > > other cases. > > > > > > > > Do you have a backtrace or any other debugging stuffs available? > > > > > > Mmm, I think I got the bug. > > > basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive > > > case what happens at some point is: > > > > > > td = curthread; > > > if (td->td_critnest > 0 || td1->td_priority >= td->td_priority) > > > return; > > > > > > thread_lock(td1); > > > if (!TD_IS_RUNNING(td1)) { > > > ... > > > > > > mi_switch(SW_INVOL, NULL); > > > ... > > > } > > > thread_unlock(td1); > > > > > > Which is wrong beacause td1 is not curthread and really curthread > > > should be locked too when context switching. > > > > > > To a first look the idea is that td and td1 should be locked both, but > > > I just want more time to look better at it. > > > > If this is the old #ifndef PREEMPTION manual preemption stuff, then just > > remove it. I've been wanting to axe it for a while, rwlocks don't do the > > manual preemption either, and if it is getting in the way it's best to just > > purge it. > > Yes. > More specifically, I always thought that code would just force a > PREEMPTION point in the mtx_unlock(), instead it just happens in the > !PREEMPTION case... is this a bug? > I don't see why doing something like that in the !PREEMPTION point > (but it can be I'm missing something :)). In the PREEMPTION case, the act of making the threads runnable will trigger a preemption (or set td_owepreempt). The !PREEMPTION stuff is to make mtx_unlock() preempt when PREEMPTION isn't enabled in the kernel. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Tue Jun 5 17:37:42 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9EB416A46E for ; Tue, 5 Jun 2007 17:37:42 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7C213C4B9 for ; Tue, 5 Jun 2007 17:37:41 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so265506uge for ; Tue, 05 Jun 2007 10:37:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TSF2/D0ginqtgxvwcNr1oIoNig/XUZmtTnnem27uz0llghm7xCjdVGNgcMhEPjJGUp9qpRwbYnv+rQwxqEOt/wHlEwZhhvWmyKlgF7hBWWEEMcUti+7GGOUIHjRhOpQL12l6md4ssZP4dbRDJ468WBnLoRHfHpUw79gZAl4E58k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=oFG7zEYFBQ9XiN211VHQr9V+AzCIKKeGJdMDL8fTyw2sSXMD07klSuaGSXjf+m/fyxk6GPN9W8atauBx8nuyrrHvAUMsj58l+ioNPF8ouk47bDwwlce0NXpj4akXvkRCoq7tgsNnsp0YdStz25oL6yuK3FFZd4kCSuwcxGTkfTs= Received: by 10.78.170.6 with SMTP id s6mr2597144hue.1181065060277; Tue, 05 Jun 2007 10:37:40 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 10:37:40 -0700 (PDT) Message-ID: <3bbf2fe10706051037n3442fc3cjc89501b42d1a5543@mail.gmail.com> Date: Tue, 5 Jun 2007 19:37:40 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "John Baldwin" In-Reply-To: <200706051327.21307.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051420.l55EKEih018925@repoman.freebsd.org> <200706051230.21242.jhb@freebsd.org> <3bbf2fe10706051012x76381687g98e034ceb47b3f26@mail.gmail.com> <200706051327.21307.jhb@freebsd.org> X-Google-Sender-Auth: bd4199eac5c94cbf Cc: Kostik Belousov , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: 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: Tue, 05 Jun 2007 17:37:42 -0000 2007/6/5, John Baldwin : > In the PREEMPTION case, the act of making the threads runnable will trigger a > preemption (or set td_owepreempt). The !PREEMPTION stuff is to make > mtx_unlock() preempt when PREEMPTION isn't enabled in the kernel. Yes, I just thought it wasn't due for the !PREEMPTION case. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Tue Jun 5 17:44:02 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C90816A400; Tue, 5 Jun 2007 17:44:02 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3341613C45D; Tue, 5 Jun 2007 17:44:02 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55Hi2Pp023380; Tue, 5 Jun 2007 17:44:02 GMT (envelope-from jfv@repoman.freebsd.org) Received: (from jfv@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55Hi1xG023368; Tue, 5 Jun 2007 17:44:01 GMT (envelope-from jfv) Message-Id: <200706051744.l55Hi1xG023368@repoman.freebsd.org> From: Jack F Vogel Date: Tue, 5 Jun 2007 17:44:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 17:44:02 -0000 jfv 2007-06-05 17:44:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/em if_em.c Log: MFC of a couple small fixes: 82571 LAA reset workaround, and invalid eeprom problem on some PCI-E systems. Revision Changes Path 1.65.2.23 +34 -3 src/sys/dev/em/if_em.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 18:57:10 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E69716A421; Tue, 5 Jun 2007 18:57:10 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6909B13C4BF; Tue, 5 Jun 2007 18:57:10 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55IvA9j094332; Tue, 5 Jun 2007 18:57:10 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55IvAYP094328; Tue, 5 Jun 2007 18:57:10 GMT (envelope-from attilio) Message-Id: <200706051857.l55IvAYP094328@repoman.freebsd.org> From: Attilio Rao Date: Tue, 5 Jun 2007 18:57:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 18:57:10 -0000 attilio 2007-06-05 18:57:09 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c Log: Fix a problem with not-preemptive kernels caming from mis-merging of existing code with the new thread_lock patch. This also cleans up a bit unlock operation for mutexes. Approved by: jhb, jeff(mentor) Revision Changes Path 1.193 +0 -47 src/sys/kern/kern_mutex.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 18:57:49 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 641DC16A473; Tue, 5 Jun 2007 18:57:49 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4CD13C4BD; Tue, 5 Jun 2007 18:57:49 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55IvnQN094829; Tue, 5 Jun 2007 18:57:49 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55Ivn3A094828; Tue, 5 Jun 2007 18:57:49 GMT (envelope-from jhb) Message-Id: <200706051857.l55Ivn3A094828@repoman.freebsd.org> From: John Baldwin Date: Tue, 5 Jun 2007 18:57:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 io_apic.c src/sys/i386/i386 io_apic.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 18:57:49 -0000 jhb 2007-06-05 18:57:49 UTC FreeBSD src repository Modified files: sys/amd64/amd64 io_apic.c sys/i386/i386 io_apic.c Log: Move a warning under bootverbose as no machines that trigger it have ended up being broken. Revision Changes Path 1.31 +1 -1 src/sys/amd64/amd64/io_apic.c 1.35 +1 -1 src/sys/i386/i386/io_apic.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 19:00:18 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9114516A46E for ; Tue, 5 Jun 2007 19:00:18 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 228AD13C4B7 for ; Tue, 5 Jun 2007 19:00:17 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so290140uge for ; Tue, 05 Jun 2007 12:00:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=cZ5SOhOJAQn58RKxz8oA8tWQvrz/+mN/yrqhImAxcYu3rkuuX2dmCpAYgQc93+Ib4YYqHdNGyQ7P7H/OqDhyt3Cf51SuVc1kxgCIxGSB9skVlzl4ScWFqPZyn7294qwCZJO4U8IrBF30XNTOOZx0awITtaloiLlpT+RSzRVgInY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=LwZ/AP7OgN/aSlRFrz4/wP8IpLcLhwb3DtFrdNixUbzjGly8p1u4oPBo3DUhR88j6v7ttlPtIGmAZGplbAF95nwnvNxgx9uBxp+16mCBIdKvL4xqj3YTdg+AQqCZ5SwmJcaRm9nK8BzViHXcbkVDqkX69vdf3qX1w7v4XZmpdQY= Received: by 10.78.167.12 with SMTP id p12mr2651728hue.1181070015730; Tue, 05 Jun 2007 12:00:15 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 12:00:15 -0700 (PDT) Message-ID: <3bbf2fe10706051200m361bb40vbf7a1a9202b3589a@mail.gmail.com> Date: Tue, 5 Jun 2007 21:00:15 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org In-Reply-To: <200706051857.l55IvAYP094328@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051857.l55IvAYP094328@repoman.freebsd.org> X-Google-Sender-Auth: c5aeace07bac4e19 Cc: Subject: Re: 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: Tue, 05 Jun 2007 19:00:18 -0000 2007/6/5, Attilio Rao : > attilio 2007-06-05 18:57:09 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_mutex.c > Log: > Fix a problem with not-preemptive kernels caming from mis-merging of > existing code with the new thread_lock patch. > This also cleans up a bit unlock operation for mutexes. > > Approved by: jhb, jeff(mentor) I was unforgetting: Tested by: Youriy Tsibizov Attilio From owner-cvs-src@FreeBSD.ORG Tue Jun 5 19:06:03 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D09A16A421; Tue, 5 Jun 2007 19:06:03 +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 D149313C45E; Tue, 5 Jun 2007 19:06:02 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1HveLx-0006cO-Hc; Tue, 05 Jun 2007 20:06:01 +0100 Date: Tue, 5 Jun 2007 20:06:01 +0100 From: Ceri Davies To: Xin LI Message-ID: <20070605190601.GC1834@submonkey.net> References: <200706050544.l555ifKp014690@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NMuMz9nt05w80d4+" Content-Disposition: inline In-Reply-To: <200706050544.l555ifKp014690@repoman.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.15 (2007-04-06) Sender: Ceri Davies Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 19:06:03 -0000 --NMuMz9nt05w80d4+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 05, 2007 at 05:44:41AM +0000, Xin LI wrote: > delphij 2007-06-05 05:44:41 UTC >=20 > FreeBSD src repository >=20 > Modified files: > usr.sbin/sysinstall installUpgrade.c=20 > Log: > Write to slice name instead of directly to the disk device. > This fixes writing boot code upon upgrade. > | @@ -363,7 +363,7 @@ media: > | } > | =20 > | if (extractingBin) > | - vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 3)}' /etc/= fstab`"); > | + vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 5)}' /etc/= fstab`"); > | msgNotify("First stage of upgrade completed successfully!\n\n" > | "Next comes stage 2, where we attempt to resurrect your /etc\n" > | "directory!"); Well it doesn't fix anything actually; what if my root partition is ad12s2a= ? (which is not contrived; it is). We actually need something more like: vsystem("disklabel -B `awk \ '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ &= & \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' /etc/fsta= b`"); where the regex is built from every device name in device_names (which even then doesn't cater for GEOM where devices might be called anything). This is something that would require a build tool, which is why I haven't done it yet. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGZbQZocfcwTS3JF8RApPRAJ0dqAE+de6wB0paWL3bt6ujoRuzKwCgg5Xn f+s3KOi97Z2eeEx/5wcQvTE= =YNDo -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+-- From owner-cvs-src@FreeBSD.ORG Tue Jun 5 19:12:26 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1640916A41F; Tue, 5 Jun 2007 19:12:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id B687313C44B; Tue, 5 Jun 2007 19:12:25 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l55JC294030114; Tue, 5 Jun 2007 15:12:23 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Attilio Rao Date: Tue, 5 Jun 2007 15:11:54 -0400 User-Agent: KMail/1.9.6 References: <200706051857.l55IvAYP094328@repoman.freebsd.org> In-Reply-To: <200706051857.l55IvAYP094328@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706051511.56553.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]); Tue, 05 Jun 2007 15:12:23 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3362/Tue Jun 5 13:02:53 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/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: Tue, 05 Jun 2007 19:12:26 -0000 On Tuesday 05 June 2007 02:57:09 pm Attilio Rao wrote: > attilio 2007-06-05 18:57:09 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_mutex.c > Log: > Fix a problem with not-preemptive kernels caming from mis-merging of > existing code with the new thread_lock patch. > This also cleans up a bit unlock operation for mutexes. > > Approved by: jhb, jeff(mentor) Specifically, this retires the explicit preemption code in mtx_unlock() (inherited from BSD/OS) in the #ifndef PREEMPTION case. We now only do preemptions as a scheduling decision in the scheduler and only #ifdef PREEMPTION. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Tue Jun 5 19:21:00 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56EBF16A400; Tue, 5 Jun 2007 19:21:00 +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 1E1BD13C489; Tue, 5 Jun 2007 19:21:00 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l55JKvdh079399 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2007 15:20:58 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 5 Jun 2007 12:20:42 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: John Baldwin In-Reply-To: <200706051511.56553.jhb@freebsd.org> Message-ID: <20070605121953.V606@10.0.0.1> References: <200706051857.l55IvAYP094328@repoman.freebsd.org> <200706051511.56553.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Attilio Rao , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 19:21:00 -0000 On Tue, 5 Jun 2007, John Baldwin wrote: > On Tuesday 05 June 2007 02:57:09 pm Attilio Rao wrote: >> attilio 2007-06-05 18:57:09 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern kern_mutex.c >> Log: >> Fix a problem with not-preemptive kernels caming from mis-merging of >> existing code with the new thread_lock patch. >> This also cleans up a bit unlock operation for mutexes. >> >> Approved by: jhb, jeff(mentor) > > Specifically, this retires the explicit preemption code in mtx_unlock() > (inherited from BSD/OS) in the #ifndef PREEMPTION case. We now only do > preemptions as a scheduling decision in the scheduler and only > #ifdef PREEMPTION. I believe we also should replace thread_lock() and thread_unlock() with calls to spinlock_enter()/exit() on !SMP and make thread_set_lock() a no-op for this case. Does that sounds right to everyone? Thanks, Jeff > > -- > John Baldwin > From owner-cvs-src@FreeBSD.ORG Tue Jun 5 19:27:04 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95DE316A421; Tue, 5 Jun 2007 19:27:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3E39513C46C; Tue, 5 Jun 2007 19:27:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l55JQqDA030227; Tue, 5 Jun 2007 15:26:52 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Jeff Roberson Date: Tue, 5 Jun 2007 15:25:29 -0400 User-Agent: KMail/1.9.6 References: <200706051857.l55IvAYP094328@repoman.freebsd.org> <200706051511.56553.jhb@freebsd.org> <20070605121953.V606@10.0.0.1> In-Reply-To: <20070605121953.V606@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706051525.29852.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]); Tue, 05 Jun 2007 15:26:52 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3362/Tue Jun 5 13:02:53 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Attilio Rao , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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: Tue, 05 Jun 2007 19:27:04 -0000 On Tuesday 05 June 2007 03:20:42 pm Jeff Roberson wrote: > On Tue, 5 Jun 2007, John Baldwin wrote: > > > On Tuesday 05 June 2007 02:57:09 pm Attilio Rao wrote: > >> attilio 2007-06-05 18:57:09 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/kern kern_mutex.c > >> Log: > >> Fix a problem with not-preemptive kernels caming from mis-merging of > >> existing code with the new thread_lock patch. > >> This also cleans up a bit unlock operation for mutexes. > >> > >> Approved by: jhb, jeff(mentor) > > > > Specifically, this retires the explicit preemption code in mtx_unlock() > > (inherited from BSD/OS) in the #ifndef PREEMPTION case. We now only do > > preemptions as a scheduling decision in the scheduler and only > > #ifdef PREEMPTION. > > I believe we also should replace thread_lock() and thread_unlock() with > calls to spinlock_enter()/exit() on !SMP and make thread_set_lock() a > no-op for this case. Does that sounds right to everyone? Probably. spinlocks in general already do that. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Tue Jun 5 19:36:52 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D463A16A46B for ; Tue, 5 Jun 2007 19:36:52 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 624A013C45B for ; Tue, 5 Jun 2007 19:36:52 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so300628uge for ; Tue, 05 Jun 2007 12:36:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ndvVyafGuk8KNr6Am7cbjldxiDeBh4tiB1/lGCL82SReuVHPvGnK1SZEUpc+QrolOIieTma8xOFAzY4u1aMhaD5/8n83lXCI2FV0MfFot0eeo84ZnxER2j7yx+33Jdhlv0k9dgK9MiIMHEYxHvJEJPP2nAu3fU0Py7c27w+kAwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=e2To590cKGi4bxRSsxzqMRR4DCUgWScd0tezNiIhKhMtcv6pJlO3/dvaSQymcGVJ1ejzGFLmiBxp0hluLk+kiAZSlbRpR4vMQtsA0z6UHKIM9Vw7s4C6hC89GqkwM6vy7kWI0DC4q9NQKMY8OioKhuglPpHXaMomgV6+6Bree/g= Received: by 10.78.37.7 with SMTP id k7mr2636515huk.1181072210848; Tue, 05 Jun 2007 12:36:50 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 12:36:50 -0700 (PDT) Message-ID: <3bbf2fe10706051236m2597ad4an6d6ce41965a8d057@mail.gmail.com> Date: Tue, 5 Jun 2007 21:36:50 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Jeff Roberson" In-Reply-To: <20070605121953.V606@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051857.l55IvAYP094328@repoman.freebsd.org> <200706051511.56553.jhb@freebsd.org> <20070605121953.V606@10.0.0.1> X-Google-Sender-Auth: c369cf1bb1f8a508 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin Subject: Re: 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: Tue, 05 Jun 2007 19:36:52 -0000 2007/6/5, Jeff Roberson : > On Tue, 5 Jun 2007, John Baldwin wrote: > > > I believe we also should replace thread_lock() and thread_unlock() with > calls to spinlock_enter()/exit() on !SMP and make thread_set_lock() a > no-op for this case. Does that sounds right to everyone? Yes, this sounds fair. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-cvs-src@FreeBSD.ORG Tue Jun 5 20:12:42 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33DB816A41F; Tue, 5 Jun 2007 20:12:42 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 10D4713C45B; Tue, 5 Jun 2007 20:12:42 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55KCfqq068243; Tue, 5 Jun 2007 20:12:41 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55KCfii068229; Tue, 5 Jun 2007 20:12:41 GMT (envelope-from ariff) Message-Id: <200706052012.l55KCfii068229@repoman.freebsd.org> From: Ariff Abdullah Date: Tue, 5 Jun 2007 20:12: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/dev/sound/pcm ac97_patch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 20:12:42 -0000 ariff 2007-06-05 20:12:41 UTC FreeBSD src repository Modified files: sys/dev/sound/pcm ac97_patch.c Log: Fix (enable) phone out for laptops with ALC655, specifically for Amilo Pro V2055. PR: kern/113101 Submitted by: konrad@egipt-medytacje.pl MFC after: 3 days Revision Changes Path 1.9 +9 -0 src/sys/dev/sound/pcm/ac97_patch.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 20:30:18 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A81A16A421; Tue, 5 Jun 2007 20:30:18 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5821C13C44C; Tue, 5 Jun 2007 20:30:18 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55KUIN5084874; Tue, 5 Jun 2007 20:30:18 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55KUHiS084861; Tue, 5 Jun 2007 20:30:17 GMT (envelope-from ariff) Message-Id: <200706052030.l55KUHiS084861@repoman.freebsd.org> From: Ariff Abdullah Date: Tue, 5 Jun 2007 20:30: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/sound/pcm ac97.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 20:30:18 -0000 ariff 2007-06-05 20:30:17 UTC FreeBSD src repository Modified files: sys/dev/sound/pcm ac97.c Log: - Do triple reads on reset register to detect read register bug. 2 reads seems not enough to verify its consistencies. - Define AC97_MIXER_SIZE as SOUND_MIXER_NRDEVICES (25), since we don't need more than that. Stop doing wild and random guess about its size since we're stricly bound to it. Revision Changes Path 1.72 +15 -12 src/sys/dev/sound/pcm/ac97.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 20:45:11 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E59AD16A41F; Tue, 5 Jun 2007 20:45:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C39D813C448; Tue, 5 Jun 2007 20:45:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55KjB5U098207; Tue, 5 Jun 2007 20:45:11 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55KjBGZ098187; Tue, 5 Jun 2007 20:45:11 GMT (envelope-from imp) Message-Id: <200706052045.l55KjBGZ098187@repoman.freebsd.org> From: Warner Losh Date: Tue, 5 Jun 2007 20:45: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/share/man/man9 condvar.9 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 20:45:12 -0000 imp 2007-06-05 20:45:10 UTC FreeBSD src repository Modified files: share/man/man9 condvar.9 Log: Add note about condvars not working with spin locks. Revision Changes Path 1.20 +6 -0 src/share/man/man9/condvar.9 From owner-cvs-src@FreeBSD.ORG Tue Jun 5 20:53:19 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B055C16A400; Tue, 5 Jun 2007 20:53:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8E65A13C4DE; Tue, 5 Jun 2007 20:53:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55KrJTT013573; Tue, 5 Jun 2007 20:53:19 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55KrJSU013566; Tue, 5 Jun 2007 20:53:19 GMT (envelope-from imp) Message-Id: <200706052053.l55KrJSU013566@repoman.freebsd.org> From: Warner Losh Date: Tue, 5 Jun 2007 20:53:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man9 condvar.9 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 20:53:19 -0000 imp 2007-06-05 20:53:18 UTC FreeBSD src repository Modified files: share/man/man9 condvar.9 Log: bump date for 1.20 Revision Changes Path 1.21 +1 -1 src/share/man/man9/condvar.9 From owner-cvs-src@FreeBSD.ORG Tue Jun 5 21:02:20 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 346C916A473; Tue, 5 Jun 2007 21:02:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id BDDAC13C46E; Tue, 5 Jun 2007 21:02:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l55L2FSk030857; Tue, 5 Jun 2007 17:02:17 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Jeff Roberson Date: Tue, 5 Jun 2007 16:41:50 -0400 User-Agent: KMail/1.9.6 References: <200705202203.l4KM3wbj020656@repoman.freebsd.org> In-Reply-To: <200705202203.l4KM3wbj020656@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706051641.50876.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]); Tue, 05 Jun 2007 17:02:18 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3363/Tue Jun 5 13:58:45 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/compat/ndis kern_windrv.c src/sys/i386/i386 machdep.c mp_machdep.c sys_machdep.c vm_machdep.c src/sys/i386/include proc.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, 05 Jun 2007 21:02:20 -0000 On Sunday 20 May 2007 06:03:57 pm Jeff Roberson wrote: > jeff 2007-05-20 22:03:57 UTC > > FreeBSD src repository > > Modified files: > sys/compat/ndis kern_windrv.c > sys/i386/i386 machdep.c mp_machdep.c sys_machdep.c > vm_machdep.c > sys/i386/include proc.h > Log: > - Move GDT/LDT locking into a seperate spinlock, removing the global > scheduler lock from this responsibility. > > Contributed by: Attilio Rao > Tested by: jeff, kkenn > > Revision Changes Path > 1.279 +0 -2 src/sys/i386/i386/mp_machdep.c This change has nothing to do with GDT/LDT locking. It's purpose was to keep the APs from entering the scheduler until all the CPUs were up and running. However, the looping on smp_started is probably sufficient. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Tue Jun 5 21:06:17 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D68CE16A41F; Tue, 5 Jun 2007 21:06:17 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B4AE613C4AE; Tue, 5 Jun 2007 21:06:17 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55L6HaG024060; Tue, 5 Jun 2007 21:06:17 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55L6HB2024056; Tue, 5 Jun 2007 21:06:17 GMT (envelope-from imp) Message-Id: <200706052106.l55L6HB2024056@repoman.freebsd.org> From: Warner Losh Date: Tue, 5 Jun 2007 21:06: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/usb uftdi.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: Tue, 05 Jun 2007 21:06:17 -0000 imp 2007-06-05 21:06:17 UTC FreeBSD src repository Modified files: sys/dev/usb uftdi.c usbdevs Log: Add more IDs for the uftdi driver. Slight tweaks to patch by me. Submitted by: Thorsten Trampisch PR: 113384 Revision Changes Path 1.26 +11 -1 src/sys/dev/usb/uftdi.c 1.296 +6 -0 src/sys/dev/usb/usbdevs From owner-cvs-src@FreeBSD.ORG Tue Jun 5 21:27:23 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2778A16A421; Tue, 5 Jun 2007 21:27:23 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 05B8513C487; Tue, 5 Jun 2007 21:27:23 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55LRMi9040663; Tue, 5 Jun 2007 21:27:22 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55LRMIT040656; Tue, 5 Jun 2007 21:27:22 GMT (envelope-from scottl) Message-Id: <200706052127.l55LRMIT040656@repoman.freebsd.org> From: Scott Long Date: Tue, 5 Jun 2007 21:27:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/mfi mfi.c mfi_cam.c mfireg.h mfivar.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, 05 Jun 2007 21:27:23 -0000 scottl 2007-06-05 21:27:22 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mfi mfi.c mfireg.h mfivar.h Added files: (Branch: RELENG_6) sys/dev/mfi mfi_cam.c Log: Add the CAM passthrough driver for MFI Revision Changes Path 1.3.2.6 +12 -2 src/sys/dev/mfi/mfi.c 1.1.2.1 +366 -0 src/sys/dev/mfi/mfi_cam.c (new) 1.1.2.5 +6 -0 src/sys/dev/mfi/mfireg.h 1.1.2.5 +6 -0 src/sys/dev/mfi/mfivar.h From owner-cvs-src@FreeBSD.ORG Tue Jun 5 21:31:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D130416A474; Tue, 5 Jun 2007 21:31:12 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AED6F13C489; Tue, 5 Jun 2007 21:31:12 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55LVCor044169; Tue, 5 Jun 2007 21:31:12 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55LVCOC044164; Tue, 5 Jun 2007 21:31:12 GMT (envelope-from scottl) Message-Id: <200706052131.l55LVCOC044164@repoman.freebsd.org> From: Scott Long Date: Tue, 5 Jun 2007 21:31:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/conf NOTES files src/sys/modules/mfi Makefile src/sys/modules/mfi/mfip Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 21:31:12 -0000 scottl 2007-06-05 21:31:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/conf files NOTES sys/modules/mfi Makefile Added files: (Branch: RELENG_6) sys/modules/mfi/mfip Makefile Log: Add build glue for the mfip driver. Revision Changes Path 1.1325.2.33 +1 -0 src/sys/conf/NOTES 1.1031.2.62 +1 -0 src/sys/conf/files 1.1.2.4 +3 -1 src/sys/modules/mfi/Makefile 1.1.2.1 +10 -0 src/sys/modules/mfi/mfip/Makefile (new) From owner-cvs-src@FreeBSD.ORG Tue Jun 5 21:32:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A86F16A400; Tue, 5 Jun 2007 21:32:58 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 209F213C448; Tue, 5 Jun 2007 21:32:58 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55LWvXa046151; Tue, 5 Jun 2007 21:32:57 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55LWvip046149; Tue, 5 Jun 2007 21:32:57 GMT (envelope-from scottl) Message-Id: <200706052132.l55LWvip046149@repoman.freebsd.org> From: Scott Long Date: Tue, 5 Jun 2007 21:32:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c src/sys/dev/mpt/mpilib mpi.h mpi_cnfg.h mpi_init.h mpi_ioc.h mpi_log_fc.h mpi_log_sas.h mpi_raid.h mpi_sas.h mpi_targ.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, 05 Jun 2007 21:32:58 -0000 scottl 2007-06-05 21:32:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mpt mpt.c mpt.h mpt_cam.c sys/dev/mpt/mpilib mpi.h mpi_cnfg.h mpi_init.h mpi_ioc.h mpi_raid.h mpi_sas.h mpi_targ.h Removed files: (Branch: RELENG_6) sys/dev/mpt/mpilib mpi_log_fc.h mpi_log_sas.h Log: MFC: MPI 1.5.16, SAS topology scan, SATA WC enable tunable Revision Changes Path 1.6.2.2 +33 -30 src/sys/dev/mpt/mpilib/mpi.h 1.6.2.2 +285 -51 src/sys/dev/mpt/mpilib/mpi_cnfg.h 1.6.2.2 +11 -2 src/sys/dev/mpt/mpilib/mpi_init.h 1.6.2.2 +229 -59 src/sys/dev/mpt/mpilib/mpi_ioc.h 1.1.2.2 +0 -117 src/sys/dev/mpt/mpilib/mpi_log_fc.h (dead) 1.1.2.2 +0 -181 src/sys/dev/mpt/mpilib/mpi_log_sas.h (dead) 1.6.2.2 +9 -3 src/sys/dev/mpt/mpilib/mpi_raid.h 1.2.2.2 +19 -10 src/sys/dev/mpt/mpilib/mpi_sas.h 1.5.2.2 +3 -3 src/sys/dev/mpt/mpilib/mpi_targ.h 1.12.2.6 +155 -30 src/sys/dev/mpt/mpt.c 1.6.2.7 +55 -3 src/sys/dev/mpt/mpt.h 1.1.2.11 +309 -0 src/sys/dev/mpt/mpt_cam.c From owner-cvs-src@FreeBSD.ORG Tue Jun 5 22:15:41 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 705C416A41F; Tue, 5 Jun 2007 22:15:41 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8EC13C44B; Tue, 5 Jun 2007 22:15:41 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55MFfTW091125; Tue, 5 Jun 2007 22:15:41 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55MFfUE091103; Tue, 5 Jun 2007 22:15:41 GMT (envelope-from dougb) Message-Id: <200706052215.l55MFfUE091103@repoman.freebsd.org> From: Doug Barton Date: Tue, 5 Jun 2007 22:15:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: FreeBSD Cc: Subject: cvs commit: src/contrib/bind9 - 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: Tue, 05 Jun 2007 22:15:41 -0000 dougb 2007-06-05 22:15:39 UTC FreeBSD src repository src/contrib/bind9 - Imported sources Update of /home/ncvs/src/contrib/bind9 In directory repoman.freebsd.org:/tmp/cvs-serv86005 Log Message: Add a custom atomic.h file which implements the C versions of the code we already have assembly versions of. Written by: imp Status: Vendor Tag: FreeBSD Release Tags: BIND_9_4_1 N src/contrib/bind9/lib/isc/arm/include/isc/atomic.h No conflicts created by this import From owner-cvs-src@FreeBSD.ORG Tue Jun 5 22:17:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D03FC16A473; Tue, 5 Jun 2007 22:17:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AC6BF13C48C; Tue, 5 Jun 2007 22:17:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55MHGDd092901; Tue, 5 Jun 2007 22:17:16 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55MHGG7092897; Tue, 5 Jun 2007 22:17:16 GMT (envelope-from dougb) Message-Id: <200706052217.l55MHGG7092897@repoman.freebsd.org> From: Doug Barton Date: Tue, 5 Jun 2007 22:17:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/bind config.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, 05 Jun 2007 22:17:17 -0000 dougb 2007-06-05 22:17:16 UTC FreeBSD src repository Modified files: lib/bind config.mk Log: Remove the special atomic.h case for arm, and allow it to use the platform specific file that imp provided. Revision Changes Path 1.19 +0 -2 src/lib/bind/config.mk From owner-cvs-src@FreeBSD.ORG Tue Jun 5 22:17:21 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B53B116A59F; Tue, 5 Jun 2007 22:17:21 +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 B8A7013C447; Tue, 5 Jun 2007 22:17:20 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l55MEKvC048412; Tue, 5 Jun 2007 16:14:23 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 05 Jun 2007 16:14:42 -0600 (MDT) Message-Id: <20070605.161442.1723940823.imp@bsdimp.com> To: ceri@submonkey.net From: "M. Warner Losh" In-Reply-To: <20070605190601.GC1834@submonkey.net> References: <200706050544.l555ifKp014690@repoman.freebsd.org> <20070605190601.GC1834@submonkey.net> 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 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 05 Jun 2007 16:14:23 -0600 (MDT) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, delphij@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 05 Jun 2007 22:17:21 -0000 In message: <20070605190601.GC1834@submonkey.net> Ceri Davies writes: : On Tue, Jun 05, 2007 at 05:44:41AM +0000, Xin LI wrote: : > delphij 2007-06-05 05:44:41 UTC : > : > FreeBSD src repository : > : > Modified files: : > usr.sbin/sysinstall installUpgrade.c : > Log: : > Write to slice name instead of directly to the disk device. : > This fixes writing boot code upon upgrade. : : > | @@ -363,7 +363,7 @@ media: : > | } : > | : > | if (extractingBin) : > | - vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 3)}' /etc/fstab`"); : > | + vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 5)}' /etc/fstab`"); : > | msgNotify("First stage of upgrade completed successfully!\n\n" : > | "Next comes stage 2, where we attempt to resurrect your /etc\n" : > | "directory!"); : : Well it doesn't fix anything actually; what if my root partition is ad12s2a ? : (which is not contrived; it is). : : We actually need something more like: : : vsystem("disklabel -B `awk \ : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ && \ : $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' /etc/fstab`"); : : where the regex is built from every device name in device_names (which : even then doesn't cater for GEOM where devices might be called : anything). This is something that would require a build tool, which is : why I haven't done it yet. "mmcsd" is also a disk. Warner From owner-cvs-src@FreeBSD.ORG Tue Jun 5 22:54:02 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9515E16A400; Tue, 5 Jun 2007 22:54:02 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 75C9813C457; Tue, 5 Jun 2007 22:54:02 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l55Ms2KU029960; Tue, 5 Jun 2007 22:54:02 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l55Ms2V3029954; Tue, 5 Jun 2007 22:54:02 GMT (envelope-from scottl) Message-Id: <200706052254.l55Ms2V3029954@repoman.freebsd.org> From: Scott Long Date: Tue, 5 Jun 2007 22:54: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/sys/modules/mfi Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 22:54:02 -0000 scottl 2007-06-05 22:54:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/modules/mfi Makefile Log: Fix last-minute typo. Revision Changes Path 1.1.2.5 +1 -1 src/sys/modules/mfi/Makefile From owner-cvs-src@FreeBSD.ORG Wed Jun 6 00:03:41 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB21F16A468; Wed, 6 Jun 2007 00:03:41 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 495BE13C487; Wed, 6 Jun 2007 00:03:41 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-235-248.carlnfd3.nsw.optusnet.com.au (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l5603Z0T018975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 10:03:39 +1000 Date: Wed, 6 Jun 2007 10:03:37 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: John Baldwin In-Reply-To: <200706051230.21242.jhb@freebsd.org> Message-ID: <20070606094354.E51708@delplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Attilio Rao , Bruce Evans , Kostik Belousov Subject: Re: 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, 06 Jun 2007 00:03:41 -0000 On Tue, 5 Jun 2007, John Baldwin wrote: > On Tuesday 05 June 2007 11:43:03 am Attilio Rao wrote: >> 2007/6/5, Attilio Rao : >>> 2007/6/5, Bruce Evans : >>>> >>>> I get a "spin lock held too long" panic during (an interrupt in?) acpi >>>> initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried >>>> other cases. >>> >>> Do you have a backtrace or any other debugging stuffs available? No, it's on a laptop with no i/o :-). >> Mmm, I think I got the bug. >> basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive >> case what happens at some point is: >> >> td = curthread; >> if (td->td_critnest > 0 || td1->td_priority >= td->td_priority) >> return; >> ... > If this is the old #ifndef PREEMPTION manual preemption stuff, then just > remove it. I've been wanting to axe it for a while, rwlocks don't do the > manual preemption either, and if it is getting in the way it's best to just > purge it. Interesting, I've been wanting to do the opposite -- axe the #ifdef PREEMPTION in a different place, in pagezero, since non-manual preemption doesn't actually work for SCHED_4BSD (it works for SCHED_ULE, but last time I checked, SCHED_ULE was 7% slower for my makeworld benchmark since it lets CPUs go idle when there is a runnable process in the hope of a better CPU to run on becoming available). My SMP kernel that crashes has this ifdef removed. However, the crash doesn't seem to be caused by pgzero. Removing the manual preemption stuff in kern_mutex.c wouldn't affect pgzero but might affect operation of the !PREEMPTION case for better or worse. I only use !PREEMPTION on SMP. With only 1 CPU, something like PREEMPTION is needed to get interrupts serviced as soon as possible, which is the only reason that I want to preempt things, but with > 1 CPU there is a good chance of a CPU being idle or going near the scheduler soon and thus being scheduled to run interrupt handler(s) soon. The chance increases with the number of CPUs. !PREEMPTION works well in practice with only 2 CPUs (no noticeable interrupt latency), at least with manual preemption in kern_mutex.c. Bruce From owner-cvs-src@FreeBSD.ORG Wed Jun 6 00:40:42 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E514016A46C; Wed, 6 Jun 2007 00:40:42 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C765713C483; Wed, 6 Jun 2007 00:40:42 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l560egXS033996; Wed, 6 Jun 2007 00:40:42 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l560eghP033992; Wed, 6 Jun 2007 00:40:42 GMT (envelope-from rrs) Message-Id: <200706060040.l560eghP033992@repoman.freebsd.org> From: Randall Stewart Date: Wed, 6 Jun 2007 00:40: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/netinet sctp_sysctl.c sctputil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 00:40:43 -0000 rrs 2007-06-06 00:40:42 UTC FreeBSD src repository Modified files: sys/netinet sctp_sysctl.c sctputil.c Log: - Fixes a case where doing a sysctl would leave locks held when coping out association data. - Fixes a small bug that prevented the SCTP_UNORDERED indication from going up to the app on a recv in the sinfo_flags field. Revision Changes Path 1.9 +10 -1 src/sys/netinet/sctp_sysctl.c 1.37 +3 -0 src/sys/netinet/sctputil.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 00:49:24 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B392716A421; Wed, 6 Jun 2007 00:49:24 +0000 (UTC) (envelope-from brde@optusnet.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 3CD5713C468; Wed, 6 Jun 2007 00:49:23 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-235-248.carlnfd3.nsw.optusnet.com.au (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l560nFSp016024 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 10:49:22 +1000 Date: Wed, 6 Jun 2007 10:49:17 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Jeff Roberson In-Reply-To: <200706050412.l554CkdC019916@repoman.freebsd.org> Message-ID: <20070606104316.U51903@delplex.bde.org> References: <200706050412.l554CkdC019916@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 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: Wed, 06 Jun 2007 00:49:24 -0000 On Tue, 5 Jun 2007, Jeff Roberson wrote: > jeff 2007-06-05 04:12:46 UTC > > FreeBSD src repository > > Modified files: > sys/kern sched_4bsd.c sched_ule.c > Log: > - Better fix for previous error; use DEVOLATILE on the td_lock pointer > it can actually sometimes be something other than sched_lock even on > schedulers which rely on a global scheduler lock. > > Tested by: kan In another reply, I wrote: >> Should know better than to use __DECONST: C programmers. Should know that using __DEVOLATILE is 100 times worse than using __DECONST: C programmers. Bruce From owner-cvs-src@FreeBSD.ORG Wed Jun 6 00:59:20 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E045D16A41F; Wed, 6 Jun 2007 00:59:20 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C2EE913C448; Wed, 6 Jun 2007 00:59:20 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l560xKpG058458; Wed, 6 Jun 2007 00:59:20 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l560xKoV058454; Wed, 6 Jun 2007 00:59:20 GMT (envelope-from thompsa) Message-Id: <200706060059.l560xKoV058454@repoman.freebsd.org> From: Andrew Thompson Date: Wed, 6 Jun 2007 00:59: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/net if_bridge.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 00:59:21 -0000 thompsa 2007-06-06 00:59:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if_bridge.c Log: MFC r1.99 Remove a KASSERT intended to help the developer, the condition is no longer valid since the span code was added. Revision Changes Path 1.11.2.50 +2 -0 src/sys/net/if_bridge.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 01:25:51 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.ORG Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B96A16A400; Wed, 6 Jun 2007 01:25:51 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 3443213C483; Wed, 6 Jun 2007 01:25:51 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 39D4BEB719E; Wed, 6 Jun 2007 09:25:50 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id J9tUD8IOigfJ; Wed, 6 Jun 2007 09:25:44 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id E0E35EB091C; Wed, 6 Jun 2007 09:25:41 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=uEdL1sJkUU6W5fN3hf1p8zR7iJJ4nnm3XMX4+/rbn/58t7haN+47GBwp41ecGhW7h b70WYSEQ2cMsS7bO57tbQ== Message-ID: <46660D12.4050600@delphij.net> Date: Wed, 06 Jun 2007 09:25:38 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: "M. Warner Losh" References: <200706050544.l555ifKp014690@repoman.freebsd.org> <20070605190601.GC1834@submonkey.net> <20070605.161442.1723940823.imp@bsdimp.com> In-Reply-To: <20070605.161442.1723940823.imp@bsdimp.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig8A13177FB9A260F6DA651FB0" Cc: cvs-src@FreeBSD.ORG, ceri@submonkey.net, delphij@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 01:25:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A13177FB9A260F6DA651FB0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, What about: %%% vsystem("disklabel -B `awk $2~/\\/$/ {print substr($1, 6, length($1)-6)} /etc/fstab`); %%% Well, I admit that replacing a piece of non-working code with a workaround is not generally a good idea, but I did not found a perfect solution yet, and it does not make us any good to leave an installer bug as is if the old code does not work at all :-) This is still not perfect (does not work on a root slice, for instance), but it would cover more cases and does not need yet another generator. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig8A13177FB9A260F6DA651FB0 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 iD8DBQFGZg0SOfuToMruuMARCvSRAKCAXBe7BtnRcCoTxPr2BYPEgTp1DQCgieJn 97DA5Qddmijo4anCP8RwG7g= =ItVo -----END PGP SIGNATURE----- --------------enig8A13177FB9A260F6DA651FB0-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 02:11:17 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E7A716A469; Wed, 6 Jun 2007 02:11: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 0893413C43E; Wed, 6 Jun 2007 02:11:16 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp158-41.lns11.adl6.internode.on.net [121.45.158.41]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l562B8Xn049041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 11:41:09 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: cvs-all@freebsd.org Date: Wed, 6 Jun 2007 11:40:10 +0930 User-Agent: KMail/1.9.5 References: <200706050544.l555ifKp014690@repoman.freebsd.org> <20070605190601.GC1834@submonkey.net> <20070605.161442.1723940823.imp@bsdimp.com> In-Reply-To: <20070605.161442.1723940823.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1610606.scctDnt8Tt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706061141.04765.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: delphij@freebsd.org, cvs-src@freebsd.org, ceri@submonkey.net, src-committers@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 02:11:17 -0000 --nextPart1610606.scctDnt8Tt Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 June 2007 07:44, M. Warner Losh wrote: > : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ && > : \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' > : /etc/fstab`"); > : > : where the regex is built from every device name in device_names > : (which even then doesn't cater for GEOM where devices might be > : called anything). This is something that would require a build > : tool, which is why I haven't done it yet. > > "mmcsd" is also a disk. Why not iterate over the output of sysctl -n kern.disks? I'd offer a diff but my awk-fu is weak :) =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 --nextPart1610606.scctDnt8Tt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGZhe45ZPcIHs/zowRAjcfAKCh4gdlrdZTSFedb+3YwIpAzqJ62gCgmB2U B0fIKkd2bnmh6zseDlEXqAM= =hfKE -----END PGP SIGNATURE----- --nextPart1610606.scctDnt8Tt-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 02:23:04 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E507A16A400; Wed, 6 Jun 2007 02:23:04 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id DB8D713C44B; Wed, 6 Jun 2007 02:23:04 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l562N4TN036692; Wed, 6 Jun 2007 02:23:04 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l562N4C7036688; Wed, 6 Jun 2007 02:23:04 GMT (envelope-from rafan) Message-Id: <200706060223.l562N4C7036688@repoman.freebsd.org> From: Rong-En Fan Date: Wed, 6 Jun 2007 02:23: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/contrib/nvi/cl cl_screen.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 02:23:05 -0000 rafan 2007-06-06 02:23:04 UTC FreeBSD src repository Modified files: contrib/nvi/cl cl_screen.c Log: - Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missing header , which is required by both tputs() and tgoto(). Without this header, nvi crashes with the call to tputs() at line 114. This is because the first argument of tputs() is a pointer, and the returned pointer from tgoto() is casted to an integer by compiler. For some reasons, this only crashes on amd64+CURRENT. On 6.x system, this does not happen. PR: 101248 Reported by: yar, infofarmer, Roland Smith Tested by: infofarmer, delphij, rafan Approved by: delphij (mentor) Revision Changes Path 1.3 +1 -0 src/contrib/nvi/cl/cl_screen.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 02:51:54 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 993EF16A41F; Wed, 6 Jun 2007 02:51:54 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 75BD513C45B; Wed, 6 Jun 2007 02:51:54 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l562ps12063277; Wed, 6 Jun 2007 02:51:54 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l562psAW063276; Wed, 6 Jun 2007 02:51:54 GMT (envelope-from delphij) Message-Id: <200706060251.l562psAW063276@repoman.freebsd.org> From: Xin LI Date: Wed, 6 Jun 2007 02:51: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/gzip gzip.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, 06 Jun 2007 02:51:54 -0000 delphij 2007-06-06 02:51:54 UTC FreeBSD src repository Modified files: usr.bin/gzip gzip.1 Log: Mention 'k' option of gunzip. Pointed out by: ighighi gmail.com Revision Changes Path 1.4 +2 -2 src/usr.bin/gzip/gzip.1 From owner-cvs-src@FreeBSD.ORG Wed Jun 6 03:01:10 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E615F16A421; Wed, 6 Jun 2007 03:01:10 +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 88B1113C469; Wed, 6 Jun 2007 03:01:10 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l56317sf096831 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 5 Jun 2007 23:01:08 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 5 Jun 2007 20:00:51 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Bruce Evans In-Reply-To: <20070606094354.E51708@delplex.bde.org> Message-ID: <20070605195839.I606@10.0.0.1> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> <20070606094354.E51708@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@FreeBSD.org, John Baldwin , cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Attilio Rao , Kostik Belousov Subject: Re: 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, 06 Jun 2007 03:01:11 -0000 On Wed, 6 Jun 2007, Bruce Evans wrote: > On Tue, 5 Jun 2007, John Baldwin wrote: > >> On Tuesday 05 June 2007 11:43:03 am Attilio Rao wrote: >>> 2007/6/5, Attilio Rao : >>>> 2007/6/5, Bruce Evans : >>>>> >>>>> I get a "spin lock held too long" panic during (an interrupt in?) acpi >>>>> initialization on booting non-PREEMPTION SCHED_4BSD SMP. Haven't tried >>>>> other cases. >>>> >>>> Do you have a backtrace or any other debugging stuffs available? > > No, it's on a laptop with no i/o :-). > >>> Mmm, I think I got the bug. >>> basically, in kern_mutex.c::_mtx_unlock_sleep(), in the not-preemptive >>> case what happens at some point is: >>> >>> td = curthread; >>> if (td->td_critnest > 0 || td1->td_priority >= td->td_priority) >>> return; >>> ... >> If this is the old #ifndef PREEMPTION manual preemption stuff, then just >> remove it. I've been wanting to axe it for a while, rwlocks don't do the >> manual preemption either, and if it is getting in the way it's best to just >> purge it. > > Interesting, I've been wanting to do the opposite -- axe the #ifdef > PREEMPTION in a different place, in pagezero, since non-manual preemption > doesn't actually work for SCHED_4BSD (it works for SCHED_ULE, but last > time I checked, SCHED_ULE was 7% slower for my makeworld benchmark > since it lets CPUs go idle when there is a runnable process in the > hope of a better CPU to run on becoming available). My SMP kernel > that crashes has this ifdef removed. However, the crash doesn't > seem to be caused by pgzero. You should try with kern.sched.pick_pri = 0. I have changed this to be the default recently. This weakens the preemption and speeds up some workloads. Are you still experiencing a crash with -current sources? Jeff > > Removing the manual preemption stuff in kern_mutex.c wouldn't affect > pgzero but might affect operation of the !PREEMPTION case for better > or worse. I only use !PREEMPTION on SMP. With only 1 CPU, something > like PREEMPTION is needed to get interrupts serviced as soon as possible, > which is the only reason that I want to preempt things, but with > 1 > CPU there is a good chance of a CPU being idle or going near the > scheduler soon and thus being scheduled to run interrupt handler(s) > soon. The chance increases with the number of CPUs. !PREEMPTION works > well in practice with only 2 CPUs (no noticeable interrupt latency), > at least with manual preemption in kern_mutex.c. > > Bruce > From owner-cvs-src@FreeBSD.ORG Wed Jun 6 03:40:48 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21CDC16A468; Wed, 6 Jun 2007 03:40:48 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F0E4D13C455; Wed, 6 Jun 2007 03:40:47 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l563elPY002849; Wed, 6 Jun 2007 03:40:47 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l563elBN002845; Wed, 6 Jun 2007 03:40:47 GMT (envelope-from jeff) Message-Id: <200706060340.l563elBN002845@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 6 Jun 2007 03: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/kern kern_mutex.c sched_4bsd.c sched_ule.c src/sys/sys mutex.h proc.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, 06 Jun 2007 03:40:48 -0000 jeff 2007-06-06 03:40:47 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c sched_4bsd.c sched_ule.c sys/sys mutex.h proc.h Log: - Placing the 'volatile' on the right side of the * in the td_lock declaration removes the need for __DEVOLATILE(). Pointed out by: tegge Revision Changes Path 1.194 +3 -3 src/sys/kern/kern_mutex.c 1.101 +1 -1 src/sys/kern/sched_4bsd.c 1.197 +1 -1 src/sys/kern/sched_ule.c 1.97 +1 -1 src/sys/sys/mutex.h 1.480 +2 -2 src/sys/sys/proc.h From owner-cvs-src@FreeBSD.ORG Wed Jun 6 04:44:21 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17FA116A477; Wed, 6 Jun 2007 04:44:21 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E8AFC13C45A; Wed, 6 Jun 2007 04:44:20 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l564iKOS063942; Wed, 6 Jun 2007 04:44:20 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l564iKCh063926; Wed, 6 Jun 2007 04:44:20 GMT (envelope-from marcel) Message-Id: <200706060444.l564iKCh063926@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 6 Jun 2007 04:44:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 mp_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 04:44:21 -0000 marcel 2007-06-06 04:44:19 UTC FreeBSD src repository Modified files: sys/ia64/ia64 mp_machdep.c Log: Include for sched_throw(). Revision Changes Path 1.64 +1 -0 src/sys/ia64/ia64/mp_machdep.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 04:56:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BF0016A400; Wed, 6 Jun 2007 04:56:06 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1E39B13C45D; Wed, 6 Jun 2007 04:56:06 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l564u5vZ083584; Wed, 6 Jun 2007 04:56:05 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l564u5m8083577; Wed, 6 Jun 2007 04:56:05 GMT (envelope-from sam) Message-Id: <200706060456.l564u5m8083577@repoman.freebsd.org> From: Sam Leffler Date: Wed, 6 Jun 2007 04:56:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net80211 _ieee80211.h ieee80211.c ieee80211.h ieee80211_acl.c ieee80211_crypto.c ieee80211_crypto.h ieee80211_crypto_ccmp.c ieee80211_crypto_none.c ieee80211_crypto_tkip.c ieee80211_crypto_wep.c ieee80211_freebsd.c ieee80211_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: Wed, 06 Jun 2007 04:56:06 -0000 sam 2007-06-06 04:56:05 UTC FreeBSD src repository Modified files: sys/net80211 _ieee80211.h ieee80211.c ieee80211.h ieee80211_acl.c ieee80211_crypto.c ieee80211_crypto.h ieee80211_crypto_ccmp.c ieee80211_crypto_none.c ieee80211_crypto_tkip.c ieee80211_crypto_wep.c ieee80211_freebsd.c ieee80211_freebsd.h ieee80211_input.c ieee80211_ioctl.c ieee80211_ioctl.h ieee80211_node.c ieee80211_node.h ieee80211_output.c ieee80211_proto.c ieee80211_proto.h ieee80211_var.h ieee80211_xauth.c Log: copyright updates: o update to include 2007 o switch back to a 2-clause bsd-only license Reviewed by: onoe Revision Changes Path 1.9 +1 -7 src/sys/net80211/_ieee80211.h 1.38 +1 -7 src/sys/net80211/ieee80211.c 1.13 +1 -7 src/sys/net80211/ieee80211.h 1.5 +1 -7 src/sys/net80211/ieee80211_acl.c 1.15 +1 -7 src/sys/net80211/ieee80211_crypto.c 1.12 +1 -7 src/sys/net80211/ieee80211_crypto.h 1.9 +1 -7 src/sys/net80211/ieee80211_crypto_ccmp.c 1.6 +1 -7 src/sys/net80211/ieee80211_crypto_none.c 1.12 +1 -7 src/sys/net80211/ieee80211_crypto_tkip.c 1.9 +1 -7 src/sys/net80211/ieee80211_crypto_wep.c 1.14 +1 -3 src/sys/net80211/ieee80211_freebsd.c 1.12 +1 -3 src/sys/net80211/ieee80211_freebsd.h 1.109 +2 -8 src/sys/net80211/ieee80211_input.c 1.55 +1 -7 src/sys/net80211/ieee80211_ioctl.c 1.21 +1 -7 src/sys/net80211/ieee80211_ioctl.h 1.82 +1 -7 src/sys/net80211/ieee80211_node.c 1.26 +1 -7 src/sys/net80211/ieee80211_node.h 1.49 +1 -7 src/sys/net80211/ieee80211_output.c 1.37 +1 -7 src/sys/net80211/ieee80211_proto.c 1.23 +1 -7 src/sys/net80211/ieee80211_proto.h 1.49 +1 -7 src/sys/net80211/ieee80211_var.h 1.3 +1 -7 src/sys/net80211/ieee80211_xauth.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 05:01:42 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9CE116A400; Wed, 6 Jun 2007 05:01:42 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A6C1F13C43E; Wed, 6 Jun 2007 05:01:42 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5651g5C088228; Wed, 6 Jun 2007 05:01:42 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5651gBE088208; Wed, 6 Jun 2007 05:01:42 GMT (envelope-from marcel) Message-Id: <200706060501.l5651gBE088208@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 6 Jun 2007 05:01: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/geom/part g_part.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 05:01:42 -0000 marcel 2007-06-06 05:01:41 UTC FreeBSD src repository Modified files: sys/geom/part g_part.c Log: Call sbuf_finish() before sbuf_data() and sbuf_len(). Revision Changes Path 1.8 +5 -0 src/sys/geom/part/g_part.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 05:06:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2338A16A469; Wed, 6 Jun 2007 05:06:16 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F416A13C465; Wed, 6 Jun 2007 05:06:15 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5656Fn2093293; Wed, 6 Jun 2007 05:06:15 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5656FOh093286; Wed, 6 Jun 2007 05:06:15 GMT (envelope-from marcel) Message-Id: <200706060506.l5656FOh093286@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 6 Jun 2007 05:06:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/geom/part g_part_apm.c g_part_gpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 05:06:16 -0000 marcel 2007-06-06 05:06:15 UTC FreeBSD src repository Modified files: sys/geom/part g_part_apm.c g_part_gpt.c Log: Prefix unknown (i.e. un-aliased) partition types with '!'. This is how they had to be given with ctlreq. Revision Changes Path 1.3 +4 -3 src/sys/geom/part/g_part_apm.c 1.3 +2 -1 src/sys/geom/part/g_part_gpt.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 06:01:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 075B616A46B; Wed, 6 Jun 2007 06:01:57 +0000 (UTC) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D7BDD13C458; Wed, 6 Jun 2007 06:01:56 +0000 (UTC) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5661uOA040307; Wed, 6 Jun 2007 06:01:56 GMT (envelope-from grehan@repoman.freebsd.org) Received: (from grehan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5661u3k040306; Wed, 6 Jun 2007 06:01:56 GMT (envelope-from grehan) Message-Id: <200706060601.l5661u3k040306@repoman.freebsd.org> From: Peter Grehan Date: Wed, 6 Jun 2007 06:01: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/powerpc/powerpc vm_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 06:01:57 -0000 grehan 2007-06-06 06:01:56 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc vm_machdep.c Log: Fix the compile. Band-aid until it is worked out how to use the context switch api on ppc. Revision Changes Path 1.115 +1 -1 src/sys/powerpc/powerpc/vm_machdep.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 06:28:13 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18F4816A46C; Wed, 6 Jun 2007 06:28:13 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by mx1.freebsd.org (Postfix) with ESMTP id A3C5913C48C; Wed, 6 Jun 2007 06:28:12 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail04.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l566Rx7B021999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 16:28:02 +1000 Date: Wed, 6 Jun 2007 16:28:01 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Jeff Roberson In-Reply-To: <20070605195839.I606@10.0.0.1> Message-ID: <20070606154548.F3105@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> <20070606094354.E51708@delplex.bde.org> <20070605195839.I606@10.0.0.1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, John Baldwin , cvs-src@freebsd.org, cvs-all@freebsd.org, Attilio Rao , Bruce Evans , Kostik Belousov Subject: Re: 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, 06 Jun 2007 06:28:13 -0000 On Tue, 5 Jun 2007, Jeff Roberson wrote: > On Wed, 6 Jun 2007, Bruce Evans wrote: > >> On Tue, 5 Jun 2007, John Baldwin wrote: >>> If this is the old #ifndef PREEMPTION manual preemption stuff, then just >>> remove it. I've been wanting to axe it for a while, rwlocks don't do the >>> manual preemption either, and if it is getting in the way it's best to >>> just >>> purge it. >> >> Interesting, I've been wanting to do the opposite -- axe the #ifdef >> PREEMPTION in a different place, in pagezero, since non-manual preemption >> doesn't actually work for SCHED_4BSD (it works for SCHED_ULE, but last >> time I checked, SCHED_ULE was 7% slower for my makeworld benchmark >> since it lets CPUs go idle when there is a runnable process in the >> hope of a better CPU to run on becoming available). My SMP kernel >> that crashes has this ifdef removed. However, the crash doesn't >> seem to be caused by pgzero. > > You should try with kern.sched.pick_pri = 0. I have changed this to be the > default recently. This weakens the preemption and speeds up some workloads. I haven't tried a new SCHED_ULE kernel yet. > Are you still experiencing a crash with -current sources? It works now. Performance for compiling in parallel is down a little. A bit over 2% relative to my best ever makeworld time which was with a June 4 kernel. This seems to have something to do with the preemption without PREEMPTION being too weak now. Bruce From owner-cvs-src@FreeBSD.ORG Wed Jun 6 06:30:49 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6121E16A400; Wed, 6 Jun 2007 06:30:49 +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 DFF3B13C45A; Wed, 6 Jun 2007 06:30:48 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l566UkxE072646; Wed, 6 Jun 2007 10:30:46 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Wed, 6 Jun 2007 10:30:46 +0400 (MSD) From: Dmitry Morozovsky To: "Daniel O'Connor" In-Reply-To: <200706061141.04765.doconnor@gsoft.com.au> Message-ID: <20070606103028.B72470@woozle.rinet.ru> References: <200706050544.l555ifKp014690@repoman.freebsd.org> <20070605190601.GC1834@submonkey.net> <20070605.161442.1723940823.imp@bsdimp.com> <200706061141.04765.doconnor@gsoft.com.au> 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]); Wed, 06 Jun 2007 10:30:47 +0400 (MSD) Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, delphij@freebsd.org, ceri@submonkey.net, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 06:30:49 -0000 On Wed, 6 Jun 2007, Daniel O'Connor wrote: DO> On Wednesday 06 June 2007 07:44, M. Warner Losh wrote: DO> > : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ && DO> > : \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' DO> > : /etc/fstab`"); DO> > : DO> > : where the regex is built from every device name in device_names DO> > : (which even then doesn't cater for GEOM where devices might be DO> > : called anything). This is something that would require a build DO> > : tool, which is why I haven't done it yet. DO> > DO> > "mmcsd" is also a disk. DO> DO> Why not iterate over the output of sysctl -n kern.disks? DO> I'd offer a diff but my awk-fu is weak :) geom classes will be missed then. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-cvs-src@FreeBSD.ORG Wed Jun 6 06:53:41 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB2C516A41F; Wed, 6 Jun 2007 06:53:41 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 867E113C46A; Wed, 6 Jun 2007 06:53:41 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l566rfik091479; Wed, 6 Jun 2007 06:53:41 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l566rfka091468; Wed, 6 Jun 2007 06:53:41 GMT (envelope-from yongari) Message-Id: <200706060653.l566rfka091468@repoman.freebsd.org> From: Pyun YongHyeon Date: Wed, 6 Jun 2007 06:53:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii miidevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 06:53:41 -0000 yongari 2007-06-06 06:53:40 UTC FreeBSD src repository Modified files: sys/dev/mii miidevs Log: Add OUI for Vitesse Semiconductor. Add Vitesse VSC8601 PHY. Revision Changes Path 1.43 +2 -0 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Wed Jun 6 06:55:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6526E16A421; Wed, 6 Jun 2007 06:55:50 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 400D613C469; Wed, 6 Jun 2007 06:55:50 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l566topO093611; Wed, 6 Jun 2007 06:55:50 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l566tov9093607; Wed, 6 Jun 2007 06:55:50 GMT (envelope-from yongari) Message-Id: <200706060655.l566tov9093607@repoman.freebsd.org> From: Pyun YongHyeon Date: Wed, 6 Jun 2007 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/sys/dev/mii ciphy.c ciphyreg.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, 06 Jun 2007 06:55:50 -0000 yongari 2007-06-06 06:55:49 UTC FreeBSD src repository Modified files: sys/dev/mii ciphy.c ciphyreg.h Log: Add support Vitesse VSC8601 PHY that is found on nVidia network adapters. Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp > Tested by: Yuri Pankov < yuri.pankov AT gmail DOT com>, Rainer Hurling Revision Changes Path 1.9 +20 -0 src/sys/dev/mii/ciphy.c 1.3 +10 -0 src/sys/dev/mii/ciphyreg.h From owner-cvs-src@FreeBSD.ORG Wed Jun 6 06:57:32 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 13D1A16A46D; Wed, 6 Jun 2007 06:57:32 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id A224413C468; Wed, 6 Jun 2007 06:57:31 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 19E0A17380; Wed, 6 Jun 2007 06:57:30 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l566vVn3071023; Wed, 6 Jun 2007 06:57:32 GMT (envelope-from phk@critter.freebsd.dk) To: "Daniel O'Connor" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 06 Jun 2007 11:40:10 +0930." <200706061141.04765.doconnor@gsoft.com.au> Date: Wed, 06 Jun 2007 06:57:31 +0000 Message-ID: <71022.1181113051@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, delphij@freebsd.org, ceri@submonkey.net, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 06:57:32 -0000 In message <200706061141.04765.doconnor@gsoft.com.au>, "Daniel O'Connor" writes : >On Wednesday 06 June 2007 07:44, M. Warner Losh wrote: >> : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ && >> : \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' >> : /etc/fstab`"); >> : >> : where the regex is built from every device name in device_names >> : (which even then doesn't cater for GEOM where devices might be >> : called anything). This is something that would require a build >> : tool, which is why I haven't done it yet. >> >> "mmcsd" is also a disk. > >Why not iterate over the output of sysctl -n kern.disks? Wrong answer. Right answer: Why not read it from sysctl kern.geom.confxml -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:05:11 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B62C016A4F3; Wed, 6 Jun 2007 07:05:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2462E13C448; Wed, 6 Jun 2007 07:05:04 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l567541g002912; Wed, 6 Jun 2007 07:05:04 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56753Dn002901; Wed, 6 Jun 2007 07:05:03 GMT (envelope-from yongari) Message-Id: <200706060705.l56753Dn002901@repoman.freebsd.org> From: Pyun YongHyeon Date: Wed, 6 Jun 2007 07: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/dev/mii miidevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 07:05:11 -0000 yongari 2007-06-06 07:05:02 UTC FreeBSD src repository Modified files: sys/dev/mii miidevs Log: Add IC Plus IP101 PHY Revision Changes Path 1.44 +1 -0 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:07:23 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8A3816A46E; Wed, 6 Jun 2007 07:07:23 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BADF213C48A; Wed, 6 Jun 2007 07:07:23 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5677N55004851; Wed, 6 Jun 2007 07:07:23 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5677NZk004850; Wed, 6 Jun 2007 07:07:23 GMT (envelope-from yongari) Message-Id: <200706060707.l5677NZk004850@repoman.freebsd.org> From: Pyun YongHyeon Date: Wed, 6 Jun 2007 07:07:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii rlphy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 07:07:24 -0000 yongari 2007-06-06 07:07:23 UTC FreeBSD src repository Modified files: sys/dev/mii rlphy.c Log: Add support IC Plus IP101 10/100 PHY that is found on nVidia network adapters. Submitted by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp > Revision Changes Path 1.31 +1 -0 src/sys/dev/mii/rlphy.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:35:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 971AA16A400; Wed, 6 Jun 2007 07:35:08 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8901B13C468; Wed, 6 Jun 2007 07:35:08 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l567Z8GW029544; Wed, 6 Jun 2007 07:35:08 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l567Z85l029543; Wed, 6 Jun 2007 07:35:08 GMT (envelope-from davidxu) Message-Id: <200706060735.l567Z85l029543@repoman.freebsd.org> From: David Xu Date: Wed, 6 Jun 2007 07:35:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 cpu_switch.S genassym.c machdep.c src/sys/i386/i386 genassym.c machdep.c swtch.s src/sys/kern kern_umtx.c src/sys/sys pcpu.h umtx.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 07:35:08 -0000 davidxu 2007-06-06 07:35:08 UTC FreeBSD src repository Modified files: sys/amd64/amd64 cpu_switch.S genassym.c machdep.c sys/i386/i386 genassym.c machdep.c swtch.s sys/kern kern_umtx.c sys/sys pcpu.h umtx.h Log: Backout experimental adaptive-spin umtx code. Revision Changes Path 1.158 +0 -2 src/sys/amd64/amd64/cpu_switch.S 1.163 +0 -1 src/sys/amd64/amd64/genassym.c 1.675 +0 -1 src/sys/amd64/amd64/machdep.c 1.157 +0 -1 src/sys/i386/i386/genassym.c 1.657 +0 -1 src/sys/i386/i386/machdep.c 1.154 +0 -1 src/sys/i386/i386/swtch.s 1.61 +0 -67 src/sys/kern/kern_umtx.c 1.22 +0 -1 src/sys/sys/pcpu.h 1.29 +1 -2 src/sys/sys/umtx.h From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:38:02 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6AB316A46B; Wed, 6 Jun 2007 07:38:02 +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 5189E13C4C6; Wed, 6 Jun 2007 07:38:02 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Hvq5g-000CJm-Gf; Wed, 06 Jun 2007 08:38:00 +0100 Date: Wed, 6 Jun 2007 08:38:00 +0100 From: Ceri Davies To: "M. Warner Losh" Message-ID: <20070606073800.GD1834@submonkey.net> References: <200706050544.l555ifKp014690@repoman.freebsd.org> <20070605190601.GC1834@submonkey.net> <20070605.161442.1723940823.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline In-Reply-To: <20070605.161442.1723940823.imp@bsdimp.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.15 (2007-04-06) Sender: Ceri Davies Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, delphij@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 07:38:02 -0000 --lMM8JwqTlfDpEaS6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 05, 2007 at 04:14:42PM -0600, M. Warner Losh wrote: > In message: <20070605190601.GC1834@submonkey.net> > Ceri Davies writes: > : On Tue, Jun 05, 2007 at 05:44:41AM +0000, Xin LI wrote: > : > delphij 2007-06-05 05:44:41 UTC > : >=20 > : > FreeBSD src repository > : >=20 > : > Modified files: > : > usr.sbin/sysinstall installUpgrade.c=20 > : > Log: > : > Write to slice name instead of directly to the disk device. > : > This fixes writing boot code upon upgrade. > :=20 > : > | @@ -363,7 +363,7 @@ media: > : > | } > : > | =20 > : > | if (extractingBin) > : > | - vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 3)}' /= etc/fstab`"); > : > | + vsystem("disklabel -B `awk '$2~/\\/$/ {print substr($1, 6, 5)}' /= etc/fstab`"); > : > | msgNotify("First stage of upgrade completed successfully!\n\n" > : > | "Next comes stage 2, where we attempt to resurrect your /e= tc\n" > : > | "directory!"); > :=20 > : Well it doesn't fix anything actually; what if my root partition is ad1= 2s2a ? > : (which is not contrived; it is). > :=20 > : We actually need something more like: > :=20 > : vsystem("disklabel -B `awk \ > : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed= )/ && \ > : $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' /etc/= fstab`"); > :=20 > : where the regex is built from every device name in device_names (which > : even then doesn't cater for GEOM where devices might be called > : anything). This is something that would require a build tool, which is > : why I haven't done it yet. >=20 > "mmcsd" is also a disk. It should be added to the device_names array in sysinstall/devices.c. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --lMM8JwqTlfDpEaS6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGZmRYocfcwTS3JF8RAlt6AJ0YMmSWIJELDB9UHWsQfEKpy9XqRwCgvFDj Hdk84vg7l15UPr1ehwn2m4E= =SHiM -----END PGP SIGNATURE----- --lMM8JwqTlfDpEaS6-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:40:07 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C55A16A400; Wed, 6 Jun 2007 07:40:07 +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 E1E2A13C46C; Wed, 6 Jun 2007 07:40:06 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Hvq7e-00013c-Sb; Wed, 06 Jun 2007 08:40:02 +0100 Date: Wed, 6 Jun 2007 08:40:02 +0100 From: Ceri Davies To: Poul-Henning Kamp Message-ID: <20070606074002.GE1834@submonkey.net> References: <200706061141.04765.doconnor@gsoft.com.au> <71022.1181113051@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kvUQC+jR9YzypDnK" Content-Disposition: inline In-Reply-To: <71022.1181113051@critter.freebsd.dk> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.15 (2007-04-06) Sender: Ceri Davies Cc: src-committers@freebsd.org, Daniel O'Connor , cvs-all@freebsd.org, delphij@freebsd.org, cvs-src@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 07:40:07 -0000 --kvUQC+jR9YzypDnK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2007 at 06:57:31AM +0000, Poul-Henning Kamp wrote: > In message <200706061141.04765.doconnor@gsoft.com.au>, "Daniel O'Connor" = writes > : >=20 > >On Wednesday 06 June 2007 07:44, M. Warner Losh wrote: > >> : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ && > >> : \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' > >> : /etc/fstab`"); > >> : > >> : where the regex is built from every device name in device_names > >> : (which even then doesn't cater for GEOM where devices might be > >> : called anything). This is something that would require a build > >> : tool, which is why I haven't done it yet. > >> > >> "mmcsd" is also a disk. > > > >Why not iterate over the output of sysctl -n kern.disks? >=20 > Wrong answer. >=20 > Right answer: Why not read it from sysctl kern.geom.confxml That sounds like the right thing to do, but that sysctl returns nothing on my RELENG_6 system; why would that be? Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --kvUQC+jR9YzypDnK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGZmTSocfcwTS3JF8RAvPAAKDAlZpUgAwJWj6QJ9/hMvLKR/Kp7wCgqPVh pXc+CgpqaQRBUr4GFMxlLmY= =+uli -----END PGP SIGNATURE----- --kvUQC+jR9YzypDnK-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:42:23 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67C8716A400; Wed, 6 Jun 2007 07:42:23 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id ED1D713C4B0; Wed, 6 Jun 2007 07:42:22 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 742A91CC5A; Wed, 6 Jun 2007 19:42:21 +1200 (NZST) Date: Wed, 6 Jun 2007 19:42:21 +1200 From: Andrew Thompson To: Ceri Davies Message-ID: <20070606074221.GA25824@heff.fud.org.nz> References: <200706061141.04765.doconnor@gsoft.com.au> <71022.1181113051@critter.freebsd.dk> <20070606074002.GE1834@submonkey.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070606074002.GE1834@submonkey.net> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: src-committers@freebsd.org, Daniel O'Connor , cvs-all@freebsd.org, Poul-Henning Kamp , delphij@freebsd.org, cvs-src@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 07:42:23 -0000 On Wed, Jun 06, 2007 at 08:40:02AM +0100, Ceri Davies wrote: > On Wed, Jun 06, 2007 at 06:57:31AM +0000, Poul-Henning Kamp wrote: > > In message <200706061141.04765.doconnor@gsoft.com.au>, "Daniel O'Connor" writes > > : > > > > >On Wednesday 06 June 2007 07:44, M. Warner Losh wrote: > > >> : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ && > > >> : \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' > > >> : /etc/fstab`"); > > >> : > > >> : where the regex is built from every device name in device_names > > >> : (which even then doesn't cater for GEOM where devices might be > > >> : called anything). This is something that would require a build > > >> : tool, which is why I haven't done it yet. > > >> > > >> "mmcsd" is also a disk. > > > > > >Why not iterate over the output of sysctl -n kern.disks? > > > > Wrong answer. > > > > Right answer: Why not read it from sysctl kern.geom.confxml > > That sounds like the right thing to do, but that sysctl returns nothing > on my RELENG_6 system; why would that be? Its a binary variable sysctl -b kern.geom.confxml cheers, Andrew From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:45:13 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.ORG Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C70AB16A41F; Wed, 6 Jun 2007 07:45:13 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 90E1913C458; Wed, 6 Jun 2007 07:45:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 19711EB7BEA; Wed, 6 Jun 2007 15:45:07 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id yk2jkkmo1-U9; Wed, 6 Jun 2007 15:44:59 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 3B1E2EB7BDC; Wed, 6 Jun 2007 15:44:58 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=tzLxy7+3lM0T12bpE5M4m4jwxo+YCOnvT/VNFI9vkfkMOO5WGAspa8+CrCi6YLrCT Jtcvrmw/PqlIp/Z7QvFnQ== Message-ID: <466665F4.60709@delphij.net> Date: Wed, 06 Jun 2007 15:44:52 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Ceri Davies References: <200706061141.04765.doconnor@gsoft.com.au> <71022.1181113051@critter.freebsd.dk> <20070606074002.GE1834@submonkey.net> In-Reply-To: <20070606074002.GE1834@submonkey.net> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigBACB6C4753FF2E382552DC4D" Cc: src-committers@FreeBSD.ORG, Daniel O'Connor , cvs-all@FreeBSD.ORG, Poul-Henning Kamp , delphij@FreeBSD.ORG, cvs-src@FreeBSD.ORG, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 07:45:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBACB6C4753FF2E382552DC4D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ceri Davies wrote: > On Wed, Jun 06, 2007 at 06:57:31AM +0000, Poul-Henning Kamp wrote: >> In message <200706061141.04765.doconnor@gsoft.com.au>, "Daniel O'Conno= r" writes >> : >> >>> On Wednesday 06 June 2007 07:44, M. Warner Losh wrote: >>>> : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ &&= >>>> : \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' >>>> : /etc/fstab`"); >>>> : >>>> : where the regex is built from every device name in device_names >>>> : (which even then doesn't cater for GEOM where devices might be >>>> : called anything). This is something that would require a build >>>> : tool, which is why I haven't done it yet. >>>> >>>> "mmcsd" is also a disk. >>> Why not iterate over the output of sysctl -n kern.disks? >> Wrong answer. >> >> Right answer: Why not read it from sysctl kern.geom.confxml >=20 > That sounds like the right thing to do, but that sysctl returns nothing= > on my RELENG_6 system; why would that be? Hmmm... It seems that sysctl(8) needs to be extended to support output of these. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigBACB6C4753FF2E382552DC4D 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 iD8DBQFGZmX0OfuToMruuMARCro5AJ9vS4JTZyMS4jsZ9/CL0/v1uleqMACbB0HE byJ3+wrbuJrmTGuU8ZrwOI4= =qiXZ -----END PGP SIGNATURE----- --------------enigBACB6C4753FF2E382552DC4D-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:45:54 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1160116A46C; Wed, 6 Jun 2007 07:45:54 +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 AF71113C458; Wed, 6 Jun 2007 07:45:53 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1HvqDI-0007a0-CJ; Wed, 06 Jun 2007 08:45:52 +0100 Date: Wed, 6 Jun 2007 08:45:52 +0100 From: Ceri Davies To: Andrew Thompson Message-ID: <20070606074552.GG1834@submonkey.net> References: <200706061141.04765.doconnor@gsoft.com.au> <71022.1181113051@critter.freebsd.dk> <20070606074002.GE1834@submonkey.net> <20070606074221.GA25824@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zaRBsRFn0XYhEU69" Content-Disposition: inline In-Reply-To: <20070606074221.GA25824@heff.fud.org.nz> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.15 (2007-04-06) Sender: Ceri Davies Cc: src-committers@freebsd.org, Daniel O'Connor , cvs-all@freebsd.org, Poul-Henning Kamp , delphij@freebsd.org, cvs-src@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 07:45:54 -0000 --zaRBsRFn0XYhEU69 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2007 at 07:42:21PM +1200, Andrew Thompson wrote: > On Wed, Jun 06, 2007 at 08:40:02AM +0100, Ceri Davies wrote: > > On Wed, Jun 06, 2007 at 06:57:31AM +0000, Poul-Henning Kamp wrote: > > > In message <200706061141.04765.doconnor@gsoft.com.au>, "Daniel O'Conn= or" writes > > > : > > >=20 > > > >On Wednesday 06 June 2007 07:44, M. Warner Losh wrote: > > > >> : '$1~/\\dev\\/(aacd|ad|afd|amrd|ar|da|idad|ipsd|mfid|mlxd|twed)/ = && > > > >> : \ $2~/\\/$/ {print substr($1, 1, index($1, \"s\") - 1)}' > > > >> : /etc/fstab`"); > > > >> : > > > >> : where the regex is built from every device name in device_names > > > >> : (which even then doesn't cater for GEOM where devices might be > > > >> : called anything). This is something that would require a build > > > >> : tool, which is why I haven't done it yet. > > > >> > > > >> "mmcsd" is also a disk. > > > > > > > >Why not iterate over the output of sysctl -n kern.disks? > > >=20 > > > Wrong answer. > > >=20 > > > Right answer: Why not read it from sysctl kern.geom.confxml > >=20 > > That sounds like the right thing to do, but that sysctl returns nothing > > on my RELENG_6 system; why would that be? >=20 > Its a binary variable >=20 > sysctl -b kern.geom.confxml Excellent, thank you. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --zaRBsRFn0XYhEU69 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGZmYwocfcwTS3JF8RAmZsAJ9MoaUEwx+VXF1zFlZla4NqTuJ11QCeIRTs EaOIaB4aW5JIBfbTt0dRiGc= =L/x2 -----END PGP SIGNATURE----- --zaRBsRFn0XYhEU69-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 07:58:03 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0CAD16A41F; Wed, 6 Jun 2007 07:58:03 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BBD9C13C480; Wed, 6 Jun 2007 07:58:03 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l567w3Gu052026; Wed, 6 Jun 2007 07:58:03 GMT (envelope-from kevlo@repoman.freebsd.org) Received: (from kevlo@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l567w31K052022; Wed, 6 Jun 2007 07:58:03 GMT (envelope-from kevlo) Message-Id: <200706060758.l567w31K052022@repoman.freebsd.org> From: Kevin Lo Date: Wed, 6 Jun 2007 07:58: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/man/man4 wlan.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, 06 Jun 2007 07:58:04 -0000 kevlo 2007-06-06 07:58:03 UTC FreeBSD src repository Modified files: share/man/man4 wlan.4 Log: Update rum driver that needs wlan(4). Revision Changes Path 1.11 +2 -0 src/share/man/man4/wlan.4 From owner-cvs-src@FreeBSD.ORG Wed Jun 6 09:27:12 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E28D916A41F; Wed, 6 Jun 2007 09:27:12 +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 72C4413C48A; Wed, 6 Jun 2007 09:27:12 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp158-41.lns11.adl6.internode.on.net [121.45.158.41]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l569QqBd059525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 18:56:55 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Ceri Davies Date: Wed, 6 Jun 2007 18:56:42 +0930 User-Agent: KMail/1.9.5 References: <200706061141.04765.doconnor@gsoft.com.au> <71022.1181113051@critter.freebsd.dk> <20070606074002.GE1834@submonkey.net> In-Reply-To: <20070606074002.GE1834@submonkey.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1422720.8OrxA5HVVN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706061856.44940.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Poul-Henning Kamp , delphij@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 09:27:13 -0000 --nextPart1422720.8OrxA5HVVN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 June 2007 17:10, Ceri Davies wrote: > > Right answer: Why not read it from sysctl kern.geom.confxml > > That sounds like the right thing to do, but that sysctl returns > nothing on my RELENG_6 system; why would that be? Also, parsing it could be problematic :( (XML isn't in sysinstall's limited repertoire) =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 --nextPart1422720.8OrxA5HVVN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGZn3U5ZPcIHs/zowRAoE3AJoChRyRtaYQCD9CoRwbYvj11M2i+wCeNdnh i6pZ7YMjozHeyc/c67Vbw5Q= =I9dH -----END PGP SIGNATURE----- --nextPart1422720.8OrxA5HVVN-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 09:28:40 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9D7916A46B; Wed, 6 Jun 2007 09:28:40 +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 9E11B13C4B8; Wed, 6 Jun 2007 09:28:40 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Hvroj-0002Um-2p; Wed, 06 Jun 2007 10:28:37 +0100 Date: Wed, 6 Jun 2007 10:28:37 +0100 From: Ceri Davies To: Daniel O'Connor Message-ID: <20070606092836.GL1834@submonkey.net> References: <200706061141.04765.doconnor@gsoft.com.au> <71022.1181113051@critter.freebsd.dk> <20070606074002.GE1834@submonkey.net> <200706061856.44940.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="enLffk0M6cffIOOh" Content-Disposition: inline In-Reply-To: <200706061856.44940.doconnor@gsoft.com.au> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.15 (2007-04-06) Sender: Ceri Davies Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Poul-Henning Kamp , delphij@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 09:28:41 -0000 --enLffk0M6cffIOOh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 06, 2007 at 06:56:42PM +0930, Daniel O'Connor wrote: > On Wednesday 06 June 2007 17:10, Ceri Davies wrote: > > > Right answer: Why not read it from sysctl kern.geom.confxml > > > > That sounds like the right thing to do, but that sysctl returns > > nothing on my RELENG_6 system; why would that be? >=20 > Also, parsing it could be problematic :( > (XML isn't in sysinstall's limited repertoire) Well there is kern.geom.conftxt :) Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --enLffk0M6cffIOOh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGZn5EocfcwTS3JF8RAih2AKCSCNdqGtb53cshlToaRkHumZmthwCgueXF 1knDOJfRyYgweNnOclrfzek= =lTkK -----END PGP SIGNATURE----- --enLffk0M6cffIOOh-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 09:31:11 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8BE816A400; Wed, 6 Jun 2007 09:31:11 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id A3E8113C43E; Wed, 6 Jun 2007 09:31:11 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 4A33917380; Wed, 6 Jun 2007 09:31:10 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l569VBnN072055; Wed, 6 Jun 2007 09:31:12 GMT (envelope-from phk@critter.freebsd.dk) To: Ceri Davies From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 06 Jun 2007 10:28:37 +0100." <20070606092836.GL1834@submonkey.net> Date: Wed, 06 Jun 2007 09:31:11 +0000 Message-ID: <72054.1181122271@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: src-committers@freebsd.org, Daniel O'Connor , cvs-all@freebsd.org, delphij@freebsd.org, cvs-src@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 09:31:12 -0000 In message <20070606092836.GL1834@submonkey.net>, Ceri Davies writes: > >--enLffk0M6cffIOOh >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >Content-Transfer-Encoding: quoted-printable > >On Wed, Jun 06, 2007 at 06:56:42PM +0930, Daniel O'Connor wrote: >> On Wednesday 06 June 2007 17:10, Ceri Davies wrote: >> > > Right answer: Why not read it from sysctl kern.geom.confxml >> > >> > That sounds like the right thing to do, but that sysctl returns >> > nothing on my RELENG_6 system; why would that be? >>=20 >> Also, parsing it could be problematic :( >> (XML isn't in sysinstall's limited repertoire) Please look at how gstat uses a convenient library function to do just that... >Well there is kern.geom.conftxt :) Please don't That is only a crutch for the old crufty libdisk. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-cvs-src@FreeBSD.ORG Wed Jun 6 10:57:19 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 416AE16A49C; Wed, 6 Jun 2007 10:57:19 +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 C406A13C4BC; Wed, 6 Jun 2007 10:57:18 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp66-157.lns10.adl6.internode.on.net [121.45.66.157]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l56Av30i061477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jun 2007 20:27:05 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: "Poul-Henning Kamp" Date: Wed, 6 Jun 2007 20:26:56 +0930 User-Agent: KMail/1.9.5 References: <72054.1181122271@critter.freebsd.dk> In-Reply-To: <72054.1181122271@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1315255.yWgYQAguYq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706062026.58417.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, delphij@freebsd.org, Ceri Davies , "M. Warner Losh" Subject: Re: cvs commit: src/usr.sbin/sysinstall installUpgrade.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 10:57:19 -0000 --nextPart1315255.yWgYQAguYq Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 June 2007 19:01, Poul-Henning Kamp wrote: > >> Also, parsing it could be problematic :( > >> (XML isn't in sysinstall's limited repertoire) > > Please look at how gstat uses a convenient library function to > do just that... Ah, nice, I could use that :) > >Well there is kern.geom.conftxt :) > > Please don't That is only a crutch for the old crufty libdisk. The helper function in libgeom looks like the go. =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 --nextPart1315255.yWgYQAguYq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGZpL65ZPcIHs/zowRAu2YAJ47/3ekF/pyrKHzJvA8ZMQtN277vwCfdnW4 RM1Fguoj4GeoqMoH4eD0BmE= =L3qL -----END PGP SIGNATURE----- --nextPart1315255.yWgYQAguYq-- From owner-cvs-src@FreeBSD.ORG Wed Jun 6 11:12:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE36D16A400; Wed, 6 Jun 2007 11:12:57 +0000 (UTC) (envelope-from ceri@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C6EA313C4AE; Wed, 6 Jun 2007 11:12:57 +0000 (UTC) (envelope-from ceri@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56BCvKj042123; Wed, 6 Jun 2007 11:12:57 GMT (envelope-from ceri@repoman.freebsd.org) Received: (from ceri@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56BCvx0042119; Wed, 6 Jun 2007 11:12:57 GMT (envelope-from ceri) Message-Id: <200706061112.l56BCvx0042119@repoman.freebsd.org> From: Ceri Davies Date: Wed, 6 Jun 2007 11:12: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/games/fortune/datfiles fortunes X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 11:12:58 -0000 ceri 2007-06-06 11:12:57 UTC FreeBSD src repository Modified files: games/fortune/datfiles fortunes Log: Correct typo. Revision Changes Path 1.240 +1 -1 src/games/fortune/datfiles/fortunes From owner-cvs-src@FreeBSD.ORG Wed Jun 6 11:14:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AC4116A46B; Wed, 6 Jun 2007 11:14:30 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 52B7C13C4BF; Wed, 6 Jun 2007 11:14:30 +0000 (UTC) (envelope-from rafan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56BEU2c043295; Wed, 6 Jun 2007 11:14:30 GMT (envelope-from rafan@repoman.freebsd.org) Received: (from rafan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56BEUMK043294; Wed, 6 Jun 2007 11:14:30 GMT (envelope-from rafan) Message-Id: <200706061114.l56BEUMK043294@repoman.freebsd.org> From: Rong-En Fan Date: Wed, 6 Jun 2007 11: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/contrib/nvi/cl cl_screen.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 11:14:30 -0000 rafan 2007-06-06 11:14:30 UTC FreeBSD src repository Modified files: contrib/nvi/cl cl_screen.c Log: - Sort the headers per style(9) Reminded by: yar Approved by: delphij (mentor, implicit) Revision Changes Path 1.4 +1 -1 src/contrib/nvi/cl/cl_screen.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 13:04:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B514F16A468; Wed, 6 Jun 2007 13:04:16 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8CAAC13C4B7; Wed, 6 Jun 2007 13:04:16 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56D4GvU059660; Wed, 6 Jun 2007 13:04:16 GMT (envelope-from nyan@repoman.freebsd.org) Received: (from nyan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56D4GDm059650; Wed, 6 Jun 2007 13:04:16 GMT (envelope-from nyan) Message-Id: <200706061304.l56D4GDm059650@repoman.freebsd.org> From: Takahashi Yoshihiro Date: Wed, 6 Jun 2007 13:04:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/pc98/pc98 machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 13:04:16 -0000 nyan 2007-06-06 13:04:15 UTC FreeBSD src repository Modified files: sys/pc98/pc98 machdep.c Log: MFi386: revision 1.657 Backout experimental adaptive-spin umtx code. Revision Changes Path 1.396 +0 -1 src/sys/pc98/pc98/machdep.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 14:21:51 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F85916A46B; Wed, 6 Jun 2007 14:21:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1697813C48A; Wed, 6 Jun 2007 14:21:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56ELohM022300; Wed, 6 Jun 2007 14:21:50 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56ELoHC022289; Wed, 6 Jun 2007 14:21:50 GMT (envelope-from glebius) Message-Id: <200706061421.l56ELoHC022289@repoman.freebsd.org> From: Gleb Smirnoff Date: Wed, 6 Jun 2007 14:21: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/netinet ip_carp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 14:21:51 -0000 glebius 2007-06-06 14:21:50 UTC FreeBSD src repository Modified files: sys/netinet ip_carp.c Log: Do not leak lock in the case of EEXIST error. PR: kern/92776 Submitted by: Ed Schouten Revision Changes Path 1.49 +6 -2 src/sys/netinet/ip_carp.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 14:31:37 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 47EB516A400; Wed, 6 Jun 2007 14:31:37 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 346A213C45B; Wed, 6 Jun 2007 14:31:37 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56EVbKu031839; Wed, 6 Jun 2007 14:31:37 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56EVbdh031838; Wed, 6 Jun 2007 14:31:37 GMT (envelope-from simokawa) Message-Id: <200706061431.l56EVbdh031838@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Wed, 6 Jun 2007 14:31:36 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/firewire firewire.c firewirereg.h fwdev.c fwdma.c fwmem.c fwohci.c fwohci_pci.c fwohcivar.h if_fwe.c if_fwevar.h if_fwip.c if_fwipvar.h sbp.c sbp_targ.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 14:31:37 -0000 simokawa 2007-06-06 14:31:36 UTC FreeBSD src repository Modified files: sys/dev/firewire firewire.c firewirereg.h fwdev.c fwdma.c fwmem.c fwohci.c fwohci_pci.c fwohcivar.h if_fwe.c if_fwevar.h if_fwip.c if_fwipvar.h sbp.c sbp_targ.c Log: MFp4: MPSAFE firewire stack. - lock its own locks and drop Giant. - create its own taskqueue thread. - split interrupt routine - use interrupt filter as a fast interrupt. - run watchdog timer in taskqueue so that it should be serialized with the bottom half. - add extra sanity check for transaction labels. disable ad-hoc workaround for unknown tlabels. - add sleep/wakeup synchronization primitives - don't reset OHCI in fwohci_stop() Revision Changes Path 1.95 +214 -69 src/sys/dev/firewire/firewire.c 1.47 +27 -10 src/sys/dev/firewire/firewirereg.h 1.52 +67 -40 src/sys/dev/firewire/fwdev.c 1.9 +2 -2 src/sys/dev/firewire/fwdma.c 1.34 +27 -14 src/sys/dev/firewire/fwmem.c 1.90 +252 -243 src/sys/dev/firewire/fwohci.c 1.60 +8 -5 src/sys/dev/firewire/fwohci_pci.c 1.16 +9 -9 src/sys/dev/firewire/fwohcivar.h 1.44 +30 -24 src/sys/dev/firewire/if_fwe.c 1.6 +4 -1 src/sys/dev/firewire/if_fwevar.h 1.16 +31 -37 src/sys/dev/firewire/if_fwip.c 1.5 +3 -0 src/sys/dev/firewire/if_fwipvar.h 1.92 +67 -10 src/sys/dev/firewire/sbp.c 1.14 +108 -33 src/sys/dev/firewire/sbp_targ.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 14:43:02 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B468C16A474 for ; Wed, 6 Jun 2007 14:43:02 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB7F13C4B9 for ; Wed, 6 Jun 2007 14:43:01 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so512831uge for ; Wed, 06 Jun 2007 07:43:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DHpihzOFWaKBlS2OTiz3gyBDbUR6Q1CaQzQbzKrYXNfvoM3x4AM2lLYA7eIW/663Cz17I805gXoS10qdAD+xqEtVZjjyaNJuSjiqI8MRWdhK3Tj+er6MpDwISMdKRkI8N7bv5Sw9UvUI4WgmJ92O69SIFi53Q9zYCK9Hkc94r+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FEtouWeRxHVbivrTiy2oiTRpGqWFiFExgXJh2zAPbkh5LE+IMPzBzUmWOvsW048lPWcu4DEZe2ycmwyAUqzRlzmfsMFuT+ns2ZgOnfQNyUWijxy0pUY7O63jOQVe96Dsplw/iGN3BW1PdTX7qhjLekvuFYEPXWbEL4YJR34Pc/w= Received: by 10.78.136.9 with SMTP id j9mr202408hud.1181140980630; Wed, 06 Jun 2007 07:43:00 -0700 (PDT) Received: by 10.78.190.11 with HTTP; Wed, 6 Jun 2007 07:43:00 -0700 (PDT) Message-ID: <70e8236f0706060743s4878ae29k73cca23a03ee576f@mail.gmail.com> Date: Wed, 6 Jun 2007 15:43:00 +0100 From: "Joao Barros" To: "Hidetoshi Shimokawa" In-Reply-To: <200706061431.l56EVbdh031838@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706061431.l56EVbdh031838@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/firewire firewire.c firewirereg.h fwdev.c fwdma.c fwmem.c fwohci.c fwohci_pci.c fwohcivar.h if_fwe.c if_fwevar.h if_fwip.c if_fwipvar.h sbp.c sbp_targ.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 14:43:02 -0000 On 6/6/07, Hidetoshi Shimokawa wrote: > simokawa 2007-06-06 14:31:36 UTC > > FreeBSD src repository > > Modified files: > sys/dev/firewire firewire.c firewirereg.h fwdev.c fwdma.c > fwmem.c fwohci.c fwohci_pci.c fwohcivar.h > if_fwe.c if_fwevar.h if_fwip.c > if_fwipvar.h sbp.c sbp_targ.c > Log: > MFp4: MPSAFE firewire stack. > - lock its own locks and drop Giant. > - create its own taskqueue thread. > - split interrupt routine > - use interrupt filter as a fast interrupt. > - run watchdog timer in taskqueue so that it should be > serialized with the bottom half. > - add extra sanity check for transaction labels. > disable ad-hoc workaround for unknown tlabels. > - add sleep/wakeup synchronization primitives > - don't reset OHCI in fwohci_stop() > Great work, Thank you!!! -- Joao Barros From owner-cvs-src@FreeBSD.ORG Wed Jun 6 15:49:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3AD116A400; Wed, 6 Jun 2007 15:49:16 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 90B5413C455; Wed, 6 Jun 2007 15:49:16 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56FnGh9008396; Wed, 6 Jun 2007 15:49:16 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56FnGbv008392; Wed, 6 Jun 2007 15:49:16 GMT (envelope-from sam) Message-Id: <200706061549.l56FnGbv008392@repoman.freebsd.org> From: Sam Leffler Date: Wed, 6 Jun 2007 15:49:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/ath ah_osdep.c ah_osdep.h if_ath.c if_ath_pci.c if_athioctl.h if_athrate.h if_athvar.h src/sys/dev/ath/ath_rate/onoe onoe.c onoe.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, 06 Jun 2007 15:49:16 -0000 sam 2007-06-06 15:49:16 UTC FreeBSD src repository Modified files: sys/dev/ath ah_osdep.c ah_osdep.h if_ath.c if_ath_pci.c if_athioctl.h if_athrate.h if_athvar.h sys/dev/ath/ath_rate/onoe onoe.c onoe.h Log: update copyrights to 2007 and convert to be 2-clause bsd-only Revision Changes Path 1.3 +1 -8 src/sys/dev/ath/ah_osdep.c 1.2 +1 -8 src/sys/dev/ath/ah_osdep.h 1.13 +1 -8 src/sys/dev/ath/ath_rate/onoe/onoe.c 1.3 +2 -9 src/sys/dev/ath/ath_rate/onoe/onoe.h 1.170 +1 -8 src/sys/dev/ath/if_ath.c 1.19 +1 -8 src/sys/dev/ath/if_ath_pci.c 1.18 +1 -8 src/sys/dev/ath/if_athioctl.h 1.6 +2 -9 src/sys/dev/ath/if_athrate.h 1.61 +1 -8 src/sys/dev/ath/if_athvar.h From owner-cvs-src@FreeBSD.ORG Wed Jun 6 15:59:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA69316A41F; Wed, 6 Jun 2007 15:59:30 +0000 (UTC) (envelope-from ambrisko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C7AF213C469; Wed, 6 Jun 2007 15:59:30 +0000 (UTC) (envelope-from ambrisko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56FxUvW017315; Wed, 6 Jun 2007 15:59:30 GMT (envelope-from ambrisko@repoman.freebsd.org) Received: (from ambrisko@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56FxUU1017308; Wed, 6 Jun 2007 15:59:30 GMT (envelope-from ambrisko) Message-Id: <200706061559.l56FxUU1017308@repoman.freebsd.org> From: Doug Ambrisko Date: Wed, 6 Jun 2007 15:59: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/sys/conf files.amd64 src/sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c mfi_pci.c mfireg.h mfivar.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, 06 Jun 2007 15:59:31 -0000 ambrisko 2007-06-06 15:59:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/conf files.amd64 sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c mfi_pci.c mfireg.h mfivar.h Log: MFC all of the remaining changes. This brings over improved ioctl support and makes MegaCli work on amd64. Scott supplied patches to make the ioctl commands not block the controller. MegaCli still has some issues with our emulation and create some bogus commands so flashing doesn't work. This should loosely resolve 113232. We were waiting on some other fixes to go into -current before migrating this to -stable. PR: 113232 Submitted by: scottl Revision Changes Path 1.71.2.13 +1 -0 src/sys/conf/files.amd64 1.3.2.7 +246 -133 src/sys/dev/mfi/mfi.c 1.2.2.5 +24 -18 src/sys/dev/mfi/mfi_disk.c 1.1.2.3 +57 -0 src/sys/dev/mfi/mfi_ioctl.h 1.1.2.2 +14 -1 src/sys/dev/mfi/mfi_linux.c 1.1.2.5 +9 -7 src/sys/dev/mfi/mfi_pci.c 1.1.2.6 +2 -1 src/sys/dev/mfi/mfireg.h 1.1.2.6 +11 -5 src/sys/dev/mfi/mfivar.h From owner-cvs-src@FreeBSD.ORG Wed Jun 6 16:20:52 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D01716A469; Wed, 6 Jun 2007 16:20:52 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 03AF613C455; Wed, 6 Jun 2007 16:20:52 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56GKpQj039193; Wed, 6 Jun 2007 16:20:51 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56GKp7h039183; Wed, 6 Jun 2007 16:20:51 GMT (envelope-from glebius) Message-Id: <200706061620.l56GKp7h039183@repoman.freebsd.org> From: Gleb Smirnoff Date: Wed, 6 Jun 2007 16:20:51 +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/netinet ip_carp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 16:20:52 -0000 glebius 2007-06-06 16:20:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet ip_carp.c Log: Merge 1.47: Make it possible that carpdetach() unlocks on return. Then, in carp_clone_destroy() we are on a safe side, we don't need to unlock the cif, that can me already non-existent at this point. Reported by: Anton Yuzhaninov Revision Changes Path 1.27.2.11 +7 -8 src/sys/netinet/ip_carp.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 18:33:39 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 224DE16A400; Wed, 6 Jun 2007 18:33:39 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id EF4C713C46A; Wed, 6 Jun 2007 18:33:38 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56IXcDQ076699; Wed, 6 Jun 2007 18:33:38 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56IXcT4076692; Wed, 6 Jun 2007 18:33:38 GMT (envelope-from gallatin) Message-Id: <200706061833.l56IXcT4076692@repoman.freebsd.org> From: Andrew Gallatin Date: Wed, 6 Jun 2007 18:33:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/firewire sbp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 18:33:39 -0000 gallatin 2007-06-06 18:33:38 UTC FreeBSD src repository Modified files: sys/dev/firewire sbp.c Log: Fix a typo to make this file compile Revision Changes Path 1.93 +1 -1 src/sys/dev/firewire/sbp.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 18:57:22 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AF3E16A400; Wed, 6 Jun 2007 18:57:22 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from galain.elvandar.org (galain.elvandar.org [217.148.169.56]) by mx1.freebsd.org (Postfix) with ESMTP id ED5AB13C457; Wed, 6 Jun 2007 18:57:21 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from evilcoder.xs4all.nl ([195.64.94.120] helo=elvandar.local) by galain.elvandar.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Hvzr5-000JN6-NE; Wed, 06 Jun 2007 20:03:35 +0200 Message-ID: <4666F73B.8080708@FreeBSD.org> Date: Wed, 06 Jun 2007 20:04:43 +0200 From: Remko Lodder User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Joao Barros References: <200706061431.l56EVbdh031838@repoman.freebsd.org> <70e8236f0706060743s4878ae29k73cca23a03ee576f@mail.gmail.com> In-Reply-To: <70e8236f0706060743s4878ae29k73cca23a03ee576f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Hidetoshi Shimokawa , src-committers@freebsd.org, cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/dev/firewire firewire.c firewirereg.h fwdev.c fwdma.c fwmem.c fwohci.c fwohci_pci.c fwohcivar.h if_fwe.c if_fwevar.h if_fwip.c if_fwipvar.h sbp.c sbp_targ.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 18:57:22 -0000 Joao Barros wrote: > On 6/6/07, Hidetoshi Shimokawa wrote: >> simokawa 2007-06-06 14:31:36 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/dev/firewire firewire.c firewirereg.h fwdev.c fwdma.c >> fwmem.c fwohci.c fwohci_pci.c fwohcivar.h >> if_fwe.c if_fwevar.h if_fwip.c >> if_fwipvar.h sbp.c sbp_targ.c >> Log: >> MFp4: MPSAFE firewire stack. >> - lock its own locks and drop Giant. >> - create its own taskqueue thread. >> - split interrupt routine >> - use interrupt filter as a fast interrupt. >> - run watchdog timer in taskqueue so that it should be >> serialized with the bottom half. >> - add extra sanity check for transaction labels. >> disable ad-hoc workaround for unknown tlabels. >> - add sleep/wakeup synchronization primitives >> - don't reset OHCI in fwohci_stop() >> > > Great work, Thank you!!! > +1 thanks for the great work Hidetoshi! -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-cvs-src@FreeBSD.ORG Wed Jun 6 19:24:03 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0577C16A468; Wed, 6 Jun 2007 19:24:03 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 968A413C487; Wed, 6 Jun 2007 19:24:02 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56JO2lJ024968; Wed, 6 Jun 2007 19:24:02 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56JO2hY024964; Wed, 6 Jun 2007 19:24:02 GMT (envelope-from remko) Message-Id: <200706061924.l56JO2hY024964@repoman.freebsd.org> From: Remko Lodder Date: Wed, 6 Jun 2007 19:24:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/net getaddrinfo.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: Wed, 06 Jun 2007 19:24:03 -0000 remko 2007-06-06 19:24:02 UTC FreeBSD src repository Modified files: lib/libc/net getaddrinfo.3 Log: Document getaddrinfo(3)'s AI_ADDRCONFIG PR: docs/78357 Submitted by: Matthias Andree Patch by: asmodai MFC after: 1 week Revision Changes Path 1.33 +67 -6 src/lib/libc/net/getaddrinfo.3 From owner-cvs-src@FreeBSD.ORG Wed Jun 6 19:27:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12D1516A421; Wed, 6 Jun 2007 19:27:12 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E012F13C483; Wed, 6 Jun 2007 19:27:11 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56JRBAt027363; Wed, 6 Jun 2007 19:27:11 GMT (envelope-from remko@repoman.freebsd.org) Received: (from remko@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56JRBca027350; Wed, 6 Jun 2007 19:27:11 GMT (envelope-from remko) Message-Id: <200706061927.l56JRBca027350@repoman.freebsd.org> From: Remko Lodder Date: Wed, 6 Jun 2007 19:27: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/man/man4 axe.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, 06 Jun 2007 19:27:12 -0000 remko 2007-06-06 19:27:11 UTC FreeBSD src repository Modified files: share/man/man4 axe.4 Log: Specify which Dlink chip is supported (D-Link DUB-E100 ver A) because others (D-Link DUB-E100 ver B1) are not. PR: docs/109664 Submitted by: Martin Nilsson Patch by: asmodai MFC after: 1 week Revision Changes Path 1.14 +2 -2 src/share/man/man4/axe.4 From owner-cvs-src@FreeBSD.ORG Wed Jun 6 21:28:51 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20DD716A41F; Wed, 6 Jun 2007 21:28:51 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id EF92113C45D; Wed, 6 Jun 2007 21:28:50 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56LSoCL063522; Wed, 6 Jun 2007 21:28:50 GMT (envelope-from pav@repoman.freebsd.org) Received: (from pav@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56LSogg063521; Wed, 6 Jun 2007 21:28:50 GMT (envelope-from pav) Message-Id: <200706062128.l56LSogg063521@repoman.freebsd.org> From: Pav Lucistnik Date: Wed, 6 Jun 2007 21:28: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.sbin/boot0cfg boot0cfg.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, 06 Jun 2007 21:28:51 -0000 pav 2007-06-06 21:28:50 UTC FreeBSD src repository (doc,ports committer) Modified files: usr.sbin/boot0cfg boot0cfg.8 Log: - Revert previous revision, it was incorrect - Add an example using fdisk instead Pointed out by: ru Submitted by: Warren Block MFC after: 3 days Revision Changes Path 1.31 +5 -8 src/usr.sbin/boot0cfg/boot0cfg.8 From owner-cvs-src@FreeBSD.ORG Wed Jun 6 21:30:43 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7935216A46E; Wed, 6 Jun 2007 21:30:43 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5212113C4CB; Wed, 6 Jun 2007 21:30:43 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56LUhWY065211; Wed, 6 Jun 2007 21:30:43 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56LUh3S065210; Wed, 6 Jun 2007 21:30:43 GMT (envelope-from jhb) Message-Id: <200706062130.l56LUh3S065210@repoman.freebsd.org> From: John Baldwin Date: Wed, 6 Jun 2007 21:30:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern imgact_elf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 21:30:43 -0000 jhb 2007-06-06 21:30:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern imgact_elf.c Log: MFC 1.176: Add vm map and object locking to each_writable_segment(). Revision Changes Path 1.162.2.5 +15 -10 src/sys/kern/imgact_elf.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 21:43:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BED8A16A46D; Wed, 6 Jun 2007 21:43:36 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9931313C458; Wed, 6 Jun 2007 21:43:36 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56LhaRL076657; Wed, 6 Jun 2007 21:43:36 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56LhaDN076651; Wed, 6 Jun 2007 21:43:36 GMT (envelope-from jhb) Message-Id: <200706062143.l56LhaDN076651@repoman.freebsd.org> From: John Baldwin Date: Wed, 6 Jun 2007 21:43: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/kern link_elf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 21:43:36 -0000 jhb 2007-06-06 21:43:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern link_elf.c Log: MFC: Add support for kernel modules with a single PT_LOAD section. Revision Changes Path 1.81.8.6 +9 -6 src/sys/kern/link_elf.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 22:06:43 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA47916A469; Wed, 6 Jun 2007 22:06:43 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B4CBA13C4C1; Wed, 6 Jun 2007 22:06:43 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56M6hiL097965; Wed, 6 Jun 2007 22:06:43 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56M6h33097961; Wed, 6 Jun 2007 22:06:43 GMT (envelope-from jhb) Message-Id: <200706062206.l56M6h33097961@repoman.freebsd.org> From: John Baldwin Date: Wed, 6 Jun 2007 22:06:43 +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/gcore elfcore.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 22:06:44 -0000 jhb 2007-06-06 22:06:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.bin/gcore elfcore.c Log: MFC: Make gcore(1) 64 bit safe. Revision Changes Path 1.17.8.1 +3 -3 src/usr.bin/gcore/elfcore.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 22:10:13 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1633A16A41F; Wed, 6 Jun 2007 22:10:13 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id DD8E013C455; Wed, 6 Jun 2007 22:10:12 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56MACxQ001186; Wed, 6 Jun 2007 22:10:12 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56MACY6001179; Wed, 6 Jun 2007 22:10:12 GMT (envelope-from andre) Message-Id: <200706062210.l56MACY6001179@repoman.freebsd.org> From: Andre Oppermann Date: Wed, 6 Jun 2007 22:10:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet tcp_syncache.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 22:10:13 -0000 andre 2007-06-06 22:10:12 UTC FreeBSD src repository Modified files: sys/netinet tcp_syncache.c Log: Correctly print SEQ and IRS in the corresponding log message in syncache_expand(). Revision Changes Path 1.121 +1 -1 src/sys/netinet/tcp_syncache.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 22:17:01 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B192016A400; Wed, 6 Jun 2007 22:17:01 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8BFE513C480; Wed, 6 Jun 2007 22:17:01 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56MH1HX008214; Wed, 6 Jun 2007 22:17:01 GMT (envelope-from piso@repoman.freebsd.org) Received: (from piso@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56MH16x008213; Wed, 6 Jun 2007 22:17:01 GMT (envelope-from piso) Message-Id: <200706062217.l56MH16x008213@repoman.freebsd.org> From: Paolo Pisati Date: Wed, 6 Jun 2007 22: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/dev/puc puc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 22:17:01 -0000 piso 2007-06-06 22:17:01 UTC FreeBSD src repository Modified files: sys/dev/puc puc.c Log: -axe p_ih from struct puc_port cause it was useless -correctly check for filter only handler Reviewed by: marcel Tested by: marcel Revision Changes Path 1.50 +4 -8 src/sys/dev/puc/puc.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 22:19:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2099416A468; Wed, 6 Jun 2007 22:19:24 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id EE5F413C45A; Wed, 6 Jun 2007 22:19:23 +0000 (UTC) (envelope-from piso@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56MJNAL011371; Wed, 6 Jun 2007 22:19:23 GMT (envelope-from piso@repoman.freebsd.org) Received: (from piso@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56MJNGF011367; Wed, 6 Jun 2007 22:19:23 GMT (envelope-from piso) Message-Id: <200706062219.l56MJNGF011367@repoman.freebsd.org> From: Paolo Pisati Date: Wed, 6 Jun 2007 22:19:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sparc64/sbus sbus.c src/sys/sparc64/pci psycho.c src/sys/sparc64/fhc fhc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 06 Jun 2007 22:19:24 -0000 piso 2007-06-06 22:19:23 UTC FreeBSD src repository Modified files: sys/sparc64/sbus sbus.c sys/sparc64/pci psycho.c sys/sparc64/fhc fhc.c Log: Teach the bridge wrapper how to handle the filter+ithread case. Reviewed by: marius Revision Changes Path 1.17 +28 -13 src/sys/sparc64/fhc/fhc.c 1.65 +24 -11 src/sys/sparc64/pci/psycho.c 1.43 +25 -12 src/sys/sparc64/sbus/sbus.c From owner-cvs-src@FreeBSD.ORG Wed Jun 6 23:23:48 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CA5A16A468; Wed, 6 Jun 2007 23:23:48 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 579EB13C45B; Wed, 6 Jun 2007 23:23:48 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l56NNmsp078368; Wed, 6 Jun 2007 23:23:48 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l56NNmC6078367; Wed, 6 Jun 2007 23:23:48 GMT (envelope-from jeff) Message-Id: <200706062323.l56NNmC6078367@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 6 Jun 2007 23:23: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/arm/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: Wed, 06 Jun 2007 23:23:48 -0000 jeff 2007-06-06 23:23:48 UTC FreeBSD src repository Modified files: sys/arm/include pcpu.h Log: - PCPU_ADD is no longer spelled with LAZY_ in the middle. Submitted by: attilio Revision Changes Path 1.6 +1 -1 src/sys/arm/include/pcpu.h From owner-cvs-src@FreeBSD.ORG Thu Jun 7 00:28:49 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 440E516A41F; Thu, 7 Jun 2007 00:28:49 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5EF13C448; Thu, 7 Jun 2007 00:28:49 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l570Sn9a039069; Thu, 7 Jun 2007 00:28:49 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l570SmoG039068; Thu, 7 Jun 2007 00:28:48 GMT (envelope-from yongari) Message-Id: <200706070028.l570SmoG039068@repoman.freebsd.org> From: Pyun YongHyeon Date: Thu, 7 Jun 2007 00:28: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/de if_de.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 00:28:49 -0000 yongari 2007-06-07 00:28:48 UTC FreeBSD src repository Modified files: sys/dev/de if_de.c Log: The maxsegsz of a dma tag created in de(4) is TULIP_DATA_PER_DESC bytes. In Rx path it allocates a new mbuf with m_getcl(9) so the length of the mbuf is MCLBYTES which is greater than a segment size specified by the dma tag. This segment size mismatch caused a voluntary panic. Fix the panic by settting the mbuf length to TULIP_DATA_PER_DESC. Reported by: Arne H Juul Tested by: Arne H Juul Revision Changes Path 1.183 +1 -1 src/sys/dev/de/if_de.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 01:53:29 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA94016A400; Thu, 7 Jun 2007 01:53:29 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 94DD913C45B; Thu, 7 Jun 2007 01:53:29 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l571rTmO029318; Thu, 7 Jun 2007 01:53:29 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l571rThH029313; Thu, 7 Jun 2007 01:53:29 GMT (envelope-from davidxu) Message-Id: <200706070153.l571rThH029313@repoman.freebsd.org> From: David Xu Date: Thu, 7 Jun 2007 01:53: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/ia64/ia64 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, 07 Jun 2007 01:53:29 -0000 davidxu 2007-06-07 01:53:29 UTC FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c Log: Fix compiling error. Revision Changes Path 1.219 +0 -1 src/sys/ia64/ia64/machdep.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 02:21:39 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF6AC16A41F; Thu, 7 Jun 2007 02:21:39 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 88E1213C45A; Thu, 7 Jun 2007 02:21:39 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l572Ldew054465; Thu, 7 Jun 2007 02:21:39 GMT (envelope-from davidch@repoman.freebsd.org) Received: (from davidch@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l572Ldfq054453; Thu, 7 Jun 2007 02:21:39 GMT (envelope-from davidch) Message-Id: <200706070221.l572Ldfq054453@repoman.freebsd.org> From: David Christensen Date: Thu, 7 Jun 2007 02:21:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii brgphy.c brgphyreg.h miidevs X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 02:21:39 -0000 davidch 2007-06-07 02:21:38 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c brgphyreg.h miidevs Log: New features: - Moved BCM5706S/5708S SerDes support to brgphy (since they are not technically TBI interfaces) - Added 2.5G support for BCM5708S Comments: Since this driver is shared with bge I tested several available controllers supported by bge and all worked as expected, however the list was not exhaustive. Need wider testing. MFC after: 4 weeks Revision Changes Path 1.69 +388 -164 src/sys/dev/mii/brgphy.c 1.10 +108 -15 src/sys/dev/mii/brgphyreg.h 1.45 +2 -1 src/sys/dev/mii/miidevs From owner-cvs-src@FreeBSD.ORG Thu Jun 7 02:23:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89A5216A400; Thu, 7 Jun 2007 02:23:57 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6392913C4B8; Thu, 7 Jun 2007 02:23:57 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l572Nvfv056637; Thu, 7 Jun 2007 02:23:57 GMT (envelope-from davidch@repoman.freebsd.org) Received: (from davidch@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l572Nvoj056631; Thu, 7 Jun 2007 02:23:57 GMT (envelope-from davidch) Message-Id: <200706070223.l572Nvoj056631@repoman.freebsd.org> From: David Christensen Date: Thu, 7 Jun 2007 02:23: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/dev/bce if_bce.c if_bcereg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 02:23:57 -0000 davidch 2007-06-07 02:23:56 UTC FreeBSD src repository Modified files: sys/dev/bce if_bce.c if_bcereg.h Log: New Features: - Added 2.5G support for BCM5708S. MFC after: 4 weeks Revision Changes Path 1.32 +388 -390 src/sys/dev/bce/if_bce.c 1.14 +24 -20 src/sys/dev/bce/if_bcereg.h From owner-cvs-src@FreeBSD.ORG Thu Jun 7 04:40:06 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D45B816A468; Thu, 7 Jun 2007 04:40:06 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail24.syd.optusnet.com.au (mail24.syd.optusnet.com.au [211.29.133.165]) by mx1.freebsd.org (Postfix) with ESMTP id 690A813C43E; Thu, 7 Jun 2007 04:40:06 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail24.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l574doYA015414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jun 2007 14:39:53 +1000 Date: Thu, 7 Jun 2007 14:39:53 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Evans In-Reply-To: <20070606154548.F3105@besplex.bde.org> Message-ID: <20070607133524.S7002@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> <20070606094354.E51708@delplex.bde.org> <20070605195839.I606@10.0.0.1> <20070606154548.F3105@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, John Baldwin , cvs-src@freebsd.org, cvs-all@freebsd.org, Attilio Rao , Kostik Belousov , Jeff Roberson Subject: Re: 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: Thu, 07 Jun 2007 04:40:07 -0000 On Wed, 6 Jun 2007, Bruce Evans wrote: > On Tue, 5 Jun 2007, Jeff Roberson wrote: >> You should try with kern.sched.pick_pri = 0. I have changed this to be the >> default recently. This weakens the preemption and speeds up some >> workloads. > > I haven't tried a new SCHED_ULE kernel yet. Tried now. In my makeworld benchmark, SCHED_ULE is now only 4% slower than SCHED_4BSD (after losing 2% in SCHED_4BSD) (down from about 7% slower). The difference is still from CPUs idling too much. Best result ever (SCHED_4BSD, June 4 kernel, no PREEMPTION): --- 827.48 real 1309.26 user 186.86 sys 1332122 voluntary context switches 1535129 involuntary context switches pagezero time 6 seconds --- After thread lock changes (SCHED_4BSD, no PREEMPTION): --- 847.70 real 1309.83 user 169.39 sys 2933415 voluntary context switches 1501808 involuntary context switches pagezero time 30 seconds. Unlike what I wrote before, there is a scheduling bug that affects pagezero directly. The bug from last month involving pagezero losing its priority of PRI_MAX_IDLE and running at priority PUSER is back. This bug seemed to be gone in the June 4 kernel, but actually only happens less there. This bug seems to cost 0.5-1.0% real time. --- After thread lock changes (SCHED_4BSD, now with PREEMPTION): --- 843.34 real 1304.00 user 168.87 sys 1651011 voluntary context switches 1630988 involuntary context switches pagezero time 27 seconds The problem with the extra context switches is gone (these context switch counts are like the ones in old kernels with PREEMPTION). This result is affected by pagezero getting its priority clobbered. The best result for an old kernel with PREMPTION was about 840 seconds, before various optimizations reduced this to 827 seconds (-0+4 seconds). --- Old run with SCHED_ULE (Mar 18): 899.50 real 1311.00 user 187.47 sys 1566366 voluntary context switches 1959436 involuntary context switches pagezero time 19 seconds --- Today with SCHED_ULE: --- 883.65 real 1290.92 user 188.21 sys 1658109 voluntary context switches 1708148 involuntary context switches pagezero time 7 seconds. --- In all of these, the user + sys decomposition is very inaccurate, but the (user + sys + pagezero_time) total is fairly accurate. It is 1500+-2 for SCHED_4BSD and 1500+-17 for SCHED_ULE (old ULE larger, current ULE smaller). SCHED_ULE now shows intereting behaviour for non-parallel kernel builds on a 2-way SMP machine. It is now slightly faster than SCHED_4BSD for this, but still much slower for parallel kernel builds. This might be because it likes to leave 1 CPU idle to wait to find a better CPU to run on, and this is actually an optimization when there is >= 1 CPU to spare: RELENG_4 kernel build on nfs, non-parallel make. Best ever with SCHED_ULE (~June 4 kernel): 62.55 real 55.30 user 3.65 sys Current with SCHED_ULE: 62.18 real 54.91 user 3.51 sys RELENG_4 kernel build on nfs, make -j4. Best ever for SCHED_ULE (~June 4 kernel): 32.00 real 56.98 user 3.90 sys Current with SCHED_ULE: 33.11 real 56.01 user 4.12 sys ULE has been about 1 second slower for this since at least last November. It presumably reduces user+sys time by running pagezero more. The slowdown is much larger for a build on ffs: Non-parallel results not shown (litte difference from above). RELENG_4 kernel build on ffs, make -j4. Best ever for SCHED_ULE (~June 4 kernel): 29.94 real 56.03 user 3.12 sys Current with SCHED_ULE: 32.63 real 55.13 user 3.53 sys Now 9% of the real time (= 18% of the cycles on one CPU = almost the sys sys overhead) is apparently wasted by leaving one CPU idle. This benchmark is of course dominated by many instances of 2 gcc hogs which should be scheduled to run in parallel with no idle cycles. (In all these kernel benchmarks, everything except disk writes is cached before starting. In other makeworld benchmarks, everything is cached before starting on the nfs server, while on the client nothing is cached.) I don't have context switch counts or pagezero times for the kernel builds. stathz is 100 = hz. Maybe SCHED_ULE doesn't like this. hz = 100 is about 1% faster than hz = 1000 for the makeworld benchmark. Bruce From owner-cvs-src@FreeBSD.ORG Thu Jun 7 06:05:53 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A236516A421; Thu, 7 Jun 2007 06:05:53 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7C08F13C468; Thu, 7 Jun 2007 06:05:53 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5765rbq022998; Thu, 7 Jun 2007 06:05:53 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5765rEl022997; Thu, 7 Jun 2007 06:05:53 GMT (envelope-from imp) Message-Id: <200706070605.l5765rEl022997@repoman.freebsd.org> From: Warner Losh Date: Thu, 7 Jun 2007 06: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/dev/usb uftdi.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 06:05:53 -0000 imp 2007-06-07 06:05:53 UTC FreeBSD src repository Modified files: sys/dev/usb uftdi.c Log: Fix spaces introduced in last commit Revision Changes Path 1.27 +14 -14 src/sys/dev/usb/uftdi.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 06:24:06 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 857B916A46B for ; Thu, 7 Jun 2007 06:24:06 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id D164713C455 for ; Thu, 7 Jun 2007 06:24:05 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so695315uge for ; Wed, 06 Jun 2007 23:24:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p4RE0hiccX3Dz9BRY7+nYgDHDFjWiCN5geFrWq9WpQooKau/myumiVPomU4uC5LDCM38brFKiRGQBzIogDZ07LIYXKM2rm6SgSaI02zJuTwsSdcVDTgGKeDrPpM9drHftaC/pdtMmmUMfXMOGFd2ERvynqWQjILQziYW6L/rhn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C44FhBYHvJ1PPlQLBKOpuBLLsCthVLqKxQJcQKt4CR4kYMcIAfmdVmjQBoI/gaXDcUvcYZzRc29fQw8L8WtQcTl7paia4DqV2bh10CsoS5Aiv7px6JDvbawH3sarsI7SkCYhbmaIn5CQKj6wy7xqreq3maNcBafBYpb+vh5sLbk= Received: by 10.78.159.7 with SMTP id h7mr584859hue.1181197444638; Wed, 06 Jun 2007 23:24:04 -0700 (PDT) Received: by 10.78.162.18 with HTTP; Wed, 6 Jun 2007 23:24:04 -0700 (PDT) Message-ID: Date: Wed, 6 Jun 2007 23:24:04 -0700 From: "Kip Macy" To: "Bruce Evans" In-Reply-To: <20070607133524.S7002@besplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> <20070606094354.E51708@delplex.bde.org> <20070605195839.I606@10.0.0.1> <20070606154548.F3105@besplex.bde.org> <20070607133524.S7002@besplex.bde.org> Cc: src-committers@freebsd.org, John Baldwin , cvs-src@freebsd.org, cvs-all@freebsd.org, Attilio Rao , Kostik Belousov , Jeff Roberson Subject: Re: 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: Thu, 07 Jun 2007 06:24:06 -0000 Bruce - Can you also say how many runs do you do and how much variance there is between runs? Thanks. -Kip On 6/6/07, Bruce Evans wrote: > On Wed, 6 Jun 2007, Bruce Evans wrote: > > > On Tue, 5 Jun 2007, Jeff Roberson wrote: > > >> You should try with kern.sched.pick_pri = 0. I have changed this to be the > >> default recently. This weakens the preemption and speeds up some > >> workloads. > > > > I haven't tried a new SCHED_ULE kernel yet. > > Tried now. In my makeworld benchmark, SCHED_ULE is now only 4% slower > than SCHED_4BSD (after losing 2% in SCHED_4BSD) (down from about 7% > slower). The difference is still from CPUs idling too much. > > Best result ever (SCHED_4BSD, June 4 kernel, no PREEMPTION): > --- > 827.48 real 1309.26 user 186.86 sys > 1332122 voluntary context switches > 1535129 involuntary context switches > pagezero time 6 seconds > --- > > After thread lock changes (SCHED_4BSD, no PREEMPTION): > --- > 847.70 real 1309.83 user 169.39 sys > 2933415 voluntary context switches > 1501808 involuntary context switches > pagezero time 30 seconds. > > Unlike what I wrote before, there is a scheduling bug that affects > pagezero directly. The bug from last month involving pagezero losing > its priority of PRI_MAX_IDLE and running at priority PUSER is back. > This bug seemed to be gone in the June 4 kernel, but actually only > happens less there. This bug seems to cost 0.5-1.0% real time. > --- > > After thread lock changes (SCHED_4BSD, now with PREEMPTION): > --- > 843.34 real 1304.00 user 168.87 sys > 1651011 voluntary context switches > 1630988 involuntary context switches > pagezero time 27 seconds > > The problem with the extra context switches is gone (these context switch > counts are like the ones in old kernels with PREEMPTION). This result is > affected by pagezero getting its priority clobbered. The best result for > an old kernel with PREMPTION was about 840 seconds, before various > optimizations reduced this to 827 seconds (-0+4 seconds). > --- > > Old run with SCHED_ULE (Mar 18): > 899.50 real 1311.00 user 187.47 sys > 1566366 voluntary context switches > 1959436 involuntary context switches > pagezero time 19 seconds > --- > > Today with SCHED_ULE: > --- > 883.65 real 1290.92 user 188.21 sys > 1658109 voluntary context switches > 1708148 involuntary context switches > pagezero time 7 seconds. > --- > > In all of these, the user + sys decomposition is very inaccurate, but the > (user + sys + pagezero_time) total is fairly accurate. It is 1500+-2 for > SCHED_4BSD and 1500+-17 for SCHED_ULE (old ULE larger, current ULE smaller). > > SCHED_ULE now shows intereting behaviour for non-parallel kernel > builds on a 2-way SMP machine. It is now slightly faster than SCHED_4BSD > for this, but still much slower for parallel kernel builds. This might > be because it likes to leave 1 CPU idle to wait to find a better CPU to > run on, and this is actually an optimization when there is >= 1 CPU to > spare: > > RELENG_4 kernel build on nfs, non-parallel make. > Best ever with SCHED_ULE (~June 4 kernel): > 62.55 real 55.30 user 3.65 sys > Current with SCHED_ULE: > 62.18 real 54.91 user 3.51 sys > > RELENG_4 kernel build on nfs, make -j4. > Best ever for SCHED_ULE (~June 4 kernel): > 32.00 real 56.98 user 3.90 sys > Current with SCHED_ULE: > 33.11 real 56.01 user 4.12 sys > ULE has been about 1 second slower for this since at least last November. > It presumably reduces user+sys time by running pagezero more. > > The slowdown is much larger for a build on ffs: > > Non-parallel results not shown (litte difference from above). > > RELENG_4 kernel build on ffs, make -j4. > Best ever for SCHED_ULE (~June 4 kernel): > 29.94 real 56.03 user 3.12 sys > Current with SCHED_ULE: > 32.63 real 55.13 user 3.53 sys > Now 9% of the real time (= 18% of the cycles on one CPU = almost the > sys sys overhead) is apparently wasted by leaving one CPU idle. This > benchmark is of course dominated by many instances of 2 gcc hogs which > should be scheduled to run in parallel with no idle cycles. (In all > these kernel benchmarks, everything except disk writes is cached before > starting. In other makeworld benchmarks, everything is cached before > starting on the nfs server, while on the client nothing is cached.) > > I don't have context switch counts or pagezero times for the kernel builds. > stathz is 100 = hz. Maybe SCHED_ULE doesn't like this. hz = 100 is > about 1% faster than hz = 1000 for the makeworld benchmark. > > Bruce > From owner-cvs-src@FreeBSD.ORG Thu Jun 7 06:28:49 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA25416A46C; Thu, 7 Jun 2007 06:28:49 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 830EB13C4C4; Thu, 7 Jun 2007 06:28:49 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l576Sn9G040744; Thu, 7 Jun 2007 06:28:49 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l576SnKZ040740; Thu, 7 Jun 2007 06:28:49 GMT (envelope-from peter) Message-Id: <200706070628.l576SnKZ040740@repoman.freebsd.org> From: Peter Wemm Date: Thu, 7 Jun 2007 06:28: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/puc pucdata.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 06:28:49 -0000 peter 2007-06-07 06:28:49 UTC FreeBSD src repository Modified files: sys/dev/puc pucdata.c Log: Calculate the correct PCI BAR for the Timedia based serial cards. The Linux equivalent gives BAR offsets relative to the implied base of 0x10. Our PUC_CFG_GET_RID functions have to add the base offset themselves. Revision Changes Path 1.59 +1 -1 src/sys/dev/puc/pucdata.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 07:17:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF77A16A400; Thu, 7 Jun 2007 07:17:30 +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 803A013C447; Thu, 7 Jun 2007 07:17:30 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l577HHGJ020454 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jun 2007 17:17:19 +1000 Date: Thu, 7 Jun 2007 17:17:19 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Kip Macy In-Reply-To: Message-ID: <20070607163724.M7517@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> <20070606094354.E51708@delplex.bde.org> <20070605195839.I606@10.0.0.1> <20070606154548.F3105@besplex.bde.org> <20070607133524.S7002@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@FreeBSD.org, John Baldwin , cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Attilio Rao , Bruce Evans , Kostik Belousov , Jeff Roberson Subject: Re: 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: Thu, 07 Jun 2007 07:17:31 -0000 On Wed, 6 Jun 2007, Kip Macy wrote: > Bruce - > Can you also say how many runs do you do and how much variance there > is between runs? Only 1 or 2 runs for a quick test. I always reboot the client before even most quick tests. Maximum variance is ~0.1% on a good day and ~0.5% on a bad or different day provided most parameters are held constant. The main parameters that aren't quite held constant are the temperature, the server load, and pagezero activity -- pagezero activity is very dependent on initial conditions and/or races. I sometimes repeat the makeworld in a loop without rebooting. This gives more variance for the warm state of the client after the first run of course, and more for subsequent runs too since the initial cache(s) state is more variable. Results of the most recent runs of this: (Cold client): 834.39 real 1300.21 user 192.19 sys 1323006 voluntary context switches 1526348 involuntary context switches (Warm client): 832.52 real 1298.68 user 193.07 sys 1290718 voluntary context switches 1456190 involuntary context switches This is with 4BSD, no PREEMPTION, and pagezero disabled. With the same kernel but pagezero not disabled, the time for a cold client was ~843 seconds real (somehow down from 847 yesterday). With pagezero working correctly, the time for a cold client would be ~= 834 seconds(above time) - 6 seconds(time saved by pagezero) = 828 seconds (best time was 827+ seconds). The next run will have pagezero resetting its priority when this priority gets clobbered. Bruce From owner-cvs-src@FreeBSD.ORG Thu Jun 7 07:32:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D6C016A469; Thu, 7 Jun 2007 07:32:16 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 26CF013C46E; Thu, 7 Jun 2007 07:32:16 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l577WGWX003698; Thu, 7 Jun 2007 07:32:16 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l577WGLk003694; Thu, 7 Jun 2007 07:32:16 GMT (envelope-from kib) Message-Id: <200706070732.l577WGLk003694@repoman.freebsd.org> From: Konstantin Belousov Date: Thu, 7 Jun 2007 07:32:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/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: Thu, 07 Jun 2007 07:32:16 -0000 kib 2007-06-07 07:32:15 UTC FreeBSD src repository Modified files: sys/sys param.h Log: Bump __FreeBSD_version for the change of the vn_open/VOP_OPEN file index argument to struct file *. Requested by: Csaba Henk Revision Changes Path 1.299 +1 -1 src/sys/sys/param.h From owner-cvs-src@FreeBSD.ORG Thu Jun 7 07:43:05 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A48A216A468; Thu, 7 Jun 2007 07:43:05 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7E4F313C45E; Thu, 7 Jun 2007 07:43:05 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l577h56j014053; Thu, 7 Jun 2007 07:43:05 GMT (envelope-from pav@repoman.freebsd.org) Received: (from pav@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l577h5OB014049; Thu, 7 Jun 2007 07:43:05 GMT (envelope-from pav) Message-Id: <200706070743.l577h5OB014049@repoman.freebsd.org> From: Pav Lucistnik Date: Thu, 7 Jun 2007 07:43: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.sbin/boot0cfg boot0cfg.8 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 07:43:05 -0000 pav 2007-06-07 07:43:04 UTC FreeBSD src repository (doc,ports committer) Modified files: usr.sbin/boot0cfg boot0cfg.8 Log: "-b /boot/mbr" is redundant, /boot/mbr is the default boot code for fdisk(8). Pointed out by: ru Revision Changes Path 1.32 +2 -2 src/usr.sbin/boot0cfg/boot0cfg.8 From owner-cvs-src@FreeBSD.ORG Thu Jun 7 08:15:23 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 716BB16A468; Thu, 7 Jun 2007 08:15:23 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id DE41A13C45E; Thu, 7 Jun 2007 08:15:22 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l578FBBL013678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Jun 2007 18:15:12 +1000 Date: Thu, 7 Jun 2007 18:15:13 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Evans In-Reply-To: <20070607163724.M7517@besplex.bde.org> Message-ID: <20070607180257.P7767@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <3bbf2fe10706050829o2d756a4cu22f98cf11c01f5e4@mail.gmail.com> <3bbf2fe10706050843x5aaafaafy284e339791bcfe42@mail.gmail.com> <200706051230.21242.jhb@freebsd.org> <20070606094354.E51708@delplex.bde.org> <20070605195839.I606@10.0.0.1> <20070606154548.F3105@besplex.bde.org> <20070607133524.S7002@besplex.bde.org> <20070607163724.M7517@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@FreeBSD.org, John Baldwin , Kip Macy , cvs-all@FreeBSD.org, Attilio Rao , cvs-src@FreeBSD.org, Kostik Belousov , Jeff Roberson Subject: Re: 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: Thu, 07 Jun 2007 08:15:23 -0000 On Thu, 7 Jun 2007, Bruce Evans wrote: > (Cold client): > 834.39 real 1300.21 user 192.19 sys > 1323006 voluntary context switches > 1526348 involuntary context switches > ... > This is with 4BSD, no PREEMPTION, and pagezero disabled. With the > ... > The next run will have pagezero resetting its priority when this priority > gets clobbered. That gave only mainly more voluntary context switches (13.5+ million instead of the best observed value of 1.3+ million or the value of 2.9+ million without priority resetting. It reduced the pagezero time from 30 seconds to 24. It didn't change the real time significantly. Bruce From owner-cvs-src@FreeBSD.ORG Thu Jun 7 09:29:38 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 865DD16A421; Thu, 7 Jun 2007 09:29:38 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 76DDE13C45A; Thu, 7 Jun 2007 09:29:38 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l579TcSN023754; Thu, 7 Jun 2007 09:29:38 GMT (envelope-from brueffer@repoman.freebsd.org) Received: (from brueffer@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l579TcoI023753; Thu, 7 Jun 2007 09:29:38 GMT (envelope-from brueffer) Message-Id: <200706070929.l579TcoI023753@repoman.freebsd.org> From: Christian Brueffer Date: Thu, 7 Jun 2007 09:29:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ubsa.c ucom.c udbp.c ufm.c uftdi.c uhid.c ulpt.c ums.c uplcom.c urio.c usb.c usb.h uscanner.c uvscom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 09:29:38 -0000 brueffer 2007-06-07 09:29:38 UTC FreeBSD src repository Modified files: sys/dev/usb ubsa.c ucom.c udbp.c ufm.c uftdi.c uhid.c ulpt.c ums.c uplcom.c urio.c usb.c usb.h uscanner.c uvscom.c Log: Remove compat ifdefs for version < 500014 from the rest of the USB files. Approved by: rwatson (mentor) MFC after: 1 week Revision Changes Path 1.24 +0 -4 src/sys/dev/usb/ubsa.c 1.61 +0 -4 src/sys/dev/usb/ucom.c 1.32 +0 -4 src/sys/dev/usb/udbp.c 1.26 +0 -7 src/sys/dev/usb/ufm.c 1.28 +0 -4 src/sys/dev/usb/uftdi.c 1.85 +0 -7 src/sys/dev/usb/uhid.c 1.71 +0 -3 src/sys/dev/usb/ulpt.c 1.85 +0 -3 src/sys/dev/usb/ums.c 1.43 +0 -4 src/sys/dev/usb/uplcom.c 1.38 +0 -7 src/sys/dev/usb/urio.c 1.113 +0 -7 src/sys/dev/usb/usb.c 1.42 +0 -4 src/sys/dev/usb/usb.h 1.77 +0 -7 src/sys/dev/usb/uscanner.c 1.32 +0 -4 src/sys/dev/usb/uvscom.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 09:50:54 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8238B16A400; Thu, 7 Jun 2007 09:50:54 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5BE1E13C448; Thu, 7 Jun 2007 09:50:54 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l579osCP043271; Thu, 7 Jun 2007 09:50:54 GMT (envelope-from bz@repoman.freebsd.org) Received: (from bz@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l579osS2043267; Thu, 7 Jun 2007 09:50:54 GMT (envelope-from bz) Message-Id: <200706070950.l579osS2043267@repoman.freebsd.org> From: "Bjoern A. Zeeb" Date: Thu, 7 Jun 2007 09:50:54 +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/netinet ip_fw.h ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 09:50:54 -0000 bz 2007-06-07 09:50:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet ip_fw2.c ip_fw.h sbin/ipfw ipfw.8 ipfw2.c Log: MFC: 1.200 sbin/ipfw/ipfw.8, 1.104 sbin/ipfw/ipfw2.c 1.110 sys/netinet/ip_fw.h, 1.164 sys/netinet/ip_fw2.c Add support for filtering on Routing Header Type 0 and Mobile IPv6 Routing Header Type 2 in addition to filter on the non-differentiated presence of any Routing Header. Revision Changes Path 1.175.2.11 +7 -3 src/sbin/ipfw/ipfw.8 1.76.2.18 +18 -0 src/sbin/ipfw/ipfw2.c 1.100.2.10 +2 -0 src/sys/netinet/ip_fw.h 1.106.2.40 +4 -0 src/sys/netinet/ip_fw2.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 12:29:34 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1450816A41F; Thu, 7 Jun 2007 12:29:34 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E21B113C480; Thu, 7 Jun 2007 12:29:33 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57CTXph087733; Thu, 7 Jun 2007 12:29:33 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57CTXun087732; Thu, 7 Jun 2007 12:29:33 GMT (envelope-from simokawa) Message-Id: <200706071229.l57CTXun087732@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Thu, 7 Jun 2007 12:29:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/dconschat dconschat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 12:29:34 -0000 simokawa 2007-06-07 12:29:33 UTC FreeBSD src repository Modified files: usr.sbin/dconschat dconschat.c Log: Add heuristics for smooth reconnection. Revision Changes Path 1.11 +22 -4 src/usr.sbin/dconschat/dconschat.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 13:20:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CA3616A46D; Thu, 7 Jun 2007 13:20:50 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4594B13C4CB; Thu, 7 Jun 2007 13:20:50 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57DKoTx048365; Thu, 7 Jun 2007 13:20:50 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57DKoG5048351; Thu, 7 Jun 2007 13:20:50 GMT (envelope-from simokawa) Message-Id: <200706071320.l57DKoG5048351@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Thu, 7 Jun 2007 13:20: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/firewire firewirereg.h fwohci.c sbp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 13:20:50 -0000 simokawa 2007-06-07 13:20:49 UTC FreeBSD src repository Modified files: sys/dev/firewire firewirereg.h fwohci.c sbp.c Log: Add a tunable hw.firewire.phydma_enable. This is enabled by default. It should be disabled for those who are uneasy with peeking/poking from FireWire. Please note sbp(4) and dcons(4) over FireWire need this feature. Revision Changes Path 1.48 +1 -0 src/sys/dev/firewire/firewirereg.h 1.91 +11 -6 src/sys/dev/firewire/fwohci.c 1.94 +7 -0 src/sys/dev/firewire/sbp.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 14:59:54 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31CE316A421; Thu, 7 Jun 2007 14:59:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id A92CC13C447; Thu, 7 Jun 2007 14:59:53 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l57Exhe9047718; Thu, 7 Jun 2007 10:59:43 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Bruce Evans Date: Thu, 7 Jun 2007 10:59:40 -0400 User-Agent: KMail/1.9.6 References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070607163724.M7517@besplex.bde.org> <20070607180257.P7767@besplex.bde.org> In-Reply-To: <20070607180257.P7767@besplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706071059.41466.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]); Thu, 07 Jun 2007 10:59:43 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3376/Thu Jun 7 04:39:26 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: src-committers@freebsd.org, Kip Macy , cvs-all@freebsd.org, Attilio Rao , cvs-src@freebsd.org, Kostik Belousov , Jeff Roberson Subject: Re: 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: Thu, 07 Jun 2007 14:59:54 -0000 On Thursday 07 June 2007 04:15:13 am Bruce Evans wrote: > On Thu, 7 Jun 2007, Bruce Evans wrote: > > > (Cold client): > > 834.39 real 1300.21 user 192.19 sys > > 1323006 voluntary context switches > > 1526348 involuntary context switches > > ... > > This is with 4BSD, no PREEMPTION, and pagezero disabled. With the > > ... > > The next run will have pagezero resetting its priority when this priority > > gets clobbered. > > That gave only mainly more voluntary context switches (13.5+ million instead > of the best observed value of 1.3+ million or the value of 2.9+ million > without priority resetting. It reduced the pagezero time from 30 seconds to > 24. It didn't change the real time significantly. Hmm, one problem with the non-preemption page zero is that it doesn't yield the lock when it voluntarily yields. I wonder if something like this patch would help things for the non-preemption case: Index: vm_zeroidle.c =================================================================== RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v retrieving revision 1.45 diff -u -r1.45 vm_zeroidle.c --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 +++ vm_zeroidle.c 7 Jun 2007 14:56:02 -0000 @@ -147,8 +147,10 @@ #ifndef PREEMPTION if (sched_runnable()) { mtx_lock_spin(&sched_lock); + mtx_unlock(&vm_page_queue_free_mtx); mi_switch(SW_VOL, NULL); mtx_unlock_spin(&sched_lock); + mtx_lock(&vm_page_queue_free_mtx); } #endif } else { We could simulate this behavior some by using a critical section to control when preemptions happen so that we wait until we drop the lock perhaps to allow preemptions. Something like this: > Index: vm_zeroidle.c =================================================================== RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v retrieving revision 1.45 diff -u -r1.45 vm_zeroidle.c --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 +++ vm_zeroidle.c 7 Jun 2007 14:58:39 -0000 @@ -110,8 +110,10 @@ if (m != NULL && (m->flags & PG_ZERO) == 0) { vm_pageq_remove_nowakeup(m); mtx_unlock(&vm_page_queue_free_mtx); + critical_exit(); pmap_zero_page_idle(m); mtx_lock(&vm_page_queue_free_mtx); + critical_enter(); m->flags |= PG_ZERO; vm_pageq_enqueue(PQ_FREE + m->pc, m); ++vm_page_zero_count; @@ -141,20 +143,25 @@ idlezero_enable = idlezero_enable_default; mtx_lock(&vm_page_queue_free_mtx); + critical_enter(); for (;;) { if (vm_page_zero_check()) { vm_page_zero_idle(); #ifndef PREEMPTION if (sched_runnable()) { mtx_lock_spin(&sched_lock); + mtx_unlock(&vm_page_queue_free_mtx); mi_switch(SW_VOL, NULL); mtx_unlock_spin(&sched_lock); + mtx_lock(&vm_page_queue_free_mtx); } #endif } else { + critical_exit(); wakeup_needed = TRUE; msleep(&zero_state, &vm_page_queue_free_mtx, 0, "pgzero", hz * 300); + critical_enter(); } } } -- John Baldwin From owner-cvs-src@FreeBSD.ORG Thu Jun 7 15:04:31 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DCDE16A46D; Thu, 7 Jun 2007 15:04:31 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id DBAEC13C480; Thu, 7 Jun 2007 15:04:30 +0000 (UTC) (envelope-from bmah@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57F4U4Z050401; Thu, 7 Jun 2007 15:04:30 GMT (envelope-from bmah@repoman.freebsd.org) Received: (from bmah@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57F4UOg050400; Thu, 7 Jun 2007 15:04:30 GMT (envelope-from bmah) Message-Id: <200706071504.l57F4UOg050400@repoman.freebsd.org> From: "Bruce A. Mah" Date: Thu, 7 Jun 2007 15:04: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/pseudofs pseudofs_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: Thu, 07 Jun 2007 15:04:31 -0000 bmah 2007-06-07 15:04:30 UTC FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vnops.c Log: Fix off-by-one error (introduced in r1.60) that had the effect of disallowing a read of exactly MAXPHYS bytes. Reviewed by: des, rdivacky MFC after: 1 week Sponsored by: nCircle Network Security Revision Changes Path 1.64 +1 -1 src/sys/fs/pseudofs/pseudofs_vnops.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 16:04:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1F4316A41F; Thu, 7 Jun 2007 16:04:24 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AC09513C487; Thu, 7 Jun 2007 16:04:24 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57G4OtR009273; Thu, 7 Jun 2007 16:04:24 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57G4Oa6009262; Thu, 7 Jun 2007 16:04:24 GMT (envelope-from marcel) Message-Id: <200706071604.l57G4Oa6009262@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 7 Jun 2007 16:04:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 pmap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 16:04:25 -0000 marcel 2007-06-07 16:04:23 UTC FreeBSD src repository Modified files: sys/ia64/ia64 pmap.c Log: Eliminate pmap_install(), which was used to wrap pmap_switch() and grab sched_lock. This would serialize calls to pmap_switch from cpu_switch(). With the introduction of thread_lock, this is not possible anymore, because thread_lock is not a single lock. It varies. Secondly and most importantly, it's not needed at all. The only requirement for pmap_switch() is that it's not preempted while in the middle of updating the CPU and PCPU. In other words, it's a critical region. No locking required. Revision Changes Path 1.189 +43 -55 src/sys/ia64/ia64/pmap.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 17:04:02 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38FA616A421 for ; Thu, 7 Jun 2007 17:04:02 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 1D26213C448 for ; Thu, 7 Jun 2007 17:04:02 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 41369 invoked from network); 7 Jun 2007 16:59:32 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.5.18?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 7 Jun 2007 16:59:32 -0000 Message-ID: <46683958.2060700@root.org> Date: Thu, 07 Jun 2007 09:59:04 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070513) MIME-Version: 1.0 To: Hidetoshi Shimokawa References: <20070607132053.974EF16A584@hub.freebsd.org> In-Reply-To: <20070607132053.974EF16A584@hub.freebsd.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/firewire firewirereg.h fwohci.c sbp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 17:04:02 -0000 Hidetoshi Shimokawa wrote: > simokawa 2007-06-07 13:20:49 UTC > > FreeBSD src repository > > Modified files: > sys/dev/firewire firewirereg.h fwohci.c sbp.c > Log: > Add a tunable hw.firewire.phydma_enable. > > This is enabled by default. It should be disabled for > those who are uneasy with peeking/poking from FireWire. > > Please note sbp(4) and dcons(4) over FireWire need > this feature. > > Revision Changes Path > 1.48 +1 -0 src/sys/dev/firewire/firewirereg.h > 1.91 +11 -6 src/sys/dev/firewire/fwohci.c > 1.94 +7 -0 src/sys/dev/firewire/sbp.c > > > Index: src/sys/dev/firewire/firewirereg.h > diff -u src/sys/dev/firewire/firewirereg.h:1.47 src/sys/dev/firewire/firewirereg.h:1.48 > --- src/sys/dev/firewire/firewirereg.h:1.47 Wed Jun 6 14:31:36 2007 > +++ src/sys/dev/firewire/firewirereg.h Thu Jun 7 13:20:48 2007 > @@ -299,6 +299,7 @@ > > extern int firewire_debug; > extern devclass_t firewire_devclass; > +extern int firewire_phydma_enable; > > #ifdef __DragonFly__ > #define FWPRI PCATCH > Index: src/sys/dev/firewire/fwohci.c > diff -u src/sys/dev/firewire/fwohci.c:1.90 src/sys/dev/firewire/fwohci.c:1.91 > --- src/sys/dev/firewire/fwohci.c:1.90 Wed Jun 6 14:31:36 2007 > +++ src/sys/dev/firewire/fwohci.c Thu Jun 7 13:20:48 2007 > @@ -79,9 +79,13 @@ > #undef OHCI_DEBUG > > static int nocyclemaster = 0; > +int firewire_phydma_enable = 1; > SYSCTL_DECL(_hw_firewire); > SYSCTL_INT(_hw_firewire, OID_AUTO, nocyclemaster, CTLFLAG_RW, &nocyclemaster, 0, > "Do not send cycle start packets"); > +SYSCTL_INT(_hw_firewire, OID_AUTO, phydma_enable, CTLFLAG_RW, > + &firewire_phydma_enable, 1, "Allow physical request DMA from firewire"); > +TUNABLE_INT("hw.firewire.phydma_enable", &firewire_phydma_enable); > > static char dbcode[16][0x10]={"OUTM", "OUTL","INPM","INPL", > "STOR","LOAD","NOP ","STOP",}; > @@ -1862,12 +1866,13 @@ > > /* Allow async. request to us */ > OWRITE(sc, OHCI_AREQHI, 1 << 31); > - /* XXX insecure ?? */ > - /* allow from all nodes */ > - OWRITE(sc, OHCI_PREQHI, 0x7fffffff); > - OWRITE(sc, OHCI_PREQLO, 0xffffffff); > - /* 0 to 4GB regison */ > - OWRITE(sc, OHCI_PREQUPPER, 0x10000); > + if (firewire_phydma_enable) { > + /* allow from all nodes */ > + OWRITE(sc, OHCI_PREQHI, 0x7fffffff); > + OWRITE(sc, OHCI_PREQLO, 0xffffffff); > + /* 0 to 4GB region */ > + OWRITE(sc, OHCI_PREQUPPER, 0x10000); > + } > /* Set ATRetries register */ > OWRITE(sc, OHCI_ATRETRY, 1<<(13+16) | 0xfff); I see this runs each time a PHY_SID intr arrives. Is that enough to really prevent access if a pre-existing host on the bus requests DMA? I don't think an intr is generated in that case. Should this be a separate function run directly by the sysctl that sets the filters immediately? -- Nate From owner-cvs-src@FreeBSD.ORG Thu Jun 7 18:03:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F53216A41F; Thu, 7 Jun 2007 18:03:40 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.freebsd.org (Postfix) with ESMTP id E1B3413C46A; Thu, 7 Jun 2007 18:03:39 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=phonon.SpringDaemons.com) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1HwMKg-0008QD-O3; Thu, 07 Jun 2007 22:03:38 +0400 Received: from localhost (localhost [127.0.0.1]) by phonon.SpringDaemons.com (Postfix) with SMTP id 352EF1145D; Thu, 7 Jun 2007 22:01:55 +0400 (MSD) Date: Thu, 7 Jun 2007 22:01:55 +0400 From: Stanislav Sedov To: Daniel Eischen , Kris Kennaway Message-Id: <20070607220155.4ff2a59d.stas@FreeBSD.org> In-Reply-To: <200705311307.l4VD7cjR044688@repoman.freebsd.org> References: <200705311307.l4VD7cjR044688@repoman.freebsd.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon X-Voice: +7 916 849 20 23 X-XMPP: ssedov@jabber.ru X-ICQ: 208105021 X-Yahoo: stanislav_sedov X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-University: MEPhI Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__7_Jun_2007_22_01_55_+0400_fnYvI9TOjJIQINR8" X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.6.0 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/quad 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: Thu, 07 Jun 2007 18:03:40 -0000 --Signature=_Thu__7_Jun_2007_22_01_55_+0400_fnYvI9TOjJIQINR8 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 31 May 2007 13:07:37 +0000 (UTC) Daniel Eischen mentioned: > deischen 2007-05-31 13:07:37 UTC >=20 > FreeBSD src repository >=20 > Modified files: > lib/libc/quad Symbol.map=20 > Log: > Export quad symbols. They were previously commented out. These symbols > really shouldn't be exported since they should be pulled from libgcc, b= ut > the build of some applications is broken and they expect to see them in > libc. glibc exports these symbols, although Solaris doesn't appear to, > so export them for compatibility's sake. > =20 > After discussion with: kan > =20 I beleive we should better fix all ports that do improper linking, than live with a compatibility hack. I have checked some local ports, and there seems to be not very much of them. Furthermore, tcl was already fixed. Kris, can you provide a list of broken ports without this modification. If needed, we can write a letter to ports@ to ask all maintainers to check/fix their ports in respect of correct linking. After this will be done, the patch can be backouted. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__7_Jun_2007_22_01_55_+0400_fnYvI9TOjJIQINR8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGaEgTK/VZk+smlYERAmRvAJ9sI6ii4V2J3+oIrsYIwq6yL0AMOQCfcDPW jzNrdivHqBfmHZRgrx48RKs= =llI8 -----END PGP SIGNATURE----- --Signature=_Thu__7_Jun_2007_22_01_55_+0400_fnYvI9TOjJIQINR8-- From owner-cvs-src@FreeBSD.ORG Thu Jun 7 18:24:50 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF10B16A400; Thu, 7 Jun 2007 18:24:50 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7E31313C4C4; Thu, 7 Jun 2007 18:24:50 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.14.1/8.14.1/NETPLEX) with ESMTP id l57IOnF7029286; Thu, 7 Jun 2007 14:24:49 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.ntplx.net [204.213.176.10]); Thu, 07 Jun 2007 14:24:49 -0400 (EDT) Date: Thu, 7 Jun 2007 14:24:49 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Stanislav Sedov In-Reply-To: <20070607220155.4ff2a59d.stas@FreeBSD.org> Message-ID: References: <200705311307.l4VD7cjR044688@repoman.freebsd.org> <20070607220155.4ff2a59d.stas@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, Kris Kennaway Subject: Re: cvs commit: src/lib/libc/quad Symbol.map X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 18:24:50 -0000 On Thu, 7 Jun 2007, Stanislav Sedov wrote: > On Thu, 31 May 2007 13:07:37 +0000 (UTC) > Daniel Eischen mentioned: > >> deischen 2007-05-31 13:07:37 UTC >> >> FreeBSD src repository >> >> Modified files: >> lib/libc/quad Symbol.map >> Log: >> Export quad symbols. They were previously commented out. These symbols >> really shouldn't be exported since they should be pulled from libgcc, but >> the build of some applications is broken and they expect to see them in >> libc. glibc exports these symbols, although Solaris doesn't appear to, >> so export them for compatibility's sake. >> >> After discussion with: kan >> > > I beleive we should better fix all ports that do improper linking, than > live with a compatibility hack. I have checked some local ports, and > there seems to be not very much of them. Furthermore, tcl was > already fixed. Kris, can you provide a list of broken ports without this > modification. > > If needed, we can write a letter to ports@ to ask all maintainers to > check/fix their ports in respect of correct linking. After this will be > done, the patch can be backouted. Well, it would be nice to fix the ports regardless, but kan asked me to export them from libc. So if you can get him to agree, I'll back this out. -- DE From owner-cvs-src@FreeBSD.ORG Thu Jun 7 18:36:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD88D16A41F; Thu, 7 Jun 2007 18:36:58 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9749013C45E; Thu, 7 Jun 2007 18:36:58 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57Iawps062252; Thu, 7 Jun 2007 18:36:58 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57IawsX062248; Thu, 7 Jun 2007 18:36:58 GMT (envelope-from marcel) Message-Id: <200706071836.l57IawsX062248@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 7 Jun 2007 18:36: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/ia64/ia64 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, 07 Jun 2007 18:36:58 -0000 marcel 2007-06-07 18:36:58 UTC FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c Log: Remove remaining references to pc_curtid missed in previous commit. Revision Changes Path 1.220 +0 -2 src/sys/ia64/ia64/machdep.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 19:33:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52B6616A468; Thu, 7 Jun 2007 19:33:08 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 3DAB613C4B0; Thu, 7 Jun 2007 19:33:08 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 4E2E91A4D80; Thu, 7 Jun 2007 12:33:09 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 92B2451492; Thu, 7 Jun 2007 14:17:17 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id 8D76DC207; Thu, 7 Jun 2007 14:17:17 -0400 (EDT) Date: Thu, 7 Jun 2007 14:17:17 -0400 From: Kris Kennaway To: Stanislav Sedov Message-ID: <20070607181717.GB27572@rot13.obsecurity.org> References: <200705311307.l4VD7cjR044688@repoman.freebsd.org> <20070607220155.4ff2a59d.stas@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070607220155.4ff2a59d.stas@FreeBSD.org> User-Agent: Mutt/1.4.2.2i Cc: Daniel Eischen , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Kris Kennaway Subject: Re: cvs commit: src/lib/libc/quad 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: Thu, 07 Jun 2007 19:33:08 -0000 On Thu, Jun 07, 2007 at 10:01:55PM +0400, Stanislav Sedov wrote: > On Thu, 31 May 2007 13:07:37 +0000 (UTC) > Daniel Eischen mentioned: > > > deischen 2007-05-31 13:07:37 UTC > > > > FreeBSD src repository > > > > Modified files: > > lib/libc/quad Symbol.map > > Log: > > Export quad symbols. They were previously commented out. These symbols > > really shouldn't be exported since they should be pulled from libgcc, but > > the build of some applications is broken and they expect to see them in > > libc. glibc exports these symbols, although Solaris doesn't appear to, > > so export them for compatibility's sake. > > > > After discussion with: kan > > > > I beleive we should better fix all ports that do improper linking, than > live with a compatibility hack. I have checked some local ports, and > there seems to be not very much of them. Furthermore, tcl was > already fixed. Kris, can you provide a list of broken ports without this > modification. Unfortunately I no longer have them since they've been fixed, but you can look on pointyhat's archive to check a build done just before this date. I think the concern is third party software though, since there is a somewhat reasonable expectation (from glibc) that these symbols will be exported. Kris From owner-cvs-src@FreeBSD.ORG Thu Jun 7 19:45:20 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3BCF16A400; Thu, 7 Jun 2007 19:45:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8D18C13C457; Thu, 7 Jun 2007 19:45:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57JjKYv030578; Thu, 7 Jun 2007 19:45:20 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57JjKwu030570; Thu, 7 Jun 2007 19:45:20 GMT (envelope-from jhb) Message-Id: <200706071945.l57JjKwu030570@repoman.freebsd.org> From: John Baldwin Date: Thu, 7 Jun 2007 19:45:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_thr.c src/sys/sys syscallsubr.h thr.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, 07 Jun 2007 19:45:20 -0000 jhb 2007-06-07 19:45:19 UTC FreeBSD src repository Modified files: sys/kern kern_thr.c sys/sys syscallsubr.h thr.h Log: - Remove unused variable from create_thread(). - Move kern_thr_*() prototype to where all the other kern_*() prototypes live. Revision Changes Path 1.61 +1 -2 src/sys/kern/kern_thr.c 1.46 +3 -0 src/sys/sys/syscallsubr.h 1.13 +1 -4 src/sys/sys/thr.h From owner-cvs-src@FreeBSD.ORG Thu Jun 7 20:57:42 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id E6D6616A474; Thu, 7 Jun 2007 20:57:42 +0000 (UTC) Date: Thu, 7 Jun 2007 20:57:42 +0000 From: Alexey Dokuchaev To: John Baldwin Message-ID: <20070607205742.GA74737@FreeBSD.org> References: <200601030917.k039H4pC060911@repoman.freebsd.org> <20060903184227.GA6453%slw@zxy.spb.ru> <200609051225.36053.jhb@freebsd.org> <20060905170942.GA71920@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060905170942.GA71920@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Brian Somers , cvs-all@freebsd.org, Slawa Olhovchenkov Subject: Re: cvs commit: src/usr.bin/su su.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 20:57:43 -0000 On Tue, Sep 05, 2006 at 05:09:42PM +0000, Alexey Dokuchaev wrote: > On Tue, Sep 05, 2006 at 12:25:35PM -0400, John Baldwin wrote: > > On Sunday 03 September 2006 14:42, Slawa Olhovchenkov wrote: > > > On Tue, Jan 03, 2006 at 09:17:04AM +0000, Brian Somers wrote: > > > > > > > brian 2006-01-03 09:17:04 UTC > > > > > > > > FreeBSD src repository > > > > > > > > Modified files: > > > > usr.bin/su su.c > > > > Log: > > > > Fix the other su bug reintroduced two commits ago, namely > > > > > > > > $ su > > > > % kill -STOP $$ > > > > > > > > where su is executing (t)csh. csh's job handling is a little more > > > > special than that of (a)sh, bash and even zsh and blows up a little > > > > more spectacularly. This modification restores the original mucking > > > > about with the tty pgrp, but is careful to only do it when su (or > > > > su's child) is the foreground process. > > > > > > > > While I'm here, fix a STDERR_FILENO spelling as suggested by bde. > > > > > > This is break 'make config' in ports tree: > > > > > > > make config > > > ===> Switching to root credentials to create /var/db/ports/glib20 > > > ===> Returning to user credentials > > > > > > Suspended (tty output) > > > > I've noticed weirdness where the tty seems to get into a funk where every su > > goes into suspended mode, such that I have to 'fg' and then enter the root > > password. Then it will keep chugging along until the next su. This seems > > to imply that the tty state is hosed somehow. > > I can say that this "Suspended (tty output)" and requirement to do "fg" > annoys me for several months already (I'm using tcsh(1)). I've also > noticed that I have to press Enter after every command in ispell(1), but This rather annoying thing keeps happening to me up to rairly recent -CURRENT. Any further clues I can provide you guys? ./danfe From owner-cvs-src@FreeBSD.ORG Thu Jun 7 21:41:52 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0ED6D16A41F; Thu, 7 Jun 2007 21:41:52 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id DCFC213C45D; Thu, 7 Jun 2007 21:41:51 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57Lfpwr044837; Thu, 7 Jun 2007 21:41:51 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57Lfpup044829; Thu, 7 Jun 2007 21:41:51 GMT (envelope-from andre) Message-Id: <200706072141.l57Lfpup044829@repoman.freebsd.org> From: Andre Oppermann Date: Thu, 7 Jun 2007 21:41:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet tcp_hostcache.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 21:41:52 -0000 andre 2007-06-07 21:41:51 UTC FreeBSD src repository Modified files: sys/netinet tcp_hostcache.c Log: In tcp_hc_insert() we may have the case where we have hit the global cache size limit but this bucket row is empty. Normally we want to recycle the oldest entry in the bucket row. If there isn't any the TAILQ_REMOVE leads to a panic by trying to remove a non-existing element. Fix this by just returning NULL and failing the insert. This is not a problem as the TCP hostache is only advisory. Submitted by: jhb Revision Changes Path 1.14 +6 -0 src/sys/netinet/tcp_hostcache.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 21:51:09 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECFE416A400; Thu, 7 Jun 2007 21:51:09 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C702013C44C; Thu, 7 Jun 2007 21:51:09 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57Lp9JE055525; Thu, 7 Jun 2007 21:51:09 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57Lp9Iw055524; Thu, 7 Jun 2007 21:51:09 GMT (envelope-from cognet) Message-Id: <200706072151.l57Lp9Iw055524@repoman.freebsd.org> From: Olivier Houchard Date: Thu, 7 Jun 2007 21:51: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/arm/arm busdma_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, 07 Jun 2007 21:51:10 -0000 cognet 2007-06-07 21:51:09 UTC FreeBSD src repository Modified files: sys/arm/arm busdma_machdep.c Log: There's no nobounce_dmamap on arm. Revision Changes Path 1.32 +3 -4 src/sys/arm/arm/busdma_machdep.c From owner-cvs-src@FreeBSD.ORG Thu Jun 7 22:19:07 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 83FE616A468; Thu, 7 Jun 2007 22:19:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 0538313C447; Thu, 7 Jun 2007 22:19:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l57MJ4RY050221; Thu, 7 Jun 2007 18:19:04 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Alexey Dokuchaev Date: Thu, 7 Jun 2007 18:18:57 -0400 User-Agent: KMail/1.9.6 References: <200601030917.k039H4pC060911@repoman.freebsd.org> <20060905170942.GA71920@FreeBSD.org> <20070607205742.GA74737@FreeBSD.org> In-Reply-To: <20070607205742.GA74737@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706071818.58621.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]); Thu, 07 Jun 2007 18:19:04 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3377/Thu Jun 7 16:20:29 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Brian Somers , cvs-all@freebsd.org, Slawa Olhovchenkov Subject: Re: cvs commit: src/usr.bin/su su.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 07 Jun 2007 22:19:07 -0000 On Thursday 07 June 2007 04:57:42 pm Alexey Dokuchaev wrote: > On Tue, Sep 05, 2006 at 05:09:42PM +0000, Alexey Dokuchaev wrote: > > On Tue, Sep 05, 2006 at 12:25:35PM -0400, John Baldwin wrote: > > > On Sunday 03 September 2006 14:42, Slawa Olhovchenkov wrote: > > > > On Tue, Jan 03, 2006 at 09:17:04AM +0000, Brian Somers wrote: > > > > > > > > > brian 2006-01-03 09:17:04 UTC > > > > > > > > > > FreeBSD src repository > > > > > > > > > > Modified files: > > > > > usr.bin/su su.c > > > > > Log: > > > > > Fix the other su bug reintroduced two commits ago, namely > > > > > > > > > > $ su > > > > > % kill -STOP $$ > > > > > > > > > > where su is executing (t)csh. csh's job handling is a little more > > > > > special than that of (a)sh, bash and even zsh and blows up a little > > > > > more spectacularly. This modification restores the original mucking > > > > > about with the tty pgrp, but is careful to only do it when su (or > > > > > su's child) is the foreground process. > > > > > > > > > > While I'm here, fix a STDERR_FILENO spelling as suggested by bde. > > > > > > > > This is break 'make config' in ports tree: > > > > > > > > > make config > > > > ===> Switching to root credentials to create /var/db/ports/glib20 > > > > ===> Returning to user credentials > > > > > > > > Suspended (tty output) > > > > > > I've noticed weirdness where the tty seems to get into a funk where every su > > > goes into suspended mode, such that I have to 'fg' and then enter the root > > > password. Then it will keep chugging along until the next su. This seems > > > to imply that the tty state is hosed somehow. > > > > I can say that this "Suspended (tty output)" and requirement to do "fg" > > annoys me for several months already (I'm using tcsh(1)). I've also > > noticed that I have to press Enter after every command in ispell(1), but > > This rather annoying thing keeps happening to me up to rairly recent > -CURRENT. > > Any further clues I can provide you guys? I still see it too, highly annoying. I've even seen it during boot (rc.d scripts) where 'Ctrl-T' fails to find a foreground process group, etc. -- John Baldwin From owner-cvs-src@FreeBSD.ORG Thu Jun 7 22:27:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5310116A400; Thu, 7 Jun 2007 22:27:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4369F13C465; Thu, 7 Jun 2007 22:27:16 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l57MRGGY089986; Thu, 7 Jun 2007 22:27:16 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l57MRGUw089984; Thu, 7 Jun 2007 22:27:16 GMT (envelope-from rwatson) Message-Id: <200706072227.l57MRGUw089984@repoman.freebsd.org> From: Robert Watson Date: Thu, 7 Jun 2007 22:27: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/kern init_main.c kern_exit.c kern_fork.c kern_prot.c src/sys/security/audit audit.c audit.h audit_arg.c audit_syscalls.c src/sys/sys proc.h ucred.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, 07 Jun 2007 22:27:16 -0000 rwatson 2007-06-07 22:27:15 UTC FreeBSD src repository Modified files: sys/kern init_main.c kern_exit.c kern_fork.c kern_prot.c sys/security/audit audit.c audit.h audit_arg.c audit_syscalls.c sys/sys proc.h ucred.h Log: Move per-process audit state from a pointer in the proc structure to embedded storage in struct ucred. This allows audit state to be cached with the thread, avoiding locking operations with each system call, and makes it available in asynchronous execution contexts, such as deep in the network stack or VFS. Reviewed by: csjp Approved by: re (kensmith) Obtained from: TrustedBSD Project Revision Changes Path 1.279 +2 -3 src/sys/kern/init_main.c 1.301 +0 -3 src/sys/kern/kern_exit.c 1.276 +0 -9 src/sys/kern/kern_fork.c 1.210 +9 -0 src/sys/kern/kern_prot.c 1.30 +26 -52 src/sys/security/audit/audit.c 1.13 +5 -5 src/sys/security/audit/audit.h 1.13 +3 -3 src/sys/security/audit/audit_arg.c 1.18 +99 -102 src/sys/security/audit/audit_syscalls.c 1.481 +0 -2 src/sys/sys/proc.h 1.55 +3 -0 src/sys/sys/ucred.h From owner-cvs-src@FreeBSD.ORG Fri Jun 8 00:28:36 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD4EC16A46B for ; Fri, 8 Jun 2007 00:28:36 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 7302213C4B0 for ; Fri, 8 Jun 2007 00:28:36 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: by py-out-1112.google.com with SMTP id a29so1156707pyi for ; Thu, 07 Jun 2007 17:28:35 -0700 (PDT) Received: by 10.35.112.3 with SMTP id p3mr3734093pym.1181262515673; Thu, 07 Jun 2007 17:28:35 -0700 (PDT) Received: by 10.35.71.8 with HTTP; Thu, 7 Jun 2007 17:28:35 -0700 (PDT) Message-ID: <626eb4530706071728w1a8d0f5fi198e5e708777498e@mail.gmail.com> Date: Fri, 8 Jun 2007 09:28:35 +0900 From: "Hidetoshi Shimokawa" Sender: freebsd@gm.nunu.org To: "Nate Lawson" In-Reply-To: <46683958.2060700@root.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070607132053.974EF16A584@hub.freebsd.org> <46683958.2060700@root.org> X-Google-Sender-Auth: 3876128a5b7de0db Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/firewire firewirereg.h fwohci.c sbp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 00:28:36 -0000 Yes, that's true. I recommend you to put it in loader.conf On 6/8/07, Nate Lawson wrote: > Hidetoshi Shimokawa wrote: > > simokawa 2007-06-07 13:20:49 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/firewire firewirereg.h fwohci.c sbp.c > > Log: > > Add a tunable hw.firewire.phydma_enable. > > > > This is enabled by default. It should be disabled for > > those who are uneasy with peeking/poking from FireWire. > > > > Please note sbp(4) and dcons(4) over FireWire need > > this feature. > > > > Revision Changes Path > > 1.48 +1 -0 src/sys/dev/firewire/firewirereg.h > > 1.91 +11 -6 src/sys/dev/firewire/fwohci.c > > 1.94 +7 -0 src/sys/dev/firewire/sbp.c > > > > > > Index: src/sys/dev/firewire/firewirereg.h > > diff -u src/sys/dev/firewire/firewirereg.h:1.47 src/sys/dev/firewire/firewirereg.h:1.48 > > --- src/sys/dev/firewire/firewirereg.h:1.47 Wed Jun 6 14:31:36 2007 > > +++ src/sys/dev/firewire/firewirereg.h Thu Jun 7 13:20:48 2007 > > @@ -299,6 +299,7 @@ > > > > extern int firewire_debug; > > extern devclass_t firewire_devclass; > > +extern int firewire_phydma_enable; > > > > #ifdef __DragonFly__ > > #define FWPRI PCATCH > > Index: src/sys/dev/firewire/fwohci.c > > diff -u src/sys/dev/firewire/fwohci.c:1.90 src/sys/dev/firewire/fwohci.c:1.91 > > --- src/sys/dev/firewire/fwohci.c:1.90 Wed Jun 6 14:31:36 2007 > > +++ src/sys/dev/firewire/fwohci.c Thu Jun 7 13:20:48 2007 > > @@ -79,9 +79,13 @@ > > #undef OHCI_DEBUG > > > > static int nocyclemaster = 0; > > +int firewire_phydma_enable = 1; > > SYSCTL_DECL(_hw_firewire); > > SYSCTL_INT(_hw_firewire, OID_AUTO, nocyclemaster, CTLFLAG_RW, &nocyclemaster, 0, > > "Do not send cycle start packets"); > > +SYSCTL_INT(_hw_firewire, OID_AUTO, phydma_enable, CTLFLAG_RW, > > + &firewire_phydma_enable, 1, "Allow physical request DMA from firewire"); > > +TUNABLE_INT("hw.firewire.phydma_enable", &firewire_phydma_enable); > > > > static char dbcode[16][0x10]={"OUTM", "OUTL","INPM","INPL", > > "STOR","LOAD","NOP ","STOP",}; > > @@ -1862,12 +1866,13 @@ > > > > /* Allow async. request to us */ > > OWRITE(sc, OHCI_AREQHI, 1 << 31); > > - /* XXX insecure ?? */ > > - /* allow from all nodes */ > > - OWRITE(sc, OHCI_PREQHI, 0x7fffffff); > > - OWRITE(sc, OHCI_PREQLO, 0xffffffff); > > - /* 0 to 4GB regison */ > > - OWRITE(sc, OHCI_PREQUPPER, 0x10000); > > + if (firewire_phydma_enable) { > > + /* allow from all nodes */ > > + OWRITE(sc, OHCI_PREQHI, 0x7fffffff); > > + OWRITE(sc, OHCI_PREQLO, 0xffffffff); > > + /* 0 to 4GB region */ > > + OWRITE(sc, OHCI_PREQUPPER, 0x10000); > > + } > > /* Set ATRetries register */ > > OWRITE(sc, OHCI_ATRETRY, 1<<(13+16) | 0xfff); > > I see this runs each time a PHY_SID intr arrives. Is that enough to > really prevent access if a pre-existing host on the bus requests DMA? I > don't think an intr is generated in that case. > > Should this be a separate function run directly by the sysctl that sets > the filters immediately? > > -- > Nate > > -- /\ Hidetoshi Shimokawa \/ simokawa@FreeBSD.ORG From owner-cvs-src@FreeBSD.ORG Fri Jun 8 00:54:44 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2A0016A468; Fri, 8 Jun 2007 00:54:44 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D458B13C483; Fri, 8 Jun 2007 00:54:44 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l580si5I033615; Fri, 8 Jun 2007 00:54:44 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l580si6G033613; Fri, 8 Jun 2007 00:54:44 GMT (envelope-from simokawa) Message-Id: <200706080054.l580si6G033613@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 00:54: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/dcons dcons_crom.c dcons_os.c dcons_os.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, 08 Jun 2007 00:54:45 -0000 simokawa 2007-06-08 00:54:44 UTC FreeBSD src repository Modified files: sys/dev/dcons dcons_crom.c dcons_os.c dcons_os.h Log: Poll bus resets on FireWire while kdb/gdb is active. Now, it's safe to call the fwohci interrupt(polling) routine while ddb/gdb is active. After this change, a dcons connnection over FireWire can survive bus resets even in kernel debugger. This means that it is not too late to plug a FireWire cable after a panic to investigate the problem. Actually there is a small window(between a jump to kernel from loader and initialization of dcons_crom) in which no one can take care of a bus reset. Except that window, firewire console should keep working from loader to reboot even with a panic and a bus reset. (as far as you enable LOADER_FIREWIRE_SUPPORT) Revision Changes Path 1.8 +14 -0 src/sys/dev/dcons/dcons_crom.c 1.15 +1 -0 src/sys/dev/dcons/dcons_os.c 1.3 +4 -0 src/sys/dev/dcons/dcons_os.h From owner-cvs-src@FreeBSD.ORG Fri Jun 8 00:57:35 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCCD216A400; Fri, 8 Jun 2007 00:57:35 +0000 (UTC) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.freebsd.org (Postfix) with ESMTP id A9B8113C44B; Fri, 8 Jun 2007 00:57:35 +0000 (UTC) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 1EFB772DA1; Thu, 7 Jun 2007 17:28:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 1D74072D9F; Thu, 7 Jun 2007 17:28:06 -0700 (PDT) Date: Thu, 7 Jun 2007 17:28:06 -0700 (PDT) From: Doug White To: Yar Tikhiy In-Reply-To: <200705291240.l4TCek0K048926@repoman.freebsd.org> Message-ID: <20070607172413.T90728@carver.gumbysoft.com> References: <200705291240.l4TCek0K048926@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 UPDATING src/sys/net ethernet.h 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, 08 Jun 2007 00:57:35 -0000 Hello Yar, This commit appears to break bootstrapping -CURRENT from RELENG_6 and 6.2-RELEASE. I'm not exactly sure why and will continue to investigate. Right now I'm getting errors (EINVAL) and panics at boot time in ifconfig when trying to configure interfaces after upgrading the kernel from 6.2 to HEAD for the first time. On Tue, 29 May 2007, Yar Tikhiy wrote: > yar 2007-05-29 12:40:46 UTC > > FreeBSD src repository > > Modified files: > . UPDATING > sys/net ethernet.h if_ethersubr.c > Log: > Sync ether_ioctl() with ioctl(2) and ifnet.if_ioctl > as to the type of the command argument: int -> u_long. > These types have different widths in the 64-bit world. > > Add a note to UPDATING because the change breaks KBI > on 64-bit platforms. > > Discussed on: -net, -current > Reviewed by: bms, ru > > Revision Changes Path > 1.492 +6 -0 src/UPDATING > 1.32 +1 -1 src/sys/net/ethernet.h > 1.229 +1 -1 src/sys/net/if_ethersubr.c > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-cvs-src@FreeBSD.ORG Fri Jun 8 01:21:21 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60F6316A46B; Fri, 8 Jun 2007 01:21:21 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3B50113C487; Fri, 8 Jun 2007 01:21:21 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l581LL2M056037; Fri, 8 Jun 2007 01:21:21 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l581LLBu056031; Fri, 8 Jun 2007 01:21:21 GMT (envelope-from mjacob) Message-Id: <200706080121.l581LLBu056031@repoman.freebsd.org> From: Matt Jacob Date: Fri, 8 Jun 2007 01:21: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/an if_an.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 01:21:21 -0000 mjacob 2007-06-08 01:21:20 UTC FreeBSD src repository Modified files: sys/dev/an if_an.c Log: Remove assignment to uninitialized variable that wasn't then used anyway. Revision Changes Path 1.81 +0 -2 src/sys/dev/an/if_an.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 01:34:04 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D11B616A421; Fri, 8 Jun 2007 01:34:04 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AB2B813C44C; Fri, 8 Jun 2007 01:34:04 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l581Y4YU068945; Fri, 8 Jun 2007 01:34:04 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l581Y4t9068941; Fri, 8 Jun 2007 01:34:04 GMT (envelope-from mjacob) Message-Id: <200706080134.l581Y4t9068941@repoman.freebsd.org> From: Matt Jacob Date: Fri, 8 Jun 2007 01:34: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/dev/firewire sbp_targ.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 01:34:04 -0000 mjacob 2007-06-08 01:34:04 UTC FreeBSD src repository Modified files: sys/dev/firewire sbp_targ.c Log: Include now unused var within #if 0 where it come back if the other #if 0 code comes back- quiets gcc 4.2 Revision Changes Path 1.15 +2 -0 src/sys/dev/firewire/sbp_targ.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 01:37:48 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77F7116A400; Fri, 8 Jun 2007 01:37:48 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 51C8213C43E; Fri, 8 Jun 2007 01:37:48 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l581bmLo072484; Fri, 8 Jun 2007 01:37:48 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l581bmM2072483; Fri, 8 Jun 2007 01:37:48 GMT (envelope-from mjacob) Message-Id: <200706080137.l581bmM2072483@repoman.freebsd.org> From: Matt Jacob Date: Fri, 8 Jun 2007 01:37: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/hatm if_hatm_intr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 01:37:48 -0000 mjacob 2007-06-08 01:37:47 UTC FreeBSD src repository Modified files: sys/dev/hatm if_hatm_intr.c Log: Remove the __inline qualifier from a function which is in fact not an inline but instead a module wide function, thus quieting a GCC 4.2 warning. Revision Changes Path 1.22 +1 -1 src/sys/dev/hatm/if_hatm_intr.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 01:39:04 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D987416A46C; Fri, 8 Jun 2007 01:39:04 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B314913C48A; Fri, 8 Jun 2007 01:39:04 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l581d4G0073684; Fri, 8 Jun 2007 01:39:04 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l581d4jk073683; Fri, 8 Jun 2007 01:39:04 GMT (envelope-from mjacob) Message-Id: <200706080139.l581d4jk073683@repoman.freebsd.org> From: Matt Jacob Date: Fri, 8 Jun 2007 01:39: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/dev/isp isp_freebsd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 01:39:05 -0000 mjacob 2007-06-08 01:39:04 UTC FreeBSD src repository Modified files: sys/dev/isp isp_freebsd.c Log: Quiet GCC 4.2 warning. Revision Changes Path 1.142 +1 -1 src/sys/dev/isp/isp_freebsd.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 01:48:25 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A076A16A400; Fri, 8 Jun 2007 01:48:25 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7A6A713C457; Fri, 8 Jun 2007 01:48:25 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l581mPct082931; Fri, 8 Jun 2007 01:48:25 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l581mPqK082921; Fri, 8 Jun 2007 01:48:25 GMT (envelope-from mjacob) Message-Id: <200706080148.l581mPqK082921@repoman.freebsd.org> From: Matt Jacob Date: Fri, 8 Jun 2007 01:48: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/pdq pdqreg.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, 08 Jun 2007 01:48:25 -0000 mjacob 2007-06-08 01:48:24 UTC FreeBSD src repository Modified files: sys/dev/pdq pdqreg.h Log: Carry volatile type in cast so gcc 4.2 will be happy. Revision Changes Path 1.5 +1 -1 src/sys/dev/pdq/pdqreg.h From owner-cvs-src@FreeBSD.ORG Fri Jun 8 01:49:04 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6900D16A41F; Fri, 8 Jun 2007 01:49:04 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 43C1613C45D; Fri, 8 Jun 2007 01:49:04 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l581n42A083510; Fri, 8 Jun 2007 01:49:04 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l581n4qg083509; Fri, 8 Jun 2007 01:49:04 GMT (envelope-from mjacob) Message-Id: <200706080149.l581n4qg083509@repoman.freebsd.org> From: Matt Jacob Date: Fri, 8 Jun 2007 01:49: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/dev/pdq pdq_ifsubr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 01:49:04 -0000 mjacob 2007-06-08 01:49:04 UTC FreeBSD src repository Modified files: sys/dev/pdq pdq_ifsubr.c Log: Fix preprocessor code to check for a symbol being defined prior to checking for non-zero. Revision Changes Path 1.30 +1 -1 src/sys/dev/pdq/pdq_ifsubr.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 01:54:22 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B017316A400; Fri, 8 Jun 2007 01:54:22 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3E913C45D; Fri, 8 Jun 2007 01:54:22 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l581sM0Z089076; Fri, 8 Jun 2007 01:54:22 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l581sMbY089071; Fri, 8 Jun 2007 01:54:22 GMT (envelope-from mjacob) Message-Id: <200706080154.l581sMbY089071@repoman.freebsd.org> From: Matt Jacob Date: Fri, 8 Jun 2007 01:54:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/sbsh if_sbsh.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 01:54:22 -0000 mjacob 2007-06-08 01:54:22 UTC FreeBSD src repository Modified files: sys/dev/sbsh if_sbsh.c Log: Propagae volatile qualifier. Revision Changes Path 1.19 +1 -1 src/sys/dev/sbsh/if_sbsh.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 02:21:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4A7916A41F; Fri, 8 Jun 2007 02:21:14 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED4E13C484; Fri, 8 Jun 2007 02:21:14 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l582LEWf016823; Fri, 8 Jun 2007 02:21:14 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l582LEQl016817; Fri, 8 Jun 2007 02:21:14 GMT (envelope-from davidxu) Message-Id: <200706080221.l582LEQl016817@repoman.freebsd.org> From: David Xu Date: Fri, 8 Jun 2007 02: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/lib/libthr 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, 08 Jun 2007 02:21:14 -0000 davidxu 2007-06-08 02:21:14 UTC FreeBSD src repository Modified files: lib/libthr Makefile Log: Set warning level to 2. Revision Changes Path 1.26 +2 -1 src/lib/libthr/Makefile From owner-cvs-src@FreeBSD.ORG Fri Jun 8 02:34:45 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25B8D16A41F; Fri, 8 Jun 2007 02:34:45 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F3F8F13C46E; Fri, 8 Jun 2007 02:34:44 +0000 (UTC) (envelope-from davidch@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l582Yi5W029536; Fri, 8 Jun 2007 02:34:44 GMT (envelope-from davidch@repoman.freebsd.org) Received: (from davidch@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l582YiV1029535; Fri, 8 Jun 2007 02:34:44 GMT (envelope-from davidch) Message-Id: <200706080234.l582YiV1029535@repoman.freebsd.org> From: David Christensen Date: Fri, 8 Jun 2007 02:34:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mii brgphy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 02:34:45 -0000 davidch 2007-06-08 02:34:44 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c Log: - Fixed a problem that caused autonegotiation failures. Submitted by: tor.egge@cvsup.no.freebsd.org MFC after: 4 weeks Revision Changes Path 1.70 +5 -1 src/sys/dev/mii/brgphy.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 03:05:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D867016A421; Fri, 8 Jun 2007 03:05:57 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B28C013C45B; Fri, 8 Jun 2007 03:05:57 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5835vx0056933; Fri, 8 Jun 2007 03:05:57 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5835vip056927; Fri, 8 Jun 2007 03:05:57 GMT (envelope-from simokawa) Message-Id: <200706080305.l5835vip056927@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 03: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/dev/dcons dcons_os.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 03:05:57 -0000 simokawa 2007-06-08 03:05:57 UTC FreeBSD src repository Modified files: sys/dev/dcons dcons_os.c Log: Replace breakpoint() with kdb_enter(). Revision Changes Path 1.16 +2 -2 src/sys/dev/dcons/dcons_os.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 04:03:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F139816A41F; Fri, 8 Jun 2007 04:03:57 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id CB92913C448; Fri, 8 Jun 2007 04:03:57 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5843vq4013518; Fri, 8 Jun 2007 04:03:57 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5843v38013514; Fri, 8 Jun 2007 04:03:57 GMT (envelope-from imp) Message-Id: <200706080403.l5843v38013514@repoman.freebsd.org> From: Warner Losh Date: Fri, 8 Jun 2007 04:03: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/dev/cardbus cardbus_cis.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 04:03:58 -0000 imp 2007-06-08 04:03:57 UTC FreeBSD src repository Modified files: sys/dev/cardbus cardbus_cis.c Log: gcc 4.2 thinks that tupleid is uninitialized. Or might be used uninitialized. It gets passed into other routines that initialize it... Cope by initializing. Submitted by: mjacob Revision Changes Path 1.62 +1 -1 src/sys/dev/cardbus/cardbus_cis.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 04:33:25 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFEE316A421; Fri, 8 Jun 2007 04:33:25 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D1B2C13C45A; Fri, 8 Jun 2007 04:33:25 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l584XPVw042067; Fri, 8 Jun 2007 04:33:25 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l584XP3e042061; Fri, 8 Jun 2007 04:33:25 GMT (envelope-from simokawa) Message-Id: <200706080433.l584XP3e042061@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 04:33:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/dcons dcons.h dcons_crom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 04:33:26 -0000 simokawa 2007-06-08 04:33:25 UTC FreeBSD src repository Modified files: sys/dev/dcons dcons.h dcons_crom.c Log: Add the address of IDT in the configuration ROM. (i386/amd64 only) A change to dconschat(8) will follow so that it can bomb this address over FireWire to reset a wedged system. Though this method is just a hack and far from perfection, it should be useful if you don't want to go machine room just to reset or to power-cycle a machine without remote-managed power supply. And much better than doing: # fwcontrol -m target-eui64 # dd if=/dev/zero of=/dev/fwmem0.2 bs=1m Revision Changes Path 1.6 +3 -0 src/sys/dev/dcons/dcons.h 1.9 +24 -0 src/sys/dev/dcons/dcons_crom.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 04:46:51 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 413C416A421; Fri, 8 Jun 2007 04:46:51 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1B04713C43E; Fri, 8 Jun 2007 04:46:51 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l584ko74053701; Fri, 8 Jun 2007 04:46:50 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l584koJq053697; Fri, 8 Jun 2007 04:46:50 GMT (envelope-from marcel) Message-Id: <200706080446.l584koJq053697@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 8 Jun 2007 04:46: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/powerpc/powerpc busdma_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 04:46:51 -0000 marcel 2007-06-08 04:46:50 UTC FreeBSD src repository Modified files: sys/powerpc/powerpc busdma_machdep.c Log: Sync with other platforms: add kluge to use contigmalloc when the alignment is larger than the size and print a diagnostic when we didn't satisfy the alignment. Revision Changes Path 1.26 +18 -6 src/sys/powerpc/powerpc/busdma_machdep.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 04:49:35 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CE3C16A473 for ; Fri, 8 Jun 2007 04:49:35 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4FE9813C4BC for ; Fri, 8 Jun 2007 04:49:35 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 19322 invoked from network); 8 Jun 2007 04:49:37 -0000 Received: from ppp-71-139-42-13.dsl.snfc21.pacbell.net (HELO ?10.0.5.18?) (nate-mail@71.139.42.13) by root.org with ESMTPA; 8 Jun 2007 04:49:37 -0000 Message-ID: <4668DFC2.1070006@root.org> Date: Thu, 07 Jun 2007 21:49:06 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.0 (X11/20070513) MIME-Version: 1.0 To: Hidetoshi Shimokawa References: <20070607132053.974EF16A584@hub.freebsd.org> <46683958.2060700@root.org> <626eb4530706071728w1a8d0f5fi198e5e708777498e@mail.gmail.com> In-Reply-To: <626eb4530706071728w1a8d0f5fi198e5e708777498e@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/firewire firewirereg.h fwohci.c sbp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 04:49:35 -0000 Hidetoshi Shimokawa wrote: > On 6/8/07, Nate Lawson wrote: >> Hidetoshi Shimokawa wrote: >> > simokawa 2007-06-07 13:20:49 UTC >> > >> > FreeBSD src repository >> > >> > Modified files: >> > sys/dev/firewire firewirereg.h fwohci.c sbp.c >> > Log: >> > Add a tunable hw.firewire.phydma_enable. >> > >> > This is enabled by default. It should be disabled for >> > those who are uneasy with peeking/poking from FireWire. >> > >> > Please note sbp(4) and dcons(4) over FireWire need >> > this feature. >> > >> > Revision Changes Path >> > 1.48 +1 -0 src/sys/dev/firewire/firewirereg.h >> > 1.91 +11 -6 src/sys/dev/firewire/fwohci.c >> > 1.94 +7 -0 src/sys/dev/firewire/sbp.c >> > >> > >> > Index: src/sys/dev/firewire/firewirereg.h >> > diff -u src/sys/dev/firewire/firewirereg.h:1.47 >> src/sys/dev/firewire/firewirereg.h:1.48 >> > --- src/sys/dev/firewire/firewirereg.h:1.47 Wed Jun 6 14:31:36 2007 >> > +++ src/sys/dev/firewire/firewirereg.h Thu Jun 7 13:20:48 2007 >> > @@ -299,6 +299,7 @@ >> > >> > extern int firewire_debug; >> > extern devclass_t firewire_devclass; >> > +extern int firewire_phydma_enable; >> > >> > #ifdef __DragonFly__ >> > #define FWPRI PCATCH >> > Index: src/sys/dev/firewire/fwohci.c >> > diff -u src/sys/dev/firewire/fwohci.c:1.90 >> src/sys/dev/firewire/fwohci.c:1.91 >> > --- src/sys/dev/firewire/fwohci.c:1.90 Wed Jun 6 14:31:36 2007 >> > +++ src/sys/dev/firewire/fwohci.c Thu Jun 7 13:20:48 2007 >> > @@ -79,9 +79,13 @@ >> > #undef OHCI_DEBUG >> > >> > static int nocyclemaster = 0; >> > +int firewire_phydma_enable = 1; >> > SYSCTL_DECL(_hw_firewire); >> > SYSCTL_INT(_hw_firewire, OID_AUTO, nocyclemaster, CTLFLAG_RW, >> &nocyclemaster, 0, >> > "Do not send cycle start packets"); >> > +SYSCTL_INT(_hw_firewire, OID_AUTO, phydma_enable, CTLFLAG_RW, >> > + &firewire_phydma_enable, 1, "Allow physical request DMA from >> firewire"); >> > +TUNABLE_INT("hw.firewire.phydma_enable", &firewire_phydma_enable); >> > >> > static char dbcode[16][0x10]={"OUTM", "OUTL","INPM","INPL", >> > "STOR","LOAD","NOP ","STOP",}; >> > @@ -1862,12 +1866,13 @@ >> > >> > /* Allow async. request to us */ >> > OWRITE(sc, OHCI_AREQHI, 1 << 31); >> > - /* XXX insecure ?? */ >> > - /* allow from all nodes */ >> > - OWRITE(sc, OHCI_PREQHI, 0x7fffffff); >> > - OWRITE(sc, OHCI_PREQLO, 0xffffffff); >> > - /* 0 to 4GB regison */ >> > - OWRITE(sc, OHCI_PREQUPPER, 0x10000); >> > + if (firewire_phydma_enable) { >> > + /* allow from all nodes */ >> > + OWRITE(sc, OHCI_PREQHI, 0x7fffffff); >> > + OWRITE(sc, OHCI_PREQLO, 0xffffffff); >> > + /* 0 to 4GB region */ >> > + OWRITE(sc, OHCI_PREQUPPER, 0x10000); >> > + } >> > /* Set ATRetries register */ >> > OWRITE(sc, OHCI_ATRETRY, 1<<(13+16) | 0xfff); >> >> I see this runs each time a PHY_SID intr arrives. Is that enough to >> really prevent access if a pre-existing host on the bus requests DMA? I >> don't think an intr is generated in that case. >> >> Should this be a separate function run directly by the sysctl that sets >> the filters immediately? > > Yes, that's true. > > I recommend you to put it in loader.conf Since someone who is setting this is concerned about security, should this at least be documented? I'd prefer that the routine be changed to set the filter registers synchronously with the sysctl. -- Nate From owner-cvs-src@FreeBSD.ORG Fri Jun 8 05:26:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D2ED16A400; Fri, 8 Jun 2007 05:26:12 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E9FCE13C45A; Fri, 8 Jun 2007 05:26:11 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l585QB3w000599; Fri, 8 Jun 2007 05:26:11 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l585QB0Z000597; Fri, 8 Jun 2007 05:26:11 GMT (envelope-from simokawa) Message-Id: <200706080526.l585QB0Z000597@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 05:26: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/dconschat dconschat.8 dconschat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 05:26:12 -0000 simokawa 2007-06-08 05:26:11 UTC FreeBSD src repository Modified files: usr.sbin/dconschat dconschat.8 dconschat.c Log: Clean up escape sequence handling and add support for resetting target and suspending dconschat. Revision Changes Path 1.7 +20 -10 src/usr.sbin/dconschat/dconschat.8 1.12 +83 -14 src/usr.sbin/dconschat/dconschat.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 05:44:13 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3A6916A46E; Fri, 8 Jun 2007 05:44:13 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8958513C468; Fri, 8 Jun 2007 05:44:13 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l585iDU1018722; Fri, 8 Jun 2007 05:44:13 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l585iDNR018721; Fri, 8 Jun 2007 05:44:13 GMT (envelope-from delphij) Message-Id: <200706080544.l585iDNR018721@repoman.freebsd.org> From: Xin LI Date: Fri, 8 Jun 2007 05:44:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/awk lib.c.diff X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 05:44:13 -0000 delphij 2007-06-08 05:44:13 UTC FreeBSD src repository Modified files: usr.bin/awk lib.c.diff Log: Increase inputFS buffer. awk will not accept some old scripts otherwise. Revision Changes Path 1.2 +13 -4 src/usr.bin/awk/lib.c.diff From owner-cvs-src@FreeBSD.ORG Fri Jun 8 07:05:09 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62BBE16A421; Fri, 8 Jun 2007 07:05:09 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3A85113C457; Fri, 8 Jun 2007 07:05:09 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58759oZ095536; Fri, 8 Jun 2007 07:05:09 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58759pA095530; Fri, 8 Jun 2007 07:05:09 GMT (envelope-from delphij) Message-Id: <200706080705.l58759pA095530@repoman.freebsd.org> From: Xin LI Date: Fri, 8 Jun 2007 07:05: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 vfs_bio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 07:05:09 -0000 delphij 2007-06-08 07:05:08 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: In getblk(), before gbincore(), use BO_LOCK directly when locking the bufobj, rather than using VI_LOCK, like what was done with revision 1.453. Revision Changes Path 1.525 +2 -2 src/sys/kern/vfs_bio.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 07:54:00 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F80416A468; Fri, 8 Jun 2007 07:54:00 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5809813C44C; Fri, 8 Jun 2007 07:54:00 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l587s0Tw045002; Fri, 8 Jun 2007 07:54:00 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l587s08x044997; Fri, 8 Jun 2007 07:54:00 GMT (envelope-from simokawa) Message-Id: <200706080754.l587s08x044997@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 07:53:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/firewire firewire.c fwohci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 07:54:00 -0000 simokawa 2007-06-08 07:53:59 UTC FreeBSD src repository Modified files: sys/dev/firewire firewire.c fwohci.c Log: Fix a race after a bus reset. - We are in FWBUSINIT state just after SID interrupt. - Do not pass normal xfers before bus probe is done. Revision Changes Path 1.96 +12 -11 src/sys/dev/firewire/firewire.c 1.92 +4 -3 src/sys/dev/firewire/fwohci.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 08:23:15 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C949A16A41F; Fri, 8 Jun 2007 08:23:15 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A0FFB13C465; Fri, 8 Jun 2007 08:23:15 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l588NFgi074841; Fri, 8 Jun 2007 08:23:15 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l588NFxk074836; Fri, 8 Jun 2007 08:23:15 GMT (envelope-from simokawa) Message-Id: <200706080823.l588NFxk074836@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 08:23:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/dcons dcons_os.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 08:23:15 -0000 simokawa 2007-06-08 08:23:14 UTC FreeBSD src repository Modified files: sys/dev/dcons dcons_os.c Log: Don't invalidate dcons buffer on shutdown. We would like to keep connection after halt. Revision Changes Path 1.17 +2 -0 src/sys/dev/dcons/dcons_os.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 09:04:32 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 413B216A41F; Fri, 8 Jun 2007 09:04:32 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 18B8113C44B; Fri, 8 Jun 2007 09:04:32 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5894V3A020249; Fri, 8 Jun 2007 09:04:31 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5894VZs020228; Fri, 8 Jun 2007 09:04:31 GMT (envelope-from simokawa) Message-Id: <200706080904.l5894VZs020228@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 09:04: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/dev/firewire firewire.c fwohci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 09:04:32 -0000 simokawa 2007-06-08 09:04:30 UTC FreeBSD src repository Modified files: sys/dev/firewire firewire.c fwohci.c Log: Timestamp after sent. Revision Changes Path 1.97 +3 -4 src/sys/dev/firewire/firewire.c 1.93 +1 -0 src/sys/dev/firewire/fwohci.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 09:57:38 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FE2916A41F; Fri, 8 Jun 2007 09:57:38 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.freebsd.org (Postfix) with ESMTP id EB73513C447; Fri, 8 Jun 2007 09:57:37 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.4) with ESMTP id l589vZYa073734; Fri, 8 Jun 2007 13:57:35 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.4/Submit) id l589vYl7073733; Fri, 8 Jun 2007 13:57:34 +0400 (MSD) (envelope-from yar) Date: Fri, 8 Jun 2007 13:57:34 +0400 From: Yar Tikhiy To: Doug White Message-ID: <20070608095734.GW25127@comp.chem.msu.su> References: <200705291240.l4TCek0K048926@repoman.freebsd.org> <20070607172413.T90728@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070607172413.T90728@carver.gumbysoft.com> User-Agent: Mutt/1.5.9i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src UPDATING src/sys/net ethernet.h 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, 08 Jun 2007 09:57:38 -0000 On Thu, Jun 07, 2007 at 05:28:06PM -0700, Doug White wrote: > Hello Yar, > > This commit appears to break bootstrapping -CURRENT from RELENG_6 and > 6.2-RELEASE. I'm not exactly sure why and will continue to investigate. I'd say that it's rather unlikely, but I may be missing some point. > Right now I'm getting errors (EINVAL) and panics at boot time in ifconfig > when trying to configure interfaces after upgrading the kernel from 6.2 to > HEAD for the first time. Which platform do you use? > On Tue, 29 May 2007, Yar Tikhiy wrote: > > >yar 2007-05-29 12:40:46 UTC > > > > FreeBSD src repository > > > > Modified files: > > . UPDATING > > sys/net ethernet.h if_ethersubr.c > > Log: > > Sync ether_ioctl() with ioctl(2) and ifnet.if_ioctl > > as to the type of the command argument: int -> u_long. > > These types have different widths in the 64-bit world. > > > > Add a note to UPDATING because the change breaks KBI > > on 64-bit platforms. > > > > Discussed on: -net, -current > > Reviewed by: bms, ru > > > > Revision Changes Path > > 1.492 +6 -0 src/UPDATING > > 1.32 +1 -1 src/sys/net/ethernet.h > > 1.229 +1 -1 src/sys/net/if_ethersubr.c > > > > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org -- Yar From owner-cvs-src@FreeBSD.ORG Fri Jun 8 10:57:13 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64CB616A400; Fri, 8 Jun 2007 10:57:13 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 54A5513C457; Fri, 8 Jun 2007 10:57:13 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58AvDwq038758; Fri, 8 Jun 2007 10:57:13 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58AvD2L038745; Fri, 8 Jun 2007 10:57:13 GMT (envelope-from rrs) Message-Id: <200706081057.l58AvD2L038745@repoman.freebsd.org> From: Randall Stewart Date: Fri, 8 Jun 2007 10:57:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet sctp_asconf.c sctp_input.c sctp_pcb.c sctp_timer.h sctputil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 10:57:13 -0000 rrs 2007-06-08 10:57:12 UTC FreeBSD src repository Modified files: sys/netinet sctp_asconf.c sctp_input.c sctp_pcb.c sctp_timer.h sctputil.c Log: - RTO was not being initialized to 0, thus the rtt calculation algoritm would not go through the proper initialization. - The initialization was incorrect as well, causing problems in sat networks with > 1sec RTT - Get rid of magic numbers in RTT calculations. Revision Changes Path 1.16 +1 -1 src/sys/netinet/sctp_asconf.c 1.34 +1 -1 src/sys/netinet/sctp_input.c 1.35 +5 -1 src/sys/netinet/sctp_pcb.c 1.4 +3 -0 src/sys/netinet/sctp_timer.h 1.38 +13 -6 src/sys/netinet/sctputil.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 11:47:37 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE46316A400; Fri, 8 Jun 2007 11:47:37 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8613313C46A; Fri, 8 Jun 2007 11:47:37 +0000 (UTC) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58Blbot086328; Fri, 8 Jun 2007 11:47:37 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58BlbRn086324; Fri, 8 Jun 2007 11:47:37 GMT (envelope-from phk) Message-Id: <200706081147.l58BlbRn086324@repoman.freebsd.org> From: Poul-Henning Kamp Date: Fri, 8 Jun 2007 11:47: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/kern init_main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 11:47:37 -0000 phk 2007-06-08 11:47:36 UTC FreeBSD src repository Modified files: sys/kern init_main.c Log: Double the WITNESS and DIAGNOSTIC benchmark warnings right before we go into userland to improve the chances of people noticing them. Revision Changes Path 1.280 +4 -0 src/sys/kern/init_main.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 12:26:30 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECBF916A468; Fri, 8 Jun 2007 12:26:30 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C4E5F13C455; Fri, 8 Jun 2007 12:26:30 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58CQU5e026234; Fri, 8 Jun 2007 12:26:30 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58CQUKE026233; Fri, 8 Jun 2007 12:26:30 GMT (envelope-from pjd) Message-Id: <200706081226.l58CQUKE026233@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 8 Jun 2007 12:26: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/contrib/opensolaris/common/atomic/ia64 atomic.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 12:26:31 -0000 pjd 2007-06-08 12:26:30 UTC FreeBSD src repository Added files: sys/contrib/opensolaris/common/atomic/ia64 atomic.S Log: Missing atomic operations for ZFS/ia64. Submitted by: marcel Revision Changes Path 1.1 +54 -0 src/sys/contrib/opensolaris/common/atomic/ia64/atomic.S (new) From owner-cvs-src@FreeBSD.ORG Fri Jun 8 12:35:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D46016A400; Fri, 8 Jun 2007 12:35:47 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7A34913C45D; Fri, 8 Jun 2007 12:35:47 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58CZlv0037785; Fri, 8 Jun 2007 12:35:47 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58CZlcL037775; Fri, 8 Jun 2007 12:35:47 GMT (envelope-from pjd) Message-Id: <200706081235.l58CZlcL037775@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 8 Jun 2007 12:35: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/cddl/lib Makefile src/cddl/lib/libzpool Makefile src/cddl/usr.bin Makefile src/cddl/usr.sbin Makefile src/sys/compat/opensolaris/kern opensolaris_atomic.c src/sys/compat/opensolaris/sys atomic.h src/sys/contrib/opensolaris/common/atomic/amd64 atomic.S ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 12:35:47 -0000 pjd 2007-06-08 12:35:47 UTC FreeBSD src repository Modified files: cddl/lib Makefile cddl/lib/libzpool Makefile cddl/usr.bin Makefile cddl/usr.sbin Makefile sys/contrib/opensolaris/common/atomic/amd64 atomic.S sys/contrib/opensolaris/common/atomic/i386 atomic.S sys/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c sys/contrib/opensolaris/uts/common/sys asm_linkage.h sys/modules/zfs Makefile Added files: sys/compat/opensolaris/kern opensolaris_atomic.c sys/compat/opensolaris/sys atomic.h Removed files: sys/contrib/opensolaris/uts/common/sys atomic.h Log: - Reduce number of atomic operations needed to be implemented in asm by implementing some of them using existing ones. - Allow to compile ZFS on all archs and use atomic operations surrounded by global mutex on archs we don't have or can't have all atomic operations needed by ZFS. Revision Changes Path 1.4 +0 -2 src/cddl/lib/Makefile 1.5 +6 -1 src/cddl/lib/libzpool/Makefile 1.4 +0 -2 src/cddl/usr.bin/Makefile 1.4 +0 -2 src/cddl/usr.sbin/Makefile 1.1 +133 -0 src/sys/compat/opensolaris/kern/opensolaris_atomic.c (new) 1.1 +114 -0 src/sys/compat/opensolaris/sys/atomic.h (new) 1.3 +1 -493 src/sys/contrib/opensolaris/common/atomic/amd64/atomic.S 1.3 +2 -559 src/sys/contrib/opensolaris/common/atomic/i386/atomic.S 1.10 +0 -3 src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c 1.2 +27 -221 src/sys/contrib/opensolaris/uts/common/sys/asm_linkage.h 1.2 +0 -431 src/sys/contrib/opensolaris/uts/common/sys/atomic.h (dead) 1.6 +5 -0 src/sys/modules/zfs/Makefile From owner-cvs-src@FreeBSD.ORG Fri Jun 8 12:43:27 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F393C16A41F; Fri, 8 Jun 2007 12:43:26 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id CBC8713C458; Fri, 8 Jun 2007 12:43:26 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58ChQ0U045098; Fri, 8 Jun 2007 12:43:26 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58ChQnr045086; Fri, 8 Jun 2007 12:43:26 GMT (envelope-from gallatin) Message-Id: <200706081243.l58ChQnr045086@repoman.freebsd.org> From: Andrew Gallatin Date: Fri, 8 Jun 2007 12:43: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/net pfil.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, 08 Jun 2007 12:43:27 -0000 gallatin 2007-06-08 12:43:26 UTC FreeBSD src repository Modified files: sys/net pfil.h Log: Correct the definition of PFIL_HOOKED() so that it compares the value of ph_nhooks to zero, not the address. This removes extranious calls to pfil_run_hooks (and an rw lock) from the network stack's critical path when no pfil hooks are active. Reviewed by: csjp Sponsored by: Myricom Inc. Revision Changes Path 1.16 +1 -1 src/sys/net/pfil.h From owner-cvs-src@FreeBSD.ORG Fri Jun 8 12:58:07 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FF5D16A400; Fri, 8 Jun 2007 12:58:07 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1811F13C457; Fri, 8 Jun 2007 12:58:07 +0000 (UTC) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58Cw6mj068200; Fri, 8 Jun 2007 12:58:06 GMT (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58Cw6SP068199; Fri, 8 Jun 2007 12:58:06 GMT (envelope-from simokawa) Message-Id: <200706081258.l58Cw6SP068199@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 8 Jun 2007 12:58: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/dconschat dconschat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 12:58:07 -0000 simokawa 2007-06-08 12:58:06 UTC FreeBSD src repository Modified files: usr.sbin/dconschat dconschat.c Log: Reset dc->paddr and dc->reset if we cannot read configuration ROM. Revision Changes Path 1.13 +1 -1 src/usr.sbin/dconschat/dconschat.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 13:35:52 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C215B16A421; Fri, 8 Jun 2007 13:35:52 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7FF13C447; Fri, 8 Jun 2007 13:35:52 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58DZqVK009090; Fri, 8 Jun 2007 13:35:52 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58DZqO6009086; Fri, 8 Jun 2007 13:35:52 GMT (envelope-from yar) Message-Id: <200706081335.l58DZqO6009086@repoman.freebsd.org> From: Yar Tikhiy Date: Fri, 8 Jun 2007 13:35: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/netinet tcp_hostcache.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 13:35:52 -0000 yar 2007-06-08 13:35:51 UTC FreeBSD src repository Modified files: sys/netinet tcp_hostcache.c Log: Add a sysctl for the purge run interval so that it can be tuned along with the rest of hostcache parameters. The new sysctl name is `net.inet.tcp.hostcache.prune'. Revision Changes Path 1.15 +8 -3 src/sys/netinet/tcp_hostcache.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 13:43:29 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5E1716A400; Fri, 8 Jun 2007 13:43:29 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1E113C44B; Fri, 8 Jun 2007 13:43:29 +0000 (UTC) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58DhTR4017190; Fri, 8 Jun 2007 13:43:29 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58DhThG017183; Fri, 8 Jun 2007 13:43:29 GMT (envelope-from yar) Message-Id: <200706081343.l58DhThG017183@repoman.freebsd.org> From: Yar Tikhiy Date: Fri, 8 Jun 2007 13:43: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/netinet tcp_hostcache.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 13:43:29 -0000 yar 2007-06-08 13:43:28 UTC FreeBSD src repository Modified files: sys/netinet tcp_hostcache.c Log: Replace a constant with an already defined symbolic name for it. Tested with: md5(1) Revision Changes Path 1.16 +1 -1 src/sys/netinet/tcp_hostcache.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 13:50:18 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0754216A400; Fri, 8 Jun 2007 13:50:18 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.130]) by mx1.freebsd.org (Postfix) with ESMTP id 7E55913C455; Fri, 8 Jun 2007 13:50:17 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.1/8.14.1) with ESMTP id l58DoFRG089562; Fri, 8 Jun 2007 17:50:15 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.1/8.14.1/Submit) id l58DoFGU089561; Fri, 8 Jun 2007 17:50:15 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 8 Jun 2007 17:50:15 +0400 From: Gleb Smirnoff To: Andrew Gallatin Message-ID: <20070608135015.GP89017@FreeBSD.org> References: <200706081243.l58ChQnr045086@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200706081243.l58ChQnr045086@repoman.freebsd.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net pfil.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, 08 Jun 2007 13:50:18 -0000 On Fri, Jun 08, 2007 at 12:43:26PM +0000, Andrew Gallatin wrote: A> gallatin 2007-06-08 12:43:26 UTC A> A> FreeBSD src repository A> A> Modified files: A> sys/net pfil.h A> Log: A> Correct the definition of PFIL_HOOKED() so that it compares A> the value of ph_nhooks to zero, not the address. This removes A> extranious calls to pfil_run_hooks (and an rw lock) from the A> network stack's critical path when no pfil hooks are active. A> A> Reviewed by: csjp A> Sponsored by: Myricom Inc. Nice! I guess you can tell how much performance did we lose before? Do you plan to MFC this? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-cvs-src@FreeBSD.ORG Fri Jun 8 13:54:22 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1848916A468; Fri, 8 Jun 2007 13:54:22 +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 DF8DF13C487; Fri, 8 Jun 2007 13:54:21 +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 5F56647105; Fri, 8 Jun 2007 09:54:21 -0400 (EDT) Date: Fri, 8 Jun 2007 14:54:21 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Andrew Gallatin In-Reply-To: <200706081243.l58ChQnr045086@repoman.freebsd.org> Message-ID: <20070608145333.G74809@fledge.watson.org> References: <200706081243.l58ChQnr045086@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/net pfil.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, 08 Jun 2007 13:54:22 -0000 On Fri, 8 Jun 2007, Andrew Gallatin wrote: > gallatin 2007-06-08 12:43:26 UTC > > FreeBSD src repository > > Modified files: > sys/net pfil.h > Log: > Correct the definition of PFIL_HOOKED() so that it compares > the value of ph_nhooks to zero, not the address. This removes > extranious calls to pfil_run_hooks (and an rw lock) from the > network stack's critical path when no pfil hooks are active. Nice catch. :-) I've not done a line-by-line KTR trace of all locking in the standard UDP and TCP input and output paths in a while, but I suspect such a thing is called for before 7.0 goes out the door in order to see what else has slipped in. It's generally a highly informative exercise. Robert N M Watson Computer Laboratory University of Cambridge From owner-cvs-src@FreeBSD.ORG Fri Jun 8 14:50:17 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDC0516A46D; Fri, 8 Jun 2007 14:50:17 +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 C575D13C45B; Fri, 8 Jun 2007 14:50:17 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: by sub.vaned.net (Postfix, from userid 1001) id F1F495C43; Fri, 8 Jun 2007 09:14:41 -0500 (CDT) Date: Fri, 8 Jun 2007 09:14:41 -0500 From: "Christian S.J. Peron" To: Gleb Smirnoff Message-ID: <20070608141441.GB89491@sub.vaned.net> References: <200706081243.l58ChQnr045086@repoman.freebsd.org> <20070608135015.GP89017@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070608135015.GP89017@FreeBSD.org> User-Agent: Mutt/1.4.2.2i Cc: cvs-src@FreeBSD.org, Andrew Gallatin , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/net pfil.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, 08 Jun 2007 14:50:18 -0000 On Fri, Jun 08, 2007 at 05:50:15PM +0400, Gleb Smirnoff wrote: > Do you plan to MFC this? > The bug snuck in during the rw lock overhaul and has not been MFCed yet. So RELENG_6 is not impacted by this. -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer From owner-cvs-src@FreeBSD.ORG Fri Jun 8 14:50:26 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E818316A400; Fri, 8 Jun 2007 14:50:25 +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 7E43613C457; Fri, 8 Jun 2007 14:50:25 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l58EoCWV018681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Jun 2007 00:50:15 +1000 Date: Sat, 9 Jun 2007 00:50:15 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: John Baldwin In-Reply-To: <200706071059.41466.jhb@freebsd.org> Message-ID: <20070609002752.M13082@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070607163724.M7517@besplex.bde.org> <20070607180257.P7767@besplex.bde.org> <200706071059.41466.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, Kip Macy , cvs-all@freebsd.org, Attilio Rao , Bruce Evans , cvs-src@freebsd.org, Kostik Belousov , Jeff Roberson Subject: Re: 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: Fri, 08 Jun 2007 14:50:26 -0000 On Thu, 7 Jun 2007, John Baldwin wrote: > On Thursday 07 June 2007 04:15:13 am Bruce Evans wrote: >>> The next run will have pagezero resetting its priority when this priority >>> gets clobbered. >> >> That gave only mainly more voluntary context switches (13.5+ million instead >> of the best observed value of 1.3+ million or the value of 2.9+ million >> without priority resetting. It reduced the pagezero time from 30 seconds to >> 24. It didn't change the real time significantly. > > Hmm, one problem with the non-preemption page zero is that it doesn't yield > the lock when it voluntarily yields. I wonder if something like this patch > would help things for the non-preemption case: This works well. It fixed the extra 1.4 million voluntary context switches and even reduced the number by 10-100k. The real runtime is still up a bit, but user+sys+pgzero time is down a bit. > Index: vm_zeroidle.c > =================================================================== > RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v > retrieving revision 1.45 > diff -u -r1.45 vm_zeroidle.c > --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 > +++ vm_zeroidle.c 7 Jun 2007 14:56:02 -0000 > @@ -147,8 +147,10 @@ > #ifndef PREEMPTION > if (sched_runnable()) { > mtx_lock_spin(&sched_lock); > + mtx_unlock(&vm_page_queue_free_mtx); > mi_switch(SW_VOL, NULL); > mtx_unlock_spin(&sched_lock); > + mtx_lock(&vm_page_queue_free_mtx); > } > #endif > } else { The sched_locks are now of course thread_locks. I put the vm unlock before the thread lock since the above order seems to risk a LOR. That may have been a mistake -- we would prefer not to be switched after deciding to do it ourself. > We could simulate this behavior some by using a critical section to control > when preemptions happen so that we wait until we drop the lock perhaps to > allow preemptions. Something like this: Simulate? Do you mean simulate the revious pbehaviour? I think the voluntary context switch in the above only worked well because it rarely happened. Apparently, switches away from pagezero normally happened due to the previous behaviour when the vm lock is released. >> Index: vm_zeroidle.c > =================================================================== > RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v > retrieving revision 1.45 > diff -u -r1.45 vm_zeroidle.c > --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 > +++ vm_zeroidle.c 7 Jun 2007 14:58:39 -0000 > @@ -110,8 +110,10 @@ > if (m != NULL && (m->flags & PG_ZERO) == 0) { > vm_pageq_remove_nowakeup(m); > mtx_unlock(&vm_page_queue_free_mtx); > + critical_exit(); > pmap_zero_page_idle(m); > mtx_lock(&vm_page_queue_free_mtx); > + critical_enter(); > m->flags |= PG_ZERO; > vm_pageq_enqueue(PQ_FREE + m->pc, m); > ++vm_page_zero_count; Next I will try this. I put the critical_exit() before the vm unlock. mtx_unlock() should be allowed to switch if it wants. However, we would prefer to keep context switches disabled in the above -- just drop the lock so that other CPUs can proceed. > @@ -141,20 +143,25 @@ > idlezero_enable = idlezero_enable_default; > > mtx_lock(&vm_page_queue_free_mtx); > + critical_enter(); > for (;;) { > if (vm_page_zero_check()) { > vm_page_zero_idle(); > #ifndef PREEMPTION > if (sched_runnable()) { > mtx_lock_spin(&sched_lock); > + mtx_unlock(&vm_page_queue_free_mtx); > mi_switch(SW_VOL, NULL); > mtx_unlock_spin(&sched_lock); > + mtx_lock(&vm_page_queue_free_mtx); > } > #endif I added the necessary critical_exit/enter() calls here. > } else { > + critical_exit(); > wakeup_needed = TRUE; > msleep(&zero_state, &vm_page_queue_free_mtx, 0, > "pgzero", hz * 300); > + critical_enter(); > } > } > } Bruce From owner-cvs-src@FreeBSD.ORG Fri Jun 8 14:54:41 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2496316A46C; Fri, 8 Jun 2007 14:54:41 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id DE50F13C4B9; Fri, 8 Jun 2007 14:54:40 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.14.0/8.14.0) with ESMTP id l58EsenW023768 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jun 2007 10:54:40 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id l58EsCMA072218; Fri, 8 Jun 2007 10:54:12 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18025.28075.163371.116715@grasshopper.cs.duke.edu> Date: Fri, 8 Jun 2007 10:54:12 -0400 (EDT) To: Gleb Smirnoff In-Reply-To: <20070608135015.GP89017@FreeBSD.org> References: <200706081243.l58ChQnr045086@repoman.freebsd.org> <20070608135015.GP89017@FreeBSD.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net pfil.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, 08 Jun 2007 14:54:41 -0000 Gleb Smirnoff writes: > Nice! I guess you can tell how much performance did we lose before? Thanks. I was running packet blasting tests to mxge(4). At ~1.3Mpps, where my old, slow machine was cpu bound, hwpmc showed an rw lock (presumably from pfil_run_hooks), and pfil_run_hooks() as the top cpu users behind my driver's rx handler, ip_input, and udp_input. I got very busy, and never had a chance to re-run the tests with the fix in place. > Do you plan to MFC this? I honestly hadn't checked to see if the bug was in -stable. If it is, then I'll MFC it next week (if nobody beats me to it). Drew From owner-cvs-src@FreeBSD.ORG Fri Jun 8 15:07:14 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E081C16A46C for ; Fri, 8 Jun 2007 15:07:14 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id CDC8913C46A for ; Fri, 8 Jun 2007 15:07:13 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so1109484uge for ; Fri, 08 Jun 2007 08:07:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=YptTV9ThM7Wu57hPfLELihuhXOkylZ0FaiVbOK2oYnSXxmNFg+LB1SjqVjsAqansKCQIwCYV833kj7SyKxXa3OLHMLO9VVeUWrigSSwNR3goLesgOah1/G1JVZ5uyukkTW4qsL87Ew50u/YflE/25BTLHc1eNwS4L12rrGSfdx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=LpMVP4qgrxOuVT2lq7I25/NF6bDspIfUiSNWwHts3pVQojlvgoBq/izmB5MlD0Rfspb7C0LijleOwALsiyYKKNQ2xHzD8is282UkZYQcpoScVSjEu8gDnQJ0Ub5G8+9fIw+r58S1X6llk3qbMm0eXl6dX7gR1xZBgYd50GWT9LM= Received: by 10.82.116.15 with SMTP id o15mr5573416buc.1181315229545; Fri, 08 Jun 2007 08:07:09 -0700 (PDT) Received: from ?172.31.5.25? ( [89.97.252.178]) by mx.google.com with ESMTP id 6sm1022464nfv.2007.06.08.08.07.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 Jun 2007 08:07:09 -0700 (PDT) Message-ID: <4669708B.4090509@FreeBSD.org> Date: Fri, 08 Jun 2007 17:06:51 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Bruce Evans References: <200706051420.l55EKEih018925@repoman.freebsd.org> <20070607163724.M7517@besplex.bde.org> <20070607180257.P7767@besplex.bde.org> <200706071059.41466.jhb@freebsd.org> <20070609002752.M13082@besplex.bde.org> In-Reply-To: <20070609002752.M13082@besplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: src-committers@freebsd.org, John Baldwin , Kip Macy , cvs-all@freebsd.org, cvs-src@freebsd.org, Kostik Belousov , Jeff Roberson Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 15:07:15 -0000 Bruce Evans wrote: > The sched_locks are now of course thread_locks. I put the vm unlock > before the thread lock since the above order seems to risk a LOR. That > may have been a mistake -- we would prefer not to be switched after > deciding to do it ourself. No, there can't be this LOR since thread_lock is a spinmutex while vm_page_queue_mtx is a sleepable mutex, so for our well known-rules about locking you cannot have the opposite situation. And if you don't follow John's pattern I think you get a race too since there is a breaking point in the protected path. >>> Index: vm_zeroidle.c >> =================================================================== >> RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v >> retrieving revision 1.45 >> diff -u -r1.45 vm_zeroidle.c >> --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 >> +++ vm_zeroidle.c 7 Jun 2007 14:58:39 -0000 >> @@ -110,8 +110,10 @@ >> if (m != NULL && (m->flags & PG_ZERO) == 0) { >> vm_pageq_remove_nowakeup(m); >> mtx_unlock(&vm_page_queue_free_mtx); >> + critical_exit(); >> pmap_zero_page_idle(m); >> mtx_lock(&vm_page_queue_free_mtx); >> + critical_enter(); >> m->flags |= PG_ZERO; >> vm_pageq_enqueue(PQ_FREE + m->pc, m); >> ++vm_page_zero_count; > > Next I will try this. I put the critical_exit() before the vm unlock. > mtx_unlock() should be allowed to switch if it wants. However, we > would prefer to keep context switches disabled in the above -- just drop > the lock so that other CPUs can proceed. This is good since mtx_unlock will force a preemption point here. Attilio From owner-cvs-src@FreeBSD.ORG Fri Jun 8 16:03:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B0CB16A46E; Fri, 8 Jun 2007 16:03:40 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E9AFF13C45D; Fri, 8 Jun 2007 16:03:39 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58G3dqa054456; Fri, 8 Jun 2007 16:03:39 GMT (envelope-from pav@repoman.freebsd.org) Received: (from pav@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58G3dot054446; Fri, 8 Jun 2007 16:03:39 GMT (envelope-from pav) Message-Id: <200706081603.l58G3dot054446@repoman.freebsd.org> From: Pav Lucistnik Date: Fri, 8 Jun 2007 16:03: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/share/mk Makefile bsd.port.options.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 16:03:40 -0000 pav 2007-06-08 16:03:39 UTC FreeBSD src repository (doc,ports committer) Modified files: (Branch: RELENG_6) share/mk Makefile Added files: (Branch: RELENG_6) share/mk bsd.port.options.mk Log: MFC addition of bsd.port.options.mk Revision Changes Path 1.46.2.2 +3 -2 src/share/mk/Makefile 1.1.2.1 +8 -0 src/share/mk/bsd.port.options.mk (new) From owner-cvs-src@FreeBSD.ORG Fri Jun 8 16:05:33 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACFBF16A421; Fri, 8 Jun 2007 16:05:33 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 87C8A13C45D; Fri, 8 Jun 2007 16:05:33 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58G5XLT056276; Fri, 8 Jun 2007 16:05:33 GMT (envelope-from pav@repoman.freebsd.org) Received: (from pav@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58G5X4E056272; Fri, 8 Jun 2007 16:05:33 GMT (envelope-from pav) Message-Id: <200706081605.l58G5X4E056272@repoman.freebsd.org> From: Pav Lucistnik Date: Fri, 8 Jun 2007 16:05:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/share/mk Makefile bsd.port.options.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 16:05:33 -0000 pav 2007-06-08 16:05:32 UTC FreeBSD src repository (doc,ports committer) Modified files: (Branch: RELENG_5) share/mk Makefile Added files: (Branch: RELENG_5) share/mk bsd.port.options.mk Log: MFC addition of bsd.port.options.mk Revision Changes Path 1.43.2.4 +3 -2 src/share/mk/Makefile 1.1.4.1 +8 -0 src/share/mk/bsd.port.options.mk (new) From owner-cvs-src@FreeBSD.ORG Fri Jun 8 16:10:55 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF6E516A41F; Fri, 8 Jun 2007 16:10:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6B2A713C45A; Fri, 8 Jun 2007 16:10:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l58GAmLo057733; Fri, 8 Jun 2007 12:10:48 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Bruce Evans Date: Fri, 8 Jun 2007 12:10:23 -0400 User-Agent: KMail/1.9.6 References: <200706051420.l55EKEih018925@repoman.freebsd.org> <200706071059.41466.jhb@freebsd.org> <20070609002752.M13082@besplex.bde.org> In-Reply-To: <20070609002752.M13082@besplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706081210.24393.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, 08 Jun 2007 12:10:48 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3380/Fri Jun 8 08:34:26 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: src-committers@freebsd.org, Kip Macy , cvs-all@freebsd.org, Attilio Rao , cvs-src@freebsd.org, Kostik Belousov , Jeff Roberson Subject: Re: 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: Fri, 08 Jun 2007 16:10:56 -0000 On Friday 08 June 2007 10:50:15 am Bruce Evans wrote: > On Thu, 7 Jun 2007, John Baldwin wrote: > > > On Thursday 07 June 2007 04:15:13 am Bruce Evans wrote: > >>> The next run will have pagezero resetting its priority when this priority > >>> gets clobbered. > >> > >> That gave only mainly more voluntary context switches (13.5+ million instead > >> of the best observed value of 1.3+ million or the value of 2.9+ million > >> without priority resetting. It reduced the pagezero time from 30 seconds to > >> 24. It didn't change the real time significantly. > > > > Hmm, one problem with the non-preemption page zero is that it doesn't yield > > the lock when it voluntarily yields. I wonder if something like this patch > > would help things for the non-preemption case: > > This works well. It fixed the extra 1.4 million voluntary context switches > and even reduced the number by 10-100k. The real runtime is still up a bit, > but user+sys+pgzero time is down a bit. > > > Index: vm_zeroidle.c > > =================================================================== > > RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v > > retrieving revision 1.45 > > diff -u -r1.45 vm_zeroidle.c > > --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 > > +++ vm_zeroidle.c 7 Jun 2007 14:56:02 -0000 > > @@ -147,8 +147,10 @@ > > #ifndef PREEMPTION > > if (sched_runnable()) { > > mtx_lock_spin(&sched_lock); > > + mtx_unlock(&vm_page_queue_free_mtx); > > mi_switch(SW_VOL, NULL); > > mtx_unlock_spin(&sched_lock); > > + mtx_lock(&vm_page_queue_free_mtx); > > } > > #endif > > } else { > > The sched_locks are now of course thread_locks. I put the vm unlock > before the thread lock since the above order seems to risk a LOR. That > may have been a mistake -- we would prefer not to be switched after > deciding to do it ourself. Actually, the order is on purpose so that we don't waste time doing a preemption when we're about to switch anyway. > > We could simulate this behavior some by using a critical section to control > > when preemptions happen so that we wait until we drop the lock perhaps to > > allow preemptions. Something like this: > > Simulate? Do you mean simulate the revious pbehaviour? Well, simulate the non-PREEMPTION behavior (with the above patch) in the PREEMPTION case. > I think the voluntary context switch in the above only worked well > because it rarely happened. Apparently, switches away from pagezero > normally happened due to the previous behaviour when the vm lock is > released. > > >> Index: vm_zeroidle.c > > =================================================================== > > RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v > > retrieving revision 1.45 > > diff -u -r1.45 vm_zeroidle.c > > --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 > > +++ vm_zeroidle.c 7 Jun 2007 14:58:39 -0000 > > @@ -110,8 +110,10 @@ > > if (m != NULL && (m->flags & PG_ZERO) == 0) { > > vm_pageq_remove_nowakeup(m); > > mtx_unlock(&vm_page_queue_free_mtx); > > + critical_exit(); > > pmap_zero_page_idle(m); > > mtx_lock(&vm_page_queue_free_mtx); > > + critical_enter(); > > m->flags |= PG_ZERO; > > vm_pageq_enqueue(PQ_FREE + m->pc, m); > > ++vm_page_zero_count; > > Next I will try this. I put the critical_exit() before the vm unlock. > mtx_unlock() should be allowed to switch if it wants. However, we > would prefer to keep context switches disabled in the above -- just drop > the lock so that other CPUs can proceed. Again, the order here is on purpose to make sure we don't preempt while holding the lock. > > @@ -141,20 +143,25 @@ > > idlezero_enable = idlezero_enable_default; > > > > mtx_lock(&vm_page_queue_free_mtx); > > + critical_enter(); > > for (;;) { > > if (vm_page_zero_check()) { > > vm_page_zero_idle(); > > #ifndef PREEMPTION > > if (sched_runnable()) { > > mtx_lock_spin(&sched_lock); > > + mtx_unlock(&vm_page_queue_free_mtx); > > mi_switch(SW_VOL, NULL); > > mtx_unlock_spin(&sched_lock); > > + mtx_lock(&vm_page_queue_free_mtx); > > } > > #endif > > I added the necessary critical_exit/enter() calls here. They aren't needed in the !PREEMPTION case since the context switch is explicit. The critical sections are only needed for the PREEMPTION case really. > > } else { > > + critical_exit(); > > wakeup_needed = TRUE; > > msleep(&zero_state, &vm_page_queue_free_mtx, 0, > > "pgzero", hz * 300); > > + critical_enter(); > > } > > } > > } > > Bruce > -- John Baldwin From owner-cvs-src@FreeBSD.ORG Fri Jun 8 16:20:04 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB57516A421; Fri, 8 Jun 2007 16:20:04 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 684F713C457; Fri, 8 Jun 2007 16:20:04 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58GK4Gi070330; Fri, 8 Jun 2007 16:20:04 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58GK458070325; Fri, 8 Jun 2007 16:20:04 GMT (envelope-from marcel) Message-Id: <200706081620.l58GK458070325@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 8 Jun 2007 16:20:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/contrib/opensolaris/common/atomic/ia64 atomic.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 16:20:04 -0000 marcel 2007-06-08 16:20:03 UTC FreeBSD src repository Modified files: sys/contrib/opensolaris/common/atomic/ia64 atomic.S Log: Add my copyright. Requested by: pjd@ Revision Changes Path 1.2 +28 -0 src/sys/contrib/opensolaris/common/atomic/ia64/atomic.S From owner-cvs-src@FreeBSD.ORG Fri Jun 8 16:51:21 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32C8F16A400; Fri, 8 Jun 2007 16:51:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0DDF613C4BC; Fri, 8 Jun 2007 16:51:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58GpKX1008364; Fri, 8 Jun 2007 16:51:20 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58GpKtB008357; Fri, 8 Jun 2007 16:51:20 GMT (envelope-from jhb) Message-Id: <200706081651.l58GpKtB008357@repoman.freebsd.org> From: John Baldwin Date: Fri, 8 Jun 2007 16:51: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/nfsclient nfs_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 16:51:21 -0000 jhb 2007-06-08 16:51:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/nfsclient nfs_socket.c Log: MFC 1.139: Fix a snafu in the changes in 1.138. PR: kern/113387 Submitted by: Andre Albsmeier Revision Changes Path 1.125.2.15 +0 -1 src/sys/nfsclient/nfs_socket.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 17:33:38 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1A6716A4BF; Fri, 8 Jun 2007 17:33:38 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AC41E13C448; Fri, 8 Jun 2007 17:33:38 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58HXcHh049030; Fri, 8 Jun 2007 17:33:38 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58HXcUc049022; Fri, 8 Jun 2007 17:33:38 GMT (envelope-from ariff) Message-Id: <200706081733.l58HXcUc049022@repoman.freebsd.org> From: Ariff Abdullah Date: Fri, 8 Jun 2007 17:33:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/sound/pcm ac97_patch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 17:33:39 -0000 ariff 2007-06-08 17:33:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/sound/pcm ac97_patch.c Log: MFC: (revision 1.9) Fix (enable) phone out for laptops with ALC655, specifically for Amilo Pro V2055. PR: kern/113101 Submitted by: konrad@egipt-medytacje.pl Revision Changes Path 1.3.2.3 +9 -0 src/sys/dev/sound/pcm/ac97_patch.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 18:26:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AD9B16A400; Fri, 8 Jun 2007 18:26:40 +0000 (UTC) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.freebsd.org (Postfix) with ESMTP id 078B213C448; Fri, 8 Jun 2007 18:26:39 +0000 (UTC) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 9781C72DA1; Fri, 8 Jun 2007 11:25:36 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 9572172D9F; Fri, 8 Jun 2007 11:25:36 -0700 (PDT) Date: Fri, 8 Jun 2007 11:25:36 -0700 (PDT) From: Doug White To: Yar Tikhiy In-Reply-To: <20070608095734.GW25127@comp.chem.msu.su> Message-ID: <20070608112221.P5524@carver.gumbysoft.com> References: <200705291240.l4TCek0K048926@repoman.freebsd.org> <20070607172413.T90728@carver.gumbysoft.com> <20070608095734.GW25127@comp.chem.msu.su> 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 UPDATING src/sys/net ethernet.h 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, 08 Jun 2007 18:26:40 -0000 On Fri, 8 Jun 2007, Yar Tikhiy wrote: > On Thu, Jun 07, 2007 at 05:28:06PM -0700, Doug White wrote: >> Hello Yar, >> >> This commit appears to break bootstrapping -CURRENT from RELENG_6 and >> 6.2-RELEASE. I'm not exactly sure why and will continue to investigate. > > I'd say that it's rather unlikely, but I may be missing some point. I can eliminate all other commits between 5/29 12:00 UTC and 5/30 00:00 UTC from contributing to the problem. I'm guessing that the change has somehow corrupted the ioctl table or is causing the wrong function to get called. >> Right now I'm getting errors (EINVAL) and panics at boot time in ifconfig >> when trying to configure interfaces after upgrading the kernel from 6.2 to >> HEAD for the first time. > > Which platform do you use? amd64 -- sorry for not pointing that out earlier since its kinda important. :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-cvs-src@FreeBSD.ORG Fri Jun 8 20:29:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45AC116A421; Fri, 8 Jun 2007 20:29:08 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 34E0C13C45D; Fri, 8 Jun 2007 20:29:08 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58KT8b5023915; Fri, 8 Jun 2007 20:29:08 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58KT7QZ023908; Fri, 8 Jun 2007 20:29:07 GMT (envelope-from rwatson) Message-Id: <200706082029.l58KT7QZ023908@repoman.freebsd.org> From: Robert Watson Date: Fri, 8 Jun 2007 20:29: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/amd64/conf GENERIC src/sys/i386/conf GENERIC src/sys/ia64/conf GENERIC src/sys/pc98/conf GENERIC src/sys/powerpc/conf GENERIC src/sys/sparc64/conf GENERIC src/sys/sun4v/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, 08 Jun 2007 20:29:08 -0000 rwatson 2007-06-08 20:29:07 UTC FreeBSD src repository Modified files: sys/amd64/conf GENERIC sys/i386/conf GENERIC sys/ia64/conf GENERIC sys/pc98/conf GENERIC sys/powerpc/conf GENERIC sys/sparc64/conf GENERIC sys/sun4v/conf GENERIC Log: Enable AUDIT by default in the GENERIC kernel, allowing security event auditing to be turned on without a kernel recompile, just an rc.conf option. Approved by: re (kensmith) Obtained from: TrustedBSD Project Revision Changes Path 1.479 +1 -0 src/sys/amd64/conf/GENERIC 1.469 +1 -0 src/sys/i386/conf/GENERIC 1.90 +1 -0 src/sys/ia64/conf/GENERIC 1.294 +1 -0 src/sys/pc98/conf/GENERIC 1.69 +1 -0 src/sys/powerpc/conf/GENERIC 1.124 +1 -0 src/sys/sparc64/conf/GENERIC 1.12 +1 -0 src/sys/sun4v/conf/GENERIC From owner-cvs-src@FreeBSD.ORG Fri Jun 8 20:33:37 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2A3816A46E for ; Fri, 8 Jun 2007 20:33:37 +0000 (UTC) (envelope-from SRS0=80c147f75a2eca3d95877361f038523cef757dc0=360=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEDF13C487 for ; Fri, 8 Jun 2007 20:33:37 +0000 (UTC) (envelope-from SRS0=80c147f75a2eca3d95877361f038523cef757dc0=360=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id NAA89036; Fri, 08 Jun 2007 13:18:36 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E1EA445042; Fri, 8 Jun 2007 13:18:36 -0700 (PDT) To: David Christensen In-Reply-To: Your message of "Fri, 08 Jun 2007 02:34:44 -0000." <200706080234.l582YiV1029535@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1181333916_17041P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 08 Jun 2007 13:18:36 -0700 From: "Kevin Oberman" Message-Id: <20070608201836.E1EA445042@ptavv.es.net> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mii brgphy.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 20:33:37 -0000 --==_Exmh_1181333916_17041P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: David Christensen > Date: Fri, 8 Jun 2007 02:34:44 +0000 (UTC) > Sender: owner-cvs-all@freebsd.org > > davidch 2007-06-08 02:34:44 UTC > > FreeBSD src repository > > Modified files: > sys/dev/mii brgphy.c > Log: > - Fixed a problem that caused autonegotiation failures. > > Submitted by: tor.egge@cvsup.no.freebsd.org > MFC after: 4 weeks > > Revision Changes Path > 1.70 +5 -1 src/sys/dev/mii/brgphy.c Thanks! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1181333916_17041P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFGabmckn3rs5h7N1ERAjqQAJ43WY7r2XheWxd3/VEZk7W5A2vxlwCeK+sq wCrLQkFh3Dz3TRW/Wte//i8= =nEhj -----END PGP SIGNATURE----- --==_Exmh_1181333916_17041P-- From owner-cvs-src@FreeBSD.ORG Fri Jun 8 20:43:47 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 633AB16A421; Fri, 8 Jun 2007 20:43:47 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id 18B7C13C4B0; Fri, 8 Jun 2007 20:43:46 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id B6E70690AAA; Fri, 8 Jun 2007 21:41:14 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 7E2FE690B45; Fri, 8 Jun 2007 21:41:14 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_DSBL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-124-212.net.novis.pt [87.196.124.212]) by core.fnop.net (Postfix) with ESMTP id BA67D690AAA; Fri, 8 Jun 2007 21:41:12 +0100 (WEST) Date: Fri, 08 Jun 2007 21:43:41 +0100 Message-ID: <86vedyqirm.wl%rpaulo@fnop.net> From: Rui Paulo To: Hidetoshi Shimokawa In-Reply-To: <200706080754.l587s08x044997@repoman.freebsd.org> References: <200706080754.l587s08x044997@repoman.freebsd.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) X-cite-me: rpaulo MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/firewire firewire.c fwohci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 20:43:47 -0000 At Fri, 8 Jun 2007 07:53:59 +0000 (UTC), Hidetoshi Shimokawa wrote: > > simokawa 2007-06-08 07:53:59 UTC > > FreeBSD src repository > > Modified files: > sys/dev/firewire firewire.c fwohci.c > Log: > Fix a race after a bus reset. > - We are in FWBUSINIT state just after SID interrupt. > - Do not pass normal xfers before bus probe is done. Should this fix the problem I'm having whenever I disconnect my firewire disk ? It doesn't remove the device entry when I discionnect the cable and prints some warnings about bus reset. Thanks in advance. -- Rui Paulo From owner-cvs-src@FreeBSD.ORG Fri Jun 8 20:49:21 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D68F716A400 for ; Fri, 8 Jun 2007 20:49:21 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9FBE613C457 for ; Fri, 8 Jun 2007 20:49:21 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: by py-out-1112.google.com with SMTP id a29so1460648pyi for ; Fri, 08 Jun 2007 13:49:21 -0700 (PDT) Received: by 10.35.111.17 with SMTP id o17mr2822341pym.1181335760970; Fri, 08 Jun 2007 13:49:20 -0700 (PDT) Received: by 10.35.71.8 with HTTP; Fri, 8 Jun 2007 13:49:20 -0700 (PDT) Message-ID: <626eb4530706081349m31eac059qc5cdb8b4b9aa3990@mail.gmail.com> Date: Sat, 9 Jun 2007 05:49:20 +0900 From: "Hidetoshi Shimokawa" Sender: freebsd@gm.nunu.org To: "Rui Paulo" In-Reply-To: <86vedyqirm.wl%rpaulo@fnop.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706080754.l587s08x044997@repoman.freebsd.org> <86vedyqirm.wl%rpaulo@fnop.net> X-Google-Sender-Auth: de71bf6474f140e7 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/firewire firewire.c fwohci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 20:49:21 -0000 No. See the manpage of sbp(4) and tune hw.firewire.hold_count as you like. On 6/9/07, Rui Paulo wrote: > At Fri, 8 Jun 2007 07:53:59 +0000 (UTC), > Hidetoshi Shimokawa wrote: > > > > simokawa 2007-06-08 07:53:59 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/firewire firewire.c fwohci.c > > Log: > > Fix a race after a bus reset. > > - We are in FWBUSINIT state just after SID interrupt. > > - Do not pass normal xfers before bus probe is done. > > Should this fix the problem I'm having whenever I disconnect my > firewire disk ? > > It doesn't remove the device entry when I discionnect the cable and > prints some warnings about bus reset. > > Thanks in advance. > -- > Rui Paulo > > -- /\ Hidetoshi Shimokawa \/ simokawa@FreeBSD.ORG From owner-cvs-src@FreeBSD.ORG Fri Jun 8 21:36:53 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5892716A400; Fri, 8 Jun 2007 21:36:53 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 306A813C455; Fri, 8 Jun 2007 21:36:53 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58LarK7086762; Fri, 8 Jun 2007 21:36:53 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58LarUk086761; Fri, 8 Jun 2007 21:36:53 GMT (envelope-from attilio) Message-Id: <200706082136.l58LarUk086761@repoman.freebsd.org> From: Attilio Rao Date: Fri, 8 Jun 2007 21:36: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/conf NOTES options 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: Fri, 08 Jun 2007 21:36:53 -0000 attilio 2007-06-08 21:36:52 UTC FreeBSD src repository Modified files: sys/conf NOTES options sys/kern kern_mutex.c Log: Remove the MUTEX_WAKE_ALL option and make it the default behaviour for our mutexes. Currently we alredy force MUTEX_WAKE_ALL beacause of some problems with the !MUTEX_WAKE_ALL case (unavioidable priority inversion). Revision Changes Path 1.1429 +0 -5 src/sys/conf/NOTES 1.591 +0 -1 src/sys/conf/options 1.195 +0 -37 src/sys/kern/kern_mutex.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 21:55:30 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DB9C16A400 for ; Fri, 8 Jun 2007 21:55:30 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 298C813C455 for ; Fri, 8 Jun 2007 21:55:29 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so1195481uge for ; Fri, 08 Jun 2007 14:55:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=hxay3burRhIcS1SVvkce74RxbacEETV0/R15dkK5Vrl7yXkzUgIZIVgcfZt4BbrnsxktgOrQkDAaC1/vi9lsu/bm/zTI6Xc8BE29Te74e6FbBbZf5wvWFThffSdIGDXfdB29+3VaM2jNW32nxA8YUcM7BxPugqS0bz5olxSqnQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=lraGrMlGfNaXy9bqHVLsdWOF6K7b51oafD6FQSb+qThXHmot/pqhSXLw/A7vghOjOkZ8pF2dKfQBJ41Ldcasg8Hc6J/uXji2sc4ydgpqS8vDoZ3PCEaqKFyk519dLe/FZ5YuLZ8mhtiMIqSO9TcxUEd6N9ECGg7hyUQHy1Rtg/o= Received: by 10.67.118.8 with SMTP id v8mr3093084ugm.1181339728974; Fri, 08 Jun 2007 14:55:28 -0700 (PDT) Received: from ?151.75.225.190? ( [151.75.225.190]) by mx.google.com with ESMTP id u1sm5673572uge.2007.06.08.14.55.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 Jun 2007 14:55:28 -0700 (PDT) Message-ID: <4669D03C.9040504@FreeBSD.org> Date: Fri, 08 Jun 2007 23:55:08 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: src-committers@FreeBSD.org References: <200706082136.l58LarUk086761@repoman.freebsd.org> In-Reply-To: <200706082136.l58LarUk086761@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf NOTES options src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2007 21:55:30 -0000 Attilio Rao wrote: > attilio 2007-06-08 21:36:52 UTC > > FreeBSD src repository > > Modified files: > sys/conf NOTES options > sys/kern kern_mutex.c > Log: > Remove the MUTEX_WAKE_ALL option and make it the default behaviour for our > mutexes. > Currently we alredy force MUTEX_WAKE_ALL beacause of some problems with the > !MUTEX_WAKE_ALL case (unavioidable priority inversion). Uff, today I'm very tired! Approved by: jhb, ups, jeff (mentor) From owner-cvs-src@FreeBSD.ORG Fri Jun 8 22:00:57 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46F3E16A46D; Fri, 8 Jun 2007 22:00:57 +0000 (UTC) (envelope-from dwhite@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC8C13C489; Fri, 8 Jun 2007 22:00:57 +0000 (UTC) (envelope-from dwhite@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58M0vKr010799; Fri, 8 Jun 2007 22:00:57 GMT (envelope-from dwhite@repoman.freebsd.org) Received: (from dwhite@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58M0uFf010798; Fri, 8 Jun 2007 22:00:56 GMT (envelope-from dwhite) Message-Id: <200706082200.l58M0uFf010798@repoman.freebsd.org> From: Doug White Date: Fri, 8 Jun 2007 22:00: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/dev/nve if_nve.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 22:00:57 -0000 dwhite 2007-06-08 22:00:56 UTC FreeBSD src repository Modified files: sys/dev/nve if_nve.c Log: Don't cast the command argument to ether_ioctl() to an int since its not an int anymore. This was causing all sorts of bad behavior when booting a system with an nve interface present. Revision Changes Path 1.27 +1 -1 src/sys/dev/nve/if_nve.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 22:23:39 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3408C16A421; Fri, 8 Jun 2007 22:23:39 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id DDDF813C469; Fri, 8 Jun 2007 22:23:38 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id 6E860690AAA; Fri, 8 Jun 2007 23:21:06 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 15FA3690B47; Fri, 8 Jun 2007 23:21:06 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_DSBL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-124-212.net.novis.pt [87.196.124.212]) by core.fnop.net (Postfix) with ESMTP id 6576D690AAA; Fri, 8 Jun 2007 23:21:05 +0100 (WEST) Date: Fri, 08 Jun 2007 23:23:36 +0100 Message-ID: <86tztiqe53.wl%rpaulo@fnop.net> From: Rui Paulo To: "Hidetoshi Shimokawa" In-Reply-To: <626eb4530706081349m31eac059qc5cdb8b4b9aa3990@mail.gmail.com> References: <200706080754.l587s08x044997@repoman.freebsd.org> <86vedyqirm.wl%rpaulo@fnop.net> <626eb4530706081349m31eac059qc5cdb8b4b9aa3990@mail.gmail.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) X-cite-me: rpaulo MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/firewire firewire.c fwohci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 22:23:39 -0000 At Sat, 9 Jun 2007 05:49:20 +0900, Hidetoshi Shimokawa wrote: > > No. > See the manpage of sbp(4) and tune hw.firewire.hold_count as you like. Thanks. -- Rui Paulo From owner-cvs-src@FreeBSD.ORG Fri Jun 8 22:25:11 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E40BA16A476; Fri, 8 Jun 2007 22:25:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9155513C46E; Fri, 8 Jun 2007 22:25:11 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l58MPBfK036637; Fri, 8 Jun 2007 22:25:11 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l58MPBl3036624; Fri, 8 Jun 2007 22:25:11 GMT (envelope-from imp) Message-Id: <200706082225.l58MPBl3036624@repoman.freebsd.org> From: Warner Losh Date: Fri, 8 Jun 2007 22:25: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/usb uftdi.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 08 Jun 2007 22:25:12 -0000 imp 2007-06-08 22:25:10 UTC FreeBSD src repository Modified files: sys/dev/usb uftdi.c Log: Cleanup messages printed on attach. Since the description gets set to what we print, don't print it anymore. And don't compute it anymore. And don't malloc/free memory for it anymore. While I'm here, prefer device_printf where appropriate. Revision Changes Path 1.29 +13 -31 src/sys/dev/usb/uftdi.c From owner-cvs-src@FreeBSD.ORG Fri Jun 8 22:27:05 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD8B716A46C; Fri, 8 Jun 2007 22:27:05 +0000 (UTC) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.freebsd.org (Postfix) with ESMTP id A777113C46E; Fri, 8 Jun 2007 22:27:05 +0000 (UTC) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 539D272DA1; Fri, 8 Jun 2007 15:26:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 4CFB372D9F; Fri, 8 Jun 2007 15:26:02 -0700 (PDT) Date: Fri, 8 Jun 2007 15:26:02 -0700 (PDT) From: Doug White To: Yar Tikhiy In-Reply-To: <20070608095734.GW25127@comp.chem.msu.su> Message-ID: <20070608152546.D5524@carver.gumbysoft.com> References: <200705291240.l4TCek0K048926@repoman.freebsd.org> <20070607172413.T90728@carver.gumbysoft.com> <20070608095734.GW25127@comp.chem.msu.su> 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 UPDATING src/sys/net ethernet.h 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, 08 Jun 2007 22:27:05 -0000 On Fri, 8 Jun 2007, Yar Tikhiy wrote: > On Thu, Jun 07, 2007 at 05:28:06PM -0700, Doug White wrote: >> Hello Yar, >> >> This commit appears to break bootstrapping -CURRENT from RELENG_6 and >> 6.2-RELEASE. I'm not exactly sure why and will continue to investigate. > > I'd say that it's rather unlikely, but I may be missing some point. It was a bug in nve after all, so you're off the hook. :-) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-cvs-src@FreeBSD.ORG Sat Jun 9 01:19:10 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45D3416A485; Sat, 9 Jun 2007 01:19:10 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF6213C4AD; Sat, 9 Jun 2007 01:19:10 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l591J9Wq035928; Sat, 9 Jun 2007 01:19:10 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l591J9qB035918; Sat, 9 Jun 2007 01:19:09 GMT (envelope-from marcel) Message-Id: <200706090119.l591J9qB035918@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 9 Jun 2007 01:19: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/ia64/ia64 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, 09 Jun 2007 01:19:10 -0000 marcel 2007-06-09 01:19:09 UTC FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c Log: Physical memory regions can be larger than INT_MAX. Change size1 from an int to a long to avoid printing negative byte and page counts. Revision Changes Path 1.221 +4 -3 src/sys/ia64/ia64/machdep.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 02:20:31 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC71E16A400; Sat, 9 Jun 2007 02:20:31 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail36.syd.optusnet.com.au (mail36.syd.optusnet.com.au [211.29.133.76]) by mx1.freebsd.org (Postfix) with ESMTP id 676E613C44B; Sat, 9 Jun 2007 02:20:31 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c220-239-235-248.carlnfd3.nsw.optusnet.com.au [220.239.235.248]) by mail36.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id l592KHX9010905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Jun 2007 12:20:20 +1000 Date: Sat, 9 Jun 2007 12:20:19 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: John Baldwin In-Reply-To: <200706081210.24393.jhb@freebsd.org> Message-ID: <20070609112753.C15075@besplex.bde.org> References: <200706051420.l55EKEih018925@repoman.freebsd.org> <200706071059.41466.jhb@freebsd.org> <20070609002752.M13082@besplex.bde.org> <200706081210.24393.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, Kip Macy , cvs-all@freebsd.org, Attilio Rao , Bruce Evans , cvs-src@freebsd.org, Kostik Belousov , Jeff Roberson Subject: Re: 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: Sat, 09 Jun 2007 02:20:32 -0000 On Fri, 8 Jun 2007, John Baldwin wrote: > On Friday 08 June 2007 10:50:15 am Bruce Evans wrote: >> On Thu, 7 Jun 2007, John Baldwin wrote: >>> Hmm, one problem with the non-preemption page zero is that it doesn't > yield >>> the lock when it voluntarily yields. I wonder if something like this > patch >>> would help things for the non-preemption case: >> >> This works well. It fixed the extra 1.4 million voluntary context switches >> and even reduced the number by 10-100k. The real runtime is still up a bit, >> but user+sys+pgzero time is down a bit. Some numbers are: - real time up from 827 (best time on June 4 kernel) to 835 seconds (current with this patch and others in common with June 4 kernel) - real mysteriously time up from 827 seconds to 832 even with the June 4 kernel. >>> Index: vm_zeroidle.c >>> =================================================================== >>> RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v >>> retrieving revision 1.45 >>> diff -u -r1.45 vm_zeroidle.c >>> --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 >>> +++ vm_zeroidle.c 7 Jun 2007 14:56:02 -0000 >>> @@ -147,8 +147,10 @@ >>> #ifndef PREEMPTION >>> if (sched_runnable()) { >>> mtx_lock_spin(&sched_lock); >>> + mtx_unlock(&vm_page_queue_free_mtx); >>> mi_switch(SW_VOL, NULL); >>> mtx_unlock_spin(&sched_lock); >>> + mtx_lock(&vm_page_queue_free_mtx); >>> } >>> #endif >>> } else { >> >> The sched_locks are now of course thread_locks. I put the vm unlock >> before the thread lock since the above order seems to risk a LOR. That >> may have been a mistake -- we would prefer not to be switched after >> deciding to do it ourself. > > Actually, the order is on purpose so that we don't waste time doing a > preemption when we're about to switch anyway. OK, changed back (not tested with it changed back). What about after returning from mi_switch()? The spinlock must be dropped before acquiring the sleep lock, but that wastes some time if preemption occurs. Here we expect to have more work to do and it seems best to ensure doing at least one page of work per context switch if possible. >>>> Index: vm_zeroidle.c >>> =================================================================== >>> RCS file: /usr/cvs/src/sys/vm/vm_zeroidle.c,v >>> retrieving revision 1.45 >>> diff -u -r1.45 vm_zeroidle.c >>> --- vm_zeroidle.c 18 May 2007 07:10:50 -0000 1.45 >>> +++ vm_zeroidle.c 7 Jun 2007 14:58:39 -0000 >>> @@ -110,8 +110,10 @@ >>> if (m != NULL && (m->flags & PG_ZERO) == 0) { >>> vm_pageq_remove_nowakeup(m); >>> mtx_unlock(&vm_page_queue_free_mtx); >>> + critical_exit(); >>> pmap_zero_page_idle(m); >>> mtx_lock(&vm_page_queue_free_mtx); >>> + critical_enter(); >>> m->flags |= PG_ZERO; >>> vm_pageq_enqueue(PQ_FREE + m->pc, m); >>> ++vm_page_zero_count; >> >> Next I will try this. I put the critical_exit() before the vm unlock. >> mtx_unlock() should be allowed to switch if it wants. However, we >> would prefer to keep context switches disabled in the above -- just drop >> the lock so that other CPUs can proceed. > > Again, the order here is on purpose to make sure we don't preempt while > holding the lock. critical_enter(9) says that critical regions should not be interlocked with other synchronization primitives like this. It makes an exception for spin locks, but vm_page_queue_free_mtx is a sleep lock. I think this is as good a place to preempt as any. In fact, the code can be simplified by preempting here and not in the main loop. The vm mutex is already dropped here, so extra code isn't needed to drop in the main loop. In the !PREEMPTION case, check sched_runnable() here. In the PREEMPTION case, can you explain why involuntary preemption never worked right with SMP for SCHED_4BSD? I thought that it was because SCHED_4BSD doesn't do enough IPIs, so it doesn't preempt idle threads running on other CPUs, but shouldn't preemption occur when the vm mutex is unlocked in the above, if sched_runnable() is true and there is something better to run than pagezero? >>> @@ -141,20 +143,25 @@ >>> idlezero_enable = idlezero_enable_default; >>> >>> mtx_lock(&vm_page_queue_free_mtx); >>> + critical_enter(); >>> for (;;) { >>> if (vm_page_zero_check()) { >>> vm_page_zero_idle(); >>> #ifndef PREEMPTION >>> if (sched_runnable()) { >>> mtx_lock_spin(&sched_lock); >>> + mtx_unlock(&vm_page_queue_free_mtx); >>> mi_switch(SW_VOL, NULL); >>> mtx_unlock_spin(&sched_lock); >>> + mtx_lock(&vm_page_queue_free_mtx); >>> } >>> #endif >> >> I added the necessary critical_exit/enter() calls here. > > They aren't needed in the !PREEMPTION case since the context switch is > explicit. The critical sections are only needed for the PREEMPTION case > really. They are needed to pass the KASSERT(td_critnest == 1 || ...) in mi_switch(). PREEMPTION ifdefs on the critical sections would be messy. Next I will try moving the PREEMPTION code to where the vm mutex is dropped naturally. I will try the following order: // Stay in critical section. drop vm mutex // though critical_enter(9) says this is wrong zero the page // intentionally in critical section #ifdef PREEMPTION(?) // even more needed now that the critical // prevents prevents a switch on the mutex drop if (sched_runnable()) { thread_lock(...) critical_exit() // if using critical sections with !PRE* mi_switch(...) thread_unlock(...) } else #endif critical_exit() // I would like to avoid another switch here if there was a switch // above, but don't know how to. acquire vm mutex critical_enter() Bruce From owner-cvs-src@FreeBSD.ORG Sat Jun 9 02:49:48 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96CDD16A46B; Sat, 9 Jun 2007 02:49:48 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.freebsd.org (Postfix) with ESMTP id 78D3613C447; Sat, 9 Jun 2007 02:49:48 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from phantom.kitchenlab.org (phantom.kitchenlab.org [64.142.31.109]) (authenticated bits=0) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l592nitZ026245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jun 2007 19:49:48 -0700 Message-ID: <466A1544.30805@freebsd.org> Date: Fri, 08 Jun 2007 19:49:40 -0700 From: "Bruce A. Mah" User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Doug Ambrisko References: <200706061559.l56FxUU1017308@repoman.freebsd.org> In-Reply-To: <200706061559.l56FxUU1017308@repoman.freebsd.org> X-Enigmail-Version: 0.95.0 OpenPGP: id=5ba052c3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAEC6B234140CC23FC82D51F1" Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf files.amd64 src/sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c mfi_pci.c mfireg.h mfivar.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, 09 Jun 2007 02:49:48 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAEC6B234140CC23FC82D51F1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If memory serves me right, Doug Ambrisko wrote: > ambrisko 2007-06-06 15:59:30 UTC >=20 > FreeBSD src repository >=20 > Modified files: (Branch: RELENG_6) > sys/conf files.amd64=20 > sys/dev/mfi mfi.c mfi_disk.c mfi_ioctl.h mfi_linux.c=20 > mfi_pci.c mfireg.h mfivar.h=20 > Log: > MFC all of the remaining changes. This brings over improved ioctl > support and makes MegaCli work on amd64. Scott supplied patches > to make the ioctl commands not block the controller. MegaCli > still has some issues with our emulation and create some bogus > commands so flashing doesn't work. > =20 > This should loosely resolve 113232. We were waiting on some other > fixes to go into -current before migrating this to -stable. > =20 > PR: 113232 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3D= 113232 > Submitted by: scottl > =20 > Revision Changes Path > 1.71.2.13 +1 -0 src/sys/conf/files.amd64 > 1.3.2.7 +246 -133 src/sys/dev/mfi/mfi.c > 1.2.2.5 +24 -18 src/sys/dev/mfi/mfi_disk.c > 1.1.2.3 +57 -0 src/sys/dev/mfi/mfi_ioctl.h > 1.1.2.2 +14 -1 src/sys/dev/mfi/mfi_linux.c > 1.1.2.5 +9 -7 src/sys/dev/mfi/mfi_pci.c > 1.1.2.6 +2 -1 src/sys/dev/mfi/mfireg.h > 1.1.2.6 +11 -5 src/sys/dev/mfi/mfivar.h Thanks! I've lightly tested a RELENG_6_2 kernel with this change (plus other related deltas, such as mfip) and MegaCli seems to work about as well as it does on HEAD. Note for those who want to try MegaCli on RELENG_6/amd64, this requires "options LINSYSFS" to be added to the kernel; linsysfs isn't built as a module on RELENG_6/amd64. Bruce. --------------enigAEC6B234140CC23FC82D51F1 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 iD8DBQFGahVI2MoxcVugUsMRAsrxAKCw13DxKh6QJgSGMY0Xr7tYqV1EXgCfZzWR rNJa3PJ6Qfukk2k4QGjqIgM= =M0Jv -----END PGP SIGNATURE----- --------------enigAEC6B234140CC23FC82D51F1-- From owner-cvs-src@FreeBSD.ORG Sat Jun 9 05:41:19 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D17216A468; Sat, 9 Jun 2007 05:41:19 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E584613C44C; Sat, 9 Jun 2007 05:41:18 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l595fIGn092582; Sat, 9 Jun 2007 05:41:18 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l595fICR092574; Sat, 9 Jun 2007 05:41:18 GMT (envelope-from grog) Message-Id: <200706090541.l595fICR092574@repoman.freebsd.org> From: Greg Lehey Date: Sat, 9 Jun 2007 05:41: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/calendar/calendars calendar.dutch X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 05:41:19 -0000 grog 2007-06-09 05:41:18 UTC FreeBSD src repository Added files: usr.bin/calendar/calendars calendar.dutch Log: Dutch calendar. Submitteed by: edwin@ Revision Changes Path 1.1 +58 -0 src/usr.bin/calendar/calendars/calendar.dutch (new) From owner-cvs-src@FreeBSD.ORG Sat Jun 9 05:51:25 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5014E16A41F; Sat, 9 Jun 2007 05:51:25 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 247BD13C44C; Sat, 9 Jun 2007 05:51:25 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l595pPIp002774; Sat, 9 Jun 2007 05:51:25 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l595pO3u002768; Sat, 9 Jun 2007 05:51:24 GMT (envelope-from grog) Message-Id: <200706090551.l595pO3u002768@repoman.freebsd.org> From: Greg Lehey Date: Sat, 9 Jun 2007 05:51: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.bin/calendar/calendars calendar.all X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 05:51:25 -0000 grog 2007-06-09 05:51:24 UTC FreeBSD src repository Modified files: usr.bin/calendar/calendars calendar.all Log: Include calendar.dutch. Revision Changes Path 1.10 +1 -0 src/usr.bin/calendar/calendars/calendar.all From owner-cvs-src@FreeBSD.ORG Sat Jun 9 05:54:15 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4847616A400; Sat, 9 Jun 2007 05:54:15 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5F613C455; Sat, 9 Jun 2007 05:54:15 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l595sFcv005355; Sat, 9 Jun 2007 05:54:15 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l595sE7T005339; Sat, 9 Jun 2007 05:54:14 GMT (envelope-from grog) Message-Id: <200706090554.l595sE7T005339@repoman.freebsd.org> From: Greg Lehey Date: Sat, 9 Jun 2007 05:54:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/calendar calendar.h day.c io.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 05:54:15 -0000 grog 2007-06-09 05:54:13 UTC FreeBSD src repository Modified files: usr.bin/calendar calendar.h day.c io.c Log: Sort events by date. Correct long-standing off-by-one error in -W option. Submitted by: edwin@ Shorten some long lines. These files are still not completely style(9) compliant. Revision Changes Path 1.12 +15 -1 src/usr.bin/calendar/calendar.h 1.27 +5 -21 src/usr.bin/calendar/day.c 1.21 +99 -10 src/usr.bin/calendar/io.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:01:25 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62CFE16A400; Sat, 9 Jun 2007 06:01:25 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4C24E13C46C; Sat, 9 Jun 2007 06:01:25 +0000 (UTC) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5961P5O011965; Sat, 9 Jun 2007 06:01:25 GMT (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5961PuZ011963; Sat, 9 Jun 2007 06:01:25 GMT (envelope-from grog) Message-Id: <200706090601.l5961PuZ011963@repoman.freebsd.org> From: Greg Lehey Date: Sat, 9 Jun 2007 06:01: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/usr.bin/calendar calendar.calibrate regress.a2.out regress.a3.out regress.a4.out regress.b2.out regress.b3.out regress.b4.out regress.s1.out regress.s3.out regress.sh regress.w0-1.out regress.w0-2.out regress.w0-3.out ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:01:25 -0000 grog 2007-06-09 06:01:24 UTC FreeBSD src repository Modified files: tools/regression/usr.bin/calendar calendar.calibrate regress.a2.out regress.a3.out regress.a4.out regress.b2.out regress.b3.out regress.b4.out regress.s1.out regress.s3.out regress.sh Added files: tools/regression/usr.bin/calendar regress.w0-1.out regress.w0-2.out regress.w0-3.out regress.w0-4.out regress.w0-5.out regress.w0-6.out regress.w0-7.out regress.wn-1.out regress.wn-2.out regress.wn-3.out regress.wn-4.out regress.wn-5.out regress.wn-6.out regress.wn-7.out Log: Updated tests for changed features. Submitted by: edwin@ Revision Changes Path 1.3 +3 -0 src/tools/regression/usr.bin/calendar/calendar.calibrate 1.2 +1 -1 src/tools/regression/usr.bin/calendar/regress.a2.out 1.2 +2 -2 src/tools/regression/usr.bin/calendar/regress.a3.out 1.2 +1 -1 src/tools/regression/usr.bin/calendar/regress.a4.out 1.2 +1 -1 src/tools/regression/usr.bin/calendar/regress.b2.out 1.2 +2 -2 src/tools/regression/usr.bin/calendar/regress.b3.out 1.2 +1 -1 src/tools/regression/usr.bin/calendar/regress.b4.out 1.2 +1 -1 src/tools/regression/usr.bin/calendar/regress.s1.out 1.2 +1 -1 src/tools/regression/usr.bin/calendar/regress.s3.out 1.2 +20 -0 src/tools/regression/usr.bin/calendar/regress.sh 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-1.out (new) 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-2.out (new) 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-3.out (new) 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-4.out (new) 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-5.out (new) 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-6.out (new) 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.w0-7.out (new) 1.1 +1 -0 src/tools/regression/usr.bin/calendar/regress.wn-1.out (new) 1.1 +2 -0 src/tools/regression/usr.bin/calendar/regress.wn-2.out (new) 1.1 +3 -0 src/tools/regression/usr.bin/calendar/regress.wn-3.out (new) 1.1 +4 -0 src/tools/regression/usr.bin/calendar/regress.wn-4.out (new) 1.1 +5 -0 src/tools/regression/usr.bin/calendar/regress.wn-5.out (new) 1.1 +6 -0 src/tools/regression/usr.bin/calendar/regress.wn-6.out (new) 1.1 +7 -0 src/tools/regression/usr.bin/calendar/regress.wn-7.out (new) From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:31:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E55616A400; Sat, 9 Jun 2007 06:31:08 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1991F13C43E; Sat, 9 Jun 2007 06:31:08 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596V7Gi042593; Sat, 9 Jun 2007 06:31:07 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596V7hL042578; Sat, 9 Jun 2007 06:31:07 GMT (envelope-from imp) Message-Id: <200706090631.l596V7hL042578@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:31:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb if_axe.c if_cdce.c if_cdcereg.h if_cue.c if_kue.c if_rue.c if_rum.c if_udav.c if_ural.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:31:08 -0000 imp 2007-06-09 06:31:07 UTC FreeBSD src repository Modified files: sys/dev/usb if_axe.c if_cdce.c if_cdcereg.h if_cue.c if_kue.c if_rue.c if_rum.c if_udav.c if_ural.c Log: The devinfo stuff has been moved up into the parent bus. There's no need to do it at all anymore. Remove it from here. Expand USB_ATTACH_SETUP inline now that it is one line and we're moving away from the compat macros. Remove some bzero calls that turn out not be be necessary. Revision Changes Path 1.45 +0 -6 src/sys/dev/usb/if_axe.c 1.17 +0 -5 src/sys/dev/usb/if_cdce.c 1.7 +0 -2 src/sys/dev/usb/if_cdcereg.h 1.65 +0 -6 src/sys/dev/usb/if_cue.c 1.74 +0 -6 src/sys/dev/usb/if_kue.c 1.32 +0 -12 src/sys/dev/usb/if_rue.c 1.4 +1 -4 src/sys/dev/usb/if_rum.c 1.26 +2 -8 src/sys/dev/usb/if_udav.c 1.55 +1 -4 src/sys/dev/usb/if_ural.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:37:17 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C803E16A421; Sat, 9 Jun 2007 06:37:17 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9BFDF13C469; Sat, 9 Jun 2007 06:37:17 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596bHbG049023; Sat, 9 Jun 2007 06:37:17 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596bHhB049022; Sat, 9 Jun 2007 06:37:17 GMT (envelope-from imp) Message-Id: <200706090637.l596bHhB049022@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:37: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/usb umodem.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:37:17 -0000 imp 2007-06-09 06:37:17 UTC FreeBSD src repository Modified files: sys/dev/usb umodem.c Log: Try to set the data multiplexed feature, but don't care if there's an error doing so. It seems an increasing number of phones have this quirk, and we're not keeping up. There appears to be nothing bad that happens for non-quirked phones. Minor cleanups: o prefer device_printf over printf o kill devinfo stuff o minor other preening. Revision Changes Path 1.61 +28 -46 src/sys/dev/usb/umodem.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:38:20 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1995016A400; Sat, 9 Jun 2007 06:38:20 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E1F0113C448; Sat, 9 Jun 2007 06:38:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596cJna050001; Sat, 9 Jun 2007 06:38:19 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596cJX2050000; Sat, 9 Jun 2007 06:38:19 GMT (envelope-from imp) Message-Id: <200706090638.l596cJX2050000@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:38:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb umass.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:38:20 -0000 imp 2007-06-09 06:38:19 UTC FreeBSD src repository Modified files: sys/dev/usb umass.c Log: Kill USB_MATCH_SETUP, since this is the only place it was used in the tree. While I'm here, kill devinfo junk. Revision Changes Path 1.144 +2 -8 src/sys/dev/usb/umass.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:39:43 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E569E16A468; Sat, 9 Jun 2007 06:39:43 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B394E13C4AD; Sat, 9 Jun 2007 06:39:43 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596dhv2051265; Sat, 9 Jun 2007 06:39:43 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596dh0d051258; Sat, 9 Jun 2007 06:39:43 GMT (envelope-from imp) Message-Id: <200706090639.l596dh0d051258@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:39:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb uark.c ubsa.c ubser.c ucycom.c udbp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:39:44 -0000 imp 2007-06-09 06:39:43 UTC FreeBSD src repository Modified files: sys/dev/usb uark.c ubsa.c ubser.c ucycom.c udbp.c Log: Kill devinfo stuff. It is no longer needed. Kill bogus bzero as necessary. Minor tidy. Expand USB_ATTACH_SETUP inline where needed. Revision Changes Path 1.2 +0 -11 src/sys/dev/usb/uark.c 1.25 +0 -12 src/sys/dev/usb/ubsa.c 1.22 +1 -8 src/sys/dev/usb/ubser.c 1.5 +0 -9 src/sys/dev/usb/ucycom.c 1.33 +1 -3 src/sys/dev/usb/udbp.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:40:18 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B58016A476; Sat, 9 Jun 2007 06:40:18 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4FE6A13C48C; Sat, 9 Jun 2007 06:40:18 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596eIh8051905; Sat, 9 Jun 2007 06:40:18 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596eIix051904; Sat, 9 Jun 2007 06:40:18 GMT (envelope-from imp) Message-Id: <200706090640.l596eIix051904@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:40: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/dev/usb ufm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:40:18 -0000 imp 2007-06-09 06:40:18 UTC FreeBSD src repository Modified files: sys/dev/usb ufm.c Log: Remove lots of extra junk: o other bsd defines, there's no way this would work there o devinfo junk Revision Changes Path 1.27 +2 -114 src/sys/dev/usb/ufm.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:42:20 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C156B16A46C; Sat, 9 Jun 2007 06:42:20 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AC4EB13C448; Sat, 9 Jun 2007 06:42:20 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596gK4a054441; Sat, 9 Jun 2007 06:42:20 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596gKcR054432; Sat, 9 Jun 2007 06:42:20 GMT (envelope-from imp) Message-Id: <200706090642.l596gKcR054432@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:42:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ufoma.c ugen.c uhid.c uhub.c uipaq.c ukbd.c ulpt.c umct.c ums.c uplcom.c urio.c uscanner.c uvisor.c uvscom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:42:20 -0000 imp 2007-06-09 06:42:19 UTC FreeBSD src repository Modified files: sys/dev/usb ufoma.c ugen.c uhid.c uhub.c uipaq.c ukbd.c ulpt.c umct.c ums.c uplcom.c urio.c uscanner.c uvisor.c uvscom.c Log: Remove devinfo junk. Remove bogus bzero/memset Expand USB_ATTACH_SETUP Minor nits Revision Changes Path 1.4 +2 -10 src/sys/dev/usb/ufoma.c 1.109 +0 -4 src/sys/dev/usb/ugen.c 1.86 +1 -3 src/sys/dev/usb/uhid.c 1.75 +2 -7 src/sys/dev/usb/uhub.c 1.4 +0 -12 src/sys/dev/usb/uipaq.c 1.61 +1 -3 src/sys/dev/usb/ukbd.c 1.72 +2 -69 src/sys/dev/usb/ulpt.c 1.13 +0 -12 src/sys/dev/usb/umct.c 1.86 +1 -3 src/sys/dev/usb/ums.c 1.44 +0 -14 src/sys/dev/usb/uplcom.c 1.39 +1 -4 src/sys/dev/usb/urio.c 1.78 +1 -5 src/sys/dev/usb/uscanner.c 1.30 +0 -10 src/sys/dev/usb/uvisor.c 1.33 +0 -14 src/sys/dev/usb/uvscom.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:49:06 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B5FE16A46F; Sat, 9 Jun 2007 06:49:06 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB5513C44C; Sat, 9 Jun 2007 06:49:06 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596n5Oc060309; Sat, 9 Jun 2007 06:49:05 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596n5oO060307; Sat, 9 Jun 2007 06:49:05 GMT (envelope-from imp) Message-Id: <200706090649.l596n5oO060307@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:49:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/sound/usb uaudio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:49:06 -0000 imp 2007-06-09 06:49:05 UTC FreeBSD src repository Modified files: sys/dev/sound/usb uaudio.c Log: Expand USB_ATTACH_SETUP inline + devinfo tweaks # looks like there's a chance that uaudio might compile on otherBSD, so leave # those #defines alone as well as make this change in a compatible way. Revision Changes Path 1.30 +3 -2 src/sys/dev/sound/usb/uaudio.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 06:53:28 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DACA16A468; Sat, 9 Jun 2007 06:53:28 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 00ECF13C469; Sat, 9 Jun 2007 06:53:28 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l596rRN1064569; Sat, 9 Jun 2007 06:53:27 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l596rRG5064562; Sat, 9 Jun 2007 06:53:27 GMT (envelope-from imp) Message-Id: <200706090653.l596rRG5064562@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Jun 2007 06:53:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph/bluetooth/drivers/ubt ng_ubt.c src/sys/netgraph/bluetooth/drivers/ubtbcmfw ubtbcmfw.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 06:53:28 -0000 imp 2007-06-09 06:53:27 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/drivers/ubt ng_ubt.c sys/netgraph/bluetooth/drivers/ubtbcmfw ubtbcmfw.c Log: Expand USB_ATTACH_SETUP inline. Kill devinfo stuff. Revision Changes Path 1.29 +1 -4 src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c 1.12 +1 -4 src/sys/netgraph/bluetooth/drivers/ubtbcmfw/ubtbcmfw.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 09:20:23 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EC6416A41F; Sat, 9 Jun 2007 09:20:23 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 36CBA13C4D9; Sat, 9 Jun 2007 09:20:23 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l599KNoP013294; Sat, 9 Jun 2007 09:20:23 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l599KNB9013293; Sat, 9 Jun 2007 09:20:23 GMT (envelope-from matteo) Message-Id: <200706090920.l599KNB9013293@repoman.freebsd.org> From: Matteo Riondato Date: Sat, 9 Jun 2007 09:20: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/usr.sbin/rpcbind rpcbind.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 09:20:23 -0000 matteo 2007-06-09 09:20:22 UTC FreeBSD src repository Modified files: usr.sbin/rpcbind rpcbind.c Log: Remove a comment I forgot to remove Revision Changes Path 1.17 +1 -1 src/usr.sbin/rpcbind/rpcbind.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 09:28:31 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F79F16A46C; Sat, 9 Jun 2007 09:28:31 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 273C413C4B8; Sat, 9 Jun 2007 09:28:31 +0000 (UTC) (envelope-from matteo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l599SVpW021221; Sat, 9 Jun 2007 09:28:31 GMT (envelope-from matteo@repoman.freebsd.org) Received: (from matteo@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l599SUkJ021217; Sat, 9 Jun 2007 09:28:30 GMT (envelope-from matteo) Message-Id: <200706090928.l599SUkJ021217@repoman.freebsd.org> From: Matteo Riondato Date: Sat, 9 Jun 2007 09:28: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/usr.sbin/rpcbind rpcbind.8 rpcbind.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 09:28:31 -0000 matteo 2007-06-09 09:28:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/rpcbind rpcbind.8 rpcbind.c Log: MFC: rpcbind.c: rev. 1.15, 1.16, 1.17 rpcbind.8: rev. 1.10 1)Make it possible for rpcbind(8) to bind TCP listening socket to an IP other than INADDR_ANY. 2) Add the -6 option to specify "IPv6 only". PR: 84494, 1122566 Revision Changes Path 1.7.2.2 +5 -3 src/usr.sbin/rpcbind/rpcbind.8 1.14.2.1 +223 -215 src/usr.sbin/rpcbind/rpcbind.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 09:28:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5F5716A474; Sat, 9 Jun 2007 09:28:36 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id ADE0013C4BE; Sat, 9 Jun 2007 09:28:36 +0000 (UTC) (envelope-from darrenr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l599SavF021332; Sat, 9 Jun 2007 09:28:36 GMT (envelope-from darrenr@repoman.freebsd.org) Received: (from darrenr@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l599Sa0W021331; Sat, 9 Jun 2007 09:28:36 GMT (envelope-from darrenr) Message-Id: <200706090928.l599Sa0W021331@repoman.freebsd.org> From: Darren Reed Date: Sat, 9 Jun 2007 09:28: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/contrib/ipfilter/netinet fil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 09:28:36 -0000 darrenr 2007-06-09 09:28:36 UTC FreeBSD src repository Modified files: sys/contrib/ipfilter/netinet fil.c Log: Pointer to an ICMP header was getting left behind after doing a pullup. Revision Changes Path 1.52 +1 -0 src/sys/contrib/ipfilter/netinet/fil.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 11:07:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E63CD16A421; Sat, 9 Jun 2007 11:07:08 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C1D7913C4B9; Sat, 9 Jun 2007 11:07:08 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59B78gi018962; Sat, 9 Jun 2007 11:07:08 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59B78kV018958; Sat, 9 Jun 2007 11:07:08 GMT (envelope-from ru) Message-Id: <200706091107.l59B78kV018958@repoman.freebsd.org> From: Ruslan Ermilov Date: Sat, 9 Jun 2007 11:07: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/sound/usb uaudio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 11:07:09 -0000 ru 2007-06-09 11:07:08 UTC FreeBSD src repository Modified files: sys/dev/sound/usb uaudio.c Log: Make this compile. Revision Changes Path 1.31 +1 -1 src/sys/dev/sound/usb/uaudio.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 13:44:10 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A70A416A400; Sat, 9 Jun 2007 13:44:10 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 85E9813C447; Sat, 9 Jun 2007 13:44:10 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59DiArj071867; Sat, 9 Jun 2007 13:44:10 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59DiAmv071859; Sat, 9 Jun 2007 13:44:10 GMT (envelope-from rrs) Message-Id: <200706091344.l59DiAmv071859@repoman.freebsd.org> From: Randall Stewart Date: Sat, 9 Jun 2007 13:44:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/netstat Makefile main.c netstat.h sctp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2007 13:44:10 -0000 rrs 2007-06-09 13:44:10 UTC FreeBSD src repository Modified files: usr.bin/netstat Makefile main.c netstat.h Added files: usr.bin/netstat sctp.c Log: Adds support for SCTP. Revision Changes Path 1.36 +2 -1 src/usr.bin/netstat/Makefile 1.84 +4 -0 src/usr.bin/netstat/main.c 1.49 +4 -0 src/usr.bin/netstat/netstat.h 1.1 +709 -0 src/usr.bin/netstat/sctp.c (new) From owner-cvs-src@FreeBSD.ORG Sat Jun 9 13:46:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B83C916A468; Sat, 9 Jun 2007 13:46:58 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id AED6F13C45D; Sat, 9 Jun 2007 13:46:58 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59Dkw0p074505; Sat, 9 Jun 2007 13:46:58 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59Dkwje074501; Sat, 9 Jun 2007 13:46:58 GMT (envelope-from rrs) Message-Id: <200706091346.l59Dkwje074501@repoman.freebsd.org> From: Randall Stewart Date: Sat, 9 Jun 2007 13:46: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/netinet sctp_auth.c sctp_auth.h sctp_input.c sctp_output.c sctp_uio.h sctputil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 13:46:58 -0000 rrs 2007-06-09 13:46:58 UTC FreeBSD src repository Modified files: sys/netinet sctp_auth.c sctp_auth.h sctp_input.c sctp_output.c sctp_uio.h sctputil.c Log: - fix send_failed notification contents - Reorder send failed to be in correct order. - Fixed calulation of init-ack to be right off mbuf lengths instead of the precalculated value. This will fix one 64 bit platform issue. Revision Changes Path 1.14 +9 -4 src/sys/netinet/sctp_auth.c 1.5 +1 -1 src/sys/netinet/sctp_auth.h 1.35 +12 -3 src/sys/netinet/sctp_input.c 1.34 +30 -36 src/sys/netinet/sctp_output.c 1.21 +1 -1 src/sys/netinet/sctp_uio.h 1.39 +46 -42 src/sys/netinet/sctputil.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 13:53:27 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C49DA16A421; Sat, 9 Jun 2007 13:53:27 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A403913C455; Sat, 9 Jun 2007 13:53:27 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59DrRIv080702; Sat, 9 Jun 2007 13:53:27 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59DrRCu080701; Sat, 9 Jun 2007 13:53:27 GMT (envelope-from rrs) Message-Id: <200706091353.l59DrRCu080701@repoman.freebsd.org> From: Randall Stewart Date: Sat, 9 Jun 2007 13:53:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet sctp_input.c sctp_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, 09 Jun 2007 13:53:27 -0000 rrs 2007-06-09 13:53:27 UTC FreeBSD src repository Modified files: sys/netinet sctp_input.c sctp_output.c Log: - Opps.. takes out debug printfs I accidentally left in :-( Revision Changes Path 1.36 +0 -9 src/sys/netinet/sctp_input.c 1.35 +0 -7 src/sys/netinet/sctp_output.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 14:26:19 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA1F416A400; Sat, 9 Jun 2007 14:26:19 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.freebsd.org (Postfix) with ESMTP id 8438413C455; Sat, 9 Jun 2007 14:26:19 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 09 Jun 2007 06:57:49 -0700 X-IronPort-AV: i="4.16,402,1175497200"; d="scan'208"; a="161737632:sNHT43183521" Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id l59DvnMc024769; Sat, 9 Jun 2007 06:57:49 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id l59DvntV002088; Sat, 9 Jun 2007 13:57:49 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 9 Jun 2007 06:57:48 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 9 Jun 2007 06:57:48 -0700 Message-ID: <466AB251.4070301@cisco.com> Date: Sat, 09 Jun 2007 09:59:45 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20070601 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Randall Stewart References: <200706091344.l59DiAmv071859@repoman.freebsd.org> In-Reply-To: <200706091344.l59DiAmv071859@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jun 2007 13:57:48.0796 (UTC) FILETIME=[29E7CBC0:01C7AA9E] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=747; t=1181397469; x=1182261469; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20cvs=20commit=3A=20src/usr.bin/netstat=20Makefile=20ma in.c=20netstat.h=20sctp.c |Sender:=20; bh=Qi3y4tmr6WV2i/+0gNiZm11VLHzKIw7dy6JDRaHIXxA=; b=gINa7fvVcrkdzC2tEycTbVaKkZWSukZKR9vPbj3TF8M9fNhQcJ37KyaII5J/DGO+XGHmUS9s L1CURiO18lGcoGKPp2J2e36W6GahBHBXSKQSZZG17+ZdwvGo+WVN/D2GN1hKXCL2m53yiZaT0Y ETVOEuEkboQjcW+JllnMSsUbI=; Authentication-Results: sj-dkim-1; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim1004 verified; ); Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/netstat Makefile main.c netstat.h sctp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2007 14:26:19 -0000 Randall Stewart wrote: > rrs 2007-06-09 13:44:10 UTC > > FreeBSD src repository > > Modified files: > usr.bin/netstat Makefile main.c netstat.h > Added files: > usr.bin/netstat sctp.c > Log: > Adds support for SCTP. > > Revision Changes Path > 1.36 +2 -1 src/usr.bin/netstat/Makefile > 1.84 +4 -0 src/usr.bin/netstat/main.c > 1.49 +4 -0 src/usr.bin/netstat/netstat.h > 1.1 +709 -0 src/usr.bin/netstat/sctp.c (new) > Opps.. I forgot to add this changes comes from weongyo.jeong@gmail.com Who contributed all the work on this one :-D. R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell) From owner-cvs-src@FreeBSD.ORG Sat Jun 9 17:49:41 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FBBA16A469; Sat, 9 Jun 2007 17:49:41 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F172613C455; Sat, 9 Jun 2007 17:49:40 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59HndpJ002097; Sat, 9 Jun 2007 17:49:39 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59HndZv002094; Sat, 9 Jun 2007 17:49:39 GMT (envelope-from andre) Message-Id: <200706091749.l59HndZv002094@repoman.freebsd.org> From: Andre Oppermann Date: Sat, 9 Jun 2007 17:49: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/netinet tcp_timer.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 17:49:41 -0000 andre 2007-06-09 17:49:39 UTC FreeBSD src repository Modified files: sys/netinet tcp_timer.c Log: Handle a race condition on >2 core machines in tcp_timer() when a timer issues a shutdown and a simultaneous close on the socket happens. This race condition is inherent in the current socket/ inpcb life cycle system but can be handled well. Reported by: kris Tested by: kris (on 8-core machine) Revision Changes Path 1.95 +8 -2 src/sys/netinet/tcp_timer.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 18:09:38 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 343F916A41F; Sat, 9 Jun 2007 18:09:38 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1095113C469; Sat, 9 Jun 2007 18:09:38 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59I9bbu020724; Sat, 9 Jun 2007 18:09:37 GMT (envelope-from mjacob@repoman.freebsd.org) Received: (from mjacob@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59I9bQS020720; Sat, 9 Jun 2007 18:09:37 GMT (envelope-from mjacob) Message-Id: <200706091809.l59I9bQS020720@repoman.freebsd.org> From: Matt Jacob Date: Sat, 9 Jun 2007 18:09: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/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: Sat, 09 Jun 2007 18:09:38 -0000 mjacob 2007-06-09 18:09:37 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c Log: Propagate volatile qualifier to make gcc4.2 happy. Revision Changes Path 1.196 +1 -1 src/sys/kern/kern_mutex.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 18:56:12 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2596016A468; Sat, 9 Jun 2007 18:56:12 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1722F13C458; Sat, 9 Jun 2007 18:56:12 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59IuBnu064948; Sat, 9 Jun 2007 18:56:11 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59IuBRC064947; Sat, 9 Jun 2007 18:56:11 GMT (envelope-from attilio) Message-Id: <200706091856.l59IuBRC064947@repoman.freebsd.org> From: Attilio Rao Date: Sat, 9 Jun 2007 18:56:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/svr4 svr4_misc.c src/sys/kern init_main.c kern_exit.c kern_resource.c kern_thread.c src/sys/sys proc.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, 09 Jun 2007 18:56:12 -0000 attilio 2007-06-09 18:56:11 UTC FreeBSD src repository Modified files: sys/compat/svr4 svr4_misc.c sys/kern init_main.c kern_exit.c kern_resource.c kern_thread.c sys/sys proc.h Log: The current rusage code show peculiar problems: - Unsafeness on ruadd() in thread_exit() - Unatomicity of thread_exiit() in the exit1() operations This patch addresses these problems allocating p_fd as part of the process and modifying the way it is accessed. A small chunk of this patch, resolves a race about p_state in kern_wait(), since we have to be sure about the zombif-ing process. Submitted by: jeff Approved by: jeff (mentor) Revision Changes Path 1.95 +5 -4 src/sys/compat/svr4/svr4_misc.c 1.281 +5 -0 src/sys/kern/init_main.c 1.302 +8 -31 src/sys/kern/kern_exit.c 1.175 +3 -6 src/sys/kern/kern_resource.c 1.248 +4 -6 src/sys/kern/kern_thread.c 1.482 +1 -1 src/sys/sys/proc.h From owner-cvs-src@FreeBSD.ORG Sat Jun 9 19:39:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B55C016A468; Sat, 9 Jun 2007 19:39:14 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8F77013C46C; Sat, 9 Jun 2007 19:39:14 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59JdENQ005277; Sat, 9 Jun 2007 19:39:14 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59JdEgo005273; Sat, 9 Jun 2007 19:39:14 GMT (envelope-from andre) Message-Id: <200706091939.l59JdEgo005273@repoman.freebsd.org> From: Andre Oppermann Date: Sat, 9 Jun 2007 19:39: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/netinet tcp_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, 09 Jun 2007 19:39:14 -0000 andre 2007-06-09 19:39:14 UTC FreeBSD src repository Modified files: sys/netinet tcp_output.c Log: Don't send pure window updates when the peer has closed the connection and won't ever send more data. Revision Changes Path 1.137 +4 -1 src/sys/netinet/tcp_output.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 19:41:16 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03C7016A468; Sat, 9 Jun 2007 19:41:14 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B16B613C48A; Sat, 9 Jun 2007 19:41:14 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59JfEMb007292; Sat, 9 Jun 2007 19:41:14 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59JfEb3007286; Sat, 9 Jun 2007 19:41:14 GMT (envelope-from attilio) Message-Id: <200706091941.l59JfEb3007286@repoman.freebsd.org> From: Attilio Rao Date: Sat, 9 Jun 2007 19:41: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/kern kern_clock.c src/sys/sys systm.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, 09 Jun 2007 19:41:16 -0000 attilio 2007-06-09 19:41:14 UTC FreeBSD src repository Modified files: sys/kern kern_clock.c sys/sys systm.h Log: Since locking in kern/subr_prof.c is changed a bit, we need nomore of time_lock spinlock exported. Approved by: jeff (mentor) Revision Changes Path 1.201 +1 -1 src/sys/kern/kern_clock.c 1.257 +0 -2 src/sys/sys/systm.h From owner-cvs-src@FreeBSD.ORG Sat Jun 9 21:09:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D69FF16A41F; Sat, 9 Jun 2007 21:09:50 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B19E813C45D; Sat, 9 Jun 2007 21:09:50 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59L9onF097540; Sat, 9 Jun 2007 21:09:50 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59L9o0k097539; Sat, 9 Jun 2007 21:09:50 GMT (envelope-from andre) Message-Id: <200706092109.l59L9o0k097539@repoman.freebsd.org> From: Andre Oppermann Date: Sat, 9 Jun 2007 21:09: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/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, 09 Jun 2007 21:09:50 -0000 andre 2007-06-09 21:09:50 UTC FreeBSD src repository Modified files: sys/netinet tcp_input.c Log: Remove some bogosity from the SYN_SENT case in tcp_do_segment and simplify handling of the send/receive window scaling. No change in effective behavour. RFC1323 requires the window field in a SYN (i.e., a or ) segment itself never be scaled. Noticed by: yar Revision Changes Path 1.356 +8 -6 src/sys/netinet/tcp_input.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 21:19:13 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2184616A46C; Sat, 9 Jun 2007 21:19:13 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id DB97213C480; Sat, 9 Jun 2007 21:19:12 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59LJCQR007251; Sat, 9 Jun 2007 21:19:12 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59LJCLj007247; Sat, 9 Jun 2007 21:19:12 GMT (envelope-from andre) Message-Id: <200706092119.l59LJCLj007247@repoman.freebsd.org> From: Andre Oppermann Date: Sat, 9 Jun 2007 21:19:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet tcp_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, 09 Jun 2007 21:19:13 -0000 andre 2007-06-09 21:19:12 UTC FreeBSD src repository Modified files: sys/netinet tcp_output.c Log: Make the handling of the tcp window explicit for the SYN_SENT case in tcp_outout(). This is currently not strictly necessary but paves the way to simplify the entire SYN options handling quite a bit. Clarify comment. No change in effective behavour with this commit. RFC1323 requires the window field in a SYN (i.e., a or ) segment itself never be scaled. Revision Changes Path 1.138 +10 -4 src/sys/netinet/tcp_output.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 21:43:53 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2400C16A46B; Sat, 9 Jun 2007 21:43:53 +0000 (UTC) (envelope-from beech@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F20E413C455; Sat, 9 Jun 2007 21:43:52 +0000 (UTC) (envelope-from beech@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59LhqGI030637; Sat, 9 Jun 2007 21:43:52 GMT (envelope-from beech@repoman.freebsd.org) Received: (from beech@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59LhqRa030636; Sat, 9 Jun 2007 21:43:52 GMT (envelope-from beech) Message-Id: <200706092143.l59LhqRa030636@repoman.freebsd.org> From: Beech Rintoul Date: Sat, 9 Jun 2007 21:43:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/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: Sat, 09 Jun 2007 21:43:53 -0000 beech 2007-06-09 21:43:52 UTC FreeBSD src repository (ports committer) Modified files: share/misc committers-ports.dot Log: - Add myself. Approved by: sat (mentor) Revision Changes Path 1.57 +3 -0 src/share/misc/committers-ports.dot From owner-cvs-src@FreeBSD.ORG Sat Jun 9 21:46:05 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0E6316A400; Sat, 9 Jun 2007 21:46:05 +0000 (UTC) (envelope-from beech@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7B51613C45B; Sat, 9 Jun 2007 21:46:05 +0000 (UTC) (envelope-from beech@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59Lk5an032844; Sat, 9 Jun 2007 21:46:05 GMT (envelope-from beech@repoman.freebsd.org) Received: (from beech@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59Lk57v032836; Sat, 9 Jun 2007 21:46:05 GMT (envelope-from beech) Message-Id: <200706092146.l59Lk57v032836@repoman.freebsd.org> From: Beech Rintoul Date: Sat, 9 Jun 2007 21:46: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/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, 09 Jun 2007 21:46:05 -0000 beech 2007-06-09 21:46:04 UTC FreeBSD src repository (ports committer) Modified files: usr.bin/calendar/calendars calendar.freebsd Log: - Add myself. Approved by: sat (mentor) Revision Changes Path 1.216 +1 -0 src/usr.bin/calendar/calendars/calendar.freebsd From owner-cvs-src@FreeBSD.ORG Sat Jun 9 21:48:45 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15B5016A41F; Sat, 9 Jun 2007 21:48:45 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 0600113C45B; Sat, 9 Jun 2007 21:48:45 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59LmijS034860; Sat, 9 Jun 2007 21:48:44 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59Lmie6034856; Sat, 9 Jun 2007 21:48:44 GMT (envelope-from attilio) Message-Id: <200706092148.l59Lmie6034856@repoman.freebsd.org> From: Attilio Rao Date: Sat, 9 Jun 2007 21:48: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/compat/linux linux_misc.c src/sys/compat/svr4 svr4_misc.c src/sys/fs/procfs procfs_status.c src/sys/kern kern_acct.c kern_exit.c kern_proc.c kern_resource.c kern_time.c src/sys/sys resourcevar.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, 09 Jun 2007 21:48:45 -0000 attilio 2007-06-09 21:48:44 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c sys/compat/svr4 svr4_misc.c sys/fs/procfs procfs_status.c sys/kern kern_acct.c kern_exit.c kern_proc.c kern_resource.c kern_time.c sys/sys resourcevar.h Log: rufetch and calcru sometimes should be called atomically together. This patch fixes places where they should be called atomically changing their locking requirements (both assume per-proc spinlock held) and introducing rufetchcalc which wrappers both calls to be performed in atomic way. Reviewed by: jeff Approved by: jeff (mentor) Revision Changes Path 1.212 +2 -0 src/sys/compat/linux/linux_misc.c 1.96 +8 -0 src/sys/compat/svr4/svr4_misc.c 1.61 +2 -1 src/sys/fs/procfs/procfs_status.c 1.93 +1 -2 src/sys/kern/kern_acct.c 1.303 +4 -6 src/sys/kern/kern_exit.c 1.250 +2 -0 src/sys/kern/kern_proc.c 1.176 +21 -13 src/sys/kern/kern_resource.c 1.142 +4 -0 src/sys/kern/kern_time.c 1.52 +3 -1 src/sys/sys/resourcevar.h From owner-cvs-src@FreeBSD.ORG Sat Jun 9 21:55:18 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28AE616A468; Sat, 9 Jun 2007 21:55:18 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 186F013C457; Sat, 9 Jun 2007 21:55:18 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59LtH9i040903; Sat, 9 Jun 2007 21:55:17 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59LtHtg040898; Sat, 9 Jun 2007 21:55:17 GMT (envelope-from marcel) Message-Id: <200706092155.l59LtHtg040898@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 9 Jun 2007 21:55: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/powerpc/include cpu.h kdb.h md_var.h src/sys/powerpc/powerpc db_interface.c syncicache.c uio_machdep.c src/sys/amd64/include kdb.h src/sys/arm/include kdb.h src/sys/gdb gdb_packet.c src/sys/i386/include kdb.h src/sys/ia64/include kdb.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, 09 Jun 2007 21:55:18 -0000 marcel 2007-06-09 21:55:17 UTC FreeBSD src repository Modified files: sys/powerpc/include cpu.h kdb.h md_var.h sys/powerpc/powerpc db_interface.c syncicache.c uio_machdep.c sys/amd64/include kdb.h sys/arm/include kdb.h sys/gdb gdb_packet.c sys/i386/include kdb.h sys/ia64/include kdb.h sys/sparc64/include kdb.h sys/sun4v/include kdb.h Log: Add kdb_cpu_sync_icache(), intended to synchronize instruction caches with data caches after writing to memory. This typically is required to make breakpoints work on ia64 and powerpc. For those architectures the function is implemented. Revision Changes Path 1.4 +5 -0 src/sys/amd64/include/kdb.h 1.4 +5 -0 src/sys/arm/include/kdb.h 1.4 +8 -2 src/sys/gdb/gdb_packet.c 1.4 +5 -0 src/sys/i386/include/kdb.h 1.5 +15 -0 src/sys/ia64/include/kdb.h 1.21 +0 -6 src/sys/powerpc/include/cpu.h 1.4 +7 -0 src/sys/powerpc/include/kdb.h 1.28 +6 -0 src/sys/powerpc/include/md_var.h 1.7 +6 -10 src/sys/powerpc/powerpc/db_interface.c 1.6 +1 -1 src/sys/powerpc/powerpc/syncicache.c 1.7 +1 -1 src/sys/powerpc/powerpc/uio_machdep.c 1.4 +5 -0 src/sys/sparc64/include/kdb.h 1.2 +5 -0 src/sys/sun4v/include/kdb.h From owner-cvs-src@FreeBSD.ORG Sat Jun 9 22:15:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F082116A421; Sat, 9 Jun 2007 22:15:14 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id CA53613C43E; Sat, 9 Jun 2007 22:15:14 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59MFEYW054892; Sat, 9 Jun 2007 22:15:14 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59MFEcA054884; Sat, 9 Jun 2007 22:15:14 GMT (envelope-from marcel) Message-Id: <200706092215.l59MFEcA054884@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 9 Jun 2007 22:15:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ia64/ia64 db_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, 09 Jun 2007 22:15:15 -0000 marcel 2007-06-09 22:15:14 UTC FreeBSD src repository Modified files: sys/ia64/ia64 db_machdep.c Log: Synchronize the instruction cache after writing to memory. This is needed for breakpoints to work. Revision Changes Path 1.3 +5 -1 src/sys/ia64/ia64/db_machdep.c From owner-cvs-src@FreeBSD.ORG Sat Jun 9 23:41:15 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4309616A421; Sat, 9 Jun 2007 23:41:15 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1D31C13C46C; Sat, 9 Jun 2007 23:41:15 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l59NfEBp037539; Sat, 9 Jun 2007 23:41:14 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l59NfExd037534; Sat, 9 Jun 2007 23:41:14 GMT (envelope-from marcel) Message-Id: <200706092341.l59NfExd037534@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 9 Jun 2007 23:41: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/kern vfs_bio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: 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, 09 Jun 2007 23:41:15 -0000 marcel 2007-06-09 23:41:14 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c Log: Work around an integer overflow in expression `3 * maxbufspace / 4', when maxbufspace is larger than INT_MAX / 3. The overflow causes a hard hang on ia64 when physical memory is sufficiently large (8GB). Revision Changes Path 1.526 +7 -0 src/sys/kern/vfs_bio.c