From owner-cvs-sys Sun Dec 29 00:10:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA18925 for cvs-sys-outgoing; Sun, 29 Dec 1996 00:10:36 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA18918; Sun, 29 Dec 1996 00:10:34 -0800 (PST) Date: Sun, 29 Dec 1996 00:10:34 -0800 (PST) From: KATO Takenori Message-Id: <199612290810.AAA18918@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 96/12/29 00:10:33 Modified: sys/pc98/i386 machdep.c Log: Synchronize with sys/i386/i386/machdep.c revision 1.223 (clean-up of useracc call). Revision Changes Path 1.23 +3 -3 src/sys/pc98/i386/machdep.c From owner-cvs-sys Sun Dec 29 00:14:05 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA19135 for cvs-sys-outgoing; Sun, 29 Dec 1996 00:14:05 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA19126; Sun, 29 Dec 1996 00:14:03 -0800 (PST) Date: Sun, 29 Dec 1996 00:14:03 -0800 (PST) From: KATO Takenori Message-Id: <199612290814.AAA19126@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 npx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 96/12/29 00:14:03 Modified: sys/pc98/pc98 npx.c Log: Synchronize with sys/i386/isa/npx.c revision 1.35 (disable i586-optimized copyin and copyout). Revision Changes Path 1.10 +3 -1 src/sys/pc98/pc98/npx.c From owner-cvs-sys Sun Dec 29 01:22:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA20828 for cvs-sys-outgoing; Sun, 29 Dec 1996 01:22:36 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA20821; Sun, 29 Dec 1996 01:22:35 -0800 (PST) Date: Sun, 29 Dec 1996 01:22:35 -0800 (PST) From: David Greenman Message-Id: <199612290922.BAA20821@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_lockf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/12/29 01:22:34 Modified: sys/kern kern_lockf.c Log: Delete bogus inconsistency check that could cause a gratuitous panic. I had added this years ago when I didn't understand all the subtilties of the flock code. Revision Changes Path 1.8 +1 -8 src/sys/kern/kern_lockf.c From owner-cvs-sys Sun Dec 29 01:23:39 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA20898 for cvs-sys-outgoing; Sun, 29 Dec 1996 01:23:39 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA20891; Sun, 29 Dec 1996 01:23:38 -0800 (PST) Date: Sun, 29 Dec 1996 01:23:38 -0800 (PST) From: David Greenman Message-Id: <199612290923.BAA20891@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_lockf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/12/29 01:23:38 Branch: sys/kern RELENG_2_2 Modified: sys/kern kern_lockf.c Log: Brought in change from rev 1.8: delete bogus inconsistency check. Revision Changes Path 1.6.2.2 +1 -8 src/sys/kern/kern_lockf.c From owner-cvs-sys Sun Dec 29 02:56:52 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA23181 for cvs-sys-outgoing; Sun, 29 Dec 1996 02:56:52 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA23174; Sun, 29 Dec 1996 02:56:51 -0800 (PST) Date: Sun, 29 Dec 1996 02:56:51 -0800 (PST) From: Joerg Wunsch Message-Id: <199612291056.CAA23174@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa qcam.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/29 02:56:50 Branch: sys/i386/isa RELENG_2_2 Modified: sys/i386/isa qcam.c Log: YAMFC (rev 1.17: turn off debug) Revision Changes Path 1.16.2.1 +1 -1 src/sys/i386/isa/qcam.c From owner-cvs-sys Sun Dec 29 03:06:01 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA24786 for cvs-sys-outgoing; Sun, 29 Dec 1996 03:06:01 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA24779; Sun, 29 Dec 1996 03:05:59 -0800 (PST) Date: Sun, 29 Dec 1996 03:05:59 -0800 (PST) From: Joerg Wunsch Message-Id: <199612291105.DAA24779@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 pc98.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/29 03:05:58 Branch: sys/pc98/pc98 RELENG_2_2 Modified: sys/pc98/pc98 pc98.c Log: YAMFC (staticize from rev 1.12) Revision Changes Path 1.10.2.2 +3 -4 src/sys/pc98/pc98/pc98.c From owner-cvs-sys Sun Dec 29 13:09:44 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA12374 for cvs-sys-outgoing; Sun, 29 Dec 1996 13:09:44 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA12367; Sun, 29 Dec 1996 13:09:43 -0800 (PST) Date: Sun, 29 Dec 1996 13:09:43 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199612292109.NAA12367@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys malloc.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/12/29 13:09:43 Modified: sys/sys malloc.h Log: Reserve 4 malloc types for generic geometry handling. Revision Changes Path 1.17 +10 -2 src/sys/sys/malloc.h From owner-cvs-sys Sun Dec 29 13:14:11 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA12588 for cvs-sys-outgoing; Sun, 29 Dec 1996 13:14:11 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA12581; Sun, 29 Dec 1996 13:14:09 -0800 (PST) Date: Sun, 29 Dec 1996 13:14:09 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199612292114.NAA12581@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys queue.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/12/29 13:14:09 Modified: sys/sys queue.h Log: Add SLIST_EMPTY(head) SLIST_FIRST(head) SLIST_NEXT(elm, field) Which do the obvious things while hiding implementation details. Revision Changes Path 1.11 +7 -1 src/sys/sys/queue.h From owner-cvs-sys Sun Dec 29 14:05:27 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA14351 for cvs-sys-outgoing; Sun, 29 Dec 1996 14:05:27 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA14344; Sun, 29 Dec 1996 14:05:25 -0800 (PST) Date: Sun, 29 Dec 1996 14:05:25 -0800 (PST) From: Bruce Evans Message-Id: <199612292205.OAA14344@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa icu.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/12/29 14:05:25 Modified: sys/i386/isa icu.s Log: Fixed keeping track of interrupt nesting level across ASTs. It sometimes became -1, and this recently became fatal if an address error occurs in copyin/out/etc. Revision Changes Path 1.27 +3 -1 src/sys/i386/isa/icu.s From owner-cvs-sys Sun Dec 29 14:06:52 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA14432 for cvs-sys-outgoing; Sun, 29 Dec 1996 14:06:52 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA14423; Sun, 29 Dec 1996 14:06:50 -0800 (PST) Date: Sun, 29 Dec 1996 14:06:50 -0800 (PST) From: Bruce Evans Message-Id: <199612292206.OAA14423@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa icu.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/12/29 14:06:50 Branch: sys/i386/isa RELENG_2_2 Modified: sys/i386/isa icu.s Log: YAMFC (fixed keeping track of interrupt nesting level across ASTs). Revision Changes Path 1.26.2.1 +3 -1 src/sys/i386/isa/icu.s From owner-cvs-sys Sun Dec 29 19:56:14 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA29487 for cvs-sys-outgoing; Sun, 29 Dec 1996 19:56:14 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA29479; Sun, 29 Dec 1996 19:56:12 -0800 (PST) Date: Sun, 29 Dec 1996 19:56:12 -0800 (PST) From: John Dyson Message-Id: <199612300356.TAA29479@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_glue.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/12/29 19:56:12 Modified: sys/vm vm_glue.c Log: EEEK!!! useracc and kernacc didn't lock their respective maps. Additionally, eliminate the map->hint distortion associated with useracc. That may/may-not be the "right" thing to do -- but time will tell. Submitted by: Partially by Alan Cox Revision Changes Path 1.57 +16 -2 src/sys/vm/vm_glue.c From owner-cvs-sys Sun Dec 29 21:31:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA01609 for cvs-sys-outgoing; Sun, 29 Dec 1996 21:31:23 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA01602; Sun, 29 Dec 1996 21:31:22 -0800 (PST) Date: Sun, 29 Dec 1996 21:31:22 -0800 (PST) From: John Dyson Message-Id: <199612300531.VAA01602@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_mmap.c src/sys/i386/include vmparam.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/12/29 21:31:21 Modified: sys/vm vm_mmap.c sys/i386/include vmparam.h Log: Let the VM system know that on certain arch's that VM_PROT_READ also implies VM_PROT_EXEC. We support it that way for now, since the break system call by default gives VM_PROT_ALL. Now we have a better chance of coalesing map entries when mixing mmap/break type operations. This was contributing to excessive numbers of map entries on the modula-3 runtime system. The problem is still not "solved", but the situation makes more sense. Eventually, when we work on architectures where VM_PROT_READ is orthogonal to VM_PROT_EXEC, we will have to visit this issue carefully (esp. regarding security issues.) Revision Changes Path 1.57 +13 -1 src/sys/vm/vm_mmap.c 1.22 +3 -1 src/sys/i386/include/vmparam.h From owner-cvs-sys Mon Dec 30 00:18:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA06429 for cvs-sys-outgoing; Mon, 30 Dec 1996 00:18:23 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA06422; Mon, 30 Dec 1996 00:18:19 -0800 (PST) Date: Mon, 30 Dec 1996 00:18:19 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199612300818.AAA06422@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/conf files Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/12/30 00:18:19 Branch: sys/conf RELENG_2_2 Modified: sys/conf files Log: YAMFC (Make md5 available in kernel.) Revision Changes Path 1.80.2.3 +1 -0 src/sys/conf/files From owner-cvs-sys Mon Dec 30 00:20:29 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA06636 for cvs-sys-outgoing; Mon, 30 Dec 1996 00:20:29 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id AAA06627; Mon, 30 Dec 1996 00:20:27 -0800 (PST) Date: Mon, 30 Dec 1996 00:20:27 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199612300820.AAA06627@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/12/30 00:20:27 Branch: sys/i386/conf RELENG_2_2 Modified: sys/i386/conf LINT Log: YAMFC (document MD5 option) Revision Changes Path 1.286.2.9 +7 -1 src/sys/i386/conf/LINT From owner-cvs-sys Mon Dec 30 07:34:24 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA02511 for cvs-sys-outgoing; Mon, 30 Dec 1996 07:34:24 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA02503; Mon, 30 Dec 1996 07:34:20 -0800 (PST) Date: Mon, 30 Dec 1996 07:34:20 -0800 (PST) From: Peter Wemm Message-Id: <199612301534.HAA02503@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/30 07:34:20 Modified: sys/netinet in.h Log: Add INADDR_LOOPBACK, moved from Revision Changes Path 1.24 +2 -1 src/sys/netinet/in.h From owner-cvs-sys Mon Dec 30 07:37:02 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA02685 for cvs-sys-outgoing; Mon, 30 Dec 1996 07:37:02 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA02670; Mon, 30 Dec 1996 07:36:58 -0800 (PST) Date: Mon, 30 Dec 1996 07:36:58 -0800 (PST) From: Peter Wemm Message-Id: <199612301536.HAA02670@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys time.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/30 07:36:57 Modified: sys/sys time.h Log: Add NetBSD/OpenBSD compatable timeradd()/timersub() user-space macros. These are deliberately not visible to the kernel since we have timevaladd() and timevalsub() functions there. Obtained from: NetBSD/OpenBSD Revision Changes Path 1.9 +22 -1 src/sys/sys/time.h From owner-cvs-sys Mon Dec 30 10:26:33 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA09434 for cvs-sys-outgoing; Mon, 30 Dec 1996 10:26:33 -0800 (PST) Received: (from jhay@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA09424; Mon, 30 Dec 1996 10:26:31 -0800 (PST) Date: Mon, 30 Dec 1996 10:26:31 -0800 (PST) From: John Hay Message-Id: <199612301826.KAA09424@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_clock.c kern_ntptime.c src/sys/sys systm.h timex.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jhay 96/12/30 10:26:30 Modified: sys/kern kern_clock.c kern_ntptime.c sys/sys systm.h timex.h Log: Update our kernel ntp code to the latest from David Mills. The main change is the addition of the FLL code, which is used by the latest versions of xntpd. The kernel PPS code is also updated, although I can't test that yet. Revision Changes Path 1.29 +252 -127 src/sys/kern/kern_clock.c 1.10 +4 -1 src/sys/kern/kern_ntptime.c 1.48 +3 -1 src/sys/sys/systm.h 1.3 +14 -6 src/sys/sys/timex.h From owner-cvs-sys Mon Dec 30 12:42:51 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA17229 for cvs-sys-outgoing; Mon, 30 Dec 1996 12:42:51 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA17221; Mon, 30 Dec 1996 12:42:49 -0800 (PST) Date: Mon, 30 Dec 1996 12:42:49 -0800 (PST) From: Joerg Wunsch Message-Id: <199612302042.MAA17221@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa gsc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/30 12:42:49 Modified: sys/i386/isa gsc.c Log: Apparently, someone changed the gsc driver to allocate one big buffer at device attach time, instead of allocating and freeing buffers as necessary. But he or she forgot to remove the line that invalidated the buffer when the device is closed. Therefore, after using the device for the first time, the buffer was incorrectly invalidated and that caused a page fault on the second, and subsequent uses. Closes PR # kern/2319: Using Genius GS-4500 scanner... Submitted by: jmrueda@diatel.upm.es (Javier Martmn Rueda) Revision Changes Path 1.23 +0 -1 src/sys/i386/isa/gsc.c From owner-cvs-sys Mon Dec 30 12:46:24 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA17631 for cvs-sys-outgoing; Mon, 30 Dec 1996 12:46:24 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA17623; Mon, 30 Dec 1996 12:46:23 -0800 (PST) Date: Mon, 30 Dec 1996 12:46:23 -0800 (PST) From: Joerg Wunsch Message-Id: <199612302046.MAA17623@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa gsc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/30 12:46:22 Branch: sys/i386/isa RELENG_2_2 Modified: sys/i386/isa gsc.c Log: YAMFC (rev 1.23, fix a NULL dereference) Revision Changes Path 1.22.2.1 +0 -1 src/sys/i386/isa/gsc.c From owner-cvs-sys Mon Dec 30 13:17:25 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA20670 for cvs-sys-outgoing; Mon, 30 Dec 1996 13:17:25 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA20661; Mon, 30 Dec 1996 13:17:21 -0800 (PST) Date: Mon, 30 Dec 1996 13:17:21 -0800 (PST) From: Joerg Wunsch Message-Id: <199612302117.NAA20661@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa asc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/30 13:17:20 Modified: sys/i386/isa asc.c Log: Apply a similar fix as in gsc.c rev 1.23. Pointed out by: bde Revision Changes Path 1.22 +1 -2 src/sys/i386/isa/asc.c From owner-cvs-sys Mon Dec 30 13:18:37 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA20769 for cvs-sys-outgoing; Mon, 30 Dec 1996 13:18:37 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA20762; Mon, 30 Dec 1996 13:18:35 -0800 (PST) Date: Mon, 30 Dec 1996 13:18:35 -0800 (PST) From: Joerg Wunsch Message-Id: <199612302118.NAA20762@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa asc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/30 13:18:35 Branch: sys/i386/isa RELENG_2_2 Modified: sys/i386/isa asc.c Log: YAMFC (rev 1.22: fix a NULL dereference) Revision Changes Path 1.21.2.1 +1 -2 src/sys/i386/isa/asc.c From owner-cvs-sys Mon Dec 30 14:26:30 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA25141 for cvs-sys-outgoing; Mon, 30 Dec 1996 14:26:30 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA25131; Mon, 30 Dec 1996 14:26:29 -0800 (PST) Date: Mon, 30 Dec 1996 14:26:29 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612302226.OAA25131@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa/sound mpu401.c opl3.c sound_config.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/30 14:26:28 Modified: sys/i386/isa/sound mpu401.c opl3.c sound_config.h Log: A couple of changes for proper mpu401 recognition, and an opl3 patch taken from the voxware-3.5 distribution. Also some changes to the SB and MPU IRQs to reflect more common/default settings. Submitted-By: Brian Campbell Revision Changes Path 1.15 +18 -12 src/sys/i386/isa/sound/mpu401.c 1.15 +1 -1 src/sys/i386/isa/sound/opl3.c 1.16 +2 -2 src/sys/i386/isa/sound/sound_config.h From owner-cvs-sys Mon Dec 30 17:49:59 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA05870 for cvs-sys-outgoing; Mon, 30 Dec 1996 17:49:59 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA05829; Mon, 30 Dec 1996 17:49:14 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id LAA14486; Tue, 31 Dec 1996 11:10:51 +1100 Date: Tue, 31 Dec 1996 11:10:51 +1100 From: Bruce Evans Message-Id: <199612310010.LAA14486@godzilla.zeta.org.au> To: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/sys time.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: sys/sys time.h > Log: > Add NetBSD/OpenBSD compatable timeradd()/timersub() user-space macros. > > These are deliberately not visible to the kernel since we have timevaladd() > and timevalsub() functions there. > > Obtained from: NetBSD/OpenBSD Arrghh. I've already explained at length why we don't need these. NetBSD needs them for the kernel because they turned the functions into macros. This was probably a mistake because the functions are too large to be macros on many machines; in any case, they are not in an inner loop. Making them visible outside the kernel is more obviously wrong. It breaks any applications that have private versions of them with the same name, and timevals are a stupid format to use outside the kernel. The kernel uses them mainly because long longs and efficient floating point operations weren't available 10 years ago. Why add support for a bad method 5-10 years after it became bad? Bruce From owner-cvs-sys Mon Dec 30 18:12:42 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA06549 for cvs-sys-outgoing; Mon, 30 Dec 1996 18:12:42 -0800 (PST) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA06538; Mon, 30 Dec 1996 18:12:19 -0800 (PST) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.4/8.8.4) with ESMTP id KAA02604; Tue, 31 Dec 1996 10:11:58 +0800 (WST) Message-Id: <199612310211.KAA02604@spinner.DIALix.COM> X-Mailer: exmh version 1.6.9 8/22/96 To: Bruce Evans cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/sys time.h In-reply-to: Your message of "Tue, 31 Dec 1996 11:10:51 +1100." <199612310010.LAA14486@godzilla.zeta.org.au> Date: Tue, 31 Dec 1996 10:11:58 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > Modified: sys/sys time.h > > Log: > > Add NetBSD/OpenBSD compatable timeradd()/timersub() user-space macros. > > > > These are deliberately not visible to the kernel since we have timevaladd( ) > > and timevalsub() functions there. > > > > Obtained from: NetBSD/OpenBSD > > Arrghh. I've already explained at length why we don't need these. > NetBSD needs them for the kernel because they turned the functions into > macros. This was probably a mistake because the functions are too large > to be macros on many machines; in any case, they are not in an inner > loop. Making them visible outside the kernel is more obviously wrong. > It breaks any applications that have private versions of them with the > same name, and timevals are a stupid format to use outside the kernel. > The kernel uses them mainly because long longs and efficient floating > point operations weren't available 10 years ago. Why add support for > a bad method 5-10 years after it became bad? Because they are frozen into interfaces like select() and the rpc API. Code dealing with those has little choice since our select() doesn't return the time elapsed. (and even if it did, it's unclear whether it should write back when returning an error on EINTR - the rpc timeout code needs to know). What do you suggest? Copy the arithmatic and manually inline it (yuck) within libc/rpc? Move the #defines to each of the three libc/rpc files that use it? Create a new private header, eg: ? Something else? > Bruce Cheers, -Peter From owner-cvs-sys Mon Dec 30 23:10:22 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA18761 for cvs-sys-outgoing; Mon, 30 Dec 1996 23:10:22 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA18754; Mon, 30 Dec 1996 23:10:20 -0800 (PST) Date: Mon, 30 Dec 1996 23:10:20 -0800 (PST) From: Bill Paul Message-Id: <199612310710.XAA18754@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/nfs nfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/12/30 23:10:20 Modified: sys/nfs nfs_vnops.c Log: Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen if you do: % cd /nfsdir % mkdir -p foo/foo % mv foo/foo . nfs_sillyrename() self-destructs if you try to sillyrename a directory, however nfs_rename() can be coerced into doing just that by the above sequence of commands. To avoid this, nfs_rename() now checks that v_type of the 'destination' vnode != VDIR before attempting the sillyrename. The server correctly handles this particular situation by returning ENOTEMPTY on the rename() attempt. I asked if this was the correct fix for this on -hackers but nobody ever answered. This is a 2.2 candidate. Revision Changes Path 1.39 +3 -2 src/sys/nfs/nfs_vnops.c From owner-cvs-sys Tue Dec 31 08:23:43 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA05455 for cvs-sys-outgoing; Tue, 31 Dec 1996 08:23:43 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA05447; Tue, 31 Dec 1996 08:23:41 -0800 (PST) Date: Tue, 31 Dec 1996 08:23:41 -0800 (PST) From: John Dyson Message-Id: <199612311623.IAA05447@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_map.c vm_object.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/12/31 08:23:41 Modified: sys/vm vm_map.c vm_object.c Log: A very significant improvement in the management of process maps and objects. Previously, "fancy" memory management techniques such as that used by the M3 RTS would have the tendancy of chopping up processes allocated memory into lots of little objects. Alan has come up with some improvements to migtigate the sitution to the point where even the M3 RTS only has one object for bss and it's managed memory (when running CVSUP.) (There are still cases where the situation isn't improved when the system pages -- but this is much much better for the vast majority of cases.) The system will now be able to much more effectively merge map entries. Submitted by: Alan Cox Revision Changes Path 1.64 +38 -40 src/sys/vm/vm_map.c 1.83 +8 -3 src/sys/vm/vm_object.c From owner-cvs-sys Tue Dec 31 20:45:08 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id UAA13088 for cvs-sys-outgoing; Tue, 31 Dec 1996 20:45:08 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id UAA13081; Tue, 31 Dec 1996 20:45:07 -0800 (PST) Date: Tue, 31 Dec 1996 20:45:07 -0800 (PST) From: John Dyson Message-Id: <199701010445.UAA13081@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_fault.c vm_map.c vm_object.c vm_pageout.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/12/31 20:45:06 Modified: sys/vm vm_fault.c vm_map.c vm_object.c vm_pageout.c Log: Guess what? We left alot of the old collapse code that is not needed anymore with the "full" collapse fix that we added about 1yr ago!!! The code has been removed by optioning it out for now, so we can put it back in ASAP if any problems are found. Revision Changes Path 1.61 +3 -1 src/sys/vm/vm_fault.c 1.65 +2 -0 src/sys/vm/vm_map.c 1.84 +6 -0 src/sys/vm/vm_object.c 1.88 +4 -1 src/sys/vm/vm_pageout.c