From owner-cvs-sys Sun Jul 21 01:21:12 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA20473 for cvs-sys-outgoing; Sun, 21 Jul 1996 01:21:12 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA20444; Sun, 21 Jul 1996 01:20:54 -0700 (PDT) Date: Sun, 21 Jul 1996 01:20:54 -0700 (PDT) From: Joerg Wunsch Message-Id: <199607210820.BAA20444@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/07/21 01:20:53 Modified: sys/i386/isa clock.c Log: Post-commit review by Bruce. Mostly stylistic changes. Submitted by: bde Revision Changes Path 1.65 +56 -51 src/sys/i386/isa/clock.c From owner-cvs-sys Sun Jul 21 02:28:27 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA24588 for cvs-sys-outgoing; Sun, 21 Jul 1996 02:28:27 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA24550; Sun, 21 Jul 1996 02:28:07 -0700 (PDT) Date: Sun, 21 Jul 1996 02:28:07 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199607210928.CAA24550@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/ccd ccd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/07/21 02:28:06 Modified: sys/dev/ccd ccd.c Log: Substitute raw{read|write} for ccd{read|write} Revision Changes Path 1.14 +2 -59 src/sys/dev/ccd/ccd.c From owner-cvs-sys Sun Jul 21 02:29:06 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA24665 for cvs-sys-outgoing; Sun, 21 Jul 1996 02:29:06 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA24637; Sun, 21 Jul 1996 02:28:53 -0700 (PDT) Date: Sun, 21 Jul 1996 02:28:53 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199607210928.CAA24637@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa wd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/07/21 02:28:52 Modified: sys/i386/isa wd.c Log: Add yet another kludge to this driver. Man page update to follow. Revision Changes Path 1.111 +9 -1 src/sys/i386/isa/wd.c From owner-cvs-sys Sun Jul 21 10:14:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA16765 for cvs-sys-outgoing; Sun, 21 Jul 1996 10:14:39 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA16688; Sun, 21 Jul 1996 10:14:08 -0700 (PDT) Date: Sun, 21 Jul 1996 10:14:08 -0700 (PDT) From: Peter Wemm Message-Id: <199607211714.KAA16688@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if_ppp.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/07/21 10:14:08 Modified: sys/net if_ppp.c Log: Don't dereference sc->sc_setmtu if it's NULL (such as when it's not running) as discussed on current. (bde pointed out the cause of the problem) Reported by: dev@fgate.flevel.co.uk Revision Changes Path 1.36 +3 -2 src/sys/net/if_ppp.c From owner-cvs-sys Mon Jul 22 11:27:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA21766 for cvs-sys-outgoing; Mon, 22 Jul 1996 11:27:14 -0700 (PDT) Received: from Sisyphos (Sisyphos.MI.Uni-Koeln.DE [134.95.212.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA21755; Mon, 22 Jul 1996 11:26:46 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr3-5.slip.Uni-Koeln.DE) by Sisyphos with SMTP id AA18045 (5.67b/IDA-1.5); Mon, 22 Jul 1996 20:26:27 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.7.5/8.6.9) id UAA03848; Mon, 22 Jul 1996 20:26:16 +0200 (MET DST) Date: Mon, 22 Jul 1996 20:26:16 +0200 (MET DST) Message-Id: <199607221826.UAA03848@x14.mi.uni-koeln.de> From: Stefan Esser To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: se@freefall.freebsd.org (Stefan Esser), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/pci if_lnc_p.c src/sys/conf files src/sys/i386/isa if_lnc.c In-Reply-To: <199607182314.BAA00758@uriah.heep.sax.de> References: <199607182203.PAA22430@freefall.freebsd.org> <199607182314.BAA00758@uriah.heep.sax.de> Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J. Wunsch writes: > As Stefan Esser wrote: > > > BEWARE: If you had lnc0 configured to have the ISA probe find > > your PCI Lance, then it should now be found by the PCI probe, > > and should be automatically configured as pci1 (!!! note the "1"). > lnc1 O well, yes, but that was the smallest problem in the commit ... The commit message indicated, that the patch had been reviewd. But I accidently fed an old context diff that I had up-loaded to Freefall two weeks ago to patch, and it cleanly applied :) It should work as well as the version I sent out for review, but I really can't be sure ... Anyway, now I'm waiting for success stories from Lance PCI users. There happened to be so many of them, who really needed PCI PnP support in the driver, and now they all seem to have gone (or to be on a vacation :). PLEASE let me know whether your PCI Lance works for you with the driver changes ! And please do complain, if it doesn't ... Regards, STefan From owner-cvs-sys Mon Jul 22 13:06:47 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA02743 for cvs-sys-outgoing; Mon, 22 Jul 1996 13:06:47 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA02695; Mon, 22 Jul 1996 13:06:06 -0700 (PDT) Date: Mon, 22 Jul 1996 13:06:06 -0700 (PDT) From: Garrett Wollman Message-Id: <199607222006.NAA02695@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/07/22 13:06:05 Modified: sys/net if.h Log: Add a new, better mechanism for sticking packets onto ifqueues. The old system had the misfeature that the only policy it could implement was tail-drop; the new IF_ENQ_DROP macro/function makes it possible to implement more sophisticated queueing policies on a system-wide basis. No code actually uses this yet (although on my machine I have converted the ethernet and (polled) loopback to use it). Revision Changes Path 1.30 +30 -1 src/sys/net/if.h From owner-cvs-sys Mon Jul 22 18:19:02 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA27892 for cvs-sys-outgoing; Mon, 22 Jul 1996 18:19:02 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA27849; Mon, 22 Jul 1996 18:18:49 -0700 (PDT) Date: Mon, 22 Jul 1996 18:18:49 -0700 (PDT) From: Julian Elischer Message-Id: <199607230118.SAA27849@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin, cvs-sys, cvs-sbin Subject: cvs commit: src/sys/netatalk aarp.c aarp.h at.h at_control.c at_proto.c at_rmx.c at_var.h ddp_input.c ddp_output.c ddp_usrreq.c endian.h phase2.h src/usr.bin/netstat atalk.c if.c netstat.h route.c src/sbin/ifconfig ifconfig.c src/sbin/route route.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/07/22 18:18:48 Modified: usr.bin/netstat atalk.c if.c netstat.h route.c sys/netatalk aarp.c aarp.h at.h at_control.c at_proto.c at_rmx.c at_var.h ddp_input.c ddp_output.c ddp_usrreq.c endian.h phase2.h sbin/ifconfig ifconfig.c sbin/route route.c Log: Submitted by: archie@whistle.com appletalk cleanups Revision Changes Path 1.4 +41 -38 src/usr.bin/netstat/atalk.c 1.14 +2 -2 src/usr.bin/netstat/if.c 1.7 +2 -1 src/usr.bin/netstat/netstat.h 1.17 +6 -3 src/usr.bin/netstat/route.c 1.2 +6 -211 src/sys/netatalk/aarp.c 1.2 +1 -3 src/sys/netatalk/aarp.h 1.2 +1 -26 src/sys/netatalk/at.h 1.2 +235 -197 src/sys/netatalk/at_control.c 1.2 +5 -26 src/sys/netatalk/at_proto.c 1.2 +0 -2 src/sys/netatalk/at_rmx.c 1.2 +2 -8 src/sys/netatalk/at_var.h 1.2 +5 -46 src/sys/netatalk/ddp_input.c 1.2 +3 -123 src/sys/netatalk/ddp_output.c 1.3 +8 -58 src/sys/netatalk/ddp_usrreq.c 1.2 +2 -60 src/sys/netatalk/endian.h 1.2 +0 -73 src/sys/netatalk/phase2.h 1.18 +68 -20 src/sbin/ifconfig/ifconfig.c 1.10 +3 -3 src/sbin/route/route.c From owner-cvs-sys Tue Jul 23 00:47:13 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA24570 for cvs-sys-outgoing; Tue, 23 Jul 1996 00:47:13 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA24552; Tue, 23 Jul 1996 00:47:01 -0700 (PDT) Date: Tue, 23 Jul 1996 00:47:01 -0700 (PDT) From: Satoshi Asami Message-Id: <199607230747.AAA24552@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include cpufunc.h src/sys/pc98/boot/netboot bootmenu.c main.c ns8390.c src/sys/pc98/i386 locore.s machdep.c microtime.s pmap.c support.s trap.c vm_machdep.c src/sys/pc98/pc98 clock.c diskslice_machdep.c fd.c ft.c if_ed.c if_edreg.h if_ep.c if_epreg.h if_fe.c if_fereg.h if_zp.c lpt.c npx.c pc98.c pcaudio.c pcibus.c pcicx.c random_machdep.c sbic55.c sbic55.c.new scd.c sio.c spkr.c syscons.c syscons.h wcd.c wd.c fd.c.new src/sys/pc98/pc98/sound dmabuf.c src/sys/pc98/apm apm.c src/sys/pc98/boot/biosboot Makefile README.386BSD boot.c boot2.S disk.c start.S src/sys/pc98/conf GENERIC98 Makefile.pc98 files.pc98 majors.pc98 options.pc98 src/sys/pc98/pc98/ic mb86960.h src/sys/sys diskslice.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 96/07/23 00:47:00 Modified: sys/i386/include cpufunc.h sys/pc98/apm apm.c sys/pc98/boot/biosboot Makefile README.386BSD boot.c boot2.S disk.c start.S sys/pc98/boot/netboot bootmenu.c main.c ns8390.c sys/pc98/conf GENERIC98 Makefile.pc98 files.pc98 majors.pc98 options.pc98 sys/pc98/i386 locore.s machdep.c microtime.s pmap.c support.s trap.c vm_machdep.c sys/pc98/pc98 clock.c diskslice_machdep.c fd.c ft.c if_ed.c if_edreg.h if_ep.c if_epreg.h if_fe.c if_fereg.h if_zp.c lpt.c npx.c pc98.c pcaudio.c pcibus.c pcicx.c random_machdep.c sbic55.c sbic55.c.new scd.c sio.c spkr.c syscons.c syscons.h wcd.c wd.c sys/pc98/pc98/ic mb86960.h sys/pc98/pc98/sound dmabuf.c sys/sys diskslice.h Removed: sys/pc98/pc98 fd.c.new Log: Update to current state of PC98 world. Submitted by: The FreeBSD(98) development team Revision Changes Path 1.53 +3 -1 src/sys/i386/include/cpufunc.h 1.2 +12 -7 src/sys/pc98/apm/apm.c 1.2 +6 -1 src/sys/pc98/boot/biosboot/Makefile 1.2 +38 -17 src/sys/pc98/boot/biosboot/README.386BSD 1.2 +16 -3 src/sys/pc98/boot/biosboot/boot.c 1.2 +6 -0 src/sys/pc98/boot/biosboot/boot2.S 1.2 +2 -2 src/sys/pc98/boot/biosboot/disk.c 1.2 +185 -9 src/sys/pc98/boot/biosboot/start.S 1.2 +29 -1 src/sys/pc98/boot/netboot/bootmenu.c 1.2 +2 -2 src/sys/pc98/boot/netboot/main.c 1.2 +4 -0 src/sys/pc98/boot/netboot/ns8390.c 1.2 +8 -9 src/sys/pc98/conf/GENERIC98 1.2 +2 -2 src/sys/pc98/conf/Makefile.pc98 1.2 +4 -1 src/sys/pc98/conf/files.pc98 1.2 +2 -1 src/sys/pc98/conf/majors.pc98 1.2 +5 -1 src/sys/pc98/conf/options.pc98 1.2 +14 -14 src/sys/pc98/i386/locore.s 1.2 +22 -388 src/sys/pc98/i386/machdep.c 1.2 +5 -3 src/sys/pc98/i386/microtime.s 1.2 +643 -524 src/sys/pc98/i386/pmap.c 1.2 +191 -1 src/sys/pc98/i386/support.s 1.2 +19 -19 src/sys/pc98/i386/trap.c 1.2 +22 -58 src/sys/pc98/i386/vm_machdep.c 1.2 +170 -94 src/sys/pc98/pc98/clock.c 1.2 +4 -3 src/sys/pc98/pc98/diskslice_machdep.c 1.2 +7 -4 src/sys/pc98/pc98/fd.c 1.2 +1 -3 src/sys/pc98/pc98/ft.c 1.2 +152 -159 src/sys/pc98/pc98/if_ed.c 1.2 +0 -1162 src/sys/pc98/pc98/if_edreg.h 1.2 +251 -37 src/sys/pc98/pc98/if_ep.c 1.2 +11 -2 src/sys/pc98/pc98/if_epreg.h 1.2 +102 -245 src/sys/pc98/pc98/if_fe.c 1.2 +1 -18 src/sys/pc98/pc98/if_fereg.h 1.2 +3 -8 src/sys/pc98/pc98/if_zp.c 1.2 +2 -2 src/sys/pc98/pc98/lpt.c 1.2 +2 -1 src/sys/pc98/pc98/npx.c 1.2 +8 -14 src/sys/pc98/pc98/pc98.c 1.2 +35 -15 src/sys/pc98/pc98/pcaudio.c 1.2 +2 -4 src/sys/pc98/pc98/pcibus.c 1.2 +0 -4 src/sys/pc98/pc98/pcicx.c 1.2 +5 -1 src/sys/pc98/pc98/random_machdep.c 1.2 +0 -10 src/sys/pc98/pc98/sbic55.c 1.2 +0 -11 src/sys/pc98/pc98/sbic55.c.new 1.2 +2 -4 src/sys/pc98/pc98/scd.c 1.2 +24 -65 src/sys/pc98/pc98/sio.c 1.2 +55 -37 src/sys/pc98/pc98/spkr.c 1.2 +346 -166 src/sys/pc98/pc98/syscons.c 1.2 +18 -50 src/sys/pc98/pc98/syscons.h 1.2 +16 -4 src/sys/pc98/pc98/wcd.c 1.2 +17 -7 src/sys/pc98/pc98/wd.c 1.2 +0 -52 src/sys/pc98/pc98/ic/mb86960.h 1.2 +2 -1 src/sys/pc98/pc98/sound/dmabuf.c 1.14 +5 -1 src/sys/sys/diskslice.h From owner-cvs-sys Tue Jul 23 07:45:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA17333 for cvs-sys-outgoing; Tue, 23 Jul 1996 07:45:04 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA17294; Tue, 23 Jul 1996 07:44:49 -0700 (PDT) Date: Tue, 23 Jul 1996 07:44:49 -0700 (PDT) From: Garrett Wollman Message-Id: <199607231444.HAA17294@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/07/23 07:44:48 Modified: sys/net if.h Log: Fix a spelling error I forgot to bring over from my personal version of the last (IF_ENQ_DROP) commit. Revision Changes Path 1.31 +2 -2 src/sys/net/if.h From owner-cvs-sys Tue Jul 23 14:53:07 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16915 for cvs-sys-outgoing; Tue, 23 Jul 1996 14:53:07 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA16878; Tue, 23 Jul 1996 14:52:50 -0700 (PDT) Date: Tue, 23 Jul 1996 14:52:50 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199607232152.OAA16878@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/ccd ccd.c src/sys/dev/vn vn.c src/sys/sys conf.h src/sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c src/sys/i386/isa/matcd matcd.c src/sys/kern kern_conf.c src/sys/scsi cd.c od.c sd.c st.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/07/23 14:52:48 Modified: sys/dev/ccd ccd.c sys/dev/vn vn.c sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c sys/i386/isa/matcd matcd.c sys/kern kern_conf.c sys/scsi cd.c od.c sd.c st.c sys/sys conf.h Log: Make a "DWIM" function for adding [bc]devsw entries for bdev drivers. Saves about 280 butes of source per driver, 56 bytes in object size and another 56 bytes moves from data to bss. No functional change intended nor expected. GENERIC should be about one k smaller now :-) Revision Changes Path 1.15 +3 -14 src/sys/dev/ccd/ccd.c 1.37 +3 -14 src/sys/dev/vn/vn.c 1.91 +3 -13 src/sys/i386/isa/fd.c 1.82 +3 -13 src/sys/i386/isa/mcd.c 1.24 +3 -14 src/sys/i386/isa/scd.c 1.35 +2 -12 src/sys/i386/isa/wcd.c 1.112 +3 -14 src/sys/i386/isa/wd.c 1.33 +3 -14 src/sys/i386/isa/wt.c 1.19 +3 -15 src/sys/i386/isa/matcd/matcd.c 1.10 +35 -1 src/sys/kern/kern_conf.c 1.72 +3 -13 src/sys/scsi/cd.c 1.19 +3 -12 src/sys/scsi/od.c 1.91 +3 -12 src/sys/scsi/sd.c 1.72 +3 -13 src/sys/scsi/st.c 1.31 +3 -1 src/sys/sys/conf.h From owner-cvs-sys Tue Jul 23 15:00:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17702 for cvs-sys-outgoing; Tue, 23 Jul 1996 15:00:40 -0700 (PDT) Received: (from julian@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA17629; Tue, 23 Jul 1996 15:00:17 -0700 (PDT) Date: Tue, 23 Jul 1996 15:00:17 -0700 (PDT) From: Julian Elischer Message-Id: <199607232200.PAA17629@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-usrbin, cvs-sbin Subject: cvs commit: src/usr.bin/netstat route.c src/sys/netatalk at_control.c at_proto.c at_var.h src/sbin/route route.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 96/07/23 15:00:16 Modified: sys/netatalk at_control.c at_proto.c at_var.h usr.bin/netstat route.c sbin/route route.c Log: Submitted by: archie@whistle.com slight cleanups on yesterday's patches Revision Changes Path 1.3 +11 -10 src/sys/netatalk/at_control.c 1.3 +1 -1 src/sys/netatalk/at_proto.c 1.3 +1 -1 src/sys/netatalk/at_var.h 1.18 +2 -2 src/usr.bin/netstat/route.c 1.11 +3 -2 src/sbin/route/route.c From owner-cvs-sys Wed Jul 24 03:43:57 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA11501 for cvs-sys-outgoing; Wed, 24 Jul 1996 03:43:57 -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 SMTP id DAA11495; Wed, 24 Jul 1996 03:43:52 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id UAA21158; Wed, 24 Jul 1996 20:26:07 +1000 Date: Wed, 24 Jul 1996 20:26:07 +1000 From: Bruce Evans Message-Id: <199607241026.UAA21158@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/dev/ccd ccd.c src/sys/dev/vn vn.c src/sys/sys conf.h src/sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c src/sys/i386/isa/matcd matcd.c src/sys/kern kern_conf.c src/sys/scsi cd.c od.c sd.c st.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: sys/dev/ccd ccd.c > sys/dev/vn vn.c > sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c > sys/i386/isa/matcd matcd.c > sys/kern kern_conf.c > sys/scsi cd.c od.c sd.c st.c > sys/sys conf.h > Log: > Make a "DWIM" function for adding [bc]devsw entries for bdev drivers. > > Saves about 280 butes of source per driver, 56 bytes in object size > and another 56 bytes moves from data to bss. This broke wcd, which has bogusly different open and close functions for cdevs and bdevs. Compiling LINT gives a nice warning that the cdev open and close functions are no longer used. This change interferes with the correct change, which is to nuke the SYSINIT()s and call bdevsw_add() and cdevsw_add() in the device attach functions. These functions should eventually have a different interface that doesn't involve the driver knowing its own device number. The main wastages in the previous interface were the makedevs and the always-NULL pointers. Changing [bc]devsw_add() to take args (int major, struct [bc]devsw *new) would save about the same amount of space as using the new generic interface for bdev drivers, and more space for cdev-only drivers. However, this might break the intended final interface, which may involve passing back the `old' devsw pointer and a reconstructed device number. Changing to bdevsw_add_generic() has already broken it. However^2, the final interface should involve device descriptors instead of numbers, and overwriting an in-use device descriptor should be an error so `old' pointers should be useless (they would always point to a garbage devsw). Thus the current interface is not worth preserving. Bruce From owner-cvs-sys Wed Jul 24 06:29:03 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA18780 for cvs-sys-outgoing; Wed, 24 Jul 1996 06:29:03 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA18774; Wed, 24 Jul 1996 06:28:57 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id PAA01254; Wed, 24 Jul 1996 15:29:01 +0200 (MET DST) To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/dev/ccd ccd.c src/sys/dev/vn vn.c src/sys/sys conf.h src/sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c src/sys/i386/isa/matcd matcd.c src/sys/kern kern_conf.c src/sys/scsi cd.c od.c sd.c st.c In-reply-to: Your message of "Wed, 24 Jul 1996 20:26:07 +1000." <199607241026.UAA21158@godzilla.zeta.org.au> Date: Wed, 24 Jul 1996 15:29:01 +0200 Message-ID: <1252.838214941@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199607241026.UAA21158@godzilla.zeta.org.au>, Bruce Evans writes: >> Log: >> Make a "DWIM" function for adding [bc]devsw entries for bdev drivers. >> >This broke wcd, which has bogusly different open and close functions for >cdevs and bdevs. Compiling LINT gives a nice warning that the cdev open >and close functions are no longer used. sorry, will fix. >... Thus the current interface is not worth preserving. My conclusion was that considering that we didn't really like the current interface very much, it was stupid to waste so much space on doing the same thing over and over... I sincerely belive it's time to get DEVFS kicked the next mile and get rid of this problem once and for all. Too bad about the crowd screaming for "persistence" in DEVFS :-( -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Wed Jul 24 06:35:47 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA19205 for cvs-sys-outgoing; Wed, 24 Jul 1996 06:35:47 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA19168; Wed, 24 Jul 1996 06:35:36 -0700 (PDT) Date: Wed, 24 Jul 1996 06:35:36 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199607241335.GAA19168@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa wcd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/07/24 06:35:35 Modified: sys/i386/isa wcd.c Log: Revert my bdevsw change for wcd.c, Bruce pointed out that this driver has bogus open/close entries. Revision Changes Path 1.36 +12 -2 src/sys/i386/isa/wcd.c From owner-cvs-sys Wed Jul 24 10:09:52 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA01318 for cvs-sys-outgoing; Wed, 24 Jul 1996 10:09:52 -0700 (PDT) Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA01171; Wed, 24 Jul 1996 10:08:05 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by mail.barrnet.net (8.7.5/MAIL-RELAY-LEN) with SMTP id KAA24121; Wed, 24 Jul 1996 10:07:59 -0700 (PDT) Received: from localhost (dfr@localhost) by minnow.render.com (8.6.12/8.6.9) with SMTP id SAA22170; Wed, 24 Jul 1996 18:00:38 +0100 Date: Wed, 24 Jul 1996 18:00:37 +0100 (BST) From: Doug Rabson To: Poul-Henning Kamp cc: Bruce Evans , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/dev/ccd ccd.c src/sys/dev/vn vn.c src/sys/sys conf.h src/sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c src/sys/i386/isa/matcd matcd.c src/sys/kern kern_conf.c src/sys/scsi cd.c od.c sd.c st.c In-Reply-To: <1252.838214941@critter.tfs.com> 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 Wed, 24 Jul 1996, Poul-Henning Kamp wrote: > In message <199607241026.UAA21158@godzilla.zeta.org.au>, Bruce Evans writes: > >> Log: > >> Make a "DWIM" function for adding [bc]devsw entries for bdev drivers. > >> > > >This broke wcd, which has bogusly different open and close functions for > >cdevs and bdevs. Compiling LINT gives a nice warning that the cdev open > >and close functions are no longer used. > > sorry, will fix. > > >... Thus the current interface is not worth preserving. > > My conclusion was that considering that we didn't really like the current > interface very much, it was stupid to waste so much space on doing the > same thing over and over... > > I sincerely belive it's time to get DEVFS kicked the next mile and get > rid of this problem once and for all. > > Too bad about the crowd screaming for "persistence" in DEVFS :-( Then we should let Terry loose on the VFS interface as long as he promises to fix the union filesystem. There should be enough functionality in unionfs for most of the persistence needed as long as we implement whiteouts. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939 From owner-cvs-sys Wed Jul 24 11:46:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06057 for cvs-sys-outgoing; Wed, 24 Jul 1996 11:46:34 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA06035; Wed, 24 Jul 1996 11:46:21 -0700 (PDT) Date: Wed, 24 Jul 1996 11:46:21 -0700 (PDT) From: Garrett Wollman Message-Id: <199607241846.LAA06035@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_icmp.c ip_icmp.h raw_ip.c tcp_subr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/07/24 11:46:20 Modified: sys/netinet ip_icmp.c ip_icmp.h raw_ip.c tcp_subr.c Log: Eliminate some more references to separate ip_v and ip_hl fields. Revision Changes Path 1.21 +9 -8 src/sys/netinet/ip_icmp.c 1.8 +6 -1 src/sys/netinet/ip_icmp.h 1.33 +5 -3 src/sys/netinet/raw_ip.c 1.31 +4 -2 src/sys/netinet/tcp_subr.c From owner-cvs-sys Wed Jul 24 12:24:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA08525 for cvs-sys-outgoing; Wed, 24 Jul 1996 12:24: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 MAA08513; Wed, 24 Jul 1996 12:24:32 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id MAA03579; Wed, 24 Jul 1996 12:24:14 -0700 (PDT) To: Poul-Henning Kamp cc: Bruce Evans , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/dev/ccd ccd.c src/sys/dev/vn vn.c src/sys/sys conf.h src/sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c src/sys/i386/isa/matcd matcd.c src/sys/kern kern_conf.c src/sys/scsi cd.c od.c sd.c st.c In-reply-to: Your message of "Wed, 24 Jul 1996 15:29:01 +0200." <1252.838214941@critter.tfs.com> Date: Wed, 24 Jul 1996 12:24:13 -0700 Message-ID: <3577.838236253@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I sincerely belive it's time to get DEVFS kicked the next mile and get > rid of this problem once and for all. > > Too bad about the crowd screaming for "persistence" in DEVFS :-( Maybe implementing it would be part of the next mile. The best way to stop people screaming about something missing is to implement it, after all. :-) Also, the persistence people don't mind if devfs is *optional*, then it can throw your /dev files away every 5 minutes just for fun if it likes - they don't have to use it. If it's non-optional, then we've got major problems. We're already taking so much flak about "breaking UNIX in the name of progress" (damned if you do or don't sort of exercise) that there's just no way in heck I'd support a non-optional devfs without persistence. I get enough grief at conferences as it is. Jordan From owner-cvs-sys Wed Jul 24 13:00:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA11740 for cvs-sys-outgoing; Wed, 24 Jul 1996 13:00:25 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA11654; Wed, 24 Jul 1996 13:00:01 -0700 (PDT) Date: Wed, 24 Jul 1996 13:00:01 -0700 (PDT) From: Garrett Wollman Message-Id: <199607242000.NAA11654@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/07/24 12:59:59 Modified: sys/net if.c Log: Fix a bug in ifa_ifwithnet() which caused a page fault in bcmp() when attepmting to add certain types of routes. This problem only manifested itself in the presence of unconfigured point-to-point interfaces. Noticed by: Chuck Cranor Revision Changes Path 1.34 +3 -2 src/sys/net/if.c From owner-cvs-sys Wed Jul 24 14:00:00 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA15750 for cvs-sys-outgoing; Wed, 24 Jul 1996 14:00:00 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA15741; Wed, 24 Jul 1996 13:59:52 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id WAA00586; Wed, 24 Jul 1996 22:59:48 +0200 (MET DST) To: Doug Rabson cc: Bruce Evans , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/dev/ccd ccd.c src/sys/dev/vn vn.c src/sys/sys conf.h src/sys/i386/isa fd.c mcd.c scd.c wcd.c wd.c wt.c src/sys/i386/isa/matcd matcd.c src/sys/kern kern_conf.c src/sys/scsi cd.c od.c sd.c st.c In-reply-to: Your message of "Wed, 24 Jul 1996 18:00:37 BST." Date: Wed, 24 Jul 1996 22:59:48 +0200 Message-ID: <584.838241988@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> I sincerely belive it's time to get DEVFS kicked the next mile and get >> rid of this problem once and for all. >> >> Too bad about the crowd screaming for "persistence" in DEVFS :-( > >Then we should let Terry loose on the VFS interface as long as he promises >to fix the union filesystem. There should be enough functionality in >unionfs for most of the persistence needed as long as we implement >whiteouts. Terry is most welcome to submit patches/source. Last I talked with him he was supposed to upload his entire kernel-tree so >I< could try to make diffs we could use. Never heard where he put it though... -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Wed Jul 24 14:22:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA17320 for cvs-sys-outgoing; Wed, 24 Jul 1996 14:22:58 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA17286; Wed, 24 Jul 1996 14:22:40 -0700 (PDT) Date: Wed, 24 Jul 1996 14:22:40 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199607242122.OAA17286@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_subr.c src/sys/miscfs/devfs devfs_tree.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/07/24 14:22:39 Modified: sys/kern vfs_subr.c Log: DEVFS needs a special bdevvp(). Revision Changes Path 1.56 +3 -1 src/sys/kern/vfs_subr.c Modified: sys/miscfs/devfs devfs_tree.c Log: DEVFS needs a special bdevvp(). I just noticed some junk in my patch. I'll remove that in a sec. Revision Changes Path 1.26 +37 -1 src/sys/miscfs/devfs/devfs_tree.c From owner-cvs-sys Wed Jul 24 14:26:08 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA17596 for cvs-sys-outgoing; Wed, 24 Jul 1996 14:26:08 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA17574; Wed, 24 Jul 1996 14:25:53 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id XAA00840; Wed, 24 Jul 1996 23:25:54 +0200 (MET DST) To: CVS-committers@freebsd.org, cvsall@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_subr.c src/sys/miscfs/devfs devfs_tree.c In-reply-to: Your message of "Wed, 24 Jul 1996 14:22:40 PDT." <199607242122.OAA17286@freefall.freebsd.org> Date: Wed, 24 Jul 1996 23:25:54 +0200 Message-ID: <838.838243554@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199607242122.OAA17286@freefall.freebsd.org>, Poul-Henning Kamp writ es: >phk 96/07/24 14:22:39 > > Modified: sys/miscfs/devfs devfs_tree.c > Log: > DEVFS needs a special bdevvp(). > I just noticed some junk in my patch. I'll remove that in a sec. sorry, I was confused. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Wed Jul 24 16:45:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA25220 for cvs-sys-outgoing; Wed, 24 Jul 1996 16:45:35 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA25195; Wed, 24 Jul 1996 16:45:26 -0700 (PDT) Date: Wed, 24 Jul 1996 16:45:26 -0700 (PDT) From: Satoshi Asami Message-Id: <199607242345.QAA25195@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/ccd ccd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 96/07/24 16:45:26 Modified: sys/dev/ccd ccd.c Log: Fail when odd number of disks are specified with mirror flag. Memory leak fixes. Miscellaneous cleanup. Partially submitted by: Matt White Revision Changes Path 1.16 +36 -28 src/sys/dev/ccd/ccd.c From owner-cvs-sys Thu Jul 25 11:02:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA17151 for cvs-sys-outgoing; Thu, 25 Jul 1996 11:02:56 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA17117; Thu, 25 Jul 1996 11:02:42 -0700 (PDT) Date: Thu, 25 Jul 1996 11:02:42 -0700 (PDT) From: Garrett Wollman Message-Id: <199607251802.LAA17117@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys sysctl.h src/sys/kern kern_mib.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/07/25 11:02:41 Modified: sys/sys sysctl.h sys/kern kern_mib.c Log: Rename KERN_DOMAINNAME to KERN_NISDOMAINNAME so that it can't be confused with a real Domain Name. Suggested by: Keith Bostic Revision Changes Path 1.43 +3 -3 src/sys/sys/sysctl.h 1.2 +2 -2 src/sys/kern/kern_mib.c From owner-cvs-sys Fri Jul 26 06:47:52 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA27461 for cvs-sys-outgoing; Fri, 26 Jul 1996 06:47:52 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA27443; Fri, 26 Jul 1996 06:47:42 -0700 (PDT) Date: Fri, 26 Jul 1996 06:47:42 -0700 (PDT) From: Peter Wemm Message-Id: <199607261347.GAA27443@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa si.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/07/26 06:47:42 Modified: sys/i386/isa si.c Log: Apply a bandaid to a problem elsewhere in the driver, when the process is blocked in a write() while waiting for the output to drain, sleep only for tp->t_timeout, not forever. This only seems to happen when there is either a modem lockup holding the hardware flow control down, or due to some problem in the driver with processes attempting to write after the modem has hung up (eg: elm, tf). Revision Changes Path 1.48 +5 -2 src/sys/i386/isa/si.c From owner-cvs-sys Fri Jul 26 09:55:51 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA08296 for cvs-sys-outgoing; Fri, 26 Jul 1996 09:55:51 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA08274; Fri, 26 Jul 1996 09:55:39 -0700 (PDT) Date: Fri, 26 Jul 1996 09:55:39 -0700 (PDT) From: Peter Wemm Message-Id: <199607261655.JAA08274@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa si.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/07/26 09:55:39 Modified: sys/i386/isa si.c Log: ttysleep() can return EWOULDBLOCK, not ETIMEDOUT as the comment in tty.c suggests. Pointed out by: bde Revision Changes Path 1.49 +2 -2 src/sys/i386/isa/si.c From owner-cvs-sys Fri Jul 26 20:24:33 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04936 for cvs-sys-outgoing; Fri, 26 Jul 1996 20:24:33 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04916; Fri, 26 Jul 1996 20:24:14 -0700 (PDT) Date: Fri, 26 Jul 1996 20:24:14 -0700 (PDT) From: John Dyson Message-Id: <199607270324.UAA04916@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 src/sys/vm swap_pager.c vm_fault.c vm_map.c vm_map.h vm_mmap.c vm_object.c vm_page.c vm_page.h vm_pageout.c vnode_pager.c src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/26 20:24:13 Modified: sys/i386/i386 pmap.c sys/i386/include pmap.h sys/kern kern_exec.c kern_exit.c sys/vm swap_pager.c vm_fault.c vm_map.c vm_map.h vm_mmap.c vm_object.c vm_page.c vm_page.h vm_pageout.c vnode_pager.c Log: This commit is meant to solve a couple of VM system problems or performance issues. 1) The pmap module has had too many inlines, and so the object file is simply bigger than it needs to be. Some common code is also merged into subroutines. 2) Removal of some *evil* PHYS_TO_VM_PAGE macro calls. Unfortunately, a few have needed to be added also. The removal caused the need for more vm_page_lookups. I added lookup hints to minimize the need for the page table lookup operations. 3) Removal of some bogus performance improvements, that mostly made the code more complex (tracking individual page table page updates unnecessarily). Those improvements actually hurt 386 processors perf (not that people who worry about perf use 386 processors anymore :-)). 4) Changed pv queue manipulations/structures to be TAILQ's. 5) The pv queue code has had some performance problems since day one. Some significant scalability issues are resolved by threading the pv entries from the pmap AND the physical address instead of just the physical address. This makes certain pmap operations run much faster. This does not affect most micro-benchmarks, but should help loaded system performance *significantly*. DG helped and came up with most of the solution for this one. 6) Most if not all pmap bit operations follow the pattern: pmap_test_bit(); pmap_clear_bit(); That made for twice the necessary pv list traversal. The pmap interface now supports only pmap_tc_bit type operations: pmap_[test/clear]_modified, pmap_[test/clear]_referenced. Additionally, the modified routine now takes a vm_page_t arg instead of a phys address. This eliminates a PHYS_TO_VM_PAGE operation. 7) Several rewrites of routines that contain redundant code to use common routines, so that there is a greater likelihood of keeping the cache footprint smaller. Revision Changes Path 1.110 +426 -515 src/sys/i386/i386/pmap.c 1.41 +19 -6 src/sys/i386/include/pmap.h 1.45 +2 -2 src/sys/kern/kern_exec.c 1.34 +2 -3 src/sys/kern/kern_exit.c 1.69 +18 -11 src/sys/vm/swap_pager.c 1.54 +34 -27 src/sys/vm/vm_fault.c 1.53 +77 -68 src/sys/vm/vm_map.c 1.14 +2 -1 src/sys/vm/vm_map.h 1.45 +177 -27 src/sys/vm/vm_mmap.c 1.77 +4 -3 src/sys/vm/vm_object.c 1.61 +16 -33 src/sys/vm/vm_page.c 1.30 +5 -5 src/sys/vm/vm_page.h 1.83 +28 -30 src/sys/vm/vm_pageout.c 1.61 +4 -4 src/sys/vm/vnode_pager.c From owner-cvs-sys Fri Jul 26 20:47:54 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA05881 for cvs-sys-outgoing; Fri, 26 Jul 1996 20:47:54 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA05856; Fri, 26 Jul 1996 20:47:38 -0700 (PDT) Date: Fri, 26 Jul 1996 20:47:38 -0700 (PDT) From: John Dyson Message-Id: <199607270347.UAA05856@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm pmap.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/26 20:47:37 Modified: sys/vm pmap.h Log: Missing (prototype) change from the previous commit. Revision Changes Path 1.12 +2 -2 src/sys/vm/pmap.h From owner-cvs-sys Fri Jul 26 20:50:51 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA06050 for cvs-sys-outgoing; Fri, 26 Jul 1996 20:50:51 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA06032; Fri, 26 Jul 1996 20:50:35 -0700 (PDT) Date: Fri, 26 Jul 1996 20:50:35 -0700 (PDT) From: John Dyson Message-Id: <199607270350.UAA06032@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/07/26 20:50:34 Modified: sys/miscfs/specfs spec_vnops.c Log: Remove a totally unneeded (and as of the last VM commit, incorrect) call to pmap_clear_modify. Revision Changes Path 1.30 +1 -2 src/sys/miscfs/specfs/spec_vnops.c From owner-cvs-sys Fri Jul 26 21:06:36 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA06535 for cvs-sys-outgoing; Fri, 26 Jul 1996 21:06:36 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA06517; Fri, 26 Jul 1996 21:06:19 -0700 (PDT) Date: Fri, 26 Jul 1996 21:06:19 -0700 (PDT) From: John Dyson Message-Id: <199607270406.VAA06517@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_mmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/26 21:06:15 Modified: sys/vm vm_mmap.c Log: Remove experimental header file. My test-build must have picked it up in an unexpected place. Submitted by: jkh Revision Changes Path 1.46 +3 -1 src/sys/vm/vm_mmap.c From owner-cvs-sys Fri Jul 26 21:22:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA07332 for cvs-sys-outgoing; Fri, 26 Jul 1996 21:22:23 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA07313; Fri, 26 Jul 1996 21:22:15 -0700 (PDT) Date: Fri, 26 Jul 1996 21:22:15 -0700 (PDT) From: John Dyson Message-Id: <199607270422.VAA07313@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm pmap.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/26 21:22:15 Modified: sys/vm pmap.h Log: Clean up some lint. Revision Changes Path 1.13 +3 -3 src/sys/vm/pmap.h From owner-cvs-sys Sat Jul 27 04:44:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA03138 for cvs-sys-outgoing; Sat, 27 Jul 1996 04:44:09 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA03075; Sat, 27 Jul 1996 04:43:37 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id NAA21486; Sat, 27 Jul 1996 13:43:32 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA27392; Sat, 27 Jul 1996 13:43:32 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id LAA29167; Sat, 27 Jul 1996 11:34:24 +0200 (MET DST) From: J Wunsch Message-Id: <199607270934.LAA29167@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/i386/isa si.c To: peter@freefall.freebsd.org (Peter Wemm) Date: Sat, 27 Jul 1996 11:34:24 +0200 (MET DST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199607261655.JAA08274@freefall.freebsd.org> from Peter Wemm at "Jul 26, 96 09:55:39 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E 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 As Peter Wemm wrote: > Modified: sys/i386/isa si.c > Log: > ttysleep() can return EWOULDBLOCK, not ETIMEDOUT as the comment in tty.c > suggests. Now that you know it, how about writing tty(9)? ;-) I volunteer to assist anybody who wants to write a man page for some kernel interface but is not used to the -mdoc macro package. Simply drop me the input text, and i will make it into a man page. We simply need a more complete documentation of kernel-internal but ``approved to be used'' interfaces. I would love to see a reasonably complete section 9 of the manual shipping with FreeBSD 2.2. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-sys Sat Jul 27 05:40:39 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05658 for cvs-sys-outgoing; Sat, 27 Jul 1996 05:40:39 -0700 (PDT) Received: (from amurai@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05643; Sat, 27 Jul 1996 05:40:33 -0700 (PDT) Date: Sat, 27 Jul 1996 05:40:33 -0700 (PDT) From: Atsushi Murai Message-Id: <199607271240.FAA05643@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa if_ep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk amurai 96/07/27 05:40:33 Modified: sys/i386/isa if_ep.c Log: Under the heavy load for transmiting condition, it will be write error and then never accept for sending packet from upper layer anymore (i.e. ping -f ) Reviewed by: David Greenman Submitted by: amurai@spec.co.jp Revision Changes Path 1.52 +2 -2 src/sys/i386/isa/if_ep.c From owner-cvs-sys Sat Jul 27 10:21:55 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA21862 for cvs-sys-outgoing; Sat, 27 Jul 1996 10:21:55 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA21824; Sat, 27 Jul 1996 10:21:43 -0700 (PDT) Date: Sat, 27 Jul 1996 10:21:43 -0700 (PDT) From: John Dyson Message-Id: <199607271721.KAA21824@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_mmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/27 10:21:43 Modified: sys/vm vm_mmap.c Log: Allow sequentially created mmap'ed anonymous regions to coalesce. There is little or no reason to create a swap pager for small mmap's. The vm_map_insert code will automatically create a swap pager if the object becomes too large. This fix, per a request from phk. Revision Changes Path 1.47 +33 -23 src/sys/vm/vm_mmap.c From owner-cvs-sys Sat Jul 27 11:28:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA24181 for cvs-sys-outgoing; Sat, 27 Jul 1996 11:28:25 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA24133; Sat, 27 Jul 1996 11:28:12 -0700 (PDT) Date: Sat, 27 Jul 1996 11:28:12 -0700 (PDT) From: John Dyson Message-Id: <199607271828.LAA24133@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/procfs procfs_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/27 11:28:11 Modified: sys/miscfs/procfs procfs_map.c Log: Under certain circumstances, reading the /proc/*/map file can crash the system. Nonexistant objects were not handled correctly. Revision Changes Path 1.3 +5 -2 src/sys/miscfs/procfs/procfs_map.c From owner-cvs-sys Sat Jul 27 11:49:31 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA25188 for cvs-sys-outgoing; Sat, 27 Jul 1996 11:49:31 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA25153; Sat, 27 Jul 1996 11:49:20 -0700 (PDT) Date: Sat, 27 Jul 1996 11:49:20 -0700 (PDT) From: John Dyson Message-Id: <199607271849.LAA25153@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_cluster.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/27 11:49:20 Modified: sys/kern vfs_cluster.c Log: Modification to vfs_cluster to allow clustering of NFS delayed writes. Submitted by: Doug Rabson Revision Changes Path 1.37 +14 -3 src/sys/kern/vfs_cluster.c From owner-cvs-sys Sat Jul 27 12:01:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA26037 for cvs-sys-outgoing; Sat, 27 Jul 1996 12:01:23 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA26010; Sat, 27 Jul 1996 12:01:12 -0700 (PDT) Date: Sat, 27 Jul 1996 12:01:12 -0700 (PDT) From: John Dyson Message-Id: <199607271901.MAA26010@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa wd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/27 12:01:11 Modified: sys/i386/isa wd.c Log: Move a couple of the initialization commands to the right place. Multi sector mode was not getting re-initialized when needed. Revision Changes Path 1.113 +24 -28 src/sys/i386/isa/wd.c From owner-cvs-sys Sat Jul 27 12:47:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA28695 for cvs-sys-outgoing; Sat, 27 Jul 1996 12:47:14 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA28675; Sat, 27 Jul 1996 12:47:05 -0700 (PDT) Date: Sat, 27 Jul 1996 12:47:05 -0700 (PDT) From: John Dyson Message-Id: <199607271947.MAA28675@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/procfs procfs_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/27 12:47:05 Modified: sys/miscfs/procfs procfs_map.c Log: Modify slightly the output from the map file in /proc. Now the executable bit is shown. Revision Changes Path 1.4 +4 -2 src/sys/miscfs/procfs/procfs_map.c From owner-cvs-sys Sat Jul 27 18:14:49 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA16758 for cvs-sys-outgoing; Sat, 27 Jul 1996 18:14:49 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA16737; Sat, 27 Jul 1996 18:14:03 -0700 (PDT) Date: Sat, 27 Jul 1996 18:14:03 -0700 (PDT) From: John Dyson Message-Id: <199607280114.SAA16737@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_fault.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/07/27 18:14:02 Modified: sys/vm vm_fault.c Log: Undo part of the scalability commit. Many of the changes in vm_fault had some performance enhancements not ready for prime time. This commit backs out some of the changes. Revision Changes Path 1.55 +15 -29 src/sys/vm/vm_fault.c From owner-cvs-sys Sat Jul 27 19:54:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA22123 for cvs-sys-outgoing; Sat, 27 Jul 1996 19:54:25 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA22078; Sat, 27 Jul 1996 19:54:13 -0700 (PDT) Date: Sat, 27 Jul 1996 19:54:13 -0700 (PDT) From: David Greenman Message-Id: <199607280254.TAA22078@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_mmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/07/27 19:54:13 Modified: sys/vm vm_mmap.c Log: Slight performance tweak for previous commit. Revision Changes Path 1.48 +3 -2 src/sys/vm/vm_mmap.c