From owner-cvs-all Mon Jan 25 18:49:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA07251 for cvs-all-outgoing; Mon, 25 Jan 1999 18:49:54 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07244; Mon, 25 Jan 1999 18:49:53 -0800 (PST) (envelope-from julian@FreeBSD.org) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id SAA40043; Mon, 25 Jan 1999 18:49:53 -0800 (PST) (envelope-from julian@FreeBSD.org) Date: Mon, 25 Jan 1999 18:49:53 -0800 (PST) Message-Id: <199901260249.SAA40043@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libc/sys mmap.2 src/sys/alpha/alpha machdep.c trap.c vm_machdep.c src/sys/i386/conf Makefile.i386 src/sys/sys mman.h src/sys/vm vm_extern.h vm_map.c vm_map.h vm_mmap.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk julian 1999/01/25 18:49:52 PST Modified files: lib/libc/sys mmap.2 sys/alpha/alpha machdep.c trap.c vm_machdep.c sys/i386/conf Makefile.i386 sys/sys mman.h sys/vm vm_extern.h vm_map.c vm_map.h vm_mmap.c Log: Mostly remove the VM_STACK OPTION. This changes the definitions of a few items so that structures are the same whether or not the option itself is enabled. This allows people to enable and disable the option without recompilng the world. As the author says: |I ran into a problem pulling out the VM_STACK option. I was aware of this |when I first did the work, but then forgot about it. The VM_STACK stuff |has some code changes in the i386 branch. There need to be corresponding |changes in the alpha branch before it can come out completely. what is done: | |1) Pull the VM_STACK option out of the header files it appears in. This |really shouldn't affect anything that executes with or without the rest |of the VM_STACK patches. The vm_map_entry will then always have one |extra element (avail_ssize). It just won't be used if the VM_STACK |option is not turned on. | |I've also pulled the option out of vm_map.c. This shouldn't harm anything, |since the routines that are enabled as a result are not called unless |the VM_STACK option is enabled elsewhere. | |2) Add what appears to be appropriate code the the alpha branch, still |protected behind the VM_STACK switch. I don't have an alpha machine, |so we would need to get some testers with alpha machines to try it out. | |Once there is some testing, we can consider making the change permanent |for both i386 and alpha. | [..] | |Once the alpha code is adequately tested, we can pull VM_STACK out |everywhere. | Submitted by: "Richard Seaman, Jr." Revision Changes Path 1.15 +19 -0 src/lib/libc/sys/mmap.2 1.31 +11 -1 src/sys/alpha/alpha/machdep.c 1.11 +16 -1 src/sys/alpha/alpha/trap.c 1.8 +18 -1 src/sys/alpha/alpha/vm_machdep.c 1.138 +2 -2 src/sys/i386/conf/Makefile.i386 1.25 +1 -3 src/sys/sys/mman.h 1.40 +1 -4 src/sys/vm/vm_extern.h 1.143 +1 -7 src/sys/vm/vm_map.c 1.34 +1 -5 src/sys/vm/vm_map.h 1.88 +6 -3 src/sys/vm/vm_mmap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message