From owner-cvs-sys Sun Nov 5 01:37:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA25583 for cvs-sys-outgoing; Sun, 5 Nov 1995 01:37:42 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA25571 ; Sun, 5 Nov 1995 01:37:31 -0800 Date: Sun, 5 Nov 1995 01:37:31 -0800 From: Peter Wemm Message-Id: <199511050937.BAA25571@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys conf.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/11/05 01:37:30 Modified: sys/sys conf.h Log: Workaround for conflicting kernel prototypes in user mode breaking make world I've moved the #include inside the #ifdef KERNEL becuause things like modload #include for the cdevsw definitions but dont need the conflicting prototype for fdopen in stdio.h and machine/conf.h. Bruce may have a better fix for this, but for now I need a make world.. From owner-cvs-sys Sun Nov 5 09:03:06 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA06623 for cvs-sys-outgoing; Sun, 5 Nov 1995 09:03:06 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA06614 ; Sun, 5 Nov 1995 09:02:58 -0800 Date: Sun, 5 Nov 1995 09:02:58 -0800 From: "Justin T. Gibbs" Message-Id: <199511051702.JAA06614@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC LINT Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/05 09:02:56 Modified: sys/i386/conf GENERIC LINT Log: Add eisa0 and remove ISA configuration line for ahc0. From owner-cvs-sys Sun Nov 5 10:09:56 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA07875 for cvs-sys-outgoing; Sun, 5 Nov 1995 10:09:56 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA07841 ; Sun, 5 Nov 1995 10:09:39 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA24903; Sun, 5 Nov 1995 19:09:30 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id TAA16574; Sun, 5 Nov 1995 19:09:29 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id RAA26332; Sun, 5 Nov 1995 17:45:36 +0100 From: J Wunsch Message-Id: <199511051645.RAA26332@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/sys conf.h To: peter@freefall.freebsd.org (Peter Wemm) Date: Sun, 5 Nov 1995 17:45:36 +0100 (MET) Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511050937.BAA25571@freefall.freebsd.org> from "Peter Wemm" at Nov 5, 95 01:37:31 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1083 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk As Peter Wemm wrote: > Workaround for conflicting kernel prototypes in user mode breaking make world There's yet another conflicting definition around: struct pmap is defined twice in a totally different context. Inside the kernel (and some kernel-spoofing utilities), it's describing a page map structure. In userland, it's the name of a structure related to the portmapper however. This one will become a real problem once lint is fully on-line. The C library is not lintable by now. I've attempted to work around this by introducing a `pmap_t' as an alias for the kernel `struct pmap', but while this made lint happy, it caused me grief with libkvm -- this turned out to be the reason for my question about ``proc size mismatch'' for programs like ps(1) etc. I think the cleanest solution would be renaming the kernel structure (e.g. to ``struct pagemap''), but i don't have an idea how much work this will be. -- 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 Sun Nov 5 10:47:34 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA08924 for cvs-sys-outgoing; Sun, 5 Nov 1995 10:47:34 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id KAA08917 ; Sun, 5 Nov 1995 10:47:28 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id FAA11281; Mon, 6 Nov 1995 05:45:08 +1100 Date: Mon, 6 Nov 1995 05:45:08 +1100 From: Bruce Evans Message-Id: <199511051845.FAA11281@godzilla.zeta.org.au> To: j@uriah.heep.sax.de, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/sys conf.h Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >There's yet another conflicting definition around: struct pmap is >defined twice in a totally different context. Inside the kernel (and >... >I've attempted to work around this by introducing a `pmap_t' as an >alias for the kernel `struct pmap', but while this made lint happy, it >caused me grief with libkvm -- this turned out to be the reason for my >question about ``proc size mismatch'' for programs like ps(1) etc. There's already a pmap_t (typedef struct pmap *pmap_t). I dislike using typedefs for structs and pointers. Bruce From owner-cvs-sys Sun Nov 5 12:26:09 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA13402 for cvs-sys-outgoing; Sun, 5 Nov 1995 12:26:09 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA13390 ; Sun, 5 Nov 1995 12:26:00 -0800 Date: Sun, 5 Nov 1995 12:26:00 -0800 From: Bruce Evans Message-Id: <199511052026.MAA13390@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys conf.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/05 12:26:00 Modified: sys/kern tty_conf.c sys/net if_sl.c sys/sys conf.h Log: Replaced bogus macros for entry points to unconfigured line disciplines by functions. tty_conf.c: Cleaned up formatting of tables. Removed another ARGSUSED for consistency. conf.h: Introduced typedefs for line discipline functions. Backed out most of previous revision (it is done elsewhere). From owner-cvs-sys Sun Nov 5 12:46:12 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA13961 for cvs-sys-outgoing; Sun, 5 Nov 1995 12:46:12 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA13952 ; Sun, 5 Nov 1995 12:46:04 -0800 Date: Sun, 5 Nov 1995 12:46:04 -0800 From: John Dyson Message-Id: <199511052046.MAA13952@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_fault.c vm_glue.c vm_object.c vm_object.h vm_pageout.c vm_pageout.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/05 12:46:04 Modified: sys/kern vfs_bio.c sys/vm vm_fault.c vm_glue.c vm_object.c vm_object.h vm_pageout.c vm_pageout.h Log: Greatly simplify the msync code. Eliminate complications in vm_pageout for msyncing. Remove a bug that manifests itself primarily on NFS (the dirty range on the buffers is not set on msync.) From owner-cvs-sys Sun Nov 5 13:01:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA14276 for cvs-sys-outgoing; Sun, 5 Nov 1995 13:01:27 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA14263 ; Sun, 5 Nov 1995 13:01:17 -0800 Date: Sun, 5 Nov 1995 13:01:17 -0800 From: John Dyson Message-Id: <199511052101.NAA14263@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/ffs ffs_inode.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/05 13:01:17 Modified: sys/kern vfs_syscalls.c sys/ufs/ufs ufs_readwrite.c sys/ufs/ffs ffs_inode.c Log: Make MNT_ASYNC more effective for UFS. It should not be too much more dangerous than the original MNT_ASYNC. There might be some minor security considerations due to data writes not being posted as promptly as before. Meta-data operations are still not quite as fast as Linux, but streaming I/O is still higher. From owner-cvs-sys Sun Nov 5 15:07:51 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA19640 for cvs-sys-outgoing; Sun, 5 Nov 1995 15:07:51 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA19629 ; Sun, 5 Nov 1995 15:07:43 -0800 Date: Sun, 5 Nov 1995 15:07:43 -0800 From: John Dyson Message-Id: <199511052307.PAA19629@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/ufs ufs_bmap.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/05 15:07:41 Modified: sys/ufs/ufs ufs_bmap.c Log: Fix ufs_bmap so that triple indirect blocks might work. Submitted by: Godmar Back From owner-cvs-sys Sun Nov 5 15:25:22 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA21668 for cvs-sys-outgoing; Sun, 5 Nov 1995 15:25:22 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA21653 ; Sun, 5 Nov 1995 15:25:13 -0800 Date: Sun, 5 Nov 1995 15:25:13 -0800 From: John Dyson Message-Id: <199511052325.PAA21653@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs COPYRIGHT.INFO ext2_alloc.c ext2_balloc.c ext2_extern.h ext2_fs.h ext2_fs_i.h ext2_fs_sb.h ext2_inode.c ext2_inode_cnv.c ext2_linux_balloc.c ext2_linux_ialloc.c ext2_lookup.c ext2_readwrite.c ext2_subr.c ext2_vfsops.c ext2_vnops.c fs.h i386-bitops.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/05 15:25:13 Added: sys/gnu/ext2fs COPYRIGHT.INFO ext2_alloc.c ext2_balloc.c ext2_extern.h ext2_fs.h ext2_fs_i.h ext2_fs_sb.h ext2_inode.c ext2_inode_cnv.c ext2_linux_balloc.c ext2_linux_ialloc.c ext2_lookup.c ext2_readwrite.c ext2_subr.c ext2_vfsops.c ext2_vnops.c fs.h i386-bitops.h Log: Main code for the ext2fs filesystem. Please refer to the COPYRIGHT.INFO file for GPL restrictions. This code was ported to the BSD platform by Godmar Back and specifically to FreeBSD by John Dyson. This code is still green and should be used with caution. Additional changes to UFS necessary to make this code work will be commited seperately. Submitted by: Godmar Back Obtained from: Lites/Mach4 From owner-cvs-sys Sun Nov 5 15:36:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA22394 for cvs-sys-outgoing; Sun, 5 Nov 1995 15:36:15 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA22385 ; Sun, 5 Nov 1995 15:36:10 -0800 Date: Sun, 5 Nov 1995 15:36:10 -0800 From: John Dyson Message-Id: <199511052336.PAA22385@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys mount.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/05 15:36:09 Modified: sys/conf files sys/ufs/ufs inode.h ufs_inode.c ufs_vnops.c ufsmount.h sys/sys mount.h Log: Changes to existing files for ext2fs support. The UFS mods need rework in the future as they are a bit crufty -- but at least the stuff is in the tree now. From owner-cvs-sys Sun Nov 5 16:36:25 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA24578 for cvs-sys-outgoing; Sun, 5 Nov 1995 16:36:25 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA24567 ; Sun, 5 Nov 1995 16:36:20 -0800 Date: Sun, 5 Nov 1995 16:36:20 -0800 From: Bruce Evans Message-Id: <199511060036.QAA24567@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm device_pager.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/05 16:36:19 Modified: sys/i386/i386 conf.c sys/kern kern_lkm.c subr_xxx.c sys/net if_tun.c sys/nfs nfs_vnops.c nfsnode.h sys/scsi su.c sys/sys conf.h sys/vm device_pager.c Log: Replaced bogus macros for dummy devswitch entries by functions. These functions went away: enosys (hasn't been used for some time) enxio enodev enoioctl (was used only once, actually for a vop) if_tun.c: Continued cleaning up... conf.h: Probably fixed the type of d_reset_t. It is hard to tell the correct type because there are no non-dummy device reset functions. Removed last vestige of ambiguous sleep message strings. From owner-cvs-sys Sun Nov 5 19:21:50 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA29004 for cvs-sys-outgoing; Sun, 5 Nov 1995 19:21:50 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA28992 ; Sun, 5 Nov 1995 19:21:44 -0800 Date: Sun, 5 Nov 1995 19:21:44 -0800 From: John Dyson Message-Id: <199511060321.TAA28992@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/ufs ufs_lookup.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/05 19:21:43 Modified: sys/ufs/ufs ufs_lookup.c Log: This commit causes UFS to perform at Linux EXT2FS metadata rates. After earlier discussions with DG, and a recent email exchange with SEF, I decided to allow UFS to run wide-open on an experimental basis. We will probably support eventually multiple async modes, and this is the fastest the we can expect. Just use the -o async flag on the UFS mount. Good luck... From owner-cvs-sys Sun Nov 5 20:05:32 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA00427 for cvs-sys-outgoing; Sun, 5 Nov 1995 20:05:32 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA00405 ; Sun, 5 Nov 1995 20:05:05 -0800 Date: Sun, 5 Nov 1995 20:05:05 -0800 From: John Dyson Message-Id: <199511060405.UAA00405@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs ext2_vnops.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/05 20:05:04 Modified: sys/gnu/ext2fs ext2_vnops.c Log: Omitted a '#if FIFO' in ext2_vnops.c Submitted by: Justin Gibbs From owner-cvs-sys Sun Nov 5 21:21:28 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA06552 for cvs-sys-outgoing; Sun, 5 Nov 1995 21:21:28 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA06538 ; Sun, 5 Nov 1995 21:21:17 -0800 Date: Sun, 5 Nov 1995 21:21:17 -0800 From: "Justin T. Gibbs" Message-Id: <199511060521.VAA06538@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/05 21:21:16 Modified: sys/i386/eisa eisaconf.c eisaconf.h Log: Probe all slots even if an EISA main board isn't found. This catches cards like the Adaptec 284x that use EISA ID registers for identification even when in stalled in non-EISA systems. Use one format throught the files. -Wall fixes. Modified: sys/i386/scsi aic7xxx.c Log: -Wall fixes. From owner-cvs-sys Mon Nov 6 00:19:31 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA13162 for cvs-sys-outgoing; Mon, 6 Nov 1995 00:19:31 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA13144 ; Mon, 6 Nov 1995 00:19:26 -0800 Date: Mon, 6 Nov 1995 00:19:26 -0800 From: David Greenman Message-Id: <199511060819.AAA13144@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi sd.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/06 00:19:25 Modified: sys/scsi sd.c Log: Initialize the 3 remaining elements of the scsi_cmd struct rather than bzeroing the whole thing in sdstart(). From owner-cvs-sys Mon Nov 6 00:44:23 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA13940 for cvs-sys-outgoing; Mon, 6 Nov 1995 00:44:23 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA13931 ; Mon, 6 Nov 1995 00:44:17 -0800 Date: Mon, 6 Nov 1995 00:44:17 -0800 From: David Greenman Message-Id: <199511060844.AAA13931@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm kern_lock.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/06 00:44:16 Modified: sys/vm kern_lock.c Log: Initialize lock struct entries explicitly rather than calling bzero(). From owner-cvs-sys Mon Nov 6 04:52:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA24290 for cvs-sys-outgoing; Mon, 6 Nov 1995 04:52:42 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA24281 ; Mon, 6 Nov 1995 04:52:38 -0800 Date: Mon, 6 Nov 1995 04:52:38 -0800 From: David Greenman Message-Id: <199511061252.EAA24281@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys imgact.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/06 04:52:38 Modified: sys/i386/ibcs2 imgact_coff.c sys/i386/linux imgact_linux.c linux_misc.c linux_sysent.c sys/kern imgact_aout.c imgact_gzip.c imgact_shell.c kern_exec.c sys/sys imgact.h Log: All: Changed vnodep -> vp for consistency with the rest of the kernel, and changed iparams -> imgp for brevity. kern_exec.c: Explicitly initialized some additional parts of the image_params struct to avoid bzeroing it. Rewrote the set-id code to reduce the number of logical tests. The rewrite exposed a mostly benign bug in the algorithm: traced set-id images would get ktracing disabled even if the set-id didn't happen for other reasons. From owner-cvs-sys Mon Nov 6 07:13:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA27862 for cvs-sys-outgoing; Mon, 6 Nov 1995 07:13:15 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA27662 ; Mon, 6 Nov 1995 07:08:43 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id QAA07758; Mon, 6 Nov 1995 16:08:09 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id QAA25592; Mon, 6 Nov 1995 16:08:09 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id OAA20554; Mon, 6 Nov 1995 14:50:31 +0100 From: J Wunsch Message-Id: <199511061350.OAA20554@uriah.heep.sax.de> Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c To: dyson@freefall.freebsd.org (John Dyson) Date: Mon, 6 Nov 1995 14:50:30 +0100 (MET) Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511060321.TAA28992@freefall.freebsd.org> from "John Dyson" at Nov 5, 95 07:21:44 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 470 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk As John Dyson wrote: > > dyson 95/11/05 19:21:43 > > Modified: sys/ufs/ufs ufs_lookup.c > Log: > This commit causes UFS to perform at Linux EXT2FS metadata rates. > ... Just use the -o async flag on the > UFS mount. Good luck... Great! I will stress-test this on my /tmp partition! -- 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 Mon Nov 6 07:51:31 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA29261 for cvs-sys-outgoing; Mon, 6 Nov 1995 07:51:31 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id HAA29244 ; Mon, 6 Nov 1995 07:51:10 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id CAA22468; Tue, 7 Nov 1995 02:50:50 +1100 Date: Tue, 7 Nov 1995 02:50:50 +1100 From: Bruce Evans Message-Id: <199511061550.CAA22468@godzilla.zeta.org.au> To: dyson@freefall.freebsd.org, j@uriah.heep.sax.de Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >> Modified: sys/ufs/ufs ufs_lookup.c >> Log: >> This commit causes UFS to perform at Linux EXT2FS metadata rates. >> ... Just use the -o async flag on the >> UFS mount. Good luck... >Great! >I will stress-test this on my /tmp partition! I think the MNT_ASYNC check in ffs_update() goes too far. It stops timestamps (and perhaps more important things) from being written immediately even for sync() and fsync(). Bruce From owner-cvs-sys Mon Nov 6 08:04:00 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA29759 for cvs-sys-outgoing; Mon, 6 Nov 1995 08:04:00 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA29740 ; Mon, 6 Nov 1995 08:03:40 -0800 From: John Dyson Message-Id: <199511061603.IAA29740@freefall.freebsd.org> Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c To: bde@zeta.org.au (Bruce Evans) Date: Mon, 6 Nov 1995 08:03:38 -0800 (PST) Cc: j@uriah.heep.sax.de, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199511061550.CAA22468@godzilla.zeta.org.au> from "Bruce Evans" at Nov 7, 95 02:50:50 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 998 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk > > >> Modified: sys/ufs/ufs ufs_lookup.c > >> Log: > >> This commit causes UFS to perform at Linux EXT2FS metadata rates. > >> ... Just use the -o async flag on the > >> UFS mount. Good luck... > > >Great! > > >I will stress-test this on my /tmp partition! > > I think the MNT_ASYNC check in ffs_update() goes too far. It stops > timestamps (and perhaps more important things) from being written > immediately even for sync() and fsync(). > > Bruce > The sync system call (and the update daemone) works correctly because the MNT_ASYNC flag is temporarily cleared. You argument for fsync is more valid though, and will be corrected very soon. Actually, I am considering supporting a couple of levels of asynchness, a "safe" one that just helps speed things up with little risk, and a really fast "no holds barred" one like Linux. Perhaps the "safe" one will do meta-data updates every second or so, and the unsafe one will work like it does now?? John dyson@freebsd.org From owner-cvs-sys Mon Nov 6 08:13:29 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA00280 for cvs-sys-outgoing; Mon, 6 Nov 1995 08:13:29 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA00272 ; Mon, 6 Nov 1995 08:13:13 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id AAA07056; Tue, 7 Nov 1995 00:12:58 +0800 Date: Tue, 7 Nov 1995 00:12:57 +0800 (WST) From: Peter Wemm To: Bruce Evans cc: dyson@freefall.freebsd.org, j@uriah.heep.sax.de, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c In-Reply-To: <199511061550.CAA22468@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Tue, 7 Nov 1995, Bruce Evans wrote: > >> Modified: sys/ufs/ufs ufs_lookup.c > >> Log: > >> This commit causes UFS to perform at Linux EXT2FS metadata rates. > >> ... Just use the -o async flag on the > >> UFS mount. Good luck... > > >Great! > > >I will stress-test this on my /tmp partition! > > I think the MNT_ASYNC check in ffs_update() goes too far. It stops > timestamps (and perhaps more important things) from being written > immediately even for sync() and fsync(). > > Bruce Hmm. When I was looking over it, I was wondering if it was going to affect things like sync-on-unmount? Also, it seems to hit the open("file", ... | O_SYNC) as well. Perhaps VOP_UPDATE needs to have it's fourth arg changed from a boolean to an enumeration? 0 = dontwait, 1 = sync_unless_MNT_ASYNC, 2 = sync_I_MEAN_IT (you get the idea.. :-) Cheers, -Peter From owner-cvs-sys Mon Nov 6 08:19:13 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA00531 for cvs-sys-outgoing; Mon, 6 Nov 1995 08:19:13 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA00513 ; Mon, 6 Nov 1995 08:18:56 -0800 Date: Mon, 6 Nov 1995 08:18:56 -0800 From: Poul-Henning Kamp Message-Id: <199511061618.IAA00513@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_sysctl.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/06 08:18:54 Modified: sys/sys sysctl.h sys/kern kern_sysctl.c Log: On working the new sysctl vars a bit I realized that I needed more generality. This is here now. We can now access (the new) sysctl variables from the kernel too and using functions to handle access is more sane now. I will now attack sysctl variables in the rest of the kernel and get them all converted to newspeak. From owner-cvs-sys Mon Nov 6 09:21:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA03358 for cvs-sys-outgoing; Mon, 6 Nov 1995 09:21:42 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA03345 ; Mon, 6 Nov 1995 09:21:26 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA25085; Tue, 7 Nov 1995 04:19:25 +1100 Date: Tue, 7 Nov 1995 04:19:25 +1100 From: Bruce Evans Message-Id: <199511061719.EAA25085@godzilla.zeta.org.au> To: bde@zeta.org.au, dyson@freefall.freebsd.org Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, j@uriah.heep.sax.de Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >The sync system call (and the update daemone) works correctly >because the MNT_ASYNC flag is >temporarily cleared. You argument for fsync is more valid though, and Not good. The flag is per file system so all operations on the file system currently being synced are slowed down. >Actually, I am considering supporting a couple of levels of asynchness, >a "safe" one that just helps speed things up with little risk, and >a really fast "no holds barred" one like Linux. Perhaps the "safe" one >will do meta-data updates every second or so, and the unsafe one will work >like it does now?? I'd prefer [meta-]data updates based on synchronization points - try not to update for half completed operations. Bruce From owner-cvs-sys Mon Nov 6 10:09:09 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA05396 for cvs-sys-outgoing; Mon, 6 Nov 1995 10:09:09 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA05378 ; Mon, 6 Nov 1995 10:08:57 -0800 From: John Dyson Message-Id: <199511061808.KAA05378@freefall.freebsd.org> Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c To: bde@zeta.org.au (Bruce Evans) Date: Mon, 6 Nov 1995 10:08:56 -0800 (PST) Cc: bde@zeta.org.au, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, j@uriah.heep.sax.de In-Reply-To: <199511061719.EAA25085@godzilla.zeta.org.au> from "Bruce Evans" at Nov 7, 95 04:19:25 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 926 Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk > > >The sync system call (and the update daemon) works correctly > >because the MNT_ASYNC flag is > >temporarily cleared. You argument for fsync is more valid though, and > > Not good. The flag is per file system so all operations on the file system > currently being synced are slowed down. > Problem is that it is what the 4.4Lite code originally did. It should be easy to fix. However, the performance is pretty good. BTW, you mean if we do it correctly, other operations on the filesystem being synced are NOT going to be slowed down???? :-). I have a suggestion, specify what you would like, and we'll discuss it. I don't like playing guessing games as to what people THINK is the right approach. The current method is very low overhead and very simple. I will help the problem of fsync and sync through a method that does not use MNT_ASYNC. Just let me know what you would like!!! John dyson@freebsd.org From owner-cvs-sys Mon Nov 6 21:10:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA03157 for cvs-sys-outgoing; Mon, 6 Nov 1995 21:10:03 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA03138 ; Mon, 6 Nov 1995 21:09:49 -0800 Date: Mon, 6 Nov 1995 21:09:49 -0800 From: John Dyson Message-Id: <199511070509.VAA03138@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/06 21:09:46 Modified: sys/kern vfs_subr.c Log: This is a modification missed by me in the msync fixes a few days ago. From owner-cvs-sys Mon Nov 6 21:33:46 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA04004 for cvs-sys-outgoing; Mon, 6 Nov 1995 21:33:46 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA03989 ; Mon, 6 Nov 1995 21:33:33 -0800 Date: Mon, 6 Nov 1995 21:33:33 -0800 From: "Justin T. Gibbs" Message-Id: <199511070533.VAA03989@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/06 21:33:30 Modified: sys/dev/aic7xxx aic7xxx.seq Log: Fix the long dreaded Wide bug and enable WIDEODD for reads. Modified: sys/i386/scsi aic7xxx.c Log: Properly print out the chip type again. ahc_init really needs a rewrite. Modified: sys/pci aic7870.c Log: Remove uneccessary increment of the unit number. From owner-cvs-sys Mon Nov 6 21:35:31 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA04133 for cvs-sys-outgoing; Mon, 6 Nov 1995 21:35:31 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA04096 ; Mon, 6 Nov 1995 21:34:55 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id AAA07161; Tue, 7 Nov 1995 00:47:18 +0800 Date: Tue, 7 Nov 1995 00:47:18 +0800 (WST) From: Peter Wemm To: Poul-Henning Kamp cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c In-Reply-To: <199511061618.IAA00513@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk On Mon, 6 Nov 1995, Poul-Henning Kamp wrote: > phk 95/11/06 08:18:54 > > Modified: sys/sys sysctl.h > sys/kern kern_sysctl.c > Log: > On working the new sysctl vars a bit I realized that I needed more generality. > This is here now. We can now access (the new) sysctl variables from the > kernel too and using functions to handle access is more sane now. > I will now attack sysctl variables in the rest of the kernel and get them > all converted to newspeak. Umm, I've not been following your sysctl() work closely, and indeed I'm not too fresh on sysctl in general these days, but does sysctl(8) automatically adapt to new entries being added into the kernel? It's all done with linker_sets, right? Is there any chance of getting the system to automatically catalog all the sysctl's? for example, 'sysctl vm' only returns one entry now; vm.loadavg. Would it make sense for there to be a sysctl entry point per level that gave a catalog of all the other sysctl names at that level? Then sysctl(8) could ask for all the names at the "vm" level, and print "unknown structure returned" if appropriate, or integers/etc when it gets them. Of course, I dont really know what I'm talking about.. :-) If I'm speaking shit, please inform me politely.. :-) If this is what you're working towards, I'll apologise and shut up.. :-) Cheers, -Peter From owner-cvs-sys Mon Nov 6 23:01:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA05889 for cvs-sys-outgoing; Mon, 6 Nov 1995 23:01:16 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA05879 ; Mon, 6 Nov 1995 23:01:07 -0800 Date: Mon, 6 Nov 1995 23:01:07 -0800 From: "Justin T. Gibbs" Message-Id: <199511070701.XAA05879@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/06 23:01:06 Modified: sys/i386/scsi aic7xxx.c Log: Fix typo in QUEUE_FULL_SUPPORTED section. Submitted by: Satoshi Asami From owner-cvs-sys Mon Nov 6 23:01:54 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA05942 for cvs-sys-outgoing; Mon, 6 Nov 1995 23:01:54 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA05931 ; Mon, 6 Nov 1995 23:01:52 -0800 Date: Mon, 6 Nov 1995 23:01:52 -0800 From: David Greenman Message-Id: <199511070701.XAA05931@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/06 23:01:52 Branch: sys/dev/aic7xxx RELENG_2_1_0 Modified: sys/dev/aic7xxx aic7xxx.seq Log: Brought in fixes from rev 1.24: fix data corruption with wide drives. From owner-cvs-sys Tue Nov 7 04:05:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA15900 for cvs-sys-outgoing; Tue, 7 Nov 1995 04:05:16 -0800 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id EAA15878 ; Tue, 7 Nov 1995 04:05:02 -0800 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0tCmlp-0003w4C; Tue, 7 Nov 95 04:04 PST Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id MAA02815; Tue, 7 Nov 1995 12:23:40 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: Peter Wemm cc: Poul-Henning Kamp , CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c In-reply-to: Your message of "Tue, 07 Nov 1995 00:47:18 +0800." Date: Tue, 07 Nov 1995 12:23:39 +0100 Message-ID: <2813.815743419@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk Well my goals are in no particular order: Allow dynamic creation of sysctl vars for lkms &c Implement a getnext a'la SNMP Implement a sysctl editor a'la userconfig. I belive that answers your question ? If not let me know. If you have nothing to do (ha!) tell me, and you can do some of it... -- 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 Tue Nov 7 05:39:53 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA18561 for cvs-sys-outgoing; Tue, 7 Nov 1995 05:39:53 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA18542 ; Tue, 7 Nov 1995 05:39:33 -0800 Date: Tue, 7 Nov 1995 05:39:33 -0800 From: Poul-Henning Kamp Message-Id: <199511071339.FAA18542@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/miscfs/procfs procfs.h procfs_vfsops.c procfs_vnops.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/07 05:39:32 Modified: sys/miscfs/fdesc fdesc_vfsops.c fdesc_vnops.c sys/miscfs/procfs procfs.h procfs_vfsops.c procfs_vnops.c Log: Make a lot of private stuff static. Should anybody out there wonder about this vendetta against global variables, it is basically to make it more visible what our interfaces in the kernel really are. I'm almost convinced we should have a #define PUBLIC /* public interface */ and use it in the #includes... From owner-cvs-sys Tue Nov 7 06:06:54 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA19292 for cvs-sys-outgoing; Tue, 7 Nov 1995 06:06:54 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA19277 ; Tue, 7 Nov 1995 06:06:48 -0800 Date: Tue, 7 Nov 1995 06:06:48 -0800 From: Poul-Henning Kamp Message-Id: <199511071406.GAA19277@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/msdosfs fat.h msdosfs_conv.c msdosfs_fat.c msdosfs_lookup.c msdosfs_vfsops.c msdosfsmount.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/07 06:06:47 Modified: sys/msdosfs fat.h msdosfs_conv.c msdosfs_fat.c msdosfs_lookup.c msdosfs_vfsops.c msdosfsmount.h Log: staticize private parts. From owner-cvs-sys Tue Nov 7 06:10:33 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA19434 for cvs-sys-outgoing; Tue, 7 Nov 1995 06:10:33 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA19423 ; Tue, 7 Nov 1995 06:10:22 -0800 Date: Tue, 7 Nov 1995 06:10:22 -0800 From: Poul-Henning Kamp Message-Id: <199511071410.GAA19423@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/msdosfs msdosfs_vfsops.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/07 06:10:21 Modified: sys/msdosfs msdosfs_vfsops.c Log: missed one static thingie. From owner-cvs-sys Tue Nov 7 08:52:16 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA25104 for cvs-sys-outgoing; Tue, 7 Nov 1995 08:52:16 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA25094 ; Tue, 7 Nov 1995 08:52:01 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id DAA10078; Wed, 8 Nov 1995 03:48:02 +1100 Date: Wed, 8 Nov 1995 03:48:02 +1100 From: Bruce Evans Message-Id: <199511071648.DAA10078@godzilla.zeta.org.au> To: peter@jhome.dialix.com, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >Umm, I've not been following your sysctl() work closely, and indeed I'm >not too fresh on sysctl in general these days, but does sysctl(8) >automatically adapt to new entries being added into the kernel? No. You have to edit 2 or 3 kernel files, 1 or 2 man pages, and sometimes the sysctl(8) for each new entry. >It's all done with linker_sets, right? Is there any chance of getting >the system to automatically catalog all the sysctl's? for example, I think linker sets are the wrong approach. There's no way a linker set in the kernel can update the manpage or specially handle a new struct in sysctl(8). I'd like either a static or dynamic central catalog. The static version would involve a text file that you edit and run utilities on to produce man pages, kernel and user code. The dynamic version would involve a text file that you edit and run to produce only kernel code, and more general handling of structs in sysctl(8), and a more general man page that doesn't mention any particular variable. The sysctl interface uses a fixed binding of names to numbers. I think there should be a separate binding step. E.g., /* Interface: return a `name' suitable for passing to sysctl(8). */ int sysctl_bind(const char *varname, u_int max_namelen, int *name, u_int *namelen); Even better, redesign sysctl() to support accessing an arbitrary subset of the database: /* * Interface: return a sysctl descriptor suitable for passing to * new_sysctl(8). Indirectly return the names (possibly null; * concatenated) of each component of each variable, and layout * information (perhaps the number of components for each variable). */ int sysctl_bind(const char * const *varnames, u_int nvarnames, char *varsubnames, u_int *varlayoutinfo); /* * Interface: like sysctl(3) except the variables of interest are * determined by a previous sysctl_bind() and the data is an array * of u_longs packed according to the layout info (perhaps not * packed at all, i.e., with all scalars expanded to u_longs). */ int new_sysctl(int sd, u_long *oldp, u_int *oldlenp, u_long *newp, u_int newlen); Bruce From owner-cvs-sys Tue Nov 7 09:01:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA25364 for cvs-sys-outgoing; Tue, 7 Nov 1995 09:01:20 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id JAA25356 ; Tue, 7 Nov 1995 09:01:07 -0800 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA16232; Tue, 7 Nov 1995 12:00:40 -0500 Date: Tue, 7 Nov 1995 12:00:40 -0500 From: "Garrett A. Wollman" Message-Id: <9511071700.AA16232@halloran-eldar.lcs.mit.edu> To: Bruce Evans Cc: peter@jhome.dialix.com, phk@freefall.freebsd.org, CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c In-Reply-To: <199511071648.DAA10078@godzilla.zeta.org.au> References: <199511071648.DAA10078@godzilla.zeta.org.au> Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk < said: > I think linker sets are the wrong approach. There's no way a linker > set in the kernel can update the manpage or specially handle a new > struct in sysctl(8). Generally speaking, sysctl(8) should not be handling structures at all. Anything that sysctl(8) has any business handling should be either an integer or a string. > I'd like either a static or dynamic central > catalog. I would like neither. > The static version would involve a text file that you edit > and run utilities on to produce man pages, kernel and user code. I don't think this is workable, and I'm not at all convinced that it would be a good thing. I think Poul-Henning has taken (to a first approximation) the correct approach. > The > dynamic version would involve a text file that you edit and run to > produce only kernel code, and more general handling of structs in > sysctl(8), and a more general man page that doesn't mention any > particular variable. And this seems spectacularly useless. > The sysctl interface uses a fixed binding of names to numbers. I > think there should be a separate binding step. E.g., > /* Interface: return a `name' suitable for passing to sysctl(8). */ > int sysctl_bind(const char *varname, u_int max_namelen, int *name, > u_int *namelen); > Even better, redesign sysctl() to support accessing an arbitrary subset > of the database: > [suggested deleted] This looks very much to me like using a sledgehammer to pound in a 3d finish nail. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-cvs-sys Tue Nov 7 09:43:11 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA26758 for cvs-sys-outgoing; Tue, 7 Nov 1995 09:43:11 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA26751 ; Tue, 7 Nov 1995 09:42:58 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA12200; Wed, 8 Nov 1995 04:41:50 +1100 Date: Wed, 8 Nov 1995 04:41:50 +1100 From: Bruce Evans Message-Id: <199511071741.EAA12200@godzilla.zeta.org.au> To: bde@zeta.org.au, wollman@lcs.mit.edu Subject: Re: cvs commit: src/sys/kern kern_sysctl.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@jhome.dialix.com, phk@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >> Even better, redesign sysctl() to support accessing an arbitrary subset >> of the database: >> [suggested deleted] >This looks very much to me like using a sledgehammer to pound in a 3d >finish nail. It's to support gathering statistics simply and efficiently for utilities like systat. After you decide which variables to display on a screen and format the screen nicely, you build an array of the variables and pass it to sysctl_bind() to get a descriptor that describes precisely all of the variables of interest (only if they are supported and and the caller has enough privilege of course). The kernel can then gather all the variables efficiently in a single syscall, and structs can be handled portably by treating their members as scalars. systat currently uses sysctl() to read CTL_VM.VM_METER and gropes in kmem for everything else. It needs about 60 system calls for every update. Bruce From owner-cvs-sys Tue Nov 7 20:50:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA20223 for cvs-sys-outgoing; Tue, 7 Nov 1995 20:50:20 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA20192 ; Tue, 7 Nov 1995 20:50:04 -0800 Date: Tue, 7 Nov 1995 20:50:04 -0800 From: John Dyson Message-Id: <199511080450.UAA20192@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs ext2_alloc.c ext2_extern.h ext2_inode_cnv.c ext2_linux_balloc.c ext2_linux_ialloc.c ext2_lookup.c ext2_vfsops.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/07 20:50:03 Modified: sys/gnu/ext2fs ext2_alloc.c ext2_extern.h ext2_inode_cnv.c ext2_linux_balloc.c ext2_linux_ialloc.c ext2_lookup.c ext2_vfsops.c Log: Cleaned up some lint and some obvious prototyping errors. From owner-cvs-sys Tue Nov 7 20:51:26 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA20374 for cvs-sys-outgoing; Tue, 7 Nov 1995 20:51:26 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA20361 ; Tue, 7 Nov 1995 20:51:18 -0800 Date: Tue, 7 Nov 1995 20:51:18 -0800 From: John Dyson Message-Id: <199511080451.UAA20361@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys vnode.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk dyson 95/11/07 20:51:17 Modified: sys/sys vnode.h Log: Export a symbol that ext2fs wants (insmntque.) From owner-cvs-sys Wed Nov 8 00:30:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27199 for cvs-sys-outgoing; Wed, 8 Nov 1995 00:30:39 -0800 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id AAA27193 ; Wed, 8 Nov 1995 00:30:31 -0800 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0tD5tu-0003vwC; Wed, 8 Nov 95 00:30 PST Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id JAA01074; Wed, 8 Nov 1995 09:30:28 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c In-reply-to: Your message of "Wed, 08 Nov 1995 04:41:50 +1100." <199511071741.EAA12200@godzilla.zeta.org.au> Date: Wed, 08 Nov 1995 09:30:27 +0100 Message-ID: <1072.815819427@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk Bruce I share most of your concerns, but disagree on the cure. Some specifics: Yes, I rely on compiler magic for the sysctl variables. I live in the nineties, and we have to move forward. I looked at other options, and they were uglier. #ifdef TERRY_MODE The only thing we could possibly do which would be a benefit, would be to make an intelligent FreeBSD preprocessor that ran over all the sources first and did some of all the grunt work we presently overload cpp with. This would for instance allow us to split data into two classes, one of which could be returned to malloc/free when it wasn't used anymore, allow us to make pinned/unpinned sections of drivers so that we could page part of the kernel (!) and so on... #endif /* TERRY_MODE */ I have included a string for description of the variables, which is presently not instatiated in the kernel. My idea was to have a program do a find /usr/src/sys -type f -print | xargs gronk_out_sysctl_info > foo and proceed from there. It is overkill to expand the (possibly rather lengthy) descriptions into the kernel unless we want to have them available in the user-config, and the descriptions belong in the source, with the definition of the variable. I do plan to (have somebody else) add sysctl-variables to the userconfig editor. I anticipate a "bulk" operator for sysctl, either working along the lines of readv(2), SNMP's getbulk or by allowing one to fetch entire subtrees at a time, like "kern.vm.*". Yes, I would really love to kill the "struct" variables in the sense of everything interesting in them be available as simple variables too. But I still think we need three types: Int, Text, and Opaque. I don't like the concept of converting big structures to ascii and back again, and there are some legitimate uses of entire structures. Maybe we should simply adopt the SNMP types without the ASN.1 encoding. I would also love to convert from the int[] names to "char *" at some later time. For now, I'm only working on step one, replace the current definition- method with something more flexible, comprehensive and usable. Functional enhancements will follow later. -- 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 Nov 8 00:40:27 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27629 for cvs-sys-outgoing; Wed, 8 Nov 1995 00:40:27 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27610 ; Wed, 8 Nov 1995 00:40:13 -0800 Date: Wed, 8 Nov 1995 00:40:13 -0800 From: Poul-Henning Kamp Message-Id: <199511080840.AAA27610@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/libkern qsort.c Makefile Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/08 00:40:12 Modified: sys/libkern Makefile Added: sys/libkern qsort.c Log: Add qsort() to libkern, taken from libc. From owner-cvs-sys Wed Nov 8 00:49:01 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27834 for cvs-sys-outgoing; Wed, 8 Nov 1995 00:49:01 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27824 ; Wed, 8 Nov 1995 00:48:42 -0800 Date: Wed, 8 Nov 1995 00:48:42 -0800 From: Poul-Henning Kamp Message-Id: <199511080848.AAA27824@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys sysctl.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/08 00:48:40 Modified: sys/kern kern_clock.c kern_sysctl.c sys/sys sysctl.h Log: Fix some of the sysctl broke, and add a lot more to it. From owner-cvs-sys Wed Nov 8 11:22:08 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA15397 for cvs-sys-outgoing; Wed, 8 Nov 1995 11:22:08 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA15392 ; Wed, 8 Nov 1995 11:22:00 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA05935; Thu, 9 Nov 1995 06:17:51 +1100 Date: Thu, 9 Nov 1995 06:17:51 +1100 From: Bruce Evans Message-Id: <199511081917.GAA05935@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@critter.tfs.com Subject: Re: cvs commit: src/sys/kern kern_sysctl.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >Bruce I share most of your concerns, but disagree on the cure. >Some specifics: >Yes, I rely on compiler magic for the sysctl variables. I live in the >nineties, and we have to move forward. I looked at other options, and >they were uglier. Linker sets are very old technology. They are useful for static linking and configuration, but we're trying to get away from those. Consider an lkm that adds some sysctls. Linker sets are no help. First, they can't work for dynamic linking because the vectors are statically allocated and can't be extended. Second, if they could be extended, then you would have to process them every time items are added or removed. Current processing consists of sorting the vectors and probably only works once (later, there may be pointers into the vectors...). I think it is better for the primitive operations to be addition and removal operations on a tree. The `sysctl_' linker set would just give a list of things to be added to the tree initially. More importantly, the current implementation makes it very difficult for an lkm (or a syscall) to add sysctl variables. E.g., changing CPU_MAXID requires recompiling; if CPU_MAXID was made a little larger to allow for more variables, the variable numbers would have to be allocated at compile time so that they aren't ambiguous. >I have included a string for description of the variables, which is >presently not instatiated in the kernel. My idea was to have a program >do a > find /usr/src/sys -type f -print | xargs gronk_out_sysctl_info > foo >and proceed from there. >It is overkill to expand the (possibly rather lengthy) descriptions into >the kernel unless we want to have them available in the user-config, and >the descriptions belong in the source, with the definition of the variable. My binding operation could keep strings outside of the kernel if space is a problem, but then it would be hard to keep the strings in the source. >I do plan to (have somebody else) add sysctl-variables to the userconfig >editor. The ability to configure sysctl variables (not just their values) there would be overkill :-). >I anticipate a "bulk" operator for sysctl, either working along the lines >of readv(2), SNMP's getbulk or by allowing one to fetch entire subtrees at >a time, like "kern.vm.*". Good. >But I still think we need three types: Int, Text, and Opaque. >I don't like the concept of converting big structures to ascii and >back again, and there are some legitimate uses of entire structures. >Maybe we should simply adopt the SNMP types without the ASN.1 encoding. Who mentioned ASCII? I said scalars. Everything would be promoted to a large scalar. Ints are no use because they may not be big enough to hold all scalars. It may be worth optimizing strings. >I would also love to convert from the int[] names to "char *" at some >later time. Why are they `int' anyway? Bruce From owner-cvs-sys Wed Nov 8 11:29:58 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA15741 for cvs-sys-outgoing; Wed, 8 Nov 1995 11:29:58 -0800 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id LAA15729 ; Wed, 8 Nov 1995 11:29:48 -0800 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0tDGBv-0003wTC; Wed, 8 Nov 95 11:29 PST Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id UAA03419; Wed, 8 Nov 1995 20:29:48 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: Bruce Evans cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c In-reply-to: Your message of "Thu, 09 Nov 1995 06:17:51 +1100." <199511081917.GAA05935@godzilla.zeta.org.au> Date: Wed, 08 Nov 1995 20:29:44 +0100 Message-ID: <3417.815858984@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk > >Bruce I share most of your concerns, but disagree on the cure. > > >Some specifics: > > >Yes, I rely on compiler magic for the sysctl variables. I live in the > >nineties, and we have to move forward. I looked at other options, and > >they were uglier. > > Linker sets are very old technology. They are useful for static linking > and configuration, but we're trying to get away from those. Consider an > lkm that adds some sysctls. Linker sets are no help. First, they can't > work for dynamic linking because the vectors are statically allocated > and can't be extended. Second, if they could be extended, then you > would have to process them every time items are added or removed. Well, how would you dynamically add something to a switch() {} ? I may have forgotten that in my last email but dynamic mgt of sysctl vars is certainly in the plans. I will have to malloc storage for a replacement linker-set of course... too bad I can't free the old one. > Current processing consists of sorting the vectors and probably only > works once (later, there may be pointers into the vectors...). I no. > think it is better for the primitive operations to be addition and > removal operations on a tree. The `sysctl_' linker set would just > give a list of things to be added to the tree initially. no, wastes too much storage. Been down that road once. You end up having to store the entire name in each entry. Bad for your RAM. > More importantly, the current implementation makes it very difficult > for an lkm (or a syscall) to add sysctl variables. E.g., changing > CPU_MAXID requires recompiling; if CPU_MAXID was made a little > larger to allow for more variables, the variable numbers would have > to be allocated at compile time so that they aren't ambiguous. But not for long. Watch this space :-) > >I do plan to (have somebody else) add sysctl-variables to the userconfig > >editor. > > The ability to configure sysctl variables (not just their values) there > would be overkill :-). No, actually not. sysctl variables may start to do a lot more work than they do now pretty soon. We used to say that you need to be able to crawl before you can walk, I'm doing that now... -- 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 Nov 8 12:02:41 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA17031 for cvs-sys-outgoing; Wed, 8 Nov 1995 12:02:41 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA17024 ; Wed, 8 Nov 1995 12:02:32 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA07042; Thu, 9 Nov 1995 06:59:41 +1100 Date: Thu, 9 Nov 1995 06:59:41 +1100 From: Bruce Evans Message-Id: <199511081959.GAA07042@godzilla.zeta.org.au> To: bde@zeta.org.au, phk@critter.tfs.com Subject: Re: cvs commit: src/sys/kern kern_sysctl.c Cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk >> Linker sets are very old technology. They are useful for static linking >> and configuration, but we're trying to get away from those. Consider an >>... >Well, how would you dynamically add something to a switch() {} ? Not :-). The switches would have to be replaced by a table lookup. >> think it is better for the primitive operations to be addition and >> removal operations on a tree. The `sysctl_' linker set would just >> give a list of things to be added to the tree initially. >no, wastes too much storage. Been down that road once. You end up >having to store the entire name in each entry. Bad for your RAM. Can't the tree contain only node pointers and pointers to static info? The node pointers could replace a lot of code in switches but you won't see benefits like that without rewriting more. I'm surprised that you found a lot of storage wasted. I would have thought that there aren't enough sysctl variables to matter. There aren't many because they were too hard to add :-). Bruce From owner-cvs-sys Wed Nov 8 23:14:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA24011 for cvs-sys-outgoing; Wed, 8 Nov 1995 23:14:15 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA24002 ; Wed, 8 Nov 1995 23:14:12 -0800 Date: Wed, 8 Nov 1995 23:14:12 -0800 From: "Justin T. Gibbs" Message-Id: <199511090714.XAA24002@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/eisa aic7770.c eisaconf.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/08 23:14:12 Modified: sys/i386/eisa aic7770.c eisaconf.c Log: Second pass on this. Sentinal device node was an uneeded complication. Handle kdc registration correctly. Catch ISA devices that use eisa registration and output probe information accordingly. lsdev will have to be updated to handle EISA devices correctly. aic7770.c: Set kdc_isa0 as the parent for 284X cards since its a VL card. From owner-cvs-sys Thu Nov 9 00:17:41 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA26483 for cvs-sys-outgoing; Thu, 9 Nov 1995 00:17:41 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA26474 ; Thu, 9 Nov 1995 00:17:28 -0800 Date: Thu, 9 Nov 1995 00:17:28 -0800 From: Bruce Evans Message-Id: <199511090817.AAA26474@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/msdosfs denode.h msdosfs_vnops.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/09 00:17:25 Modified: sys/gnu/ext2fs ext2_extern.h ext2_vnops.c sys/isofs/cd9660 iso.h cd9660_vnops.c cd9660_node.h sys/kern vfs_subr.c vfs_init.c sys/ufs/ffs ffs_vnops.c ffs_extern.h sys/ufs/lfs lfs_extern.h lfs_vnops.c sys/ufs/mfs mfs_vfsops.c mfs_vnops.c sys/ufs/ufs ufs_vnops.c sys/miscfs/nullfs null.h null_vnops.c sys/miscfs/deadfs dead_vnops.c sys/miscfs/fdesc fdesc.h fdesc_vnops.c sys/miscfs/fifofs fifo.h fifo_vnops.c sys/miscfs/kernfs kernfs.h kernfs_vnops.c sys/miscfs/portal portal.h portal_vnops.c sys/miscfs/procfs procfs.h procfs_vnops.c sys/miscfs/specfs specdev.h spec_vnops.c sys/miscfs/umapfs umap.h umap_vnops.c sys/miscfs/union union.h union_vnops.c sys/miscfs/devfs devfsdefs.h devfs_vnops.c sys/nfs nfsnode.h nfs_vnops.c sys/sys vnode.h sys/msdosfs denode.h msdosfs_vnops.c Log: Introduced a type `vop_t' for vnode operation functions and used it 1138 times (:-() in casts and a few more times in declarations. This change is null for the i386. The type has to be `typedef int vop_t(void *)' and not `typedef int vop_t()' because `gcc -Wstrict-prototypes' warns about the latter. Since vnode op functions are called with args of different (struct pointer) types, neither of these function types is any use for type checking of the arg, so it would be preferable not to use the complete function type, especially since using the complete type requires adding 1138 casts to avoid compiler warnings and another 40+ casts to reverse the function pointer conversions before calling the functions. From owner-cvs-sys Thu Nov 9 00:41:35 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27088 for cvs-sys-outgoing; Thu, 9 Nov 1995 00:41:35 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27079 ; Thu, 9 Nov 1995 00:41:28 -0800 Date: Thu, 9 Nov 1995 00:41:28 -0800 From: Bruce Evans Message-Id: <199511090841.AAA27079@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/gnu/ext2fs ext2_extern.h ext2_inode_cnv.c ext2_linux_balloc.c ext2_linux_ialloc.c ext2_lookup.c ext2_vfsops.c i386-bitops.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/09 00:41:27 Modified: sys/gnu/ext2fs ext2_extern.h ext2_inode_cnv.c ext2_linux_balloc.c ext2_linux_ialloc.c ext2_lookup.c ext2_vfsops.c i386-bitops.h Log: ext2_inode_cnv.c: Included and its prerequisite , and cleaned up includes. The vop_t changes made the non-inclusion of vnode.h fatal instead of just sloppy. i386_bitops.h: Changed `extern inline' to `static inline'. `extern inline' is a Linuxism that stops things from compiling without -O. Fixed idempotency identifier. Misc: Added prototypes. Staticized some functions so that prototypes are unnecessary. Added casts. Cleaned up includes. From owner-cvs-sys Thu Nov 9 00:57:18 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27425 for cvs-sys-outgoing; Thu, 9 Nov 1995 00:57:18 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27414 ; Thu, 9 Nov 1995 00:57:12 -0800 Date: Thu, 9 Nov 1995 00:57:12 -0800 From: Bruce Evans Message-Id: <199511090857.AAA27414@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pccard pccard.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/09 00:57:12 Modified: sys/pccard pccard.c Log: Fixed the types of the apm suspend/resume functions. From owner-cvs-sys Thu Nov 9 00:58:25 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27505 for cvs-sys-outgoing; Thu, 9 Nov 1995 00:58:25 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA27496 ; Thu, 9 Nov 1995 00:58:21 -0800 Date: Thu, 9 Nov 1995 00:58:21 -0800 From: Bruce Evans Message-Id: <199511090858.AAA27496@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pccard pcic.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/09 00:58:21 Modified: sys/pccard pcic.c Log: Fixed the type of a timeout function and an interrupt mask variable. From owner-cvs-sys Thu Nov 9 01:01:37 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA27652 for cvs-sys-outgoing; Thu, 9 Nov 1995 01:01:37 -0800 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id BAA27646 ; Thu, 9 Nov 1995 01:01:31 -0800 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0tDSrR-0003wCC; Thu, 9 Nov 95 01:01 PST Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id IAA06137; Thu, 9 Nov 1995 08:42:17 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: Bruce Evans cc: CVS-commiters@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_sysctl.c In-reply-to: Your message of "Thu, 09 Nov 1995 06:59:41 +1100." <199511081959.GAA07042@godzilla.zeta.org.au> Date: Thu, 09 Nov 1995 08:42:16 +0100 Message-ID: <6135.815902936@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk > >> Linker sets are very old technology. They are useful for static linking > >> and configuration, but we're trying to get away from those. Consider an > >>... > >Well, how would you dynamically add something to a switch() {} ? > > Not :-). The switches would have to be replaced by a table lookup. Well, this does the same thing. Dynamic addition: I have two empty entires in each linkerset (one is the NULL and one is the dummy I have to stick there to make sure the linker_set exists :-< ) I will use those two, and after than simply malloc a new piece of mem and copy the contents of the linkerset into it. > I'm surprised that you found a lot of storage wasted. I would have thought > that there aren't enough sysctl variables to matter. There aren't many > because they were too hard to add :-). Well, I didn't find a lot of storage wasted, but I didn't want to make sysctl bloated so that we would waste it later either. I think I have found a good compromise. -- 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 Thu Nov 9 01:18:04 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA28507 for cvs-sys-outgoing; Thu, 9 Nov 1995 01:18:04 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA28496 ; Thu, 9 Nov 1995 01:17:54 -0800 Date: Thu, 9 Nov 1995 01:17:54 -0800 From: Bruce Evans Message-Id: <199511090917.BAA28496@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa wcd.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/09 01:17:52 Modified: sys/i386/isa wcd.c Log: Nuked some more bogus devswitch macros. The wcd lkm was broken. From owner-cvs-sys Thu Nov 9 01:23:23 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA28890 for cvs-sys-outgoing; Thu, 9 Nov 1995 01:23:23 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA28866 ; Thu, 9 Nov 1995 01:23:08 -0800 Date: Thu, 9 Nov 1995 01:23:08 -0800 From: Bruce Evans Message-Id: <199511090923.BAA28866@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys systm.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/09 01:23:07 Modified: sys/sys systm.h Log: Finished nuking enxio, enodev and enoioctl. From owner-cvs-sys Thu Nov 9 01:43:45 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA00782 for cvs-sys-outgoing; Thu, 9 Nov 1995 01:43:45 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA00768 ; Thu, 9 Nov 1995 01:43:36 -0800 Date: Thu, 9 Nov 1995 01:43:36 -0800 From: Bruce Evans Message-Id: <199511090943.BAA00768@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_lkm.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/09 01:43:34 Modified: sys/kern kern_lkm.c Log: Introduced lkm_nullcmd(), which will be used instead of nosys() in some places to fix type mismatches. Added prototypes and bogus casts. From owner-cvs-sys Thu Nov 9 12:22:30 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA04937 for cvs-sys-outgoing; Thu, 9 Nov 1995 12:22:30 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA04912 ; Thu, 9 Nov 1995 12:22:15 -0800 Date: Thu, 9 Nov 1995 12:22:15 -0800 From: Poul-Henning Kamp Message-Id: <199511092022.MAA04912@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_sysctl.c kern_xxx.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/09 12:22:13 Modified: sys/sys libkern.h sysctl.h Log: Add qsort prototype. Add userland_sysctl prototype. Modified: sys/kern kern_sysctl.c kern_xxx.c Log: Make the old compat functions use the sysctl front door, rather than crashing through the walls. This should save Peters blood pressure and netscapes uname call. From owner-cvs-sys Thu Nov 9 12:23:17 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA05018 for cvs-sys-outgoing; Thu, 9 Nov 1995 12:23:17 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA05006 ; Thu, 9 Nov 1995 12:23:12 -0800 Date: Thu, 9 Nov 1995 12:23:12 -0800 From: Poul-Henning Kamp Message-Id: <199511092023.MAA05006@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/netinet in_proto.c in_rmx.c tcp_input.c tcp_subr.c tcp_timer.c tcp_usrreq.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/09 12:23:12 Modified: sys/netinet in_proto.c in_rmx.c tcp_input.c tcp_subr.c tcp_timer.c tcp_usrreq.c Log: Start adding new style sysctl here too. From owner-cvs-sys Thu Nov 9 12:44:47 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA05925 for cvs-sys-outgoing; Thu, 9 Nov 1995 12:44:47 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA05916 ; Thu, 9 Nov 1995 12:44:39 -0800 Date: Thu, 9 Nov 1995 12:44:39 -0800 From: Poul-Henning Kamp Message-Id: <199511092044.MAA05916@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/pccard card.h i82365.h pccard.c pcic.c slot.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/09 12:44:38 Modified: sys/pccard card.h i82365.h pccard.c pcic.c slot.h Log: Clean up the ident style. Remove the APM stuff Add support for VA469 Submitted by: Janic.Thaillandier@ratp.fr From owner-cvs-sys Thu Nov 9 13:54:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA07999 for cvs-sys-outgoing; Thu, 9 Nov 1995 13:54:03 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA07985 ; Thu, 9 Nov 1995 13:53:50 -0800 Date: Thu, 9 Nov 1995 13:53:50 -0800 From: Peter Wemm Message-Id: <199511092153.NAA07985@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/include si.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk peter 95/11/09 13:53:49 Modified: sys/i386/isa si.c sys/i386/include si.h Log: Sync the public source with what I'm currently running. Most of this is cleaning up, but there are some functional changes, doc/comment improvements, error checking, gcc -Wall cleanups. Input buffer flushing is enabled now, although I'm still not quite certain it's right. From owner-cvs-sys Thu Nov 9 14:44:25 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09419 for cvs-sys-outgoing; Thu, 9 Nov 1995 14:44:25 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09406 ; Thu, 9 Nov 1995 14:43:54 -0800 Date: Thu, 9 Nov 1995 14:43:54 -0800 From: "Justin T. Gibbs" Message-Id: <199511092243.OAA09406@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa aha1742.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/09 14:43:53 Modified: sys/i386/conf files.i386 sys/i386/eisa aha1742.c eisaconf.c Log: Convert Adaptec 1742 driver to new eisaconf interface. Removed: sys/i386/isa aha1742.c Log: Replaced by eisaconf version in i386/eisa. From owner-cvs-sys Thu Nov 9 14:47:18 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09632 for cvs-sys-outgoing; Thu, 9 Nov 1995 14:47:18 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09615 ; Thu, 9 Nov 1995 14:47:09 -0800 Date: Thu, 9 Nov 1995 14:47:09 -0800 From: "Justin T. Gibbs" Message-Id: <199511092247.OAA09615@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC LINT Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/09 14:47:08 Modified: sys/i386/conf GENERIC LINT Log: Change ahb device line to eisaconf syntax. From owner-cvs-sys Thu Nov 9 17:32:30 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA20722 for cvs-sys-outgoing; Thu, 9 Nov 1995 17:32:30 -0800 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA20698 ; Thu, 9 Nov 1995 17:32:16 -0800 Date: Thu, 9 Nov 1995 17:32:16 -0800 From: "Justin T. Gibbs" Message-Id: <199511100132.RAA20698@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/eisa eisaconf.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk gibbs 95/11/09 17:32:14 Modified: sys/i386/eisa eisaconf.c Log: Modify the kdc_description for eisa0 to include the system board ID. Add the mainboard_drv into the eisa driver linker set so that you can compile eisa0 into your kernel without any other eisa devices. From owner-cvs-sys Fri Nov 10 02:15:15 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA15226 for cvs-sys-outgoing; Fri, 10 Nov 1995 02:15:15 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA15201 ; Fri, 10 Nov 1995 02:14:59 -0800 Date: Fri, 10 Nov 1995 02:14:59 -0800 From: Poul-Henning Kamp Message-Id: <199511101014.CAA15201@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys sysctl.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/10 02:14:58 Modified: sys/i386/i386 machdep.c sys/kern kern_sysctl.c sys/sys sysctl.h Log: convert more sysctl variables. From owner-cvs-sys Fri Nov 10 04:03:29 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA19393 for cvs-sys-outgoing; Fri, 10 Nov 1995 04:03:29 -0800 Received: (from jkh@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA19382 ; Fri, 10 Nov 1995 04:03:23 -0800 Date: Fri, 10 Nov 1995 04:03:23 -0800 From: "Jordan K. Hubbard" Message-Id: <199511101203.EAA19382@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/conf newvers.sh Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk jkh 95/11/10 04:03:22 Branch: sys/conf RELENG_2_1_0 Modified: sys/conf newvers.sh Log: Bump RELDATE From owner-cvs-sys Fri Nov 10 06:54:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA24127 for cvs-sys-outgoing; Fri, 10 Nov 1995 06:54:40 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA24109 ; Fri, 10 Nov 1995 06:54:18 -0800 Date: Fri, 10 Nov 1995 06:54:18 -0800 From: David Greenman Message-Id: <199511101454.GAA24109@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi scsi_ioctl.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/10 06:54:18 Modified: sys/scsi scsi_ioctl.c Log: Set B_BUSY on the private buffer to avoid a panic in biodone when the I/O completes. Bug apparantly seen when attempting to format SCSI disks. Submitted by: Peter Dufault From owner-cvs-sys Fri Nov 10 07:09:38 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA26359 for cvs-sys-outgoing; Fri, 10 Nov 1995 07:09:38 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA26316 ; Fri, 10 Nov 1995 07:08:08 -0800 Date: Fri, 10 Nov 1995 07:08:08 -0800 From: David Greenman Message-Id: <199511101508.HAA26316@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi scsi_ioctl.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk davidg 95/11/10 07:08:07 Branch: sys/scsi RELENG_2_1_0 Modified: sys/scsi scsi_ioctl.c Log: Brought in change from rev 1.17: set B_BUSY to avoid panic. From owner-cvs-sys Fri Nov 10 08:22:54 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA01538 for cvs-sys-outgoing; Fri, 10 Nov 1995 08:22:54 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA01521 ; Fri, 10 Nov 1995 08:22:45 -0800 Date: Fri, 10 Nov 1995 08:22:45 -0800 From: Poul-Henning Kamp Message-Id: <199511101622.IAA01521@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_sysctl.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk phk 95/11/10 08:22:44 Modified: sys/kern kern_sysctl.c Log: Fix a minor buglet. From owner-cvs-sys Fri Nov 10 16:09:31 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA18409 for cvs-sys-outgoing; Fri, 10 Nov 1995 16:09:31 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA18394 ; Fri, 10 Nov 1995 16:09:24 -0800 Date: Fri, 10 Nov 1995 16:09:24 -0800 From: Bruce Evans Message-Id: <199511110009.QAA18394@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_sysctl.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 16:09:22 Modified: sys/kern kern_sysctl.c Log: Fixed type of sysctl_order_cmp(). KNFized sysctl_order_cmp(). Staticized definition of kern_sysctl() to match its declaration. From owner-cvs-sys Fri Nov 10 16:27:22 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA19290 for cvs-sys-outgoing; Fri, 10 Nov 1995 16:27:22 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA19257 ; Fri, 10 Nov 1995 16:27:10 -0800 Date: Fri, 10 Nov 1995 16:27:10 -0800 From: Bruce Evans Message-Id: <199511110027.QAA19257@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 16:27:05 Modified: sys/kern vfs_subr.c Log: Fixed type of vfs_free_netcred(). Removed redundant declaration of insmntque(). From owner-cvs-sys Fri Nov 10 17:04:57 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA21687 for cvs-sys-outgoing; Fri, 10 Nov 1995 17:04:57 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA21673 ; Fri, 10 Nov 1995 17:04:44 -0800 Date: Fri, 10 Nov 1995 17:04:44 -0800 From: Bruce Evans Message-Id: <199511110104.RAA21673@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_xxx.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 17:04:44 Modified: sys/kern kern_xxx.c Log: Fixed types of ogethostid() and osethostid(). The args struct names conflicted with the machine generated ones in . Fixed type of oquota(). It didn't even use an args struct. From owner-cvs-sys Fri Nov 10 17:48:25 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA23279 for cvs-sys-outgoing; Fri, 10 Nov 1995 17:48:25 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA23270 ; Fri, 10 Nov 1995 17:48:20 -0800 Date: Fri, 10 Nov 1995 17:48:20 -0800 From: Bruce Evans Message-Id: <199511110148.RAA23270@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_resource.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 17:48:19 Modified: sys/kern kern_resource.c Log: Fixed types of rtprio(), osetrlimit() and setrlimit(). The args struct tag and/or member names conflicted with the machine generated ones in . From owner-cvs-sys Fri Nov 10 19:36:23 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA26742 for cvs-sys-outgoing; Fri, 10 Nov 1995 19:36:23 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA26730 ; Fri, 10 Nov 1995 19:36:11 -0800 Date: Fri, 10 Nov 1995 19:36:11 -0800 From: Bruce Evans Message-Id: <199511110336.TAA26730@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/miscfs/deadfs dead_vnops.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 19:36:10 Modified: sys/miscfs/deadfs dead_vnops.c Log: Removed unsed function dead_nullop(). Converted incomplete function declarations to prototypes. From owner-cvs-sys Fri Nov 10 21:11:10 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA00546 for cvs-sys-outgoing; Fri, 10 Nov 1995 21:11:10 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA00536 ; Fri, 10 Nov 1995 21:10:56 -0800 Date: Fri, 10 Nov 1995 21:10:56 -0800 From: Bruce Evans Message-Id: <199511110510.VAA00536@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 conf.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 21:10:52 Modified: sys/i386/i386 conf.c Log: Cleaned up after moving the prototypes: - collapsed #if-#elses that became null. - removed dead comments. Moved #defines that always have the same value to the tables. Collapsed more #if-#elses that became null. None are left. Removed repetitive comments. From owner-cvs-sys Fri Nov 10 21:49:39 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA01377 for cvs-sys-outgoing; Fri, 10 Nov 1995 21:49:39 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA01361 ; Fri, 10 Nov 1995 21:49:26 -0800 Date: Fri, 10 Nov 1995 21:49:26 -0800 From: Bruce Evans Message-Id: <199511110549.VAA01361@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_exit.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 21:49:24 Modified: sys/kern kern_exit.c Log: Removed unreachable code. Changed `#if defined()' back to `#ifdef' to finish removing COMPAT_IBCS2. From owner-cvs-sys Fri Nov 10 22:40:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA03516 for cvs-sys-outgoing; Fri, 10 Nov 1995 22:40:40 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA03507 ; Fri, 10 Nov 1995 22:40:37 -0800 Date: Fri, 10 Nov 1995 22:40:37 -0800 From: Bruce Evans Message-Id: <199511110640.WAA03507@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_unix.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 22:40:36 Modified: sys/vm vm_unix.c Log: Fixed type of obreak(). The args struct member name conflicted with the (better) machine generated one in . From owner-cvs-sys Fri Nov 10 22:53:14 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA03877 for cvs-sys-outgoing; Fri, 10 Nov 1995 22:53:14 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA03868 ; Fri, 10 Nov 1995 22:53:10 -0800 Date: Fri, 10 Nov 1995 22:53:10 -0800 From: Bruce Evans Message-Id: <199511110653.WAA03868@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_prot.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 22:53:10 Modified: sys/kern kern_prot.c Log: Fixed type of setsid(). It used used the bogus `getsid_args'. From owner-cvs-sys Fri Nov 10 22:57:40 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA04040 for cvs-sys-outgoing; Fri, 10 Nov 1995 22:57:40 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA04029 ; Fri, 10 Nov 1995 22:57:36 -0800 Date: Fri, 10 Nov 1995 22:57:36 -0800 From: Bruce Evans Message-Id: <199511110657.WAA04029@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern sys_generic.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/10 22:57:35 Modified: sys/kern sys_generic.c Log: Fixed the type of readv(). An args struct member name conflicted with the machine-generated one in . From owner-cvs-sys Sat Nov 11 20:25:03 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA22158 for cvs-sys-outgoing; Sat, 11 Nov 1995 20:25:03 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA22144 ; Sat, 11 Nov 1995 20:24:55 -0800 Date: Sat, 11 Nov 1995 20:24:55 -0800 From: Bruce Evans Message-Id: <199511120424.UAA22144@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern syscalls.master Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/11 20:24:54 Modified: sys/kern syscalls.master Log: Fixed the args list for mount(). We're not ready for the BSD4.4lite2/ NetBSD interface. Increased the bogusness of the args list for mmap(). The args lists for most of the memory mapping functions are bogus. The args lists in syscalls.master are a little better than the ones in the args structs currently being used, but the improvement for mmap() changed the object code and I don't want to worry about that now. Increased the bogusness of the args list for fcntl. BSD4.4lite2/NetBSD uses `void *' instead of int for the third arg. This has the advantage of working when `void *'s are longer than ints, but requires extra bogus casts that I hope to avoid. Fixed the args list for uname. `struct outsname' seems to be a typo, not an old interface. Added comments about bogus args lists for open, mount, msync, munmap, mprotect, madvise, mincore, fcntl, semsys, msgsys and shmsys. From owner-cvs-sys Sat Nov 11 20:29:48 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA22382 for cvs-sys-outgoing; Sat, 11 Nov 1995 20:29:48 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA22369 ; Sat, 11 Nov 1995 20:29:40 -0800 Date: Sat, 11 Nov 1995 20:29:40 -0800 From: Bruce Evans Message-Id: <199511120429.UAA22369@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys syscall-hide.h syscall.h sysproto.h Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/11 20:29:39 Modified: sys/kern init_sysent.c syscalls.c sys/sys syscall-hide.h syscall.h sysproto.h Log: Updated machine-generated files. From owner-cvs-sys Sat Nov 11 20:43:10 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA23355 for cvs-sys-outgoing; Sat, 11 Nov 1995 20:43:10 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA23342 ; Sat, 11 Nov 1995 20:43:02 -0800 Date: Sat, 11 Nov 1995 20:43:02 -0800 From: Bruce Evans Message-Id: <199511120443.UAA23342@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_fcntl.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/11 20:43:01 Modified: sys/i386/ibcs2 ibcs2_fcntl.c Log: Added (null for the i386) conversions from ibcs2's bogus fcntl args struct to the standard bogus fcntl args struct. From owner-cvs-sys Sat Nov 11 22:43:42 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA25984 for cvs-sys-outgoing; Sat, 11 Nov 1995 22:43:42 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA25969 ; Sat, 11 Nov 1995 22:43:30 -0800 Date: Sat, 11 Nov 1995 22:43:30 -0800 From: Bruce Evans Message-Id: <199511120643.WAA25969@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_mmap.c vm_swap.c vm_unix.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/11 22:43:29 Modified: sys/i386/i386 sys_machdep.c Log: Modified: sys/kern kern_acct.c kern_descrip.c kern_exec.c kern_fork.c kern_ktrace.c kern_ntptime.c kern_prot.c kern_resource.c kern_sig.c kern_sysctl.c kern_time.c kern_xxx.c subr_prof.c sys_generic.c sys_process.c vfs_syscalls.c sys/ufs/lfs lfs_syscalls.c sys/vm vm_mmap.c vm_swap.c vm_unix.c Log: Included to get central declarations for syscall args structs and prototypes for syscalls. Ifdefed duplicated decentralized declarations of args structs. It's convenient to have this visible but they are hard to maintain. Some are already different from the central declarations. 4.4lite2 puts them in comments in the function headers but I wanted to avoid the large changes for that. From owner-cvs-sys Sat Nov 11 23:04:36 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA26451 for cvs-sys-outgoing; Sat, 11 Nov 1995 23:04:36 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA26441 ; Sat, 11 Nov 1995 23:04:32 -0800 Date: Sat, 11 Nov 1995 23:04:32 -0800 From: Bruce Evans Message-Id: <199511120704.XAA26441@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_xxx.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/11 23:04:31 Modified: sys/kern kern_xxx.c Log: Restored the (buggy) historical behaviour of getdomainname(). Negative name lengths for getdomainname() and setdomainname() were converted to large positive ones by misdeclaring the args struct. From owner-cvs-sys Sat Nov 11 23:11:05 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA26747 for cvs-sys-outgoing; Sat, 11 Nov 1995 23:11:05 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA26715 ; Sat, 11 Nov 1995 23:10:51 -0800 Date: Sat, 11 Nov 1995 23:10:51 -0800 From: Bruce Evans Message-Id: <199511120710.XAA26715@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 sys_machdep.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/11/11 23:10:50 Modified: sys/i386/i386 sys_machdep.c Log: Oops, forgot the following log message in the previous commit: Included to get central declarations for syscall args structs and prototypes for syscalls. Ifdefed duplicated decentralized declarations of args structs. It's convenient to have this visible but they are hard to maintain. Some are already different from the central declarations. 4.4lite2 puts them in comments in the function headers but I wanted to avoid the large changes for that.