From owner-cvs-sys Sun Oct 6 00:51:38 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA22347 for cvs-sys-outgoing; Sun, 6 Oct 1996 00:51:38 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA22228; Sun, 6 Oct 1996 00:50:08 -0700 (PDT) Date: Sun, 6 Oct 1996 00:50:08 -0700 (PDT) From: John Dyson Message-Id: <199610060750.AAA22228@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_cluster.c vfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/06 00:50:07 Modified: sys/kern vfs_cluster.c vfs_bio.c Log: Fix 4 problems: Major: When blocking occurs in allocbuf() for VMIO files, excess wire counts could accumulate. Major: Pages are incorrectly accumulated into the physical buffer for clustered reads. This happens when bogus page is needed. Minor: When reclaiming buffers, the async flag on the buffer needs to be zero, or the reclaim is not optimal. Minor: The age flag should be cleared, if a buffer is wanted. Revision Changes Path 1.38 +10 -4 src/sys/kern/vfs_cluster.c 1.103 +19 -10 src/sys/kern/vfs_bio.c From owner-cvs-sys Sun Oct 6 03:16:03 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA01453 for cvs-sys-outgoing; Sun, 6 Oct 1996 03:16:03 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA01384; Sun, 6 Oct 1996 03:15:34 -0700 (PDT) Date: Sun, 6 Oct 1996 03:15:34 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610061015.DAA01384@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/10/06 03:15:32 Modified: sys/i386/i386 userconfig.c Log: Conditionalize introfunc on USERCONFIG_BOOT && VISUAL_USERCONFIG Revision Changes Path 1.54 +8 -2 src/sys/i386/i386/userconfig.c From owner-cvs-sys Sun Oct 6 08:27:51 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA24400 for cvs-sys-outgoing; Sun, 6 Oct 1996 08:27:51 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA24369; Sun, 6 Oct 1996 08:27:40 -0700 (PDT) Date: Sun, 6 Oct 1996 08:27:40 -0700 (PDT) From: David Greenman Message-Id: <199610061527.IAA24369@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/10/06 08:27:39 Modified: sys/i386/i386 userconfig.c Log: Moved a #if for VISUAL_USERCONFIG case...the last commit didn't completely fix the problem. Revision Changes Path 1.55 +4 -3 src/sys/i386/i386/userconfig.c From owner-cvs-sys Sun Oct 6 09:06:21 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA26731 for cvs-sys-outgoing; Sun, 6 Oct 1996 09:06:21 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA26713; Sun, 6 Oct 1996 09:06:10 -0700 (PDT) Date: Sun, 6 Oct 1996 09:06:10 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610061606.JAA26713@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 09:06:08 Branch: sys/i386/scsi SCSI Modified: sys/i386/scsi aic7xxx.c Log: Fixed a leftover from the conversion to storing sync periods in ns/4 (the format used to pass them in SDTR messages) instead of ns. ahc_construct SDTR was still thinking it needed to do the conversion. Revision Changes Path 1.75.2.3 +4 -5 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Sun Oct 6 09:30:38 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA27818 for cvs-sys-outgoing; Sun, 6 Oct 1996 09:30:38 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA27783; Sun, 6 Oct 1996 09:30:24 -0700 (PDT) Date: Sun, 6 Oct 1996 09:30:24 -0700 (PDT) From: Bruce Evans Message-Id: <199610061630.JAA27783@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/06 09:30:22 Modified: sys/i386/i386 userconfig.c Log: Fixed build of LINT yet again. getchar() clashed with getchar() in pcvt. Staticized it in userconfig. The one in pcvt is unused. Removed bogus unused arg to getchar(). This should not have compiled in the USERCONFIG_BOOT case, but the getchar() was also non-prototyped and defined in K&R style. Staticized the badly named global variable `next'. Even static variables should have a unique module-specific prefix so that they can be referenced easily in debuggers, etc. Revision Changes Path 1.56 +7 -6 src/sys/i386/i386/userconfig.c From owner-cvs-sys Sun Oct 6 09:39:10 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA28523 for cvs-sys-outgoing; Sun, 6 Oct 1996 09:39:10 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA28501; Sun, 6 Oct 1996 09:38:51 -0700 (PDT) Date: Sun, 6 Oct 1996 09:38:51 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610061638.JAA28501@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/i386/eisa aic7770.c src/sys/i386/scsi aic7xxx.c aic7xxx.h src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 09:38:50 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h sys/i386/eisa aic7770.c sys/i386/scsi aic7xxx.c aic7xxx.h sys/pci aic7870.c Log: Bring aic7xxx driver bug fixes from 'SCSI' into current. Revision Changes Path 1.43 +54 -139 src/sys/dev/aic7xxx/aic7xxx.seq 1.13 +17 -25 src/sys/dev/aic7xxx/aic7xxx_reg.h 1.32 +3 -13 src/sys/i386/eisa/aic7770.c 1.77 +1012 -938 src/sys/i386/scsi/aic7xxx.c 1.29 +20 -17 src/sys/i386/scsi/aic7xxx.h 1.38 +15 -9 src/sys/pci/aic7870.c From owner-cvs-sys Sun Oct 6 09:43:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA29018 for cvs-sys-outgoing; Sun, 6 Oct 1996 09:43:05 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA28944; Sun, 6 Oct 1996 09:42:41 -0700 (PDT) Date: Sun, 6 Oct 1996 09:42:41 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610061642.JAA28944@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/i386/eisa aic7770.c src/sys/i386/scsi aic7xxx.c aic7xxx.h src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 09:42:39 Branch: sys/dev/aic7xxx RELENG_2_1_0 sys/i386/scsi RELENG_2_1_0 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h sys/i386/eisa aic7770.c sys/i386/scsi aic7xxx.c aic7xxx.h sys/pci aic7870.c Log: Bring aic7xxx driver bug fixes from 'SCSI' into stable. Revision Changes Path 1.16.4.18 +54 -139 src/sys/dev/aic7xxx/aic7xxx.seq 1.2.2.9 +17 -25 src/sys/dev/aic7xxx/aic7xxx_reg.h 1.21.2.5 +3 -13 src/sys/i386/eisa/aic7770.c 1.29.2.24 +1013 -939 src/sys/i386/scsi/aic7xxx.c 1.10.2.11 +20 -17 src/sys/i386/scsi/aic7xxx.h 1.11.2.18 +15 -9 src/sys/pci/aic7870.c From owner-cvs-sys Sun Oct 6 11:27:50 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA03519 for cvs-sys-outgoing; Sun, 6 Oct 1996 11:27:50 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA03501; Sun, 6 Oct 1996 11:27:41 -0700 (PDT) Date: Sun, 6 Oct 1996 11:27:41 -0700 (PDT) From: John Dyson Message-Id: <199610061827.LAA03501@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_page.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/06 11:27:41 Modified: sys/vm vm_page.c Log: Fix a problem with the page coloring code that the system will not always be able to use all of the free pages. This can manifest as a panic using DIAGNOSTIC, or as a panic on an indirect memory reference. Revision Changes Path 1.67 +7 -3 src/sys/vm/vm_page.c From owner-cvs-sys Sun Oct 6 12:13:55 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA05237 for cvs-sys-outgoing; Sun, 6 Oct 1996 12:13:55 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA05219; Sun, 6 Oct 1996 12:13:41 -0700 (PDT) Date: Sun, 6 Oct 1996 12:13:41 -0700 (PDT) From: Bruce Evans Message-Id: <199610061913.MAA05219@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include types.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/06 12:13:39 Modified: sys/i386/include types.h Log: Cleaned up vm types. Cosmetic. The main change is from unsigned long unsigned int. It just needs to be a 32-bit type and unsigned int is most natural. Using a non-long type has the "advantage" of hiding bugs in the "machine-independent" code where it prints foo_t's using %d or %x. These bugs are currently hidden bug not compiling with -Wformat. I tried changing vm_ooffset_t from long long to unsigned long long, but that was wrong because vm_ooffset_t needs to be long to match off_t, although file offsets are never negative. Reviewed by: dyson Revision Changes Path 1.7 +7 -7 src/sys/i386/include/types.h From owner-cvs-sys Sun Oct 6 12:24:17 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA05613 for cvs-sys-outgoing; Sun, 6 Oct 1996 12:24:17 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA05593; Sun, 6 Oct 1996 12:24:05 -0700 (PDT) Date: Sun, 6 Oct 1996 12:24:05 -0700 (PDT) From: Bruce Evans Message-Id: <199610061924.MAA05593@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include param.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/06 12:24:03 Modified: sys/i386/include param.h Log: Improved the btodb() and dbtob() macros. I made them give unsigned [long long] results when I last worked on them, but they are normally used together with to daddr_t's and off_t's which are signed, so the unsigned results did little except cause warnings. Revision Changes Path 1.23 +9 -8 src/sys/i386/include/param.h From owner-cvs-sys Sun Oct 6 12:42:46 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06391 for cvs-sys-outgoing; Sun, 6 Oct 1996 12:42:46 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06374; Sun, 6 Oct 1996 12:42:36 -0700 (PDT) Date: Sun, 6 Oct 1996 12:42:36 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610061942.MAA06374@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 12:42:36 Branch: sys/i386/scsi SCSI Modified: sys/i386/scsi aic7xxx.c Log: If, during an SDTR negotiation, the target comes back with a response that is too low for the aic7xxx chip to handle with sync transfers, negotiate async transfers. Revision Changes Path 1.75.2.4 +24 -10 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Sun Oct 6 12:43:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06455 for cvs-sys-outgoing; Sun, 6 Oct 1996 12:43:05 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06440; Sun, 6 Oct 1996 12:43:01 -0700 (PDT) Date: Sun, 6 Oct 1996 12:43:01 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610061943.MAA06440@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 12:43:01 Modified: sys/i386/scsi aic7xxx.c Log: If, during an SDTR negotiation, the target comes back with a response that is too low for the aic7xxx chip to handle with sync transfers, negotiate async transfers. Revision Changes Path 1.78 +24 -10 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Sun Oct 6 12:43:45 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06551 for cvs-sys-outgoing; Sun, 6 Oct 1996 12:43:45 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06534; Sun, 6 Oct 1996 12:43:41 -0700 (PDT) Date: Sun, 6 Oct 1996 12:43:41 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610061943.MAA06534@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 12:43:40 Branch: sys/i386/scsi RELENG_2_1_0 Modified: sys/i386/scsi aic7xxx.c Log: If, during an SDTR negotiation, the target comes back with a response that is too low for the aic7xxx chip to handle with sync transfers, negotiate async transfers. Revision Changes Path 1.29.2.25 +24 -10 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Sun Oct 6 14:19:50 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA11554 for cvs-sys-outgoing; Sun, 6 Oct 1996 14:19:50 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA11533; Sun, 6 Oct 1996 14:19:36 -0700 (PDT) Date: Sun, 6 Oct 1996 14:19:36 -0700 (PDT) From: John Dyson Message-Id: <199610062119.OAA11533@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/specfs spec_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/06 14:19:35 Modified: sys/miscfs/specfs spec_vnops.c Log: Substitution of a long divide by a shift. Other cosmetic improvements. Submitted by: bde Revision Changes Path 1.33 +21 -12 src/sys/miscfs/specfs/spec_vnops.c From owner-cvs-sys Sun Oct 6 15:26:37 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA16004 for cvs-sys-outgoing; Sun, 6 Oct 1996 15:26:37 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA15961; Sun, 6 Oct 1996 15:26:18 -0700 (PDT) Date: Sun, 6 Oct 1996 15:26:18 -0700 (PDT) From: John Dyson Message-Id: <199610062226.PAA15961@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_page.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/06 15:26:17 Modified: sys/vm vm_page.h Log: Make the default cache size optim to be 256K, the old default was 64K. The change has essentially neutral effect on those machines with little or no cache, and has a positive effect on "normal" machines with 256K or more cache. Revision Changes Path 1.33 +10 -9 src/sys/vm/vm_page.h From owner-cvs-sys Sun Oct 6 15:49:24 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17500 for cvs-sys-outgoing; Sun, 6 Oct 1996 15:49:24 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17486; Sun, 6 Oct 1996 15:49:12 -0700 (PDT) Date: Sun, 6 Oct 1996 15:49:12 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610062249.PAA17486@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c src/sys/scsi scsi_message.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 15:49:11 Branch: sys/i386/scsi SCSI Modified: sys/i386/scsi aic7xxx.c Log: Oops. Used the wrong variable. This would cause sync negotiation to fail on wide targets. First Wide tester to complain about this: Chuck Cranor Revision Changes Path 1.75.2.5 +3 -3 src/sys/i386/scsi/aic7xxx.c Branch: sys/scsi SCSI Modified: sys/scsi scsi_message.h Log: Fix a typo in the MSG_ISIDENTIFY macro. This is used in the NetBSD aic6380 driver. Noticed by: Chuck Cranor Revision Changes Path 1.1.2.3 +2 -2 src/sys/scsi/scsi_message.h From owner-cvs-sys Sun Oct 6 15:50:32 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17648 for cvs-sys-outgoing; Sun, 6 Oct 1996 15:50:32 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17629; Sun, 6 Oct 1996 15:50:20 -0700 (PDT) Date: Sun, 6 Oct 1996 15:50:20 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610062250.PAA17629@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c src/sys/scsi scsi_message.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 15:50:20 Modified: sys/i386/scsi aic7xxx.c sys/scsi scsi_message.h Log: Bring in bug fix from 'SCSI' branch. Revision Changes Path 1.79 +3 -3 src/sys/i386/scsi/aic7xxx.c 1.3 +2 -2 src/sys/scsi/scsi_message.h From owner-cvs-sys Sun Oct 6 15:51:06 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17734 for cvs-sys-outgoing; Sun, 6 Oct 1996 15:51:06 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17717; Sun, 6 Oct 1996 15:50:58 -0700 (PDT) Date: Sun, 6 Oct 1996 15:50:58 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610062250.PAA17717@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c src/sys/scsi scsi_message.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 15:50:57 Branch: sys/i386/scsi RELENG_2_1_0 sys/scsi RELENG_2_1_0 Modified: sys/i386/scsi aic7xxx.c sys/scsi scsi_message.h Log: Bring in bug fix from 'SCSI' branch. Revision Changes Path 1.29.2.26 +3 -3 src/sys/i386/scsi/aic7xxx.c 1.2.2.1 +2 -2 src/sys/scsi/scsi_message.h From owner-cvs-sys Sun Oct 6 19:07:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA26023 for cvs-sys-outgoing; Sun, 6 Oct 1996 19:07:25 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA26000; Sun, 6 Oct 1996 19:07:08 -0700 (PDT) Date: Sun, 6 Oct 1996 19:07:08 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610070207.TAA26000@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys - Imported sources Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 19:07:07 src/sys - Imported sources Update of /home/ncvs/src/sys In directory freefall.freebsd.org:/a/gibbs/sandbox Revision/Branch: 1.1.1 Log Message: Advanced Systems Inc. SCSI Controller driver and ISA/VL front end. I have only tested the ABP5140 card and only with a single CDROM drive but it seems to work fine. This driver relies on features found only in the SCSI branch so will not work in -current until those changes are brought in. It also doesn't have any error handling code *yet*. The goal is to use this driver as the development platform for the new generic SCSI layer error recovery/handling code. PCI and EISA front ends will show up as soon as I get my hands on the cards. There are also a few issues in the driver that I need to clear up with AdvanSys before I can suggest sticking one of these cards in your server. 8-) Thanks to AdvanSys for releasing this code under a suitable copyright. Obtained from: Ported from the Linux driver writen by bobf@advansys.com (Bob Frey). Status: Vendor Tag: GIBBS Release Tags: v1996_10_06 N src/sys/dev/advansys/advlib.c N src/sys/dev/advansys/advlib.h N src/sys/dev/advansys/advmcode.c N src/sys/dev/advansys/advmcode.h N src/sys/i386/scsi/advansys.c N src/sys/i386/scsi/advansys.h N src/sys/i386/isa/adv_isa.c No conflicts created by this import From owner-cvs-sys Sun Oct 6 19:12:44 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA26435 for cvs-sys-outgoing; Sun, 6 Oct 1996 19:12:44 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA26408; Sun, 6 Oct 1996 19:12:25 -0700 (PDT) Date: Sun, 6 Oct 1996 19:12:25 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610070212.TAA26408@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/conf files src/sys/i386/conf files.i386 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 19:12:25 Modified: sys/conf files sys/i386/conf files.i386 Log: Add files for AdvanSys SCSI driver Revision Changes Path 1.76.2.3 +2 -0 src/sys/conf/files 1.140.2.1 +3 -1 src/sys/i386/conf/files.i386 From owner-cvs-sys Sun Oct 6 20:53:00 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04498 for cvs-sys-outgoing; Sun, 6 Oct 1996 20:53:00 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04435; Sun, 6 Oct 1996 20:52:42 -0700 (PDT) Date: Sun, 6 Oct 1996 20:52:42 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610070352.UAA04435@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsi_message.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 20:52:41 Branch: sys/scsi SCSI Modified: sys/scsi scsi_message.h Log: Try number two. Add missing paren in MSG_IDENTIFY macro. Revision Changes Path 1.1.2.4 +1 -1 src/sys/scsi/scsi_message.h From owner-cvs-sys Sun Oct 6 20:53:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04561 for cvs-sys-outgoing; Sun, 6 Oct 1996 20:53:23 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04542; Sun, 6 Oct 1996 20:53:11 -0700 (PDT) Date: Sun, 6 Oct 1996 20:53:11 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610070353.UAA04542@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsi_message.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 20:53:10 Branch: sys/scsi RELENG_2_1_0 Modified: sys/scsi scsi_message.h Log: Try number two. Add missing paren in MSG_IDENTIFY macro. Revision Changes Path 1.2.2.2 +1 -1 src/sys/scsi/scsi_message.h From owner-cvs-sys Sun Oct 6 20:53:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04686 for cvs-sys-outgoing; Sun, 6 Oct 1996 20:53:58 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04656; Sun, 6 Oct 1996 20:53:46 -0700 (PDT) Date: Sun, 6 Oct 1996 20:53:46 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199610070353.UAA04656@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsi_message.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/10/06 20:53:46 Modified: sys/scsi scsi_message.h Log: Try number two. Add missing paren in MSG_IDENTIFY macro. Revision Changes Path 1.4 +1 -1 src/sys/scsi/scsi_message.h From owner-cvs-sys Sun Oct 6 21:32:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA08585 for cvs-sys-outgoing; Sun, 6 Oct 1996 21:32:56 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA08541; Sun, 6 Oct 1996 21:32:45 -0700 (PDT) Date: Sun, 6 Oct 1996 21:32:45 -0700 (PDT) From: Paul Traina Message-Id: <199610070432.VAA08541@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys socketvar.h sysctl.h src/sys/kern uipc_socket.c uipc_socket2.c src/sys/netinet tcp_input.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/10/06 21:32:45 Modified: sys/kern uipc_socket.c uipc_socket2.c sys/netinet tcp_input.c sys/sys socketvar.h sysctl.h Log: Increase robustness of FreeBSD against high-rate connection attempt denial of service attacks. Reviewed by: bde,wollman,olah Inspired by: vjs@sgi.com Revision Changes Path 1.20 +2 -1 src/sys/kern/uipc_socket.c 1.15 +46 -6 src/sys/kern/uipc_socket2.c 1.52 +23 -13 src/sys/netinet/tcp_input.c 1.15 +5 -1 src/sys/sys/socketvar.h 1.46 +2 -4 src/sys/sys/sysctl.h From owner-cvs-sys Mon Oct 7 10:50:11 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13734 for cvs-sys-outgoing; Mon, 7 Oct 1996 10:50:11 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13720; Mon, 7 Oct 1996 10:50:05 -0700 (PDT) Date: Mon, 7 Oct 1996 10:50:05 -0700 (PDT) From: Garrett Wollman Message-Id: <199610071750.KAA13720@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa if_fe.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/07 10:50:04 Modified: sys/i386/isa if_fe.c Log: Fix padding of short packets (PR#1701). Submitted by: seki@sysrap.cs.fujitsu.co.jp Revision Changes Path 1.20 +10 -12 src/sys/i386/isa/if_fe.c From owner-cvs-sys Mon Oct 7 12:06:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18874 for cvs-sys-outgoing; Mon, 7 Oct 1996 12:06:29 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18855; Mon, 7 Oct 1996 12:06:17 -0700 (PDT) Date: Mon, 7 Oct 1996 12:06:17 -0700 (PDT) From: David Greenman Message-Id: <199610071906.MAA18855@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_usrreq.c udp_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/10/07 12:06:16 Modified: sys/netinet in_pcb.c in_pcb.h tcp_input.c tcp_usrreq.c udp_usrreq.c Log: Improved in_pcblookuphash() to support wildcarding, and changed relavent callers of it to take advantage of this. This reduces new connection request overhead in the face of a large number of PCBs in the system. Thanks to David Filo for suggesting this and providing a sample implementation (which wasn't used, but showed that it could be done). Reviewed by: wollman Revision Changes Path 1.22 +48 -27 src/sys/netinet/in_pcb.c 1.13 +3 -3 src/sys/netinet/in_pcb.h 1.53 +2 -12 src/sys/netinet/tcp_input.c 1.26 +2 -2 src/sys/netinet/tcp_usrreq.c 1.29 +3 -11 src/sys/netinet/udp_usrreq.c From owner-cvs-sys Mon Oct 7 12:06:41 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA18896 for cvs-sys-outgoing; Mon, 7 Oct 1996 12:06:41 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA18885; Mon, 7 Oct 1996 12:06:36 -0700 (PDT) Received: by gvr.win.tue.nl (8.6.13/1.53) id VAA14622; Mon, 7 Oct 1996 21:06:27 +0200 From: guido@gvr.win.tue.nl (Guido van Rooij) Message-Id: <199610071906.VAA14622@gvr.win.tue.nl> Subject: Re: cvs commit: src/sys/vm vm_page.h To: dyson@freefall.freebsd.org (John Dyson) Date: Mon, 7 Oct 1996 21:06:26 +0200 (MET DST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610062226.PAA15961@freefall.freebsd.org> from John Dyson at "Oct 6, 96 03:26:18 pm" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John Dyson wrote: > dyson 96/10/06 15:26:17 > > Modified: sys/vm vm_page.h > Log: > Make the default cache size optim to be 256K, the old default was > 64K. The change has essentially neutral effect on those machines with > little or no cache, and has a positive effect on "normal" machines > with 256K or more cache. > > Revision Changes Path > 1.33 +10 -9 src/sys/vm/vm_page.h > It seems like PQ_L2_SIZE is about 25% of the cache size. If this is indeed the general size, wouldn't it be nice to make it controlable from the kernel config file? -Guido From owner-cvs-sys Mon Oct 7 12:12:07 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA19427 for cvs-sys-outgoing; Mon, 7 Oct 1996 12:12:07 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA19396; Mon, 7 Oct 1996 12:11:56 -0700 (PDT) Date: Mon, 7 Oct 1996 12:11:56 -0700 (PDT) From: Garrett Wollman Message-Id: <199610071911.MAA19396@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if_disc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/07 12:11:56 Modified: sys/net if_disc.c Log: Remove some historical cruft inherited from the loopback driver in which there were three possible different code paths through which we could discard a packet (which, after all, is the entire function of this interface). Revision Changes Path 1.14 +1 -6 src/sys/net/if_disc.c From owner-cvs-sys Mon Oct 7 12:21:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA20134 for cvs-sys-outgoing; Mon, 7 Oct 1996 12:21:57 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA20116; Mon, 7 Oct 1996 12:21:49 -0700 (PDT) Date: Mon, 7 Oct 1996 12:21:49 -0700 (PDT) From: Garrett Wollman Message-Id: <199610071921.MAA20116@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_input.c ip_output.c raw_ip.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/07 12:21:48 Modified: sys/netinet ip_input.c ip_output.c raw_ip.c Log: All three files: make COMPAT_IPFW==0 case work again. ip_input.c: - delete some dusty code - _IP_VHL - use fast inline header checksum when possible Revision Changes Path 1.48 +42 -26 src/sys/netinet/ip_input.c 1.43 +2 -2 src/sys/netinet/ip_output.c 1.36 +2 -2 src/sys/netinet/raw_ip.c From owner-cvs-sys Mon Oct 7 12:44:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA21649 for cvs-sys-outgoing; Mon, 7 Oct 1996 12:44:58 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA21644; Mon, 7 Oct 1996 12:44:54 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id OAA02756; Mon, 7 Oct 1996 14:44:22 -0500 (EST) From: John Dyson Message-Id: <199610071944.OAA02756@dyson.iquest.net> Subject: Re: cvs commit: src/sys/vm vm_page.h To: guido@gvr.win.tue.nl (Guido van Rooij) Date: Mon, 7 Oct 1996 14:44:22 -0500 (EST) Cc: dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610071906.VAA14622@gvr.win.tue.nl> from "Guido van Rooij" at Oct 7, 96 09:06:26 pm Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > John Dyson wrote: > > dyson 96/10/06 15:26:17 > > > > Modified: sys/vm vm_page.h > > Log: > > Make the default cache size optim to be 256K, the old default was > > 64K. The change has essentially neutral effect on those machines with > > little or no cache, and has a positive effect on "normal" machines > > with 256K or more cache. > > > > Revision Changes Path > > 1.33 +10 -9 src/sys/vm/vm_page.h > > > > It seems like PQ_L2_SIZE is about 25% of the cache size. If this is indeed > the general size, wouldn't it be nice to make it controlable from the > kernel config file? > PQ_L2_SIZE is the size in pages... PQ_L2_SIZE * PAGE_SIZE = 256k. IMO, It is kind-of bogus to "hard-code" the value, and I am thinking about a good solution for that problem. The value is controllable from the config file, but my naming conventions leave something to be desired, so I haven't documented them (yet.) If you have any ideas, let me know!!! John From owner-cvs-sys Mon Oct 7 13:08:54 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA23559 for cvs-sys-outgoing; Mon, 7 Oct 1996 13:08:54 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA23536; Mon, 7 Oct 1996 13:08:45 -0700 (PDT) Received: by gvr.win.tue.nl (8.6.13/1.53) id WAA14802; Mon, 7 Oct 1996 22:08:37 +0200 From: guido@gvr.win.tue.nl (Guido van Rooij) Message-Id: <199610072008.WAA14802@gvr.win.tue.nl> Subject: Re: cvs commit: src/sys/vm vm_page.h To: dyson@freebsd.org Date: Mon, 7 Oct 1996 22:08:36 +0200 (MET DST) Cc: dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610071944.OAA02756@dyson.iquest.net> from John Dyson at "Oct 7, 96 02:44:22 pm" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk John Dyson wrote: > > > PQ_L2_SIZE is the size in pages... PQ_L2_SIZE * PAGE_SIZE = 256k. > IMO, It is kind-of bogus to "hard-code" the value, and I am thinking about > a good solution for that problem. The value is controllable from the > config file, but my naming conventions leave something to be desired, > so I haven't documented them (yet.) If you have any ideas, let me know!!! > Perhaps we could introduce a new word in the kernel config file. Something like cache where is the amount of L2 cache. The L1 cache is processor specific and thus can be obtained via the cpu directive. The rest can then be doen with macros. Btw: Isn't it possible to somehow get the amount of cache at boottime? -Guido From owner-cvs-sys Mon Oct 7 13:28:19 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA26087 for cvs-sys-outgoing; Mon, 7 Oct 1996 13:28:19 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA26078; Mon, 7 Oct 1996 13:28:13 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id PAA02845; Mon, 7 Oct 1996 15:28:02 -0500 (EST) From: John Dyson Message-Id: <199610072028.PAA02845@dyson.iquest.net> Subject: Re: cvs commit: src/sys/vm vm_page.h To: guido@gvr.win.tue.nl (Guido van Rooij) Date: Mon, 7 Oct 1996 15:28:02 -0500 (EST) Cc: dyson@freebsd.org, dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610072008.WAA14802@gvr.win.tue.nl> from "Guido van Rooij" at Oct 7, 96 10:08:36 pm Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > John Dyson wrote: > > > > > PQ_L2_SIZE is the size in pages... PQ_L2_SIZE * PAGE_SIZE = 256k. > > IMO, It is kind-of bogus to "hard-code" the value, and I am thinking about > > a good solution for that problem. The value is controllable from the > > config file, but my naming conventions leave something to be desired, > > so I haven't documented them (yet.) If you have any ideas, let me know!!! > > > > Perhaps we could introduce a new word in the kernel config file. > Something like > cache > where is the amount of L2 cache. The L1 cache is processor specific > and thus can be obtained via the cpu directive. The rest can then be > doen with macros. > Actually, the L1 cache will be changing on P5 class machines soon. > Btw: Isn't it possible to somehow get the amount of cache at boottime? > It is possible (I think) on a pci-chipset specific basis. We could also estimate it like 'lat_mem_rd', but that would be going too far, probably. John From owner-cvs-sys Mon Oct 7 13:35:31 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA26491 for cvs-sys-outgoing; Mon, 7 Oct 1996 13:35:31 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA26484; Mon, 7 Oct 1996 13:35:20 -0700 (PDT) Received: by gvr.win.tue.nl (8.6.13/1.53) id WAA14914; Mon, 7 Oct 1996 22:35:11 +0200 From: guido@gvr.win.tue.nl (Guido van Rooij) Message-Id: <199610072035.WAA14914@gvr.win.tue.nl> Subject: Re: cvs commit: src/sys/vm vm_page.h To: dyson@freebsd.org Date: Mon, 7 Oct 1996 22:35:11 +0200 (MET DST) Cc: dyson@freebsd.org, dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610072028.PAA02845@dyson.iquest.net> from John Dyson at "Oct 7, 96 03:28:02 pm" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk John Dyson wrote: > > > > Perhaps we could introduce a new word in the kernel config file. > > Something like > > cache > > where is the amount of L2 cache. The L1 cache is processor specific > > and thus can be obtained via the cpu directive. The rest can then be > > doen with macros. > > > Actually, the L1 cache will be changing on P5 class machines soon. hmm. But that would be identifiable by the stepping number, right? If that is to hard the cache directive above can be etended ;-) -Guido From owner-cvs-sys Mon Oct 7 15:34:51 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA05053 for cvs-sys-outgoing; Mon, 7 Oct 1996 15:34:51 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA05048; Mon, 7 Oct 1996 15:34:41 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id RAA03072; Mon, 7 Oct 1996 17:34:26 -0500 (EST) From: "John S. Dyson" Message-Id: <199610072234.RAA03072@dyson.iquest.net> Subject: Re: cvs commit: src/sys/vm vm_page.h To: guido@gvr.win.tue.nl (Guido van Rooij) Date: Mon, 7 Oct 1996 17:34:26 -0500 (EST) Cc: dyson@freebsd.org, dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610072035.WAA14914@gvr.win.tue.nl> from "Guido van Rooij" at Oct 7, 96 10:35:11 pm Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > John Dyson wrote: > > > > > > Perhaps we could introduce a new word in the kernel config file. > > > Something like > > > cache > > > where is the amount of L2 cache. The L1 cache is processor specific > > > and thus can be obtained via the cpu directive. The rest can then be > > > doen with macros. > > > > > Actually, the L1 cache will be changing on P5 class machines soon. > > hmm. But that would be identifiable by the stepping number, right? > If that is to hard the cache directive above can be etended ;-) > I suspect that we can figure it out... :-). Your comments do show that the current method is inadequate (which I indeed agree with.) The config mod would require the powers that be (config-wizards) to make that decision. I really think that in the shortest term, that DOCUMENTED config variables are probably adequate. I didn't document them because my current naming convention is bogus. In the longer term (probably in release timeframe) an attempt to probe the system interface chips would be useful, upon failure, perhaps default to 256K. (Most reasonably high perf systems since the 386 and certainly the 486 have 256K (maybe some 128K) cache.) It is only the medium 386s that had 64K anyway. Those who have exceptions to the "rule" can optionally recompile the kernel (my opinion.) I don't really want to mess with (but could if strongly requested) changing the number of bins for the coloring dynamically. It is possible to do, since there aren't lots of pointers floating around in the implementation. It would be kind of ugly though. John From owner-cvs-sys Mon Oct 7 16:23:19 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA08195 for cvs-sys-outgoing; Mon, 7 Oct 1996 16:23:19 -0700 (PDT) Received: from veda.is (root@ubiq.veda.is [193.4.230.60]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA08179; Mon, 7 Oct 1996 16:23:06 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.7.6/8.7.3) id XAA06650; Mon, 7 Oct 1996 23:22:12 GMT From: Adam David Message-Id: <199610072322.XAA06650@veda.is> Subject: Re: cvs commit: src/sys/vm vm_page.h To: dyson@freebsd.org Date: Mon, 7 Oct 1996 23:22:11 +0000 (GMT) Cc: guido@gvr.win.tue.nl, dyson@freebsd.org, dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199610072234.RAA03072@dyson.iquest.net> from "John S. Dyson" at "Oct 7, 96 05:34:26 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > > Perhaps we could introduce a new word in the kernel config file. > > > > Something like > > > > cache > > > > where is the amount of L2 cache. The L1 cache is processor specific > > > > and thus can be obtained via the cpu directive. The rest can then be > > > > doen with macros. > > > > > > > Actually, the L1 cache will be changing on P5 class machines soon. > > > > hmm. But that would be identifiable by the stepping number, right? > In the longer term (probably in release timeframe) an attempt to probe > the system interface chips would be useful, upon failure, perhaps > default to 256K. (Most reasonably high perf systems since the > 386 and certainly the 486 have 256K (maybe some 128K) cache.) It > is only the medium 386s that had 64K anyway. ... and Cx486-DLC Also some systems might be supplied without L2 cache altogether, or the cache misconfigured so it is equivalent to non-existence. Is there no reliable probe for cache size that could be coaxed to work on all systems? == Adam From owner-cvs-sys Tue Oct 8 03:16:31 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA15900 for cvs-sys-outgoing; Tue, 8 Oct 1996 03:16:31 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA15886; Tue, 8 Oct 1996 03:16:18 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id LAA13741; Tue, 8 Oct 1996 11:15:06 +0100 Date: Tue, 8 Oct 1996 11:15:03 +0100 (BST) From: Doug Rabson To: dyson@freebsd.org cc: Guido van Rooij , dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/vm vm_page.h In-Reply-To: <199610072028.PAA02845@dyson.iquest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 7 Oct 1996, John Dyson wrote: > > John Dyson wrote: > > > > > > > PQ_L2_SIZE is the size in pages... PQ_L2_SIZE * PAGE_SIZE = 256k. > > > IMO, It is kind-of bogus to "hard-code" the value, and I am thinking about > > > a good solution for that problem. The value is controllable from the > > > config file, but my naming conventions leave something to be desired, > > > so I haven't documented them (yet.) If you have any ideas, let me know!!! > > > > > > > Perhaps we could introduce a new word in the kernel config file. > > Something like > > cache > > where is the amount of L2 cache. The L1 cache is processor specific > > and thus can be obtained via the cpu directive. The rest can then be > > doen with macros. > > > Actually, the L1 cache will be changing on P5 class machines soon. Yup. P55c (Pentium with MMX extensions) have 32k cache. It actually improves performance quite a bit. We have a few P55c machines here. I bet you could write a fast bcopy using MMX instructions to feed 64 bits at a time to the write buffers. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426 From owner-cvs-sys Tue Oct 8 14:08:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA26068 for cvs-sys-outgoing; Tue, 8 Oct 1996 14:08:40 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA26039; Tue, 8 Oct 1996 14:08:24 -0700 (PDT) Date: Tue, 8 Oct 1996 14:08:24 -0700 (PDT) From: Bruce Evans Message-Id: <199610082108.OAA26039@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa aha1542.c gpibreg.h isa.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/08 14:08:23 Modified: sys/i386/isa aha1542.c gpibreg.h isa.c Log: Fixed pessimized (short) i/o port types. Revision Changes Path 1.63 +2 -2 src/sys/i386/isa/aha1542.c 1.3 +1 -1 src/sys/i386/isa/gpibreg.h 1.74 +2 -3 src/sys/i386/isa/isa.c From owner-cvs-sys Tue Oct 8 15:09:43 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA03982 for cvs-sys-outgoing; Tue, 8 Oct 1996 15:09:43 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA03873; Tue, 8 Oct 1996 15:09:08 -0700 (PDT) Date: Tue, 8 Oct 1996 15:09:08 -0700 (PDT) From: Bruce Evans Message-Id: <199610082209.PAA03873@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-share Subject: cvs commit: src/sys/i386/conf Makefile.i386 src/share/mk Makefile bsd.kmod.mk Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/08 15:09:06 Modified: sys/i386/conf Makefile.i386 share/mk Makefile bsd.kmod.mk Log: Centralized the definition of CWARNFLAGS into bsd.kern.mk. Revision Changes Path 1.89 +3 -11 src/sys/i386/conf/Makefile.i386 1.13 +4 -4 src/share/mk/Makefile 1.28 +2 -5 src/share/mk/bsd.kmod.mk From owner-cvs-sys Tue Oct 8 15:18:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA05152 for cvs-sys-outgoing; Tue, 8 Oct 1996 15:18:57 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA05106; Tue, 8 Oct 1996 15:18:39 -0700 (PDT) Date: Tue, 8 Oct 1996 15:18:39 -0700 (PDT) From: Bruce Evans Message-Id: <199610082218.PAA05106@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot Makefile Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/08 15:18:38 Modified: sys/i386/boot/biosboot Makefile Log: Use the same warning flags as for the kernel. This causes surprisingly few warnings. Revision Changes Path 1.46 +3 -1 src/sys/i386/boot/biosboot/Makefile From owner-cvs-sys Tue Oct 8 15:25:43 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA06272 for cvs-sys-outgoing; Tue, 8 Oct 1996 15:25:43 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA06229; Tue, 8 Oct 1996 15:25:28 -0700 (PDT) Date: Tue, 8 Oct 1996 15:25:28 -0700 (PDT) From: Bruce Evans Message-Id: <199610082225.PAA06229@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot boot.h disk.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/08 15:25:26 Modified: sys/i386/boot/biosboot boot.h disk.c Log: Removed unused arg to badsect(). It wasted 16 bytes. Staticized badsect(). Avoid warning for benign signed vs unsigned comparison. Revision Changes Path 1.14 +1 -2 src/sys/i386/boot/biosboot/boot.h 1.21 +6 -5 src/sys/i386/boot/biosboot/disk.c From owner-cvs-sys Tue Oct 8 15:31:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA07381 for cvs-sys-outgoing; Tue, 8 Oct 1996 15:31:57 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA07320; Tue, 8 Oct 1996 15:31:40 -0700 (PDT) Date: Tue, 8 Oct 1996 15:31:40 -0700 (PDT) From: Bruce Evans Message-Id: <199610082231.PAA07320@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot disk.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/08 15:31:39 Modified: sys/i386/boot/biosboot disk.c Log: Print the dos device number for read failures. Revision Changes Path 1.22 +3 -2 src/sys/i386/boot/biosboot/disk.c From owner-cvs-sys Tue Oct 8 15:36:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08168 for cvs-sys-outgoing; Tue, 8 Oct 1996 15:36:23 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08066; Tue, 8 Oct 1996 15:36:00 -0700 (PDT) Date: Tue, 8 Oct 1996 15:36:00 -0700 (PDT) From: Bruce Evans Message-Id: <199610082236.PAA08066@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot Makefile Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/08 15:35:56 Modified: sys/i386/boot/biosboot Makefile Log: Saved about 160 bytes by using the gcc-2.7 alignment options. Revision Changes Path 1.47 +2 -2 src/sys/i386/boot/biosboot/Makefile From owner-cvs-sys Tue Oct 8 15:42:21 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08953 for cvs-sys-outgoing; Tue, 8 Oct 1996 15:42:21 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA08858; Tue, 8 Oct 1996 15:41:40 -0700 (PDT) Date: Tue, 8 Oct 1996 15:41:40 -0700 (PDT) From: Bruce Evans Message-Id: <199610082241.PAA08858@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot Makefile boot.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/08 15:41:38 Modified: sys/i386/boot/biosboot Makefile boot.c Log: Added option PROBE_KEYBOARD_LOCK which gives a serial console if the keyboard is locked. Revision Changes Path 1.48 +4 -1 src/sys/i386/boot/biosboot/Makefile 1.60 +12 -1 src/sys/i386/boot/biosboot/boot.c From owner-cvs-sys Wed Oct 9 08:24:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA01681 for cvs-sys-outgoing; Wed, 9 Oct 1996 08:24:35 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA01646; Wed, 9 Oct 1996 08:24:23 -0700 (PDT) Date: Wed, 9 Oct 1996 08:24:23 -0700 (PDT) From: Bruce Evans Message-Id: <199610091524.IAA01646@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa/pcvt pcvt_drv.c src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/09 08:24:23 Modified: sys/i386/isa/pcvt pcvt_drv.c sys/i386/isa syscons.c Log: Don't claim the console when the driver is disabled. The getc/putc part of the console driver usually works when the driver is disabled, but the normal read/write part doesn't (it caused a panic). Revision Changes Path 1.27 +1 -1 src/sys/i386/isa/pcvt/pcvt_drv.c 1.178 +2 -2 src/sys/i386/isa/syscons.c From owner-cvs-sys Wed Oct 9 11:16:46 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA17471 for cvs-sys-outgoing; Wed, 9 Oct 1996 11:16:46 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA17435; Wed, 9 Oct 1996 11:16:19 -0700 (PDT) Date: Wed, 9 Oct 1996 11:16:19 -0700 (PDT) From: Bruce Evans Message-Id: <199610091816.LAA17435@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 support.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/09 11:16:18 Modified: sys/i386/i386 support.s Log: Added i586-optimized bcopy() and bzero(). These are based on using the FPU to do 64-bit stores. They also use i586-optimized instruction ordering, i586-optimized cache management and a couple of other tricks. They should work on any i*86 with a h/w FPU, but are slower on at least i386's and i486's. They come close to saturating the memory bus on i586's. bzero() can maintain a 3-3-3-3 burst cycle to 66 MHz non-EDO main memory on a P133 (but is too slow to keep up with a 2-2-2-2 burst cycle for EDO - someone with EDO should fix this). bcopy() is several cycles short of keeping up with a 3-3-3-3 cycle for writing. For a P133 writing to 66 MHz main memory, it just manages an N-3-3-3, 3-3-3-3 pair of burst cycles, where N is typically 6. The new routines are not used by default. They are always configured and can be enabled at runtime using a debugger or an lkm to change their function pointer, or at compile time using new options (see another log message). Removed old, dead i586_bzero() and i686_bzero(). Read-before-write is usually bad for i586's. It doubles the memory traffic unless the data is already cached, and data is (or should be) very rarely cached for large bzero()s (the system should prefer uncached pages for cleaning), and the amount of data handled by small bzero()s is relatively small in the kernel. Improved comments about overlapping copies. Removed unused #include. Revision Changes Path 1.40 +291 -60 src/sys/i386/i386/support.s From owner-cvs-sys Wed Oct 9 11:30:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA18817 for cvs-sys-outgoing; Wed, 9 Oct 1996 11:30:23 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA18795; Wed, 9 Oct 1996 11:30:12 -0700 (PDT) Date: Wed, 9 Oct 1996 11:30:12 -0700 (PDT) From: Bruce Evans Message-Id: <199610091830.LAA18795@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 identcpu.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/09 11:30:10 Modified: sys/i386/i386 identcpu.c Log: Enable the i586-optimized bcopy if the cpu is a "586" and option I586_OPTIMIZED_BCOPY is configured. Similarly for bzero/I586_OPTIMIZED_BZERO. Fake 586's had better have a hardware FPU with non-broken exception handling (we mask exceptions, but broken exception handling may trap on the instructions that do the masking). I guess this means that the routines won't work on most 386's or FPUless 486's even when they have a h/w FPU. Revision Changes Path 1.6 +16 -4 src/sys/i386/i386/identcpu.c From owner-cvs-sys Wed Oct 9 11:31:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA18945 for cvs-sys-outgoing; Wed, 9 Oct 1996 11:31:35 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA18917; Wed, 9 Oct 1996 11:31:24 -0700 (PDT) Date: Wed, 9 Oct 1996 11:31:24 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610091831.LAA18917@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/10/09 11:31:23 Modified: sys/i386/i386 userconfig.c Log: Accept 'Q' or 'ESC' in intro screen as a "Jane, stop this crazy thing!" request. Revision Changes Path 1.57 +8 -4 src/sys/i386/i386/userconfig.c From owner-cvs-sys Wed Oct 9 11:35:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA19415 for cvs-sys-outgoing; Wed, 9 Oct 1996 11:35:18 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA19393; Wed, 9 Oct 1996 11:35:11 -0700 (PDT) Date: Wed, 9 Oct 1996 11:35:11 -0700 (PDT) From: Garrett Wollman Message-Id: <199610091835.LAA19393@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net route.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/09 11:35:11 Modified: sys/net route.h Log: Get rid of obsolete RTF_MASK and RTF_CHAINDELETE flags. Revision Changes Path 1.23 +3 -3 src/sys/net/route.h From owner-cvs-sys Wed Oct 9 11:36:53 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA19667 for cvs-sys-outgoing; Wed, 9 Oct 1996 11:36:53 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA19649; Wed, 9 Oct 1996 11:36:46 -0700 (PDT) Date: Wed, 9 Oct 1996 11:36:46 -0700 (PDT) From: Bruce Evans Message-Id: <199610091836.LAA19649@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT options.i386 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/09 11:36:46 Modified: sys/i386/conf LINT options.i386 Log: Added new documented options I586_OPTIMIZED_BCOPY and I586_OPTIMIZED_BZERO. Added old misnamed option I586_FAST_BCOPY in options.i386. Added old undocumented CLK* and SI_DEBUG options in LINT. Revision Changes Path 1.283 +12 -1 src/sys/i386/conf/LINT 1.22 +5 -1 src/sys/i386/conf/options.i386 From owner-cvs-sys Wed Oct 9 12:47:54 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA26048 for cvs-sys-outgoing; Wed, 9 Oct 1996 12:47:54 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA26026; Wed, 9 Oct 1996 12:47:46 -0700 (PDT) Date: Wed, 9 Oct 1996 12:47:46 -0700 (PDT) From: Bruce Evans Message-Id: <199610091947.MAA26026@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf options.i386 src/sys/i386/include clock.h src/sys/pc98/i386 locore.s microtime.s pmap.c src/sys/pc98/pc98 clock.c random_machdep.c src/sys/i386/i386 identcpu.c locore.s microtime.s pmap.c support.s src/sys/i386/isa clock.c random_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/09 12:47:45 Modified: sys/i386/conf options.i386 sys/i386/i386 identcpu.c locore.s microtime.s pmap.c support.s sys/i386/include clock.h sys/i386/isa clock.c random_machdep.c sys/pc98/i386 locore.s microtime.s pmap.c sys/pc98/pc98 clock.c random_machdep.c Log: Put I*86_CPU defines in opt_cpu.h. Revision Changes Path 1.23 +6 -1 src/sys/i386/conf/options.i386 1.7 +2 -1 src/sys/i386/i386/identcpu.c 1.75 +2 -1 src/sys/i386/i386/locore.s 1.17 +3 -1 src/sys/i386/i386/microtime.s 1.123 +3 -1 src/sys/i386/i386/pmap.c 1.41 +2 -1 src/sys/i386/i386/support.s 1.17 +3 -1 src/sys/i386/include/clock.h 1.70 +2 -1 src/sys/i386/isa/clock.c 1.12 +4 -3 src/sys/i386/isa/random_machdep.c 1.3 +2 -1 src/sys/pc98/i386/locore.s 1.5 +3 -1 src/sys/pc98/i386/microtime.s 1.4 +3 -1 src/sys/pc98/i386/pmap.c 1.6 +3 -2 src/sys/pc98/pc98/clock.c 1.6 +4 -2 src/sys/pc98/pc98/random_machdep.c From owner-cvs-sys Wed Oct 9 14:47:30 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08981 for cvs-sys-outgoing; Wed, 9 Oct 1996 14:47:30 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08957; Wed, 9 Oct 1996 14:47:20 -0700 (PDT) Date: Wed, 9 Oct 1996 14:47:20 -0700 (PDT) From: Satoshi Asami Message-Id: <199610092147.OAA08957@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa/sound sb.h src/sys/pc98/conf GENERIC98 Makefile.pc98 options.pc98 src/sys/pc98/i386 locore.s machdep.c pmap.c userconfig.c vm_machdep.c src/sys/pc98/pc98/sound ad1848.c os.h pas2_pcm.c sb16_dsp.c ulaw.h sb.h src/sys/pc98/boot/biosboot boot.c boot.h disk.c io.c sys.c table.c src/sys/pc98/pc98 atcompat_diskslice.c clock.c diskslice_machdep.c if_ed.c if_ed98.h if_fe.c npx.c pc98.c pc98.h pc98_machdep.c pc98_machdep.h pcaudio.c random_machdep.c sbic55.c sbic55.c.new sio.c syscons.c syscons.h wd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 96/10/09 14:47:18 Modified: sys/i386/isa/sound sb.h sys/pc98/boot/biosboot boot.c boot.h disk.c io.c sys.c table.c sys/pc98/conf GENERIC98 Makefile.pc98 options.pc98 sys/pc98/i386 locore.s machdep.c pmap.c userconfig.c vm_machdep.c sys/pc98/pc98 atcompat_diskslice.c clock.c diskslice_machdep.c if_ed.c if_ed98.h if_fe.c npx.c pc98.c pc98.h pc98_machdep.c pc98_machdep.h pcaudio.c random_machdep.c sbic55.c sbic55.c.new sio.c syscons.c syscons.h wd.c sys/pc98/pc98/sound ad1848.c os.h pas2_pcm.c sb16_dsp.c ulaw.h Removed: sys/pc98/pc98/sound sb.h Log: Another round of updates. Highlights: (1) Merged i386/i386/sb.h, deleted pc98/pc98/sb.h. (2) pc98/conf/GENERIC8 looks more like i386/conf/GENERIC now. (3) Fixed display bug in pc98/boot/biosboot/io.c. (4) Prepare to merge memory allocation routines: pc98/i386/locore.s pc98/i386/machdep.c pc98/pc98/pc98_machdep.c pc98/pc98/pc98_machdep.h (5) Support new board "C-NET(98)": pc98/pc98/if_ed98.h pc98/pc98/if_ed.c (6) Make sure FPU is recognized for non-Intel CPUs: pc98/pc98/npx.c (7) Do not expect bss to be zero-allocated: pc98/pc98/pc98.c Submitted by: The FreeBSD(98) Development Team Revision Changes Path 1.6 +15 -0 src/sys/i386/isa/sound/sb.h 1.5 +3 -2 src/sys/pc98/boot/biosboot/boot.c 1.3 +6 -6 src/sys/pc98/boot/biosboot/boot.h 1.4 +16 -13 src/sys/pc98/boot/biosboot/disk.c 1.4 +7 -4 src/sys/pc98/boot/biosboot/io.c 1.5 +25 -22 src/sys/pc98/boot/biosboot/sys.c 1.2 +1 -3 src/sys/pc98/boot/biosboot/table.c 1.6 +26 -20 src/sys/pc98/conf/GENERIC98 1.6 +2 -3 src/sys/pc98/conf/Makefile.pc98 1.5 +6 -1 src/sys/pc98/conf/options.pc98 1.4 +19 -39 src/sys/pc98/i386/locore.s 1.9 +12 -13 src/sys/pc98/i386/machdep.c 1.5 +70 -84 src/sys/pc98/i386/pmap.c 1.7 +188 -74 src/sys/pc98/i386/userconfig.c 1.5 +2 -2 src/sys/pc98/i386/vm_machdep.c 1.2 +2 -1 src/sys/pc98/pc98/atcompat_diskslice.c 1.7 +9 -7 src/sys/pc98/pc98/clock.c 1.3 +2 -1 src/sys/pc98/pc98/diskslice_machdep.c 1.8 +384 -26 src/sys/pc98/pc98/if_ed.c 1.5 +107 -11 src/sys/pc98/pc98/if_ed98.h 1.9 +10 -12 src/sys/pc98/pc98/if_fe.c 1.7 +10 -1 src/sys/pc98/pc98/npx.c 1.8 +2 -2 src/sys/pc98/pc98/pc98.c 1.5 +4 -2 src/sys/pc98/pc98/pc98.h 1.4 +26 -19 src/sys/pc98/pc98/pc98_machdep.c 1.3 +2 -5 src/sys/pc98/pc98/pc98_machdep.h 1.6 +2 -1 src/sys/pc98/pc98/pcaudio.c 1.7 +30 -1 src/sys/pc98/pc98/random_machdep.c 1.7 +1 -1 src/sys/pc98/pc98/sbic55.c 1.7 +1 -1 src/sys/pc98/pc98/sbic55.c.new 1.8 +37 -12 src/sys/pc98/pc98/sio.c 1.10 +372 -257 src/sys/pc98/pc98/syscons.c 1.4 +5 -3 src/sys/pc98/pc98/syscons.h 1.8 +3 -3 src/sys/pc98/pc98/wd.c 1.3 +4 -0 src/sys/pc98/pc98/sound/ad1848.c 1.4 +1 -0 src/sys/pc98/pc98/sound/os.h 1.3 +4 -0 src/sys/pc98/pc98/sound/pas2_pcm.c 1.3 +4 -0 src/sys/pc98/pc98/sound/sb16_dsp.c 1.2 +2 -0 src/sys/pc98/pc98/sound/ulaw.h From owner-cvs-sys Wed Oct 9 15:21:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA12690 for cvs-sys-outgoing; Wed, 9 Oct 1996 15:21:35 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA12677; Wed, 9 Oct 1996 15:21:28 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id IAA25922; Thu, 10 Oct 1996 08:19:59 +1000 Date: Thu, 10 Oct 1996 08:19:59 +1000 From: Bruce Evans Message-Id: <199610092219.IAA25922@godzilla.zeta.org.au> To: asami@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa/sound sb.h src/sys/pc98/conf GENERIC98 Makefile.pc98 options.pc98 src/sys/pc98/i386 locore.s machdep.c pmap.c userconfig.c vm_machdep.c src/sys/pc98/pc98/sound ad1848.c os.h pas2_pcm.c sb16_dsp.c ulaw.h sb.h src/sys/pc98/boot/biosboot boot.c boot.h disk.c io.c sys.c table.c src/sys/pc98/pc98 atcompat_diskslice.c clock.c diskslice_machdep.c if_ed.c if_ed98.h if_fe.c npx.c pc98.c pc98.h pc98_machdep.c pc98_machdep.h pcaudio.c random_machdep.c sbic55.c sbic55.c.new sio.c syscons.c syscons.h wd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > (7) Do not expect bss to be zero-allocated: > > pc98/pc98/pc98.c This should be expected. Bruce From owner-cvs-sys Wed Oct 9 16:37:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA18425 for cvs-sys-outgoing; Wed, 9 Oct 1996 16:37:08 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA18409; Wed, 9 Oct 1996 16:36:57 -0700 (PDT) Date: Wed, 9 Oct 1996 16:36:57 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610092336.QAA18409@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/10/09 16:36:56 Modified: sys/i386/i386 userconfig.c Log: Correct the intro text so user is not encouraged to step off cliffs. Also document the fact that you can hit ESC to skip configuration. Revision Changes Path 1.58 +8 -7 src/sys/i386/i386/userconfig.c From owner-cvs-sys Wed Oct 9 21:10:11 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA08371 for cvs-sys-outgoing; Wed, 9 Oct 1996 21:10:11 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA08293; Wed, 9 Oct 1996 21:09:47 -0700 (PDT) Date: Wed, 9 Oct 1996 21:09:47 -0700 (PDT) From: Paul Traina Message-Id: <199610100409.VAA08293@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci ncr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/10/09 21:09:43 Modified: sys/pci ncr.c Log: The recent change to clock.h to include opt_cpu.h (bug!!!) uncovered a compile error in ncrcontrol.c -- ncr.c should not be including clock.h when not compiled for the kernel. Revision Changes Path 1.79 +2 -5 src/sys/pci/ncr.c From owner-cvs-sys Wed Oct 9 21:17:30 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA08998 for cvs-sys-outgoing; Wed, 9 Oct 1996 21:17:30 -0700 (PDT) Received: from precipice.shockwave.com (ppp-206-170-6-37.rdcy01.pacbell.net [206.170.6.37]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA08987; Wed, 9 Oct 1996 21:17:22 -0700 (PDT) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.6/8.7.3) with ESMTP id VAA07830; Wed, 9 Oct 1996 21:17:01 -0700 (PDT) Message-Id: <199610100417.VAA07830@precipice.shockwave.com> To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/conf options.i386 src/sys/i386/include clock.h src/sys/pc98/i386 locore.s microtime.s pmap.c src/sys/pc98/pc98 clock.c random_machdep.c src/sys/i386/i386 identcpu.c locore.s microtime.s pmap.c support.s src/sys/i386/isa clock.c random_machdep.c In-reply-to: Your message of "Wed, 09 Oct 1996 12:47:46 PDT." <199610091947.MAA26026@freefall.freebsd.org> Date: Wed, 09 Oct 1996 21:17:01 -0700 From: Paul Traina Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce, This change broke compiling ncrcontrol.c. I don't think clock.h should be including opt files, at least not when KERNEL is not defined. Unfortunately, there's really nothing IN clock.h when kernel is not defined. What do you want done? Paul From: Bruce Evans Subject: cvs commit: src/sys/i386/conf options.i386 src/sys/i386/include clo >>ck.h src/sys/pc98/i386 locore.s microtime.s pmap.c src/sys/pc98/pc98 clock.c >>random_machdep.c src/sys/i386/i386 identcpu.c locore.s microtime.s pmap.c sup >>port.s src/sys/i386/isa clock.c random_machdep.c bde 96/10/09 12:47:45 Modified: sys/i386/conf options.i386 sys/i386/i386 identcpu.c locore.s microtime.s pmap.c support.s sys/i386/include clock.h sys/i386/isa clock.c random_machdep.c sys/pc98/i386 locore.s microtime.s pmap.c sys/pc98/pc98 clock.c random_machdep.c Log: Put I*86_CPU defines in opt_cpu.h. Revision Changes Path 1.23 +6 -1 src/sys/i386/conf/options.i386 1.7 +2 -1 src/sys/i386/i386/identcpu.c 1.75 +2 -1 src/sys/i386/i386/locore.s 1.17 +3 -1 src/sys/i386/i386/microtime.s 1.123 +3 -1 src/sys/i386/i386/pmap.c 1.41 +2 -1 src/sys/i386/i386/support.s 1.17 +3 -1 src/sys/i386/include/clock.h 1.70 +2 -1 src/sys/i386/isa/clock.c 1.12 +4 -3 src/sys/i386/isa/random_machdep.c 1.3 +2 -1 src/sys/pc98/i386/locore.s 1.5 +3 -1 src/sys/pc98/i386/microtime.s 1.4 +3 -1 src/sys/pc98/i386/pmap.c 1.6 +3 -2 src/sys/pc98/pc98/clock.c 1.6 +4 -2 src/sys/pc98/pc98/random_machdep.c From owner-cvs-sys Thu Oct 10 01:04:24 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA27566 for cvs-sys-outgoing; Thu, 10 Oct 1996 01:04:24 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA27531; Thu, 10 Oct 1996 01:04:08 -0700 (PDT) Date: Thu, 10 Oct 1996 01:04:08 -0700 (PDT) From: Bruce Evans Message-Id: <199610100804.BAA27531@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/10 01:04:08 Modified: sys/i386/i386 userconfig.c Log: Fixed spelling errors in function names in previous commit. Revision Changes Path 1.59 +4 -4 src/sys/i386/i386/userconfig.c From owner-cvs-sys Thu Oct 10 02:04:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA02043 for cvs-sys-outgoing; Thu, 10 Oct 1996 02:04:34 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA02036; Thu, 10 Oct 1996 02:04:30 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.6/8.6.9) with ESMTP id CAA29612; Thu, 10 Oct 1996 02:04:33 -0700 (PDT) To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 userconfig.c In-reply-to: Your message of "Thu, 10 Oct 1996 01:04:08 PDT." <199610100804.BAA27531@freefall.freebsd.org> Date: Thu, 10 Oct 1996 02:04:32 -0700 Message-ID: <29610.844938272@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Geeze, my face is red - thanks! "I don't need to compile LINT for such a simple change," he said stupidly. > bde 96/10/10 01:04:08 > > Modified: sys/i386/i386 userconfig.c > Log: > Fixed spelling errors in function names in previous commit. > > Revision Changes Path > 1.59 +4 -4 src/sys/i386/i386/userconfig.c From owner-cvs-sys Thu Oct 10 02:04:52 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA02093 for cvs-sys-outgoing; Thu, 10 Oct 1996 02:04:52 -0700 (PDT) Received: from marble.eps.nagoya-u.ac.jp (marble.eps.nagoya-u.ac.jp [133.6.57.68]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA02073; Thu, 10 Oct 1996 02:04:43 -0700 (PDT) Received: from marble.eps.nagoya-u.ac.jp (localhost [127.0.0.1]) by marble.eps.nagoya-u.ac.jp (8.7.6/3.4W4) with ESMTP id NAA05067; Thu, 10 Oct 1996 13:05:08 +0900 (JST) Message-Id: <199610100405.NAA05067@marble.eps.nagoya-u.ac.jp> To: bde@zeta.org.au Cc: asami@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa/sound sb.h src/sys/pc98/conf GENERIC98 Makefile.pc98 options.pc98 src/sys/pc98/i386 locore.s machdep.c pmap.c userconfig.c vm_machdep.c src/sys/pc98/pc98/sound ad1848.c os.h pas2_pcm.c sb16_dsp.c ulaw.h sb.h src/sys/pc98/boot/biosboot boot.c boot.h disk.c io.c sys.c table.c src/sys/pc98/pc98 atcompat_diskslice.c clock.c diskslice_machdep.c if_ed.c if_ed98.h if_fe.c npx.c pc98.c pc98.h pc98_machdep.c pc98_machdep.h pcaudio.c random_machdep.c sbic55.c sbic55.c.new sio.c syscons.c syscons.h wd.c In-Reply-To: Your message of "Thu, 10 Oct 1996 08:19:59 +1000" References: <199610092219.IAA25922@godzilla.zeta.org.au> X-Mailer: Mew version 1.05+ on Emacs 19.28.1, Mule 2.3 X-PGP-Fingerprint: 03 72 85 36 62 46 23 03 52 B1 10 22 44 10 0D 9E Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 10 Oct 1996 13:05:07 +0900 From: KATO Takenori Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 10 Oct 1996 08:19:59 +1000, Bruce Evans said: > > (7) Do not expect bss to be zero-allocated: > > > > pc98/pc98/pc98.c > > This should be expected. I think kernel is expected to initialize bss, but programer should not expect this because I consider bss to non initialized data. ---- KATO Takenori Dept. Earth Planet. Sci., Nagoya Univ., Nagoya, 464-01, Japan From owner-cvs-sys Thu Oct 10 03:02:00 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA05964 for cvs-sys-outgoing; Thu, 10 Oct 1996 03:02:00 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA05951; Thu, 10 Oct 1996 03:01:52 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id TAA14674; Thu, 10 Oct 1996 19:58:39 +1000 Date: Thu, 10 Oct 1996 19:58:39 +1000 From: Bruce Evans Message-Id: <199610100958.TAA14674@godzilla.zeta.org.au> To: bde@zeta.org.au, kato@eclogite.eps.nagoya-u.ac.jp Subject: Re: cvs commit: src/sys/i386/isa/sound sb.h src/sys/pc98/conf GENERIC98 Makefile.pc98 options.pc98 src/sys/pc98/i386 locore.s machdep.c pmap.c userconfig.c vm_machdep.c src/sys/pc98/pc98/sound ad1848.c os.h pas2_pcm.c sb16_dsp.c ulaw.h sb.h src/sys/pc98/boot/biosboot boot.c boot.h disk.c io.c sys.c table.c src/sys/pc98/pc98 atcompat_diskslice.c clock.c diskslice_machdep.c if_ed.c if_ed98.h if_fe.c npx.c pc98.c pc98.h pc98_machdep.c pc98_machdep.h pcaudio.c random_machdep.c sbic55.c sbic55.c.new sio.c syscons.c syscons.h wd.c Cc: asami@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > (7) Do not expect bss to be zero-allocated: >> > >> > pc98/pc98/pc98.c >> >> This should be expected. > >I think kernel is expected to initialize bss, but programer should not >expect this because I consider bss to non initialized data. The kernel is written in C (sort of). In C, all non-local objects that aren't explicitly initialized are guaranteed to be initialized as if they had 0 assigned to the scalars in them. This may result in a nonzero bit pattern in memory on machines where the NULL pointer is not all-bits-0 or floating point 0's aren't all-bits-0. The i386 kernel guarantees this by initializing the bss to all-bits-0. It's simplest to depend on ordinary C features if possible. However, there are reasons for statically initializing data. E.g., it increases locality. The linker scatters common variables all over the place, so there is little chance that related common variables end up in the same cache line, and some chance that they are allocated to locations that cause cache collisions. The compiler and linker happen allocate statically initialized data in the same order as it is defined (even to 0), so static initialization can be used to get a better layout. This is probably worth doing (only) for the most heavily accessed variables. Bruce From owner-cvs-sys Thu Oct 10 03:19:03 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07371 for cvs-sys-outgoing; Thu, 10 Oct 1996 03:19:03 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07349; Thu, 10 Oct 1996 03:18:51 -0700 (PDT) Date: Thu, 10 Oct 1996 03:18:51 -0700 (PDT) From: Bruce Evans Message-Id: <199610101018.DAA07349@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 perfmon.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/10 03:18:50 Modified: sys/i386/i386 perfmon.c Log: Added missing include of "opt_cpu.h". I missed it because PERFMON features are used without testing for i586 features that they depend on. Configuring option PERFMON without configuring a suitable cpu still doesn't fail right. Revision Changes Path 1.8 +3 -1 src/sys/i386/i386/perfmon.c From owner-cvs-sys Thu Oct 10 03:25:42 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07887 for cvs-sys-outgoing; Thu, 10 Oct 1996 03:25:42 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07858; Thu, 10 Oct 1996 03:25:32 -0700 (PDT) Date: Thu, 10 Oct 1996 03:25:32 -0700 (PDT) From: Bruce Evans Message-Id: <199610101025.DAA07858@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include clock.h src/sys/kern kern_clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/10 03:25:28 Modified: sys/kern kern_clock.c sys/i386/include clock.h Log: Don't include "opt_cpu.h" in , since this breaks lkm's. The change breaks kern_clock.c; fix that temporarily by including "opt_cpu.h" there. Revision Changes Path 1.27 +3 -1 src/sys/kern/kern_clock.c 1.18 +1 -3 src/sys/i386/include/clock.h From owner-cvs-sys Thu Oct 10 04:43:03 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA14050 for cvs-sys-outgoing; Thu, 10 Oct 1996 04:43:03 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA14042; Thu, 10 Oct 1996 04:43:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id EAA26617; Thu, 10 Oct 1996 04:42:37 -0700 (PDT) Message-Id: <199610101142.EAA26617@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: KATO Takenori cc: bde@zeta.org.au, asami@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa/sound sb.h src/sys/pc98/conf GENERIC98 Makefile.pc98 options.pc98 src/sys/pc98/i386 locore.s machdep.c pmap.c userconfig.c vm_machdep.c src/sys/pc98/pc98/sound ad1848.c os.h pas2_pcm.c sb16_dsp.c ulaw.h sb.h src/sys/pc98/boot/biosboot boot.c boot.h disk.c io.c sys.c table.c src/sys/pc98/pc98 atcompat_diskslice.c clock.c diskslice_machdep.c if_ed.c if_ed98.h if_fe.c npx.c pc98.c pc98.h pc98_machdep.c pc98_machdep.h pcaudio.c random_machdep.c sbic55.c sbic55.c.new sio.c syscons.c syscons.h wd.c In-reply-to: Your message of "Thu, 10 Oct 1996 13:05:07 +0900." <199610100405.NAA05067@marble.eps.nagoya-u.ac.jp> From: David Greenman Reply-To: dg@root.com Date: Thu, 10 Oct 1996 04:42:37 -0700 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >On Thu, 10 Oct 1996 08:19:59 +1000, Bruce Evans said: > >> > (7) Do not expect bss to be zero-allocated: >> > >> > pc98/pc98/pc98.c >> >> This should be expected. > >I think kernel is expected to initialize bss, but programer should not >expect this because I consider bss to non initialized data. As far as FreeBSD is concerned, you should always expect that behavior. The entire system is based on the assumption that .bss variables are zero initialized, and if they weren't we'd have serious problems. Initializing variables to any value (including 0) only serves to move them out of the .bss and into statically allocated space...and thus bloats your kernel binary more than necessary. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Thu Oct 10 12:44:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA11255 for cvs-sys-outgoing; Thu, 10 Oct 1996 12:44:18 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA11241; Thu, 10 Oct 1996 12:44:12 -0700 (PDT) Date: Thu, 10 Oct 1996 12:44:12 -0700 (PDT) From: Garrett Wollman Message-Id: <199610101944.MAA11241@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci if_de.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/10 12:44:12 Modified: sys/pci if_de.c Log: Implement the 802.3 MIB in a way that uses the generic interface defined in if_mib.h. Revision Changes Path 1.53 +17 -3 src/sys/pci/if_de.c From owner-cvs-sys Thu Oct 10 13:41:32 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14350 for cvs-sys-outgoing; Thu, 10 Oct 1996 13:41:32 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14325; Thu, 10 Oct 1996 13:41:16 -0700 (PDT) Date: Thu, 10 Oct 1996 13:41:16 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199610102041.NAA14325@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf majors.i386 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/10/10 13:41:16 Modified: sys/i386/conf majors.i386 Log: Added a bdev and cdev for "geometry disk", my generic disk geometry subsystem. I really wish somebody would complete DEVFS :-( Revision Changes Path 1.8 +3 -2 src/sys/i386/conf/majors.i386 From owner-cvs-sys Thu Oct 10 15:47:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA22625 for cvs-sys-outgoing; Thu, 10 Oct 1996 15:47:34 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA22526; Thu, 10 Oct 1996 15:45:07 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.5/8.7.3) with SMTP id PAA02895; Thu, 10 Oct 1996 15:43:53 -0700 (PDT) Message-ID: <325D7BAF.2F1CF0FB@whistle.com> Date: Thu, 10 Oct 1996 15:41:51 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Poul-Henning Kamp CC: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/conf majors.i386 References: <199610102041.NAA14325@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Poul-Henning Kamp wrote: > > phk 96/10/10 13:41:16 > > Modified: sys/i386/conf majors.i386 > Log: > Added a bdev and cdev for "geometry disk", my generic disk geometry subsystem. > > I really wish somebody would complete DEVFS :-( If someone would tell me how all the changes they put into the mounting of / and running of init for DEVFS fitted into the scheme of things then I'd be running it much more myself and testing it.. :) I know of only one bug at the moment which is that bruce says that anyone chan chmod/chown anything. and since he only just told me this I'll fix it in the next day or so.. > > Revision Changes Path > 1.8 +3 -2 src/sys/i386/conf/majors.i386 From owner-cvs-sys Thu Oct 10 19:28:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA07488 for cvs-sys-outgoing; Thu, 10 Oct 1996 19:28:08 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA07388; Thu, 10 Oct 1996 19:27:35 -0700 (PDT) Date: Thu, 10 Oct 1996 19:27:35 -0700 (PDT) From: John Dyson Message-Id: <199610110227.TAA07388@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern sys_pipe.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/10 19:27:34 Modified: sys/kern sys_pipe.c Log: Mostly some fixes from bde to start support for ASYNC I/O (SIGIO). Submitted by: bde Revision Changes Path 1.21 +19 -11 src/sys/kern/sys_pipe.c From owner-cvs-sys Fri Oct 11 03:16:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA05347 for cvs-sys-outgoing; Fri, 11 Oct 1996 03:16:14 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA05242; Fri, 11 Oct 1996 03:15:44 -0700 (PDT) Date: Fri, 11 Oct 1996 03:15:44 -0700 (PDT) From: Doug Rabson Message-Id: <199610111015.DAA05242@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/nfs nfs_bio.c nfs_socket.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 96/10/11 03:15:41 Modified: sys/nfs nfs_bio.c nfs_socket.c Log: This fixes a problem with the nfs socket handling code which happens if a single process is performing a large number of requests (in this case writing a large file). The writing process could monopolise the recieve lock and prevent any other processes from recieving their replies. It also adds a new sysctl variable 'vfs.nfs.dwrite' which controls the behaviour which originally pointed out the problem. When a process writes to a file over NFS, it usually arranges for another process (the 'iod') to perform the request. If no iods are available, then it turns the write into a 'delayed write' which is later picked up by the next iod to do a write request for that file. This can cause that particular iod to do a disproportionate number of requests from a single process which can harm performance on some NFS servers. The alternative is to perform the write synchronously in the context of the original writing process if no iod is avaiable for asynchronous writing. The 'delayed write' behaviour is selected when vfs.nfs.dwrite=1 and the non-delayed behaviour is selected when vfs.nfs.dwrite=0. The default is vfs.nfs.dwrite=1; if many people tell me that performance is better if vfs.nfs.dwrite=0 then I will change the default. Submitted by: Hidetoshi Shimokawa Revision Changes Path 1.26 +13 -1 src/sys/nfs/nfs_bio.c 1.18 +16 -6 src/sys/nfs/nfs_socket.c From owner-cvs-sys Fri Oct 11 07:37:12 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA19426 for cvs-sys-outgoing; Fri, 11 Oct 1996 07:37:12 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA19203; Fri, 11 Oct 1996 07:35:13 -0700 (PDT) Date: Fri, 11 Oct 1996 07:35:13 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199610111435.HAA19203@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/conf newvers.sh Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/10/11 07:35:12 Modified: sys/conf newvers.sh Log: Yikes! This must have fallen in with a mass-commit by mistake. Put RELEASE back. Pointed-out-by: peter Revision Changes Path 1.26 +2 -2 src/sys/conf/newvers.sh From owner-cvs-sys Fri Oct 11 08:21:01 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA22126 for cvs-sys-outgoing; Fri, 11 Oct 1996 08:21:01 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA21977; Fri, 11 Oct 1996 08:19:26 -0700 (PDT) Date: Fri, 11 Oct 1996 08:19:26 -0700 (PDT) From: Garrett Wollman Message-Id: <199610111519.IAA21977@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa if_ed.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/11 08:19:25 Modified: sys/i386/isa if_ed.c Log: Implement the RFC 1650 MIB. Revision Changes Path 1.106 +64 -6 src/sys/i386/isa/if_ed.c From owner-cvs-sys Fri Oct 11 11:40:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA17189 for cvs-sys-outgoing; Fri, 11 Oct 1996 11:40:58 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA17169; Fri, 11 Oct 1996 11:40:50 -0700 (PDT) Date: Fri, 11 Oct 1996 11:40:50 -0700 (PDT) From: Garrett Wollman Message-Id: <199610111840.LAA17169@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if_sl.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/10/11 11:40:50 Modified: sys/net if_sl.c Log: Add primitive link MIB support. Revision Changes Path 1.45 +3 -1 src/sys/net/if_sl.c From owner-cvs-sys Fri Oct 11 12:26:52 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA20094 for cvs-sys-outgoing; Fri, 11 Oct 1996 12:26:52 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA20078; Fri, 11 Oct 1996 12:26:44 -0700 (PDT) Date: Fri, 11 Oct 1996 12:26:44 -0700 (PDT) From: Paul Traina Message-Id: <199610111926.MAA20078@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern uipc_socket2.c src/sys/netinet tcp_input.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/10/11 12:26:43 Modified: sys/kern uipc_socket2.c sys/netinet tcp_input.c Log: Fix two bugs I accidently put into the syn code at the last minute (yes I had tested the hell out of this). I've also temporarily disabled the code so that it behaves as it previously did (tail drop's the syns) pending discussion with fenner about some socket state flags that I don't fully understand. Submitted by: fenner Revision Changes Path 1.16 +11 -9 src/sys/kern/uipc_socket2.c 1.54 +9 -5 src/sys/netinet/tcp_input.c From owner-cvs-sys Fri Oct 11 12:50:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA20953 for cvs-sys-outgoing; Fri, 11 Oct 1996 12:50:25 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA20936; Fri, 11 Oct 1996 12:50:14 -0700 (PDT) Date: Fri, 11 Oct 1996 12:50:14 -0700 (PDT) From: Stefan Esser Message-Id: <199610111950.MAA20936@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci ncr.c ncrreg.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 96/10/11 12:50:13 Modified: sys/pci ncr.c ncrreg.h Log: Improve support of SCSI cards based on the 53c860 and 53c875. Still no support for Ultra-SCSI and other new features, but the code should now correctly initialize the clock pre-scaler (based on freqency measurement results, if necessary). Fix support of 16 targets for WIDE SCSI. Disable bus reset in case no progress is made for too long ("ncr dead" message), which did not work too well with scanners and other slow devices. Revision Changes Path 1.80 +121 -66 src/sys/pci/ncr.c 1.4 +3 -1 src/sys/pci/ncrreg.h From owner-cvs-sys Fri Oct 11 13:14:17 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA22143 for cvs-sys-outgoing; Fri, 11 Oct 1996 13:14:17 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA22102; Fri, 11 Oct 1996 13:13:52 -0700 (PDT) Date: Fri, 11 Oct 1996 13:13:52 -0700 (PDT) From: Bill Fenner Message-Id: <199610112013.NAA22102@freefall.freebsd.org> To: cvs-all, CVS-committers, cvs-sys, pst Subject: Re: cvs commit: src/sys/kern uipc_socket2.c src/sys/netinet tcp_input.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >some socket state flags that I don't fully understand. It was me that didn't understand (I presume you mean SS_NOFDREF). If you remove the state munging from my final post to -current then it works (Or, at least, it doesn't panic, it might still be leaking but I doubt it.) I subjected my test machine to 20000 SYN's on the finger port and am still able to remotely finger it. I'll double-check this all when BBN Planet comes back up (grr). Bill From owner-cvs-sys Fri Oct 11 13:25:11 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA22860 for cvs-sys-outgoing; Fri, 11 Oct 1996 13:25:11 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA22850; Fri, 11 Oct 1996 13:25:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id NAA29722; Fri, 11 Oct 1996 13:25:03 -0700 (PDT) Message-Id: <199610112025.NAA29722@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Bill Fenner cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, pst@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern uipc_socket2.c src/sys/netinet tcp_input.c In-reply-to: Your message of "Fri, 11 Oct 1996 13:13:52 PDT." <199610112013.NAA22102@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Fri, 11 Oct 1996 13:25:03 -0700 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I'll double-check this all when BBN Planet comes back up (grr). I just heard that the power has apparantly failed there at the Stanford POP and that they were working on getting some generators up or something. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Fri Oct 11 13:34:01 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA23447 for cvs-sys-outgoing; Fri, 11 Oct 1996 13:34:01 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA23398; Fri, 11 Oct 1996 13:33:40 -0700 (PDT) From: Bill Fenner Message-Id: <199610112033.NAA23398@freefall.freebsd.org> Subject: Re: cvs commit: src/sys/kern uipc_socket2.c src/sys/netinet tcp_input.c To: dg@root.com Date: Fri, 11 Oct 1996 13:33:39 -0700 (PDT) Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, pst@freefall.freebsd.org In-Reply-To: <199610112025.NAA29722@root.com> from "David Greenman" at Oct 11, 96 01:25:03 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I just heard that the power has apparantly failed there at the Stanford POP > and that they were working on getting some generators up or something. Yup, it failed last night, their batteries only lasted 2 hours, it came back, failed, came back, failed, and has been down for nearly 18 hours now. It's another interconnect failure, just like the major outages this summer on a smaller scale; Stanford has its own power generation facility and they also take power from the grid, but the interconnect between the two facilities failed and so you get no power sources. BBN apparently didn't make the decision to put a generator in until late this morning (as opposed to last night when it was clear that there was a problem). The generator will be a permanent part of the facility, but it should have been already. That's what I meant by "grr" =) Too concise, as usual. Bill From owner-cvs-sys Fri Oct 11 13:36:28 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA23816 for cvs-sys-outgoing; Fri, 11 Oct 1996 13:36:28 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA23798; Fri, 11 Oct 1996 13:36:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id NAA29827; Fri, 11 Oct 1996 13:36:19 -0700 (PDT) Message-Id: <199610112036.NAA29827@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Bill Fenner cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, pst@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern uipc_socket2.c src/sys/netinet tcp_input.c In-reply-to: Your message of "Fri, 11 Oct 1996 13:33:39 PDT." <199610112033.NAA23398@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Fri, 11 Oct 1996 13:36:19 -0700 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Yup, it failed last night, their batteries only lasted 2 hours, it came >back, failed, came back, failed, and has been down for nearly 18 hours now. I'm sure glad wcarchive isn't there any longer! :-) -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Fri Oct 11 17:09:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA07796 for cvs-sys-outgoing; Fri, 11 Oct 1996 17:09:05 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA07683; Fri, 11 Oct 1996 17:07:56 -0700 (PDT) Date: Fri, 11 Oct 1996 17:07:56 -0700 (PDT) From: Julian Elischer Message-Id: <199610120007.RAA07683@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/devfs devfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/10/11 17:07:55 Modified: sys/miscfs/devfs devfs_vnops.c Log: reads and writes to devices update m and a times add some security onn the chmod/chown operations should now be root or owner (still needs more thought but kinda-plugs tow holes pointed out by bde) Revision Changes Path 1.28 +9 -3 src/sys/miscfs/devfs/devfs_vnops.c From owner-cvs-sys Sat Oct 12 08:55:45 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA06621 for cvs-sys-outgoing; Sat, 12 Oct 1996 08:55:45 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA06582; Sat, 12 Oct 1996 08:54:09 -0700 (PDT) Date: Sat, 12 Oct 1996 08:54:09 -0700 (PDT) From: Bruce Evans Message-Id: <199610121554.IAA06582@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys systm.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 08:54:08 Modified: sys/sys systm.h Log: Removed verbose comment about `securelevel'. It just duplicated part of init.8 except for bugs and anachronisms. Revision Changes Path 1.46 +2 -29 src/sys/sys/systm.h From owner-cvs-sys Sat Oct 12 09:13:41 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA07573 for cvs-sys-outgoing; Sat, 12 Oct 1996 09:13:41 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA07443; Sat, 12 Oct 1996 09:12:05 -0700 (PDT) Date: Sat, 12 Oct 1996 09:12:05 -0700 (PDT) From: Bruce Evans Message-Id: <199610121612.JAA07443@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys systm.h proc.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 09:12:02 Modified: sys/sys systm.h proc.h Log: Moved declarations of tsleep() and wakeup() from proc.h to systm.h so that proc.h doesn't have to be included so often. Revision Changes Path 1.47 +8 -1 src/sys/sys/systm.h 1.29 +1 -3 src/sys/sys/proc.h From owner-cvs-sys Sat Oct 12 10:35:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13231 for cvs-sys-outgoing; Sat, 12 Oct 1996 10:35:23 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13003; Sat, 12 Oct 1996 10:33:50 -0700 (PDT) Date: Sat, 12 Oct 1996 10:33:50 -0700 (PDT) From: Stefan Esser Message-Id: <199610121733.KAA13003@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci ncr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 96/10/12 10:33:50 Modified: sys/pci ncr.c Log: Fix previous commit: The INB/OUTB macros require np->vaddr to be initialized, or a kernel panic will occur. Submitted by: Hidetoshi Shimokawa Revision Changes Path 1.81 +10 -10 src/sys/pci/ncr.c From owner-cvs-sys Sat Oct 12 10:35:53 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13299 for cvs-sys-outgoing; Sat, 12 Oct 1996 10:35:53 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13098; Sat, 12 Oct 1996 10:34:27 -0700 (PDT) Date: Sat, 12 Oct 1996 10:34:27 -0700 (PDT) From: Bruce Evans Message-Id: <199610121734.KAA13098@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/eisa 3c5x9.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 10:34:26 Modified: sys/i386/eisa 3c5x9.c Log: Staticized. Things exported by linker sets should always be static. Revision Changes Path 1.6 +2 -2 src/sys/i386/eisa/3c5x9.c From owner-cvs-sys Sat Oct 12 10:41:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13972 for cvs-sys-outgoing; Sat, 12 Oct 1996 10:41:09 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA13788; Sat, 12 Oct 1996 10:39:41 -0700 (PDT) Date: Sat, 12 Oct 1996 10:39:41 -0700 (PDT) From: Bruce Evans Message-Id: <199610121739.KAA13788@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/nfs nfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 10:39:40 Modified: sys/nfs nfs_bio.c Log: Staticized `nfs_dwrite'. Revision Changes Path 1.27 +2 -2 src/sys/nfs/nfs_bio.c From owner-cvs-sys Sat Oct 12 12:40:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA23169 for cvs-sys-outgoing; Sat, 12 Oct 1996 12:40:25 -0700 (PDT) Received: (from alex@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA22917; Sat, 12 Oct 1996 12:38:53 -0700 (PDT) Date: Sat, 12 Oct 1996 12:38:53 -0700 (PDT) From: Alex Nash Message-Id: <199610121938.MAA22917@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_fw.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk alex 96/10/12 12:38:53 Modified: sys/netinet ip_fw.c Log: Log the interface name which received the packet. Suggested by: Hal Snyder Revision Changes Path 1.50 +9 -8 src/sys/netinet/ip_fw.c From owner-cvs-sys Sat Oct 12 12:51:17 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA24573 for cvs-sys-outgoing; Sat, 12 Oct 1996 12:51:17 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA24358; Sat, 12 Oct 1996 12:49:45 -0700 (PDT) Date: Sat, 12 Oct 1996 12:49:45 -0700 (PDT) From: Bruce Evans Message-Id: <199610121949.MAA24358@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 genassym.c src/sys/pci if_fxp.c src/sys/i386/eisa 3c5x9.c src/sys/net if.h if_arp.h if_mib.c src/sys/netinet if_ether.c ip_fw.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 12:49:44 Modified: sys/i386/eisa 3c5x9.c sys/i386/i386 genassym.c sys/net if.h if_arp.h if_mib.c sys/netinet if_ether.c ip_fw.c sys/pci if_fxp.c Log: Removed nested include if from and and fixed the things that depended on it. The nested include just allowed unportable programs to compile and made my simple #include checking program report that networking code doesn't need to include . Revision Changes Path 1.7 +2 -1 src/sys/i386/eisa/3c5x9.c 1.39 +2 -1 src/sys/i386/i386/genassym.c 1.35 +1 -3 src/sys/net/if.h 1.6 +1 -3 src/sys/net/if_arp.h 1.2 +2 -1 src/sys/net/if_mib.c 1.34 +2 -1 src/sys/netinet/if_ether.c 1.51 +2 -1 src/sys/netinet/ip_fw.c 1.21 +2 -1 src/sys/pci/if_fxp.c From owner-cvs-sys Sat Oct 12 13:11:32 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA26864 for cvs-sys-outgoing; Sat, 12 Oct 1996 13:11:32 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA26700; Sat, 12 Oct 1996 13:09:53 -0700 (PDT) Date: Sat, 12 Oct 1996 13:09:53 -0700 (PDT) From: Bruce Evans Message-Id: <199610122009.NAA26700@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm swap_pager.c vm_page.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 13:09:51 Modified: sys/vm swap_pager.c vm_page.c Log: Removed __pure's and __pure2's. __pure is a no-op for recent versions of gcc by definition, and __pure2 is a no-op in effect (presumably the compiler can see when an inline function has no side effects). Revision Changes Path 1.72 +5 -7 src/sys/vm/swap_pager.c 1.68 +2 -3 src/sys/vm/vm_page.c From owner-cvs-sys Sat Oct 12 13:38:07 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA29520 for cvs-sys-outgoing; Sat, 12 Oct 1996 13:38:07 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA29476; Sat, 12 Oct 1996 13:36:18 -0700 (PDT) Date: Sat, 12 Oct 1996 13:36:18 -0700 (PDT) From: Bruce Evans Message-Id: <199610122036.NAA29476@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include pmap.h src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 13:36:17 Modified: sys/i386/include pmap.h sys/i386/i386 pmap.c Log: Cleaned up: - fixed a sloppy common-style declaration. - removed an unused macro. - moved once-used macros to the one file where they are used. - removed unused forward struct declarations. - removed __pure. - declared inline functions as inline in their prototype as well as in theire definition (gcc unfortunately allows the prototype to be inconsistent). - staticized. Revision Changes Path 1.44 +3 -15 src/sys/i386/include/pmap.h 1.124 +12 -6 src/sys/i386/i386/pmap.c From owner-cvs-sys Sat Oct 12 14:17:54 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA01087 for cvs-sys-outgoing; Sat, 12 Oct 1996 14:17:54 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA01079; Sat, 12 Oct 1996 14:17:49 -0700 (PDT) Received: from campa.panke.de (anonymous213.ppp.cs.tu-berlin.de [130.149.17.213]) by mail.cs.tu-berlin.de (8.6.13/8.6.12) with ESMTP id XAA04671; Sat, 12 Oct 1996 23:04:21 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id WAA00859; Sat, 12 Oct 1996 22:53:11 +0200 Date: Sat, 12 Oct 1996 22:53:11 +0200 From: Wolfram Schneider Message-Id: <199610122053.WAA00859@campa.panke.de> To: Bruce Evans Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: cvs commit: src/sys/nfs nfs_bio.c In-Reply-To: <199610121739.KAA13788@freefall.freebsd.org> References: <199610121739.KAA13788@freefall.freebsd.org> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans writes: > Modified: sys/nfs nfs_bio.c > Log: > Staticized `nfs_dwrite'. Why? BTW, does we have a documentation how to add a new sysctl variable? Wolfram From owner-cvs-sys Sat Oct 12 14:18:06 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA01110 for cvs-sys-outgoing; Sat, 12 Oct 1996 14:18:06 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA01085; Sat, 12 Oct 1996 14:17:54 -0700 (PDT) Received: from campa.panke.de (anonymous213.ppp.cs.tu-berlin.de [130.149.17.213]) by mail.cs.tu-berlin.de (8.6.13/8.6.12) with ESMTP id XAA04675; Sat, 12 Oct 1996 23:04:24 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id WAA00832; Sat, 12 Oct 1996 22:47:57 +0200 Date: Sat, 12 Oct 1996 22:47:57 +0200 From: Wolfram Schneider Message-Id: <199610122047.WAA00832@campa.panke.de> To: Bruce Evans Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: cvs commit: src/sys/i386/i386 genassym.c src/sys/pci if_fxp.c src/sys/i386/eisa 3c5x9.c src/sys/net if.h if_arp.h if_mib.c src/sys/netinet if_ether.c ip_fw.c In-Reply-To: <199610121949.MAA24358@freefall.freebsd.org> References: <199610121949.MAA24358@freefall.freebsd.org> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans writes: >The nested > include just allowed unportable programs to compile and made my > simple #include checking program report that networking code doesn't > need to include . where can I find your #include checking program? Wolfram From owner-cvs-sys Sat Oct 12 14:37:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02046 for cvs-sys-outgoing; Sat, 12 Oct 1996 14:37:04 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA01943; Sat, 12 Oct 1996 14:35:30 -0700 (PDT) Date: Sat, 12 Oct 1996 14:35:30 -0700 (PDT) From: John Dyson Message-Id: <199610122135.OAA01943@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include pmap.h src/sys/kern kern_exec.c kern_exit.c subr_rlist.c src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/12 14:35:29 Modified: sys/i386/i386 pmap.c sys/i386/include pmap.h sys/kern kern_exec.c kern_exit.c subr_rlist.c Log: Performance optimizations. One of which was meant to go in before the previous snap. Specifically, kern_exit and kern_exec now makes a call into the pmap module to do a very fast removal of pages from the address space. Additionally, the pmap module now updates the PG_MAPPED and PG_WRITABLE flags. This is an optional optimization, but helpful on the X86. Revision Changes Path 1.125 +43 -120 src/sys/i386/i386/pmap.c 1.45 +3 -1 src/sys/i386/include/pmap.h 1.47 +2 -1 src/sys/kern/kern_exec.c 1.41 +5 -2 src/sys/kern/kern_exit.c 1.18 +4 -4 src/sys/kern/subr_rlist.c From owner-cvs-sys Sat Oct 12 14:39:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02146 for cvs-sys-outgoing; Sat, 12 Oct 1996 14:39:35 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02096; Sat, 12 Oct 1996 14:38:02 -0700 (PDT) Date: Sat, 12 Oct 1996 14:38:02 -0700 (PDT) From: John Dyson Message-Id: <199610122138.OAA02096@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern subr_rlist.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/12 14:38:01 Modified: sys/kern subr_rlist.c Log: Undo a mistaken change from splhigh to splvm. Subr_rlist has been capable of being used for things other than swap space allocation, and splvm would have been appropriate for only swap space allocation and other VM things. My commit broke that (and was actually a mistake.) Revision Changes Path 1.19 +4 -4 src/sys/kern/subr_rlist.c From owner-cvs-sys Sat Oct 12 14:46:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA02533 for cvs-sys-outgoing; Sat, 12 Oct 1996 14:46:26 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA02512; Sat, 12 Oct 1996 14:46:14 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id HAA08017; Sun, 13 Oct 1996 07:45:06 +1000 Date: Sun, 13 Oct 1996 07:45:06 +1000 From: Bruce Evans Message-Id: <199610122145.HAA08017@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, wosch@cs.tu-berlin.de Subject: Re: cvs commit: src/sys/nfs nfs_bio.c Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Modified: sys/nfs nfs_bio.c >> Log: >> Staticized `nfs_dwrite'. > >Why? BTW, does we have a documentation how to add a new sysctl >variable? Because it's not referenced in any module. (Run src/tools/tools/ kernxref/kernxref.sh to see that there are still too many variables with bogus linkage.) There are no docs, but hundreds of examples in *.c :-). Bruce From owner-cvs-sys Sat Oct 12 15:06:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA03448 for cvs-sys-outgoing; Sat, 12 Oct 1996 15:06:18 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA03432; Sat, 12 Oct 1996 15:06:07 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id IAA08426; Sun, 13 Oct 1996 08:05:07 +1000 Date: Sun, 13 Oct 1996 08:05:07 +1000 From: Bruce Evans Message-Id: <199610122205.IAA08426@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, wosch@cs.tu-berlin.de Subject: Re: cvs commit: src/sys/i386/i386 genassym.c src/sys/pci if_fxp.c src/sys/i386/eisa 3c5x9.c src/sys/net if.h if_arp.h if_mib.c src/sys/netinet if_ether.c ip_fw.c Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>The nested >> include just allowed unportable programs to compile and made my >> simple #include checking program report that networking code doesn't >> need to include . > >where can I find your #include checking program? It is just a stupid shell script that tries recompiling everything one header at a time removed. For the LINT kernel, this takes about twice as long as `make world' :-). I've only used this much for the LINT kernel. It seems to work OK in the source directory for fsck. It depends on plenty of warnings being turned on by default so that removing a header that contains a useful declaration changes the error output. It also finds some bugs in gcc. gcc gets confused when important headers are missing and dumps core. The input file must be prepared by running `make -n >zin' in a clean (kernel) compile directory and editing out the few lines for non-C files. --- while :; do read line if [ -z "$line" ] then rm -f 1 2 1.o 2.o z.c exit fi cmd=`echo $line | sed 's;[ ][^ ]*$;;'` src=`echo $line | sed 's;.* ;;'` echo "trying $src" cat $src >z.c $cmd z.c >/dev/null 2>1 if test -f z.o then mv z.o 1.o else echo "original build of $src failed!" $cmd z.c exit 1 fi for i in `grep -n '^[ ]*#include' $src | sed 's/:.*//' | sort -nr` do sed -e "$i""s/.*//" $src >z.c $cmd z.c >/dev/null 2>2 if test -f z.o then mv z.o 2.o if cmp -s 1 2 && cmp -s 1.o 2.o then echo "line $i in source $src seems to be unnecessary:" head -$i $src | tail -1 # exit 1 fi fi done done Message-Id: <199610122212.PAA03800@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ufs/ffs fs.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/10/12 15:12:54 Modified: sys/ufs/ffs fs.h Log: Fixed lblktosize(). It overflowed at 2G. This bug only affected ufs_read() and ufs_write(). Found by: looking at warnings for comparing the result of lblktosize() (which is usually daddr_t = long) with file sizes (which are u_quad_t for ufs). File sizes should probably be off_t's to avoid warnings when the are compared with file offsets, so the fixed lblktosize() casts to off_t instead of u_quad_t. Added definition of smalllblksize(). It is the same as the old lblksize() and is more efficient for small block numbers on 32-bit machines. Use smalllblktosize() instead of its expansion in blksize() and dblksize(). This keeps the line length short and makes it more obvious that the shift can't overflow. Revision Changes Path 1.7 +7 -4 src/sys/ufs/ffs/fs.h From owner-cvs-sys Sat Oct 12 15:21:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA04337 for cvs-sys-outgoing; Sat, 12 Oct 1996 15:21:56 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA04331; Sat, 12 Oct 1996 15:21:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id PAA01794; Sat, 12 Oct 1996 15:21:35 -0700 (PDT) Message-Id: <199610122221.PAA01794@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/ufs/ffs fs.h In-reply-to: Your message of "Sat, 12 Oct 1996 15:12:55 PDT." <199610122212.PAA03800@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Sat, 12 Oct 1996 15:21:35 -0700 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >bde 96/10/12 15:12:54 > > Modified: sys/ufs/ffs fs.h > Log: > Fixed lblktosize(). It overflowed at 2G. This bug only affected > ufs_read() and ufs_write(). Are you going to bring this into -stable, or do you think it is unnecessary since we don't support >2GB files there anyway due to VM page restrictions? -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Sat Oct 12 15:44:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA06752 for cvs-sys-outgoing; Sat, 12 Oct 1996 15:44:25 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA06733; Sat, 12 Oct 1996 15:44:13 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id IAA09080; Sun, 13 Oct 1996 08:38:07 +1000 Date: Sun, 13 Oct 1996 08:38:07 +1000 From: Bruce Evans Message-Id: <199610122238.IAA09080@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, dg@root.com Subject: Re: cvs commit: src/sys/ufs/ffs fs.h Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Modified: sys/ufs/ffs fs.h >> Log: >> Fixed lblktosize(). It overflowed at 2G. This bug only affected >> ufs_read() and ufs_write(). > > Are you going to bring this into -stable, or do you think it is unnecessary >since we don't support >2GB files there anyway due to VM page restrictions? I didn't plan to. Perhaps we should set fs_maxfilesize to 2G-1. This should be safer than doing nothing or attempting to trap all the overflows. I thought that large files worked in -current. A long time ago, I put a 1 TB file system on /dev/vn0. The metadata must have gone beyond 2G logical in the underlying file. Bruce From owner-cvs-sys Sat Oct 12 18:09:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA19546 for cvs-sys-outgoing; Sat, 12 Oct 1996 18:09:39 -0700 (PDT) Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA19522; Sat, 12 Oct 1996 18:09:25 -0700 (PDT) Date: Sat, 12 Oct 1996 18:09:25 -0700 (PDT) From: David Greenman Message-Id: <199610130109.SAA19522@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/conf files src/sys/i386/isa cy.c cyreg.h src/sys/pci cy_pci.c cy_pcireg.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/10/12 18:09:25 Modified: sys/conf files sys/i386/isa cy.c cyreg.h Added: sys/pci cy_pci.c cy_pcireg.h Log: Changes to add support for the PCI version of the Cyclades Cyclom-Y serial adapter, and support for multiple Cyclom controllers. Revision Changes Path 1.78 +1 -0 src/sys/conf/files 1.38 +164 -131 src/sys/i386/isa/cy.c 1.3 +7 -8 src/sys/i386/isa/cyreg.h From owner-cvs-sys Sat Oct 12 18:30:54 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA21073 for cvs-sys-outgoing; Sat, 12 Oct 1996 18:30:54 -0700 (PDT) Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA21023; Sat, 12 Oct 1996 18:30:37 -0700 (PDT) Date: Sat, 12 Oct 1996 18:30:37 -0700 (PDT) From: David Greenman Message-Id: <199610130130.SAA21023@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa cy.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/10/12 18:30:36 Modified: sys/i386/isa cy.c Log: Change DEVFS device naming convention for cuac*, ttyc*. Revision Changes Path 1.39 +13 -7 src/sys/i386/isa/cy.c From owner-cvs-sys Sat Oct 12 18:38:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA21517 for cvs-sys-outgoing; Sat, 12 Oct 1996 18:38:56 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA21490; Sat, 12 Oct 1996 18:38:42 -0700 (PDT) Date: Sat, 12 Oct 1996 18:38:42 -0700 (PDT) From: John Dyson Message-Id: <199610130138.SAA21490@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/12 18:38:41 Modified: sys/i386/i386 pmap.c Log: Minor optimization for final rundown of a pmap. Revision Changes Path 1.126 +6 -1 src/sys/i386/i386/pmap.c From owner-cvs-sys Sat Oct 12 20:15:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA27867 for cvs-sys-outgoing; Sat, 12 Oct 1996 20:15:18 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA27825; Sat, 12 Oct 1996 20:15:00 -0700 (PDT) Date: Sat, 12 Oct 1996 20:15:00 -0700 (PDT) From: John Dyson Message-Id: <199610130315.UAA27825@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include pmap.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/10/12 20:14:59 Modified: sys/i386/include pmap.h Log: Pmap_resident_count was mistakenly removed from pmap.h, thereby disabling the RSS listing in ps and ^T. This commit re-inserts the macro defn. Revision Changes Path 1.46 +2 -0 src/sys/i386/include/pmap.h From owner-cvs-sys Sat Oct 12 22:06:42 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA05650 for cvs-sys-outgoing; Sat, 12 Oct 1996 22:06:42 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA05639; Sat, 12 Oct 1996 22:06:34 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id PAA18023; Sun, 13 Oct 1996 15:01:33 +1000 Date: Sun, 13 Oct 1996 15:01:33 +1000 From: Bruce Evans Message-Id: <199610130501.PAA18023@godzilla.zeta.org.au> To: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, dyson@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/include pmap.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: sys/i386/include pmap.h > Log: > Pmap_resident_count was mistakenly removed from pmap.h, thereby > disabling the RSS listing in ps and ^T. This commit re-inserts > the macro defn. I hate ifders. Please fix this properly by changing tty.c and kern_proc.c. They should call a machine-dependent function or macro that is required for all machines. Machine-dependent extern functions that are called from machine-independent code should be prototyped a machine-independent header, e.g., like cpu_switch(). Machine-dependent inline functions, and macros have to defined in a machine-dependent header, e.g., like cpu_set_init(). (Hmm, 3 out of 4 of the cpu_* macros in are not referenced.) I have been wondering what to do about the same problem with tcp_random18(). It's not really machine-dependent, so defining the default for it in a machine-dependent place isn't quite right. Bruce From owner-cvs-sys Sat Oct 12 22:18:38 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA06402 for cvs-sys-outgoing; Sat, 12 Oct 1996 22:18:38 -0700 (PDT) Received: from dyson.iquest.net ([198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA06385; Sat, 12 Oct 1996 22:18:08 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id AAA00485; Sun, 13 Oct 1996 00:16:56 -0500 (EST) From: "John S. Dyson" Message-Id: <199610130516.AAA00485@dyson.iquest.net> Subject: Re: cvs commit: src/sys/i386/include pmap.h To: bde@zeta.org.au (Bruce Evans) Date: Sun, 13 Oct 1996 00:16:56 -0500 (EST) Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, dyson@freefall.freebsd.org In-Reply-To: <199610130501.PAA18023@godzilla.zeta.org.au> from "Bruce Evans" at Oct 13, 96 03:01:33 pm Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Modified: sys/i386/include pmap.h > > Log: > > Pmap_resident_count was mistakenly removed from pmap.h, thereby > > disabling the RSS listing in ps and ^T. This commit re-inserts > > the macro defn. > > I hate ifders. > > Please fix this properly by changing tty.c and kern_proc.c. > You broke it... :-). I just put it back to the way that it was, until it can be fixed correctly. IMO, the pm_stats.resident_count is correct. If you want to rework that portion of the upper level code, then do so. John