From owner-cvs-sys Sun Apr 6 03:10:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA13103 for cvs-sys-outgoing; Sun, 6 Apr 1997 03:10:56 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA13095; Sun, 6 Apr 1997 03:10:54 -0700 (PDT) Date: Sun, 6 Apr 1997 03:10:54 -0700 (PDT) From: Doug Rabson Message-Id: <199704061010.DAA13095@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_file.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/06 03:10:53 Modified: sys/i386/linux linux_file.c Log: Remove dependancy on UFS' DIRBLKSIZ definition. 2.2 candidate. Submitted by: bde Revision Changes Path 1.14 +2 -6 src/sys/i386/linux/linux_file.c From owner-cvs-sys Sun Apr 6 04:14:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA16424 for cvs-sys-outgoing; Sun, 6 Apr 1997 04:14:17 -0700 (PDT) Received: (from dufault@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA16417; Sun, 6 Apr 1997 04:14:15 -0700 (PDT) Date: Sun, 6 Apr 1997 04:14:15 -0700 (PDT) From: Peter Dufault Message-Id: <199704061114.EAA16417@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-user, cvs-share, cvs-sys Subject: cvs commit: src/lkm/syscons/blank blank_saver.c src/lkm/syscons/fade fade_saver.c src/lkm/syscons/green green_saver.c src/lkm/syscons/snake snake_saver.c src/lkm/syscons/star star_saver.c src/share/examples/lkm/misc/module miscmod.c src/sys/i386/isa atapi.c joy.c qcam.c wcd.c src/sys/netinet ip_fw.c src/sys/pccard pcic.c src/sys/sys kernel.h lkm.h mount.h src/lkm/coff coff.c src/lkm/ibcs2 ibcs2.c src/lkm/linux linux.c src/sys/kern kern_lkm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dufault 97/04/06 04:14:15 Modified: lkm/coff coff.c lkm/ibcs2 ibcs2.c lkm/linux linux.c lkm/syscons/blank blank_saver.c lkm/syscons/fade fade_saver.c lkm/syscons/green green_saver.c lkm/syscons/snake snake_saver.c lkm/syscons/star star_saver.c share/examples/lkm/misc/module miscmod.c sys/i386/isa atapi.c joy.c qcam.c wcd.c sys/kern kern_lkm.c sys/netinet ip_fw.c sys/pccard pcic.c sys/sys kernel.h lkm.h mount.h Log: Make MOD_* macros almost consistent: Use the name argument almost the same in all LKM types. Maintain the current behavior for the external (e.g., modstat) name for DEV, EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only #name. This is a candidate for change and I vote just the name without the "_mod". Change the DISPATCH macro to MOD_DISPATCH for consistency with the other macros. Add an LKM_ANON #define to eliminate the magic -1 and associated signed/unsigned warnings. Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure. Change source in tree to use the new interface. Reviewed by: Bruce Evans Revision Changes Path 1.9 +3 -3 src/lkm/coff/coff.c 1.10 +3 -2 src/lkm/ibcs2/ibcs2.c 1.11 +3 -2 src/lkm/linux/linux.c 1.9 +3 -3 src/lkm/syscons/blank/blank_saver.c 1.10 +3 -3 src/lkm/syscons/fade/fade_saver.c 1.9 +3 -3 src/lkm/syscons/green/green_saver.c 1.14 +3 -3 src/lkm/syscons/snake/snake_saver.c 1.11 +3 -3 src/lkm/syscons/star/star_saver.c 1.5 +2 -8 src/share/examples/lkm/misc/module/miscmod.c 1.17 +2 -1 src/sys/i386/isa/atapi.c 1.20 +7 -5 src/sys/i386/isa/joy.c 1.19 +2 -3 src/sys/i386/isa/qcam.c 1.41 +4 -2 src/sys/i386/isa/wcd.c 1.40 +5 -5 src/sys/kern/kern_lkm.c 1.56 +3 -2 src/sys/netinet/ip_fw.c 1.34 +2 -1 src/sys/pccard/pcic.c 1.27 +2 -2 src/sys/sys/kernel.h 1.16 +40 -23 src/sys/sys/lkm.h 1.42 +6 -3 src/sys/sys/mount.h From owner-cvs-sys Sun Apr 6 04:49:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA17935 for cvs-sys-outgoing; Sun, 6 Apr 1997 04:49:49 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA17928; Sun, 6 Apr 1997 04:49:47 -0700 (PDT) Date: Sun, 6 Apr 1997 04:49:47 -0700 (PDT) From: KATO Takenori Message-Id: <199704061149.EAA17928@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/i386 trap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/06 04:49:47 Modified: sys/pc98/i386 trap.c Log: Synchronize with sys/i386/i386/trap.c revision 1.89. Revision Changes Path 1.15 +7 -7 src/sys/pc98/i386/trap.c From owner-cvs-sys Sun Apr 6 06:26:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA20916 for cvs-sys-outgoing; Sun, 6 Apr 1997 06:26:03 -0700 (PDT) Received: (from mckay@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA20903; Sun, 6 Apr 1997 06:25:58 -0700 (PDT) Date: Sun, 6 Apr 1997 06:25:58 -0700 (PDT) From: Stephen McKay Message-Id: <199704061325.GAA20903@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mckay 97/04/06 06:25:57 Modified: sys/i386/isa clock.c Log: Prevent wedging of the stat clock because of missed interrupts. This should cure the "alternate system clock has died!" problem. Discussed with: bde, joerg Revision Changes Path 1.80 +10 -5 src/sys/i386/isa/clock.c From owner-cvs-sys Sun Apr 6 07:10:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA22514 for cvs-sys-outgoing; Sun, 6 Apr 1997 07:10:59 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA22507; Sun, 6 Apr 1997 07:10:56 -0700 (PDT) Date: Sun, 6 Apr 1997 07:10:56 -0700 (PDT) From: Doug Rabson Message-Id: <199704061410.HAA22507@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_misc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/06 07:10:54 Modified: sys/i386/ibcs2 ibcs2_misc.c Log: Fixes to ibcs2_getdents, including using struct dirent instead of struct direct, not using UFS' definition of DIRBLKSIZ, using directory seek cookies to make reading non-UFS directories reliable (e.g. cd9660, ext2fs). A special thanks to Robert Eckardt for providing an ISC binary of GNU ls so that I could test these changes. Revision Changes Path 1.19 +101 -27 src/sys/i386/ibcs2/ibcs2_misc.c From owner-cvs-sys Sun Apr 6 09:16:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA09044 for cvs-sys-outgoing; Sun, 6 Apr 1997 09:16:22 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA09032; Sun, 6 Apr 1997 09:16:17 -0700 (PDT) Date: Sun, 6 Apr 1997 09:16:17 -0700 (PDT) From: Peter Wemm Message-Id: <199704061616.JAA09032@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_fault.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/06 09:16:16 Modified: sys/vm vm_fault.c Log: Commit a typo fix that's been sitting in my tree for ages, quite forgotten. The typo was detected once apon a time with the -Wunused compile option. The result was that a block of code for implementing madvise(.. MADV_SEQUENTIAL..) behavior was "dead" and unused, probably negating the effect of activating the option. Reviewed by: dyson Revision Changes Path 1.68 +2 -2 src/sys/vm/vm_fault.c From owner-cvs-sys Sun Apr 6 18:26:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA11257 for cvs-sys-outgoing; Sun, 6 Apr 1997 18:26:37 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA11250; Sun, 6 Apr 1997 18:26:36 -0700 (PDT) Date: Sun, 6 Apr 1997 18:26:36 -0700 (PDT) From: Bruce Evans Message-Id: <199704070126.SAA11250@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf LINT Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/06 18:26:35 Modified: sys/i386/conf LINT Log: Documented new serial console flags. Removed dead serial console options. Reorganised sio and serial console options. Added undocumented options CLUSTERDEBUG and NPX_DEBUG. Revision Changes Path 1.326 +23 -5 src/sys/i386/conf/LINT From owner-cvs-sys Sun Apr 6 23:19:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA25096 for cvs-sys-outgoing; Sun, 6 Apr 1997 23:19:14 -0700 (PDT) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.RWTH-Aachen.DE [134.130.90.6]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA25073; Sun, 6 Apr 1997 23:18:52 -0700 (PDT) Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.8.5/8.8.5) id IAA10496; Mon, 7 Apr 1997 08:18:50 +0200 (CEST) To: Doug Rabson Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h References: <199704041749.JAA22437@freefall.freebsd.org> From: Thomas Gellekum Date: 07 Apr 1997 08:18:46 +0200 In-Reply-To: Doug Rabson's message of Fri, 4 Apr 1997 09:49:39 -0800 (PST) Message-ID: <87vi5zxsmw.fsf@ghpc6.ihf.rwth-aachen.de> Lines: 12 X-Mailer: Gnus v5.4.33/XEmacs 19.14 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Doug Rabson writes: > dfr 97/04/04 09:49:38 > > Modified: sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h > Log: > Fix various bugs in the locking protocol, allowing proper shared locks > to be used. This should fix the lock panics that people are seeing. 2.2 candidate? tg From owner-cvs-sys Sun Apr 6 23:45:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA26070 for cvs-sys-outgoing; Sun, 6 Apr 1997 23:45:22 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA26063; Sun, 6 Apr 1997 23:45:20 -0700 (PDT) Date: Sun, 6 Apr 1997 23:45:20 -0700 (PDT) From: Peter Wemm Message-Id: <199704070645.XAA26063@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 genassym.c machdep.c trap.c src/sys/i386/include pcb.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/06 23:45:20 Modified: sys/i386/i386 genassym.c machdep.c trap.c sys/i386/include pcb.h Log: No longer use an i386tss as the basis of our pcb - it wasn't particularly convenient and makes life difficult for my next commit. We still need an i386tss to point to for the tss slot in the gdt, so we use a common tss shared between all processes. Note that this is going to break debugging until this series of commits is finished. core dumps will change again too. :-( we really need a more modern core dump format that doesn't depend on the pcb/upages. This change makes VM86 mode harder, but the following commits will remove a lot of constraints for the VM86 system, including the possibility of extending the pcb for an IO port map etc. Obtained from: bde Revision Changes Path 1.43 +8 -27 src/sys/i386/i386/genassym.c 1.235 +8 -10 src/sys/i386/i386/machdep.c 1.90 +4 -4 src/sys/i386/i386/trap.c 1.19 +12 -15 src/sys/i386/include/pcb.h From owner-cvs-sys Sun Apr 6 23:55:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA26370 for cvs-sys-outgoing; Sun, 6 Apr 1997 23:55:04 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA26362; Sun, 6 Apr 1997 23:54:54 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id QAA05525; Mon, 7 Apr 1997 16:24:52 +0930 (CST) From: Michael Smith Message-Id: <199704070654.QAA05525@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c trap.c src/sys/i386/include pcb.h In-Reply-To: <199704070645.XAA26063@freefall.freebsd.org> from Peter Wemm at "Apr 6, 97 11:45:20 pm" To: peter@freefall.freebsd.org (Peter Wemm) Date: Mon, 7 Apr 1997 16:24:52 +0930 (CST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm stands accused of saying: > peter 97/04/06 23:45:20 > > Modified: sys/i386/i386 genassym.c machdep.c trap.c > sys/i386/include pcb.h > Log: > No longer use an i386tss as the basis of our pcb - it wasn't particularly > convenient and makes life difficult for my next commit. We still need > an i386tss to point to for the tss slot in the gdt, so we use a common > tss shared between all processes. ... > This change makes VM86 mode harder, but the following commits will remove > a lot of constraints for the VM86 system, including the possibility of > extending the pcb for an IO port map etc. Yay! Have you looked at Jonathan's current vm86 code in preparation for this? (I haven't recently 8( ) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-sys Mon Apr 7 00:16:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA27565 for cvs-sys-outgoing; Mon, 7 Apr 1997 00:16:09 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA27557; Mon, 7 Apr 1997 00:16:08 -0700 (PDT) Date: Mon, 7 Apr 1997 00:16:08 -0700 (PDT) From: Peter Wemm Message-Id: <199704070716.AAA27557@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include cpu.h src/sys/kern init_main.c kern_exit.c kern_fork.c src/sys/sys proc.h src/sys/i386/i386 exception.s genassym.c locore.s machdep.c pmap.c swtch.s symbols.raw trap.c vm_machdep.c src/sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 00:16:07 Modified: sys/i386/i386 exception.s genassym.c locore.s machdep.c pmap.c swtch.s symbols.raw trap.c vm_machdep.c sys/i386/include cpu.h sys/kern init_main.c kern_exit.c kern_fork.c sys/sys proc.h sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h Log: The biggie: Get rid of the UPAGES from the top of the per-process address space. (!) Have each process use the kernel stack and pcb in the kvm space. Since the stacks are at a different address, we cannot copy the stack at fork() and allow the child to return up through the function call tree to return to user mode - create a new execution context and have the new process begin executing from cpu_switch() and go to user mode directly. In theory this should speed up fork a bit. Context switch the tss_esp0 pointer in the common tss. This is a lot simpler since than swithching the gdt[GPROC0_SEL].sd.sd_base pointer to each process's tss since the esp0 pointer is a 32 bit pointer, and the sd_base setting is split into three different bit sections at non-aligned boundaries and requires a lot of twiddling to reset. The 8K of memory at the top of the process space is now empty, and unmapped (and unmappable, it's higher than VM_MAXUSER_ADDRESS). Simplity the pmap code to manage process contexts, we no longer have to double map the UPAGES, this simplifies and should measuably speed up fork(). The following parts came from John Dyson: Set PG_G on the UPAGES that are now in kernel context, and invalidate them when swapping them out. Move the upages object (upobj) from the vmspace to the proc structure. Now that the UPAGES (pcb and kernel stack) are out of user space, make rfork(..RFMEM..) do what was intended by sharing the vmspace entirely via reference counting rather than simply inheriting the mappings. Revision Changes Path 1.22 +15 -1 src/sys/i386/i386/exception.s 1.44 +4 -1 src/sys/i386/i386/genassym.c 1.83 +13 -12 src/sys/i386/i386/locore.s 1.236 +19 -10 src/sys/i386/i386/machdep.c 1.139 +18 -51 src/sys/i386/i386/pmap.c 1.44 +42 -1 src/sys/i386/i386/swtch.s 1.9 +1 -2 src/sys/i386/i386/symbols.raw 1.91 +20 -1 src/sys/i386/i386/trap.c 1.78 +61 -37 src/sys/i386/i386/vm_machdep.c 1.29 +5 -1 src/sys/i386/include/cpu.h 1.60 +12 -36 src/sys/kern/init_main.c 1.47 +3 -3 src/sys/kern/kern_exit.c 1.33 +6 -28 src/sys/kern/kern_fork.c 1.34 +3 -2 src/sys/sys/proc.h 1.33 +2 -2 src/sys/vm/vm_extern.h 1.62 +18 -16 src/sys/vm/vm_glue.c 1.75 +1 -4 src/sys/vm/vm_map.c 1.26 +1 -2 src/sys/vm/vm_map.h From owner-cvs-sys Mon Apr 7 00:24:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA27908 for cvs-sys-outgoing; Mon, 7 Apr 1997 00:24:36 -0700 (PDT) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA27903; Mon, 7 Apr 1997 00:24:28 -0700 (PDT) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.5/8.8.5) with SMTP id IAA11549; Mon, 7 Apr 1997 08:24:10 +0100 (BST) Date: Mon, 7 Apr 1997 08:24:10 +0100 (BST) From: Doug Rabson To: Thomas Gellekum cc: Doug Rabson , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h In-Reply-To: <87vi5zxsmw.fsf@ghpc6.ihf.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 7 Apr 1997, Thomas Gellekum wrote: > Doug Rabson writes: > > > dfr 97/04/04 09:49:38 > > > > Modified: sys/nfs nfs_subs.c nfs_vfsops.c nfs_vnops.c nfsnode.h > > Log: > > Fix various bugs in the locking protocol, allowing proper shared locks > > to be used. This should fix the lock panics that people are seeing. > > 2.2 candidate? The problem is not as severe in 2.2 and it requires the locking infrastructure from Lite2 to make it work. Maybe Lite2 could be considered as a 2.2.5 candidate if it proves itself over the next few weeks? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 From owner-cvs-sys Mon Apr 7 00:54:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA29003 for cvs-sys-outgoing; Mon, 7 Apr 1997 00:54:56 -0700 (PDT) Received: from spinner.DIALix.COM (spinner.dialix.com [192.203.228.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA28997; Mon, 7 Apr 1997 00:54:48 -0700 (PDT) Received: from spinner.DIALix.COM (localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id PAA01820; Mon, 7 Apr 1997 15:54:24 +0800 (WST) Message-Id: <199704070754.PAA01820@spinner.DIALix.COM> To: Michael Smith cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c trap.c src/sys/i386/include pcb.h In-reply-to: Your message of "Mon, 07 Apr 1997 16:24:52 +0930." <199704070654.QAA05525@genesis.atrad.adelaide.edu.au> Date: Mon, 07 Apr 1997 15:54:23 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Michael Smith wrote: > Peter Wemm stands accused of saying: > > peter 97/04/06 23:45:20 > > > > Modified: sys/i386/i386 genassym.c machdep.c trap.c > > sys/i386/include pcb.h > > Log: > > No longer use an i386tss as the basis of our pcb - it wasn't particularly > > convenient and makes life difficult for my next commit. We still need > > an i386tss to point to for the tss slot in the gdt, so we use a common > > tss shared between all processes. > ... > > This change makes VM86 mode harder, but the following commits will remove > > a lot of constraints for the VM86 system, including the possibility of > > extending the pcb for an IO port map etc. > > Yay! Have you looked at Jonathan's current vm86 code in preparation > for this? (I haven't recently 8( ) No.. Is there something somewhere that I can look at? I've been working on assumptions of what might be needed. What's now possible is that we can do interesting things like add an optional i386tss to the pcb (or via malloc or whatever) with an IO permission bitmap of whatever size is needed. Changing the number of UPAGES will no longer cause BSD/OS binaries (eg: netscape) to fail, so we have a lot more freedom now. Cheers, -Peter From owner-cvs-sys Mon Apr 7 01:14:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA00117 for cvs-sys-outgoing; Mon, 7 Apr 1997 01:14:26 -0700 (PDT) Received: from critter.dk.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA00111; Mon, 7 Apr 1997 01:14:15 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.dk.tfs.com (8.8.5/8.8.5) with ESMTP id KAA00284; Mon, 7 Apr 1997 10:13:09 +0200 (CEST) To: Peter Wemm cc: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: cvs commit: src/sys/i386/include cpu.h src/sys/kern init_main.c kern_exit.c kern_fork.c src/sys/sys proc.h src/sys/i386/i386 exception.s genassym.c locore.s machdep.c pmap.c swtch.s symbols.raw trap.c vm_machdep.c src/sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h In-reply-to: Your message of "Mon, 07 Apr 1997 00:16:08 PDT." <199704070716.AAA27557@freefall.freebsd.org> Date: Mon, 07 Apr 1997 10:13:08 +0200 Message-ID: <282.860400788@critter> From: Poul-Henning Kamp Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199704070716.AAA27557@freefall.freebsd.org>, Peter Wemm writes: >peter 97/04/07 00:16:07 > > Modified: sys/i386/i386 exception.s genassym.c locore.s machdep.c > pmap.c swtch.s symbols.raw trap.c vm_machdep.c > sys/i386/include cpu.h > sys/kern init_main.c kern_exit.c kern_fork.c > sys/sys proc.h > sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h > Log: > The biggie: Get rid of the UPAGES from the top of the per-process address > space. (!) YEAH!!!! -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail. From owner-cvs-sys Mon Apr 7 01:38:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA01567 for cvs-sys-outgoing; Mon, 7 Apr 1997 01:38:27 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA01557; Mon, 7 Apr 1997 01:38:23 -0700 (PDT) Date: Mon, 7 Apr 1997 01:38:23 -0700 (PDT) From: Peter Wemm Message-Id: <199704070838.BAA01557@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 locore.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 01:38:22 Modified: sys/i386/i386 locore.s Log: Clean up some dead wood. Kill the page table page for mapping the proc0/idlePTD/bootstrap stack into place in user space. We save 4K. Remove p0upa, it is now unneeded. Revision Changes Path 1.84 +2 -24 src/sys/i386/i386/locore.s From owner-cvs-sys Mon Apr 7 02:27:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA03731 for cvs-sys-outgoing; Mon, 7 Apr 1997 02:27:30 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA03719; Mon, 7 Apr 1997 02:27:25 -0700 (PDT) Date: Mon, 7 Apr 1997 02:27:25 -0700 (PDT) From: Peter Wemm Message-Id: <199704070927.CAA03719@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include param.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 02:27:23 Modified: sys/i386/include param.h Log: Define UPAGES_HOLE at 2 (same as current UPAGES) in case UPAGES changes later. This is used to calculate the top of user address space. Revision Changes Path 1.27 +3 -1 src/sys/i386/include/param.h From owner-cvs-sys Mon Apr 7 02:30:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA03970 for cvs-sys-outgoing; Mon, 7 Apr 1997 02:30:28 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA03960; Mon, 7 Apr 1997 02:30:25 -0700 (PDT) Date: Mon, 7 Apr 1997 02:30:25 -0700 (PDT) From: Peter Wemm Message-Id: <199704070930.CAA03960@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include pmap.h vmparam.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 02:30:25 Modified: sys/i386/include pmap.h vmparam.h Log: Use UPAGES_HOLE instead of UPAGES in case it's changed some time. Rename the PT* index KSTK* #defines to UMAX*, since we don't have a kernel stack there any more.. These are used to calculate VM_MAXUSER_ADDRESS and USRSTACK, and really do not want to be changed with UPAGES since BSD/OS 2.x binary compatability depends on it. Revision Changes Path 1.49 +3 -3 src/sys/i386/include/pmap.h 1.25 +2 -2 src/sys/i386/include/vmparam.h From owner-cvs-sys Mon Apr 7 02:35:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA04400 for cvs-sys-outgoing; Mon, 7 Apr 1997 02:35:20 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA04393; Mon, 7 Apr 1997 02:35:18 -0700 (PDT) Date: Mon, 7 Apr 1997 02:35:18 -0700 (PDT) From: Peter Wemm Message-Id: <199704070935.CAA04393@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys proc.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 02:35:17 Modified: sys/sys proc.h Log: Move p_vmspace into the startzero section since we've just changed things and may as well get it over and done with. Revision Changes Path 1.35 +3 -2 src/sys/sys/proc.h From owner-cvs-sys Mon Apr 7 02:38:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA04594 for cvs-sys-outgoing; Mon, 7 Apr 1997 02:38:44 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA04587; Mon, 7 Apr 1997 02:38:41 -0700 (PDT) Date: Mon, 7 Apr 1997 02:38:41 -0700 (PDT) From: Peter Wemm Message-Id: <199704070938.CAA04587@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_fork.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 02:38:41 Modified: sys/kern kern_fork.c Log: Remove explicit zero of p_vmspace on creation, it's now in the startzero section of the proc struct. Revision Changes Path 1.34 +1 -6 src/sys/kern/kern_fork.c From owner-cvs-sys Mon Apr 7 03:53:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA07575 for cvs-sys-outgoing; Mon, 7 Apr 1997 03:53:18 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA07566; Mon, 7 Apr 1997 03:53:15 -0700 (PDT) Date: Mon, 7 Apr 1997 03:53:15 -0700 (PDT) From: KATO Takenori Message-Id: <199704071053.DAA07566@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 clock.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/07 03:53:15 Modified: sys/pc98/pc98 clock.c Log: Synchronize with sys/i386/isa/clock.c revision 1.80. Revision Changes Path 1.19 +10 -5 src/sys/pc98/pc98/clock.c From owner-cvs-sys Mon Apr 7 04:00:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA07972 for cvs-sys-outgoing; Mon, 7 Apr 1997 04:00:58 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA07963; Mon, 7 Apr 1997 04:00:55 -0700 (PDT) Date: Mon, 7 Apr 1997 04:00:55 -0700 (PDT) From: KATO Takenori Message-Id: <199704071100.EAA07963@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/i386 machdep.c trap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/07 04:00:54 Modified: sys/pc98/i386 machdep.c trap.c Log: Synchronize with sys/i386/i386{machdep.c,trap.c} revisions 1.236 and 1.91, respectively. Revision Changes Path 1.35 +23 -16 src/sys/pc98/i386/machdep.c 1.16 +23 -4 src/sys/pc98/i386/trap.c From owner-cvs-sys Mon Apr 7 04:42:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA10286 for cvs-sys-outgoing; Mon, 7 Apr 1997 04:42:16 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA10277; Mon, 7 Apr 1997 04:42:13 -0700 (PDT) Date: Mon, 7 Apr 1997 04:42:13 -0700 (PDT) From: Peter Wemm Message-Id: <199704071142.EAA10277@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 exception.s Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/07 04:42:13 Modified: sys/i386/i386 exception.s Log: Lower the spl() of the new process from splhigh() right away, since nothing else will lower it until either much later, or never(?) for kernel processes. This basically re-fixes what Bruce fixed in rev 1.29 of kern_fork.c, which was broken again now the child does not execute back up the fork() calling tree. Revision Changes Path 1.23 +9 -2 src/sys/i386/i386/exception.s From owner-cvs-sys Mon Apr 7 04:45:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA10368 for cvs-sys-outgoing; Mon, 7 Apr 1997 04:45:50 -0700 (PDT) Received: from spinner.DIALix.COM (spinner.dialix.com [192.203.228.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA10361; Mon, 7 Apr 1997 04:45:38 -0700 (PDT) Received: from spinner.DIALix.COM (localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id TAA00701; Mon, 7 Apr 1997 19:45:34 +0800 (WST) Message-Id: <199704071145.TAA00701@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: Peter Wemm cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 exception.s In-reply-to: Your message of "Mon, 07 Apr 1997 04:42:13 MST." <199704071142.EAA10277@freefall.freebsd.org> Date: Mon, 07 Apr 1997 19:45:33 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > peter 97/04/07 04:42:13 > > Modified: sys/i386/i386 exception.s > Log: > Lower the spl() of the new process from splhigh() right away, since > nothing else will lower it until either much later, or never(?) for > kernel processes. > > This basically re-fixes what Bruce fixed in rev 1.29 of kern_fork.c, > which was broken again now the child does not execute back up the fork() > calling tree. BTW, I'm not 100% sure about this, I'm waiting for confirmation from Bruce, but this machine runs a heck of a lot better with it. (The regular "calcru: negative time" messages seem to have stopped). There may be some followup commits. Cheers, -Peter From owner-cvs-sys Mon Apr 7 11:32:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA00808 for cvs-sys-outgoing; Mon, 7 Apr 1997 11:32:52 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA00797; Mon, 7 Apr 1997 11:32:50 -0700 (PDT) Date: Mon, 7 Apr 1997 11:32:50 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199704071832.LAA00797@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/07 11:32:49 Modified: sys/i386/scsi aic7xxx.c Log: Fix an infinite loop caused by calling ahc_run_done queue while the driver is waiting a bus settle delay. There should really be a facility for the controller driver to "freeze" its queue during recovery operations which would make all of this gymnastics unnecessary. Revision Changes Path 1.114 +32 -3 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Mon Apr 7 11:33:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA00878 for cvs-sys-outgoing; Mon, 7 Apr 1997 11:33:13 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA00871; Mon, 7 Apr 1997 11:33:12 -0700 (PDT) Date: Mon, 7 Apr 1997 11:33:12 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199704071833.LAA00871@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/07 11:33:12 Branch: sys/i386/scsi RELENG_2_2 Modified: sys/i386/scsi aic7xxx.c Log: sync with current Revision Changes Path 1.81.2.21 +32 -3 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Mon Apr 7 11:33:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA00952 for cvs-sys-outgoing; Mon, 7 Apr 1997 11:33:38 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA00945; Mon, 7 Apr 1997 11:33:37 -0700 (PDT) Date: Mon, 7 Apr 1997 11:33:37 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199704071833.LAA00945@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/07 11:33:36 Branch: sys/i386/scsi RELENG_2_1_0 Modified: sys/i386/scsi aic7xxx.c Log: Sync with current. Revision Changes Path 1.29.2.37 +32 -3 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Mon Apr 7 11:41:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA01596 for cvs-sys-outgoing; Mon, 7 Apr 1997 11:41:56 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA01583; Mon, 7 Apr 1997 11:41:32 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.8.5/8.8.4) with SMTP id LAA27964; Mon, 7 Apr 1997 11:29:03 -0700 (PDT) Message-ID: <33493C34.167EB0E7@whistle.com> Date: Mon, 07 Apr 1997 11:25:56 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Peter Wemm CC: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/include cpu.h src/sys/kern init_main.c kern_exit.c kern_fork.c src/sys/sys proc.h src/sys/i386/i386 exception.s genassym.c locore.s machdep.c pmap.c swtch.s symbols.raw trap.c vm_machdep.c src/sys/vm vm_extern.h vm_glue.c vm_map.c vm_map.h References: <199704070716.AAA27557@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > The biggie: Get rid of the UPAGES from the top of the per-process address > space. (!) YAY!!!!! role on rfork() pthreads!!! > Now that the UPAGES (pcb and kernel stack) are out of user space, make > rfork(..RFMEM..) do what was intended by sharing the vmspace > entirely via reference counting rather than simply inheriting the mappings. "and there was great celebration, and the people feated on aardvarks, and anchovies and sloths and...." (or however the quote goes) From owner-cvs-sys Tue Apr 8 03:33:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA29909 for cvs-sys-outgoing; Tue, 8 Apr 1997 03:33:28 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA29902; Tue, 8 Apr 1997 03:33:26 -0700 (PDT) Date: Tue, 8 Apr 1997 03:33:26 -0700 (PDT) From: KATO Takenori Message-Id: <199704081033.DAA29902@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa if_lnc.c src/sys/pc98/conf files.pc98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/08 03:33:26 Modified: sys/i386/isa if_lnc.c sys/pc98/conf files.pc98 Log: Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card. Cascade mode of DMA is disabled when PC98 is defined because PC-98 doesn't support it. Revision Changes Path 1.31 +3 -0 src/sys/i386/isa/if_lnc.c 1.21 +2 -2 src/sys/pc98/conf/files.pc98 From owner-cvs-sys Tue Apr 8 03:56:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA02610 for cvs-sys-outgoing; Tue, 8 Apr 1997 03:56:14 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA02603; Tue, 8 Apr 1997 03:56:13 -0700 (PDT) Date: Tue, 8 Apr 1997 03:56:13 -0700 (PDT) From: KATO Takenori Message-Id: <199704081056.DAA02603@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/conf files.pc98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/08 03:56:13 Branch: sys/pc98/conf RELENG_2_2 Modified: sys/pc98/conf files.pc98 Log: Synchronize with sys/i386/conf/files.i386 revision 1.141.2.11. Revision Changes Path 1.9.2.7 +3 -3 src/sys/pc98/conf/files.pc98 From owner-cvs-sys Tue Apr 8 04:01:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA02863 for cvs-sys-outgoing; Tue, 8 Apr 1997 04:01:02 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA02852; Tue, 8 Apr 1997 04:00:59 -0700 (PDT) Date: Tue, 8 Apr 1997 04:00:59 -0700 (PDT) From: KATO Takenori Message-Id: <199704081100.EAA02852@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa if_lnc.c src/sys/pc98/conf files.pc98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/08 04:00:58 Branch: sys/i386/isa RELENG_2_2 sys/pc98/conf RELENG_2_2 Modified: sys/i386/isa if_lnc.c sys/pc98/conf files.pc98 Log: YAMFC (enables lnc driver on PC-98). Revision Changes Path 1.28.2.1 +3 -0 src/sys/i386/isa/if_lnc.c 1.9.2.8 +2 -2 src/sys/pc98/conf/files.pc98 From owner-cvs-sys Tue Apr 8 05:01:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA05276 for cvs-sys-outgoing; Tue, 8 Apr 1997 05:01:15 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA05268; Tue, 8 Apr 1997 05:01:13 -0700 (PDT) Date: Tue, 8 Apr 1997 05:01:13 -0700 (PDT) From: KATO Takenori Message-Id: <199704081201.FAA05268@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/conf GENERIC98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/08 05:01:12 Modified: sys/pc98/conf GENERIC98 Log: Added lnc driver. Revision Changes Path 1.20 +2 -1 src/sys/pc98/conf/GENERIC98 From owner-cvs-sys Tue Apr 8 05:03:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA05378 for cvs-sys-outgoing; Tue, 8 Apr 1997 05:03:30 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA05371; Tue, 8 Apr 1997 05:03:28 -0700 (PDT) Date: Tue, 8 Apr 1997 05:03:28 -0700 (PDT) From: KATO Takenori Message-Id: <199704081203.FAA05371@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/conf GENERIC98 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/08 05:03:28 Branch: sys/pc98/conf RELENG_2_2 Modified: sys/pc98/conf GENERIC98 Log: YAMFC (added lnc driver). Revision Changes Path 1.8.2.6 +2 -1 src/sys/pc98/conf/GENERIC98 From owner-cvs-sys Wed Apr 9 02:15:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA07605 for cvs-sys-outgoing; Wed, 9 Apr 1997 02:15:08 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA07598; Wed, 9 Apr 1997 02:15:06 -0700 (PDT) Date: Wed, 9 Apr 1997 02:15:06 -0700 (PDT) From: Stefan Esser Message-Id: <199704090915.CAA07598@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa pcibus.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 97/04/09 02:15:05 Modified: sys/i386/isa pcibus.c Log: Fix consistency test to not fail on pre PCI 2.0 motherboards Revision Changes Path 1.33 +2 -2 src/sys/i386/isa/pcibus.c From owner-cvs-sys Wed Apr 9 02:16:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA07696 for cvs-sys-outgoing; Wed, 9 Apr 1997 02:16:34 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA07679; Wed, 9 Apr 1997 02:16:30 -0700 (PDT) Date: Wed, 9 Apr 1997 02:16:30 -0700 (PDT) From: Stefan Esser Message-Id: <199704090916.CAA07679@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa pcibus.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 97/04/09 02:16:28 Modified: sys/i386/isa pcibus.c Log: Fix spelling of align and interrupt in comments. Revision Changes Path 1.34 +6 -6 src/sys/i386/isa/pcibus.c From owner-cvs-sys Wed Apr 9 04:34:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA13846 for cvs-sys-outgoing; Wed, 9 Apr 1997 04:34:56 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA13839; Wed, 9 Apr 1997 04:34:53 -0700 (PDT) Date: Wed, 9 Apr 1997 04:34:53 -0700 (PDT) From: Stefan Esser Message-Id: <199704091134.EAA13839@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa pcibus.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 97/04/09 04:34:53 Modified: sys/i386/isa pcibus.c Log: Mask out revision register in consistency test of class register. Revision Changes Path 1.35 +2 -2 src/sys/i386/isa/pcibus.c From owner-cvs-sys Wed Apr 9 08:23:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA25480 for cvs-sys-outgoing; Wed, 9 Apr 1997 08:23:12 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA25473; Wed, 9 Apr 1997 08:23:11 -0700 (PDT) Date: Wed, 9 Apr 1997 08:23:11 -0700 (PDT) From: Bruce Evans Message-Id: <199704091523.IAA25473@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_sysctl.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/09 08:23:10 Modified: sys/kern kern_sysctl.c Log: Include instead of . kern_sysctl.c no longer has anything to do with vnodes and never had anything to do with buffers, but it needs the definitions of B_READ and B_WRITE for use with the bogus useracc() interface and was getting them bogusly due to excessive cleanups in rev.1.49. Revision Changes Path 1.70 +2 -2 src/sys/kern/kern_sysctl.c From owner-cvs-sys Wed Apr 9 08:34:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA26370 for cvs-sys-outgoing; Wed, 9 Apr 1997 08:34:12 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA26363; Wed, 9 Apr 1997 08:34:10 -0700 (PDT) Date: Wed, 9 Apr 1997 08:34:10 -0700 (PDT) From: Bruce Evans Message-Id: <199704091534.IAA26363@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux syscalls.master Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/09 08:34:10 Modified: sys/i386/linux syscalls.master Log: Removed unused #includes. Revision Changes Path 1.5 +1 -3 src/sys/i386/linux/syscalls.master From owner-cvs-sys Wed Apr 9 08:37:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA26639 for cvs-sys-outgoing; Wed, 9 Apr 1997 08:37:07 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA26632; Wed, 9 Apr 1997 08:37:06 -0700 (PDT) Date: Wed, 9 Apr 1997 08:37:06 -0700 (PDT) From: Bruce Evans Message-Id: <199704091537.IAA26632@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/linux linux_proto.h linux_syscall.h linux_sysent.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/09 08:37:06 Modified: sys/i386/linux linux_proto.h linux_syscall.h linux_sysent.c Log: Regenerate (removed unused #includes in linux_sysent.c). Revision Changes Path 1.4 +1 -1 src/sys/i386/linux/linux_proto.h 1.4 +1 -1 src/sys/i386/linux/linux_syscall.h 1.8 +1 -3 src/sys/i386/linux/linux_sysent.c From owner-cvs-sys Wed Apr 9 08:44:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA27132 for cvs-sys-outgoing; Wed, 9 Apr 1997 08:44:52 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA27124; Wed, 9 Apr 1997 08:44:50 -0700 (PDT) Date: Wed, 9 Apr 1997 08:44:50 -0700 (PDT) From: Bruce Evans Message-Id: <199704091544.IAA27124@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 syscalls.isc syscalls.master syscalls.xenix Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/09 08:44:49 Modified: sys/i386/ibcs2 syscalls.isc syscalls.master syscalls.xenix Log: Removed unused #includes. Revision Changes Path 1.4 +1 -3 src/sys/i386/ibcs2/syscalls.isc 1.8 +1 -3 src/sys/i386/ibcs2/syscalls.master 1.5 +1 -3 src/sys/i386/ibcs2/syscalls.xenix From owner-cvs-sys Wed Apr 9 08:46:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA27382 for cvs-sys-outgoing; Wed, 9 Apr 1997 08:46:32 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA27375; Wed, 9 Apr 1997 08:46:30 -0700 (PDT) Date: Wed, 9 Apr 1997 08:46:30 -0700 (PDT) From: Bruce Evans Message-Id: <199704091546.IAA27375@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_isc_syscall.h ibcs2_isc_sysent.c ibcs2_proto.h ibcs2_syscall.h ibcs2_sysent.c ibcs2_xenix.h ibcs2_xenix_syscall.h ibcs2_xenix_sysent.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/09 08:46:29 Modified: sys/i386/ibcs2 ibcs2_isc_syscall.h ibcs2_isc_sysent.c ibcs2_proto.h ibcs2_syscall.h ibcs2_sysent.c ibcs2_xenix.h ibcs2_xenix_syscall.h ibcs2_xenix_sysent.c Log: Regenerate (removed unused #includes from ibcs2*_sysent.c). Revision Changes Path 1.4 +1 -1 src/sys/i386/ibcs2/ibcs2_isc_syscall.h 1.4 +1 -3 src/sys/i386/ibcs2/ibcs2_isc_sysent.c 1.6 +1 -1 src/sys/i386/ibcs2/ibcs2_proto.h 1.7 +1 -1 src/sys/i386/ibcs2/ibcs2_syscall.h 1.8 +1 -3 src/sys/i386/ibcs2/ibcs2_sysent.c 1.5 +1 -1 src/sys/i386/ibcs2/ibcs2_xenix.h 1.5 +1 -1 src/sys/i386/ibcs2/ibcs2_xenix_syscall.h 1.4 +1 -3 src/sys/i386/ibcs2/ibcs2_xenix_sysent.c From owner-cvs-sys Wed Apr 9 09:32:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA00421 for cvs-sys-outgoing; Wed, 9 Apr 1997 09:32:27 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA00414; Wed, 9 Apr 1997 09:32:25 -0700 (PDT) Date: Wed, 9 Apr 1997 09:32:25 -0700 (PDT) From: Bruce Evans Message-Id: <199704091632.JAA00414@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys stat.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/09 09:32:24 Modified: sys/sys stat.h Log: Distinguish fifos from sockets in the S_IS* macros. This is possible now that nameless pipes are not implemented as sockets. Don't include if KERNEL is defined. It should already have been included by including . Fixed a nearby typo. Revision Changes Path 1.12 +6 -6 src/sys/sys/stat.h From owner-cvs-sys Wed Apr 9 09:53:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA01543 for cvs-sys-outgoing; Wed, 9 Apr 1997 09:53:49 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA01536; Wed, 9 Apr 1997 09:53:47 -0700 (PDT) Date: Wed, 9 Apr 1997 09:53:47 -0700 (PDT) From: Bruce Evans Message-Id: <199704091653.JAA01536@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys pipe.h src/sys/kern kern_descrip.c sys_pipe.c uipc_syscalls.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/09 09:53:47 Modified: sys/kern kern_descrip.c sys_pipe.c uipc_syscalls.c sys/sys pipe.h Log: Removed support for OLD_PIPE. is now missing the hack that supported nameless pipes being indistinguishable from fifos. We're not going back. Revision Changes Path 1.38 +1 -7 src/sys/kern/kern_descrip.c 1.28 +1 -4 src/sys/kern/sys_pipe.c 1.25 +1 -55 src/sys/kern/uipc_syscalls.c 1.9 +1 -5 src/sys/sys/pipe.h From owner-cvs-sys Wed Apr 9 12:22:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA10245 for cvs-sys-outgoing; Wed, 9 Apr 1997 12:22:42 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA10226; Wed, 9 Apr 1997 12:22:22 -0700 (PDT) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.5/8.8.2) id VAA29296; Wed, 9 Apr 1997 21:22:13 +0200 (MET DST) From: Guido van Rooij Message-Id: <199704091922.VAA29296@gvr.win.tue.nl> Subject: Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c trap.c src/sys/i386/include pcb.h In-Reply-To: <199704070645.XAA26063@freefall.freebsd.org> from Peter Wemm at "Apr 6, 97 11:45:20 pm" To: peter@freefall.freebsd.org (Peter Wemm) Date: Wed, 9 Apr 1997 21:22:13 +0200 (MET DST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > This change makes VM86 mode harder, but the following commits will remove > a lot of constraints for the VM86 system, including the possibility of > extending the pcb for an IO port map etc. Yes! Finally get rid of the old /dev/io hack ;-) -Guido From owner-cvs-sys Thu Apr 10 05:26:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA02568 for cvs-sys-outgoing; Thu, 10 Apr 1997 05:26:54 -0700 (PDT) Received: (from yokota@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA02560; Thu, 10 Apr 1997 05:26:52 -0700 (PDT) Date: Thu, 10 Apr 1997 05:26:52 -0700 (PDT) From: Kazutaka YOKOTA Message-Id: <199704101226.FAA02560@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 97/04/10 05:26:52 Modified: sys/i386/isa syscons.c Log: Preserve some bits in the keyboard controller command byte when resetting the keyboard. Well, sorry, this bug is totally my fault. I DID intend to preserve them, but somehow I failed. The bug puts some old keyboard controllers in a strange state, resulting in keyboard freeze or random key input. The fix closes PR kern/3067. Revision Changes Path 1.209 +6 -10 src/sys/i386/isa/syscons.c From owner-cvs-sys Thu Apr 10 05:39:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA02988 for cvs-sys-outgoing; Thu, 10 Apr 1997 05:39:14 -0700 (PDT) Received: (from yokota@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA02981; Thu, 10 Apr 1997 05:39:12 -0700 (PDT) Date: Thu, 10 Apr 1997 05:39:12 -0700 (PDT) From: Kazutaka YOKOTA Message-Id: <199704101239.FAA02981@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 97/04/10 05:39:11 Branch: sys/i386/isa RELENG_2_2 Modified: sys/i386/isa syscons.c Log: Merge recent keyboard related fixes from -current (v1.207, v1.209). Revision Changes Path 1.182.2.16 +15 -12 src/sys/i386/isa/syscons.c From owner-cvs-sys Thu Apr 10 06:17:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA04645 for cvs-sys-outgoing; Thu, 10 Apr 1997 06:17:14 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA04638; Thu, 10 Apr 1997 06:17:12 -0700 (PDT) Date: Thu, 10 Apr 1997 06:17:12 -0700 (PDT) From: Bruce Evans Message-Id: <199704101317.GAA04638@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ufs/ffs ffs_balloc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/10 06:17:11 Modified: sys/ufs/ffs ffs_balloc.c Log: Use smalllblktosize() instead of multiplying small block numbers by fs->fs_bsize. The macro is usually faster and makes it clearer that the multiplication can't overflow. Revision Changes Path 1.14 +4 -4 src/sys/ufs/ffs/ffs_balloc.c From owner-cvs-sys Thu Apr 10 06:54:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA06279 for cvs-sys-outgoing; Thu, 10 Apr 1997 06:54:23 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA06270; Thu, 10 Apr 1997 06:54:21 -0700 (PDT) Date: Thu, 10 Apr 1997 06:54:21 -0700 (PDT) From: Bruce Evans Message-Id: <199704101354.GAA06270@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/sys dir.h dirent.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/10 06:54:21 Modified: sys/sys dir.h dirent.h Log: Deprecated some more - changed the comment saying that should be used instead to a warning. If this causes too many warnings in ports then it should be changed back after checking some ports for related configuration errors. Moved the definition of DIRSIZ() from to so that it can be used in the kernel without including . Renamed it in some cases to avoid new namespace pollution. Revision Changes Path 1.5 +8 -17 src/sys/sys/dir.h 1.8 +16 -3 src/sys/sys/dirent.h From owner-cvs-sys Thu Apr 10 07:35:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA08963 for cvs-sys-outgoing; Thu, 10 Apr 1997 07:35:37 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA08949; Thu, 10 Apr 1997 07:35:34 -0700 (PDT) Date: Thu, 10 Apr 1997 07:35:34 -0700 (PDT) From: Bruce Evans Message-Id: <199704101435.HAA08949@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/isofs/cd9660 cd9660_util.c src/sys/miscfs/devfs devfs_tree.c src/sys/i386/ibcs2 ibcs2_ioctl.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/10 07:35:34 Modified: sys/isofs/cd9660 cd9660_util.c sys/miscfs/devfs devfs_tree.c sys/i386/ibcs2 ibcs2_ioctl.c Log: Removed unused or apparently-unused #includes, especially of the deprecated header . Revision Changes Path 1.10 +1 -14 src/sys/isofs/cd9660/cd9660_util.c 1.35 +2 -5 src/sys/miscfs/devfs/devfs_tree.c 1.9 +0 -25 src/sys/i386/ibcs2/ibcs2_ioctl.c From owner-cvs-sys Thu Apr 10 07:56:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA10292 for cvs-sys-outgoing; Thu, 10 Apr 1997 07:56:52 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA10283; Thu, 10 Apr 1997 07:56:50 -0700 (PDT) Date: Thu, 10 Apr 1997 07:56:50 -0700 (PDT) From: Bruce Evans Message-Id: <199704101456.HAA10283@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/msdosfs msdosfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/10 07:56:50 Modified: sys/msdosfs msdosfs_vnops.c Log: Get the declaration of `struct dirent' from , not from . Removed unused #include. Fixed type and order of struct members in pseudo-declaration of `struct vop_readdir_args'. Revision Changes Path 1.41 +4 -5 src/sys/msdosfs/msdosfs_vnops.c From owner-cvs-sys Thu Apr 10 08:05:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA10861 for cvs-sys-outgoing; Thu, 10 Apr 1997 08:05:50 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA10852; Thu, 10 Apr 1997 08:05:46 -0700 (PDT) Date: Thu, 10 Apr 1997 08:05:46 -0700 (PDT) From: Bruce Evans Message-Id: <199704101505.IAA10852@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/isofs/cd9660 cd9660_vnops.c src/sys/miscfs/devfs devfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/10 08:05:43 Modified: sys/isofs/cd9660 cd9660_vnops.c sys/miscfs/devfs devfs_vnops.c Log: Get the declaration of `struct dirent' from , not from , and use the new macro GENERIC_DIRSIZ() instead of DIRSIZ(). Removed unused #includes. Revision Changes Path 1.33 +4 -8 src/sys/isofs/cd9660/cd9660_vnops.c 1.36 +4 -7 src/sys/miscfs/devfs/devfs_vnops.c From owner-cvs-sys Thu Apr 10 10:07:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA18010 for cvs-sys-outgoing; Thu, 10 Apr 1997 10:07:43 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA17997; Thu, 10 Apr 1997 10:07:30 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id DAA13021; Fri, 11 Apr 1997 03:05:12 +1000 Date: Fri, 11 Apr 1997 03:05:12 +1000 From: Bruce Evans Message-Id: <199704101705.DAA13021@godzilla.zeta.org.au> To: guido@gvr.win.tue.nl, peter@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c trap.c src/sys/i386/include pcb.h Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> This change makes VM86 mode harder, but the following commits will remove >> a lot of constraints for the VM86 system, including the possibility of >> extending the pcb for an IO port map etc. > >Yes! Finally get rid of the old /dev/io hack ;-) It would mainly make things more complicated and cost more. Accesses through the port map cost 20 cycles extra. There would be up to 64K of ports to manage. Who knows where the DMA ports (if any) on new video cards are? Bruce From owner-cvs-sys Thu Apr 10 12:15:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA24094 for cvs-sys-outgoing; Thu, 10 Apr 1997 12:15:03 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA24078; Thu, 10 Apr 1997 12:15:00 -0700 (PDT) Date: Thu, 10 Apr 1997 12:15:00 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199704101915.MAA24078@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_asm.c src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/10 12:15:00 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_asm.c Log: aic7xxx.seq: Be consistant about testing for parity errors after waiting for a REQ on the bus. Don't ack the last byte in a transaction until after we've cleared all target state. aic7xxx_asm.c: Test the return value of getopt against -1 not EOF. (Yet another shameless victum of the style guide being wrong). Revision Changes Path 1.70 +7 -4 src/sys/dev/aic7xxx/aic7xxx.seq 1.17 +3 -3 src/sys/dev/aic7xxx/aic7xxx_asm.c Modified: sys/i386/scsi aic7xxx.c Log: Drop the number of allowed tags back down to 8. Pluto uses a higher value which mistakenly got committed. Fix two bugs in the ahc_reset_device code: Limit search for SCBs to process to those that are active and are not queued for done processing. It's okay for an SCB to not have a waiting next SCB. Revision Changes Path 1.115 +17 -17 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Thu Apr 10 12:26:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA25032 for cvs-sys-outgoing; Thu, 10 Apr 1997 12:26:18 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA25025; Thu, 10 Apr 1997 12:26:14 -0700 (PDT) Date: Thu, 10 Apr 1997 12:26:14 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199704101926.MAA25025@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_asm.c src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/10 12:26:13 Branch: sys/dev/aic7xxx RELENG_2_2 sys/i386/scsi RELENG_2_2 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_asm.c sys/i386/scsi aic7xxx.c Log: Sync with current. Revision Changes Path 1.46.2.16 +7 -4 src/sys/dev/aic7xxx/aic7xxx.seq 1.12.6.3 +3 -3 src/sys/dev/aic7xxx/aic7xxx_asm.c 1.81.2.22 +17 -17 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Fri Apr 11 00:39:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA02546 for cvs-sys-outgoing; Fri, 11 Apr 1997 00:39:59 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA02533; Fri, 11 Apr 1997 00:39:44 -0700 (PDT) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.5/8.8.2) id JAA06258; Fri, 11 Apr 1997 09:39:18 +0200 (MET DST) From: Guido van Rooij Message-Id: <199704110739.JAA06258@gvr.win.tue.nl> Subject: Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c trap.c src/sys/i386/include pcb.h In-Reply-To: <199704101705.DAA13021@godzilla.zeta.org.au> from Bruce Evans at "Apr 11, 97 03:05:12 am" To: bde@zeta.org.au (Bruce Evans) Date: Fri, 11 Apr 1997 09:39:18 +0200 (MET DST) Cc: peter@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > >> This change makes VM86 mode harder, but the following commits will remove > >> a lot of constraints for the VM86 system, including the possibility of > >> extending the pcb for an IO port map etc. > > > >Yes! Finally get rid of the old /dev/io hack ;-) > > It would mainly make things more complicated and cost more. Accesses > through the port map cost 20 cycles extra. There would be up to 64K of > ports to manage. Who knows where the DMA ports (if any) on new video > cards are? The extra cost is only for ppl using the io port map. As far as I understand it this map is optional. When non-present you don't have to fiddle with it. So the performance penalty is only for those ppl. -Guido From owner-cvs-sys Fri Apr 11 00:41:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA02709 for cvs-sys-outgoing; Fri, 11 Apr 1997 00:41:28 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA02702; Fri, 11 Apr 1997 00:41:25 -0700 (PDT) Date: Fri, 11 Apr 1997 00:41:25 -0700 (PDT) From: KATO Takenori Message-Id: <199704110741.AAA02702@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/11 00:41:25 Modified: sys/pc98/pc98 syscons.c Log: Synchronize with sys/i386/isa/syscons.c revision 1.209. Revision Changes Path 1.34 +6 -10 src/sys/pc98/pc98/syscons.c From owner-cvs-sys Fri Apr 11 00:44:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA02890 for cvs-sys-outgoing; Fri, 11 Apr 1997 00:44:48 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA02882; Fri, 11 Apr 1997 00:44:45 -0700 (PDT) Date: Fri, 11 Apr 1997 00:44:45 -0700 (PDT) From: KATO Takenori Message-Id: <199704110744.AAA02882@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/11 00:44:44 Branch: sys/pc98/pc98 RELENG_2_2 Modified: sys/pc98/pc98 syscons.c Log: Synchronize with sys/i386/isa/syscons.c revision 1.182.2.16. Revision Changes Path 1.13.2.14 +15 -12 src/sys/pc98/pc98/syscons.c From owner-cvs-sys Fri Apr 11 01:02:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA03393 for cvs-sys-outgoing; Fri, 11 Apr 1997 01:02:42 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.dialix.com [192.203.228.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA03382; Fri, 11 Apr 1997 01:02:18 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.5/8.8.5) with ESMTP id QAA01477; Fri, 11 Apr 1997 16:01:55 +0800 (WST) Message-Id: <199704110801.QAA01477@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: Guido van Rooij cc: bde@zeta.org.au (Bruce Evans), peter@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c trap.c src/sys/i386/include pcb.h In-reply-to: Your message of "Fri, 11 Apr 1997 09:39:18 +0200." <199704110739.JAA06258@gvr.win.tue.nl> Date: Fri, 11 Apr 1997 16:01:54 +0800 From: Peter Wemm Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Guido van Rooij wrote: > Bruce Evans wrote: > > >> This change makes VM86 mode harder, but the following commits will rem ove > > >> a lot of constraints for the VM86 system, including the possibility of > > >> extending the pcb for an IO port map etc. > > > > > >Yes! Finally get rid of the old /dev/io hack ;-) > > > > It would mainly make things more complicated and cost more. Accesses > > through the port map cost 20 cycles extra. There would be up to 64K of > > ports to manage. Who knows where the DMA ports (if any) on new video > > cards are? > > The extra cost is only for ppl using the io port map. As far as I understand > it this map is optional. When non-present you don't have to fiddle > with it. So the performance penalty is only for those ppl. Also, it's per IO port access, isn't it? As I understand it, most of the IO port access is done when setting up the memory mapped "window" in high memory (on pci cards), or things like bank switching, setting the palette etc on the older cards. As for the other penalties, there is a difference in the context switching behavior when switching between a "normal" process on the shared tss and a process that's got it's own tss. I couldn't say for sure how much the speed difference would be, but having the testing to determine the state of the current tss settings won't be completely free. On the other hand, it seems as though somebody (who I will not name) has already got this working... (You know who you are.. :-) > -Guido Cheers, -Peter From owner-cvs-sys Fri Apr 11 05:29:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA14900 for cvs-sys-outgoing; Fri, 11 Apr 1997 05:29:59 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA14892; Fri, 11 Apr 1997 05:29:56 -0700 (PDT) Date: Fri, 11 Apr 1997 05:29:56 -0700 (PDT) From: KATO Takenori Message-Id: <199704111229.FAA14892@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/pc98 pc98.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/11 05:29:54 Modified: sys/pc98/pc98 pc98.c Log: Deleted ddb_inb and ddb_outb functions that provide I/O access routines as function for DDB. The inb and outb are provided as functions in machdep.c when DDB is defined. Revision Changes Path 1.22 +1 -18 src/sys/pc98/pc98/pc98.c From owner-cvs-sys Fri Apr 11 09:45:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA00498 for cvs-sys-outgoing; Fri, 11 Apr 1997 09:45:57 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA00489; Fri, 11 Apr 1997 09:45:54 -0700 (PDT) Date: Fri, 11 Apr 1997 09:45:54 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199704111645.JAA00489@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_asm.c src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/11 09:45:54 Branch: sys/dev/aic7xxx RELENG_2_1_0 sys/i386/scsi RELENG_2_1_0 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_asm.c sys/i386/scsi aic7xxx.c Log: Sync with current. Revision Changes Path 1.16.4.25 +7 -4 src/sys/dev/aic7xxx/aic7xxx.seq 1.9.4.6 +3 -3 src/sys/dev/aic7xxx/aic7xxx_asm.c 1.29.2.38 +67 -53 src/sys/i386/scsi/aic7xxx.c From owner-cvs-sys Fri Apr 11 16:37:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA00364 for cvs-sys-outgoing; Fri, 11 Apr 1997 16:37:26 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA00356; Fri, 11 Apr 1997 16:37:25 -0700 (PDT) Date: Fri, 11 Apr 1997 16:37:25 -0700 (PDT) From: John Dyson Message-Id: <199704112337.QAA00356@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/11 16:37:24 Modified: sys/kern kern_exec.c Log: Allow a kernel-supported process thread to do an exec without blasting away the VM space of all of the other, associated threads. Revision Changes Path 1.58 +24 -7 src/sys/kern/kern_exec.c From owner-cvs-sys Fri Apr 11 21:07:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA11990 for cvs-sys-outgoing; Fri, 11 Apr 1997 21:07:56 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA11983; Fri, 11 Apr 1997 21:07:54 -0700 (PDT) Date: Fri, 11 Apr 1997 21:07:54 -0700 (PDT) From: John Dyson Message-Id: <199704120407.VAA11983@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/11 21:07:53 Modified: sys/kern kern_exec.c Log: Effectively remove the previous commit to fix threads forking. The change was a false-start, and needs more work. Revision Changes Path 1.59 +7 -3 src/sys/kern/kern_exec.c From owner-cvs-sys Sat Apr 12 10:35:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA12422 for cvs-sys-outgoing; Sat, 12 Apr 1997 10:35:06 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA12415; Sat, 12 Apr 1997 10:35:04 -0700 (PDT) Date: Sat, 12 Apr 1997 10:35:04 -0700 (PDT) From: Joerg Wunsch Message-Id: <199704121735.KAA12415@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ddb db_input.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/04/12 10:35:04 Modified: sys/ddb db_input.c Log: Everyone's favorite, i think: make DDB understand the arrow keys for the basic cursor movements. Assumes ANSI/DEC tty, but you can still resort to plain emacs ^p/^n etc anyway. Revision Changes Path 1.18 +38 -1 src/sys/ddb/db_input.c From owner-cvs-sys Sat Apr 12 18:48:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA09406 for cvs-sys-outgoing; Sat, 12 Apr 1997 18:48:44 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA09397; Sat, 12 Apr 1997 18:48:40 -0700 (PDT) Date: Sat, 12 Apr 1997 18:48:40 -0700 (PDT) From: John Dyson Message-Id: <199704130148.SAA09397@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 imgact_coff.c src/sys/i386/i386 pmap.c src/sys/i386/linux imgact_linux.c src/sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c kern_exec.c kern_fork.c src/sys/vm pmap.h vm_extern.h vm_glue.c vm_map.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/12 18:48:39 Modified: sys/i386/i386 pmap.c sys/i386/ibcs2 imgact_coff.c sys/i386/linux imgact_linux.c sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c kern_exec.c kern_fork.c sys/vm pmap.h vm_extern.h vm_glue.c vm_map.c Log: Fully implement vfork. Vfork is now much much faster than even our fork. (On my machine, fork is about 240usecs, vfork is 78usecs.) Implement rfork(!RFPROC !RFMEM), which allows a thread to divorce its memory from the other threads of a group. Implement rfork(!RFPROC RFCFDG), which closes all file descriptors, eliminating possible existing shares with other threads/processes. Implement rfork(!RFPROC RFFDG), which divorces the file descriptors for a thread from the rest of the group. Fix the case where a thread does an exec. It is almost nonsense for a thread to modify the other threads address space by an exec, so we now automatically divorce the address space before modifying it. Revision Changes Path 1.140 +10 -1 src/sys/i386/i386/pmap.c 1.24 +3 -2 src/sys/i386/ibcs2/imgact_coff.c 1.22 +3 -2 src/sys/i386/linux/imgact_linux.c 1.34 +7 -2 src/sys/kern/imgact_aout.c 1.19 +4 -2 src/sys/kern/imgact_elf.c 1.29 +4 -2 src/sys/kern/imgact_gzip.c 1.60 +3 -1 src/sys/kern/kern_exec.c 1.35 +44 -4 src/sys/kern/kern_fork.c 1.20 +2 -1 src/sys/vm/pmap.h 1.34 +3 -1 src/sys/vm/vm_extern.h 1.63 +7 -5 src/sys/vm/vm_glue.c 1.76 +53 -1 src/sys/vm/vm_map.c From owner-cvs-sys Sat Apr 12 19:31:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA10874 for cvs-sys-outgoing; Sat, 12 Apr 1997 19:31:45 -0700 (PDT) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA10859 for ; Sat, 12 Apr 1997 19:31:40 -0700 (PDT) Received: (qmail 21046 invoked by uid 5); 13 Apr 1997 02:31:31 -0000 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id MAA05870; Sun, 13 Apr 1997 12:31:43 +1000 (EST) From: John Birrell Message-Id: <199704130231.MAA05870@freebsd1.cimlogic.com.au> Subject: Re: cvs commit: src/sys/i386/ibcs2 imgact_coff.c src/sys/i386/i386 pmap.c src/sys/i386/linux imgact_linux.c src/sys/kern imgact_aou To: dyson@freefall.freebsd.org (John Dyson) Date: Sun, 13 Apr 1997 12:31:42 +1000 (EST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199704130148.SAA09397@freefall.freebsd.org> from John Dyson at "Apr 12, 97 06:48:40 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John Dyson wrote: [...] > Implement rfork(!RFPROC !RFMEM), which allows a thread to divorce its memory > from the other threads of a group. > > Implement rfork(!RFPROC RFCFDG), which closes all file descriptors, eliminating > possible existing shares with other threads/processes. > > Implement rfork(!RFPROC RFFDG), which divorces the file descriptors for a > thread from the rest of the group. > > Fix the case where a thread does an exec. It is almost nonsense for a thread > to modify the other threads address space by an exec, so we > now automatically divorce the address space before modifying it. [...] Where do these changes leave rfork(!RFPROC RFMEM !RFFDG)??? 8-) -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, 119 Cecil Street, South Melbourne Vic 3205, Australia Tel +61 3 9690 6900 Fax +61 3 9690 6650 Mob +61 418 353 137 From owner-cvs-sys Sat Apr 12 19:44:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA11336 for cvs-sys-outgoing; Sat, 12 Apr 1997 19:44:20 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA11325; Sat, 12 Apr 1997 19:44:07 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.4/8.6.9) id VAA03235; Sat, 12 Apr 1997 21:43:27 -0500 (EST) From: "John S. Dyson" Message-Id: <199704130243.VAA03235@dyson.iquest.net> Subject: Re: cvs commit: src/sys/i386/ibcs2 imgact_coff.c src/sys/i386/i386 pmap.c src/sys/i386/linux imgact_linux.c src/sys/kern imgact In-Reply-To: <199704130231.MAA05870@freebsd1.cimlogic.com.au> from John Birrell at "Apr 13, 97 12:31:42 pm" To: jb@cimlogic.com.au (John Birrell) Date: Sat, 12 Apr 1997 21:43:27 -0500 (EST) Cc: dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > Implement rfork(!RFPROC !RFMEM), which allows a thread to divorce its memory > > from the other threads of a group. > > > > Implement rfork(!RFPROC RFCFDG), which closes all file descriptors, eliminating > > possible existing shares with other threads/processes. > > > > Implement rfork(!RFPROC RFFDG), which divorces the file descriptors for a > > thread from the rest of the group. > > > > Fix the case where a thread does an exec. It is almost nonsense for a thread > > to modify the other threads address space by an exec, so we > > now automatically divorce the address space before modifying it. > [...] > > Where do these changes leave rfork(!RFPROC RFMEM !RFFDG)??? 8-) > It will divorce memory. It won't modify the file descriptors if both !RFFDG and !RFCFDG. I think that for the bits that I have implemented in the !RFPROC case, it will work as expected. John From owner-cvs-sys Sat Apr 12 19:44:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA11372 for cvs-sys-outgoing; Sat, 12 Apr 1997 19:44:42 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA11355; Sat, 12 Apr 1997 19:44:29 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.8.4/8.6.9) id VAA03239; Sat, 12 Apr 1997 21:44:03 -0500 (EST) From: "John S. Dyson" Message-Id: <199704130244.VAA03239@dyson.iquest.net> Subject: Re: cvs commit: src/sys/i386/ibcs2 imgact_coff.c src/sys/i386/i386 pmap.c src/sys/i386/linux imgact_linux.c src/sys/kern imgact In-Reply-To: <199704130231.MAA05870@freebsd1.cimlogic.com.au> from John Birrell at "Apr 13, 97 12:31:42 pm" To: jb@cimlogic.com.au (John Birrell) Date: Sat, 12 Apr 1997 21:44:03 -0500 (EST) Cc: dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > John Dyson wrote: > [...] > > Implement rfork(!RFPROC !RFMEM), which allows a thread to divorce its memory > > from the other threads of a group. > > > > Implement rfork(!RFPROC RFCFDG), which closes all file descriptors, eliminating > > possible existing shares with other threads/processes. > > > > Implement rfork(!RFPROC RFFDG), which divorces the file descriptors for a > > thread from the rest of the group. > > > > Fix the case where a thread does an exec. It is almost nonsense for a thread > > to modify the other threads address space by an exec, so we > > now automatically divorce the address space before modifying it. > [...] > > Where do these changes leave rfork(!RFPROC RFMEM !RFFDG)??? 8-) > My previous response was wrong. It won't do anything. John From owner-cvs-sys Sat Apr 12 20:05:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA12152 for cvs-sys-outgoing; Sat, 12 Apr 1997 20:05:37 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA12144; Sat, 12 Apr 1997 20:05:35 -0700 (PDT) Date: Sat, 12 Apr 1997 20:05:35 -0700 (PDT) From: John Dyson Message-Id: <199704130305.UAA12144@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_exec.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/12 20:05:34 Modified: sys/kern kern_exec.c Log: Correct the previous thread-fix commit. I made a clerical error. Revision Changes Path 1.61 +3 -13 src/sys/kern/kern_exec.c From owner-cvs-sys Sat Apr 12 20:33:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13024 for cvs-sys-outgoing; Sat, 12 Apr 1997 20:33:29 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13017; Sat, 12 Apr 1997 20:33:27 -0700 (PDT) Date: Sat, 12 Apr 1997 20:33:27 -0700 (PDT) From: John Dyson Message-Id: <199704130333.UAA13017@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/12 20:33:26 Modified: sys/kern vfs_bio.c Log: Improve the buffer cache memory policy by moving pages over to the cache queue more often. The pageout daemon had to be waken up more often than necessary since pages were not put on the cache queue, when they should have been. Submitted by: David Greenman Revision Changes Path 1.114 +12 -13 src/sys/kern/vfs_bio.c From owner-cvs-sys Sat Apr 12 20:35:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13125 for cvs-sys-outgoing; Sat, 12 Apr 1997 20:35:33 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13118; Sat, 12 Apr 1997 20:35:32 -0700 (PDT) Date: Sat, 12 Apr 1997 20:35:32 -0700 (PDT) From: John Dyson Message-Id: <199704130335.UAA13118@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/12 20:35:31 Modified: sys/i386/i386 pmap.c Log: The pmap code was too generous in the allocation of kva space for the pv entries. This problem has become obvious due to the increase in the size of the pv entries. We need to create a more intelligent policy for pv entry management eventually. Submitted by: David Greenman Revision Changes Path 1.141 +12 -6 src/sys/i386/i386/pmap.c From owner-cvs-sys Sat Apr 12 21:07:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA14218 for cvs-sys-outgoing; Sat, 12 Apr 1997 21:07:31 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA14211; Sat, 12 Apr 1997 21:07:28 -0700 (PDT) Date: Sat, 12 Apr 1997 21:07:28 -0700 (PDT) From: John Dyson Message-Id: <199704130407.VAA14211@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 97/04/12 21:07:27 Modified: sys/i386/i386 machdep.c Log: Decrease the amount of memory allocated for bouncing. This will allow large systems to boot successfully with bounce buffers compiled in. We are now limiting bounce space to 512K. The 8MB allocated for a 512MB system is very bogus -- and that is now fixed. Revision Changes Path 1.237 +3 -1 src/sys/i386/i386/machdep.c From owner-cvs-sys Sat Apr 12 23:03:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA18014 for cvs-sys-outgoing; Sat, 12 Apr 1997 23:03:05 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA18007; Sat, 12 Apr 1997 23:03:00 -0700 (PDT) Date: Sat, 12 Apr 1997 23:03:00 -0700 (PDT) From: KATO Takenori Message-Id: <199704130603.XAA18007@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pc98/i386 machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/12 23:02:58 Modified: sys/pc98/i386 machdep.c Log: Synchronize with sys/i386/i386/machdep.c revision 1.237. Revision Changes Path 1.36 +3 -1 src/sys/pc98/i386/machdep.c From owner-cvs-sys Sat Apr 12 23:12:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA18436 for cvs-sys-outgoing; Sat, 12 Apr 1997 23:12:26 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA18428; Sat, 12 Apr 1997 23:12:21 -0700 (PDT) Date: Sat, 12 Apr 1997 23:12:21 -0700 (PDT) From: KATO Takenori Message-Id: <199704130612.XAA18428@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/union README libc.fts.c libc.opendir.c libc.readdir.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/12 23:12:19 Removed: sys/miscfs/union README libc.fts.c libc.opendir.c libc.readdir.c Log: Removed libc stuffs. Lite/2 merged libc contains unionfs support, and we don't have to use the libc related files in sys/misc/unionfs directory. From owner-cvs-sys Sat Apr 12 23:25:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA18968 for cvs-sys-outgoing; Sat, 12 Apr 1997 23:25:11 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA18960; Sat, 12 Apr 1997 23:25:09 -0700 (PDT) Date: Sat, 12 Apr 1997 23:25:09 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199704130625.XAA18960@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/union union_subr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 97/04/12 23:25:08 Modified: sys/miscfs/union union_subr.c Log: Though malloc allocates only cn.cn_namelen bytes for cn.cn_pnbuf in union_vn_create(), following bcopy copies cn.cn_namlen + 1 bytes to cn.cn_pnbuf PR: 3255 Reviewed by: phk Submitted by: kato Revision Changes Path 1.16 +2 -2 src/sys/miscfs/union/union_subr.c From owner-cvs-sys Sat Apr 12 23:27:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA19233 for cvs-sys-outgoing; Sat, 12 Apr 1997 23:27:15 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA19216; Sat, 12 Apr 1997 23:27:12 -0700 (PDT) Date: Sat, 12 Apr 1997 23:27:12 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199704130627.XAA19216@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/union union_subr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 97/04/12 23:27:11 Modified: sys/miscfs/union union_subr.c Log: The path name buffer, cn->cn_pnbuf, is FREEed by VOP_MKDIR when relookup() in union_relookup() is succeeded. However, if relookup() returns non-zero value, that is relookup fails, VOP_MKDIR is never called (c.f. union_mkshadow). Thus, pathname buffer is never FREEed. Reviewed by: phk Submitted by: kato PR: 3262 Revision Changes Path 1.17 +5 -1 src/sys/miscfs/union/union_subr.c From owner-cvs-sys Sat Apr 12 23:29:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA19464 for cvs-sys-outgoing; Sat, 12 Apr 1997 23:29:18 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA19456; Sat, 12 Apr 1997 23:29:16 -0700 (PDT) Date: Sat, 12 Apr 1997 23:29:16 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199704130629.XAA19456@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/union union_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 97/04/12 23:29:15 Modified: sys/miscfs/union union_vnops.c Log: The function union_fsync tries to lock overlaying vnode object when dolock is not set (that is, targetvp == overlaying vnode object). Current code use FIXUP macro to do this, and never unlocks overlaying vnode object in union_fsync. So, the vnode object will be locked twice and never unlocked. PR: 3271 Submitted by: kato Revision Changes Path 1.21 +14 -3 src/sys/miscfs/union/union_vnops.c