Deleted Added
full compact
vmparam.h (172317) vmparam.h (174938)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * William Jolitz.

--- 23 unchanged lines hidden (view full) ---

32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91
39 * from: FreeBSD: src/sys/i386/include/vmparam.h,v 1.33 2000/03/30
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * William Jolitz.

--- 23 unchanged lines hidden (view full) ---

32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91
39 * from: FreeBSD: src/sys/i386/include/vmparam.h,v 1.33 2000/03/30
40 * $FreeBSD: head/sys/sparc64/include/vmparam.h 172317 2007-09-25 06:25:06Z alc $
40 * $FreeBSD: head/sys/sparc64/include/vmparam.h 174938 2007-12-27 16:45:39Z alc $
41 */
42
43
44#ifndef _MACHINE_VMPARAM_H_
45#define _MACHINE_VMPARAM_H_
46
47/*
48 * Virtual memory related constants, all in bytes

--- 68 unchanged lines hidden (view full) ---

117 * at most four TTEs, collectively mapping 16MB of physical memory.
118 * By reducing the number of distinct 16MB "pages" that are used by UMA,
119 * the physical memory allocator reduces the likelihood of both 4MB
120 * page TLB misses and cache misses caused by 4MB page TLB misses.
121 */
122#define VM_NFREEORDER 12
123
124/*
41 */
42
43
44#ifndef _MACHINE_VMPARAM_H_
45#define _MACHINE_VMPARAM_H_
46
47/*
48 * Virtual memory related constants, all in bytes

--- 68 unchanged lines hidden (view full) ---

117 * at most four TTEs, collectively mapping 16MB of physical memory.
118 * By reducing the number of distinct 16MB "pages" that are used by UMA,
119 * the physical memory allocator reduces the likelihood of both 4MB
120 * page TLB misses and cache misses caused by 4MB page TLB misses.
121 */
122#define VM_NFREEORDER 12
123
124/*
125 * Disable superpage reservations.
126 */
127#ifndef VM_NRESERVLEVEL
128#define VM_NRESERVLEVEL 0
129#endif
130
131/*
125 * Address space layout.
126 *
127 * UltraSPARC I and II implement a 44 bit virtual address space. The address
128 * space is split into 2 regions at each end of the 64 bit address space, with
129 * an out of range "hole" in the middle. UltraSPARC III implements the full
130 * 64 bit virtual address space, but we don't really have any use for it and
131 * 43 bits of user address space is considered to be "enough", so we ignore it.
132 *

--- 97 unchanged lines hidden ---
132 * Address space layout.
133 *
134 * UltraSPARC I and II implement a 44 bit virtual address space. The address
135 * space is split into 2 regions at each end of the 64 bit address space, with
136 * an out of range "hole" in the middle. UltraSPARC III implements the full
137 * 64 bit virtual address space, but we don't really have any use for it and
138 * 43 bits of user address space is considered to be "enough", so we ignore it.
139 *

--- 97 unchanged lines hidden ---