Deleted Added
full compact
pmap.c (170026) pmap.c (170170)
1/*-
2 * Copyright (c) 1991 Regents of the University of California.
3 * All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 * Copyright (c) 1994 David Greenman
7 * All rights reserved.
8 * Copyright (c) 1998,2000 Doug Rabson

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

41 * SUCH DAMAGE.
42 *
43 * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
44 * from: i386 Id: pmap.c,v 1.193 1998/04/19 15:22:48 bde Exp
45 * with some ideas from NetBSD's alpha pmap
46 */
47
48#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1991 Regents of the University of California.
3 * All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 * Copyright (c) 1994 David Greenman
7 * All rights reserved.
8 * Copyright (c) 1998,2000 Doug Rabson

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

41 * SUCH DAMAGE.
42 *
43 * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
44 * from: i386 Id: pmap.c,v 1.193 1998/04/19 15:22:48 bde Exp
45 * with some ideas from NetBSD's alpha pmap
46 */
47
48#include <sys/cdefs.h>
49__FBSDID("$FreeBSD: head/sys/ia64/ia64/pmap.c 170026 2007-05-27 19:02:47Z marcel $");
49__FBSDID("$FreeBSD: head/sys/ia64/ia64/pmap.c 170170 2007-05-31 22:52:15Z attilio $");
50
51#include <sys/param.h>
52#include <sys/kernel.h>
53#include <sys/lock.h>
54#include <sys/mman.h>
55#include <sys/mutex.h>
56#include <sys/proc.h>
57#include <sys/smp.h>

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

526 /*
527 * Initialize the address space (zone) for the pv entries. Set a
528 * high water mark so that the system can recover from excessive
529 * numbers of pv entries.
530 */
531 pvzone = uma_zcreate("PV ENTRY", sizeof(struct pv_entry), NULL, NULL,
532 NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM | UMA_ZONE_NOFREE);
533 TUNABLE_INT_FETCH("vm.pmap.shpgperproc", &shpgperproc);
50
51#include <sys/param.h>
52#include <sys/kernel.h>
53#include <sys/lock.h>
54#include <sys/mman.h>
55#include <sys/mutex.h>
56#include <sys/proc.h>
57#include <sys/smp.h>

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

526 /*
527 * Initialize the address space (zone) for the pv entries. Set a
528 * high water mark so that the system can recover from excessive
529 * numbers of pv entries.
530 */
531 pvzone = uma_zcreate("PV ENTRY", sizeof(struct pv_entry), NULL, NULL,
532 NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM | UMA_ZONE_NOFREE);
533 TUNABLE_INT_FETCH("vm.pmap.shpgperproc", &shpgperproc);
534 pv_entry_max = shpgperproc * maxproc + VMCNT_GET(page_count);
534 pv_entry_max = shpgperproc * maxproc + cnt.v_page_count;
535 TUNABLE_INT_FETCH("vm.pmap.pv_entries", &pv_entry_max);
536 pv_entry_high_water = 9 * (pv_entry_max / 10);
537
538 ptezone = uma_zcreate("PT ENTRY", sizeof (struct ia64_lpte),
539 NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM|UMA_ZONE_NOFREE);
540}
541
542

--- 1873 unchanged lines hidden ---
535 TUNABLE_INT_FETCH("vm.pmap.pv_entries", &pv_entry_max);
536 pv_entry_high_water = 9 * (pv_entry_max / 10);
537
538 ptezone = uma_zcreate("PT ENTRY", sizeof (struct ia64_lpte),
539 NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM|UMA_ZONE_NOFREE);
540}
541
542

--- 1873 unchanged lines hidden ---