Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/powerpc/pmap_dispatch.c
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | |||||
caddr_t crashdumpmap; | caddr_t crashdumpmap; | ||||
int pmap_bootstrapped; | int pmap_bootstrapped; | ||||
/* Default level 0 reservations consist of 512 pages (2MB superpage). */ | /* Default level 0 reservations consist of 512 pages (2MB superpage). */ | ||||
int vm_level_0_order = 9; | int vm_level_0_order = 9; | ||||
SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters"); | SYSCTL_NODE(_vm, OID_AUTO, pmap, CTLFLAG_RD, 0, "VM/pmap parameters"); | ||||
int superpages_enabled = 0; | int superpages_enabled = 1; | ||||
SYSCTL_INT(_vm_pmap, OID_AUTO, superpages_enabled, CTLFLAG_RDTUN, | SYSCTL_INT(_vm_pmap, OID_AUTO, superpages_enabled, CTLFLAG_RDTUN, | ||||
&superpages_enabled, 0, "Enable support for transparent superpages"); | &superpages_enabled, 0, "Enable support for transparent superpages"); | ||||
#ifdef AIM | #ifdef AIM | ||||
int | int | ||||
pvo_vaddr_compare(struct pvo_entry *a, struct pvo_entry *b) | pvo_vaddr_compare(struct pvo_entry *a, struct pvo_entry *b) | ||||
{ | { | ||||
if (PVO_VADDR(a) < PVO_VADDR(b)) | if (PVO_VADDR(a) < PVO_VADDR(b)) | ||||
▲ Show 20 Lines • Show All 163 Lines • Show Last 20 Lines |