search for: vm_object_allocate

Displaying 3 results from an estimated 3 matches for "vm_object_allocate".

2003 Apr 09
0
Serious VM issues in 4.7, 4.8
In FreeBSD 4.7 and 4.8, the code for vm_object_allocate() in the file /usr/src/sys/vm/vm_object.c looks like: > 232 vm_object_t > 233 vm_object_allocate(type, size) > 234 objtype_t type; > 235 vm_size_t size; > 236 { > 237 vm_object_t result; > 238 > 239 result = (vm_ob...
2003 Apr 09
1
Panics on 4.7 system
...0989296, tf_edi = 1, tf_esi = 0, tf_ebp = -49955756, tf_isp = -49955780, tf_ebx = 2, tf_edx = 0, tf_ecx = 1, tf_eax = 2, tf_trapno = 12, tf_err = 2, tf_eip = -1071769819, tf_cs = 8, tf_eflags = 66118, tf_esp = 2, tf_ss = -49955720}) at ../../i386/i386/trap.c:466 #6 0xc01e1725 in _vm_object_allocate (type=2, size=1, object=0x0) at ../../vm/vm_object.c:158 #7 0xc01e18c4 in vm_object_allocate (type=2, size=1) at ../../vm/vm_object.c:241 #8 0xc01e753d in vnode_pager_alloc (handle=0xff7fce00, size=512, prot=0, offset=0) at ../../vm/vnode_pager.c:145 #9 0xc018ffc9 in vop_stdcreatevobject (...
2003 Aug 22
3
PAE removal patch for testing
...* PAGE_SIZE); -#ifdef PAE - pmap->pm_pdpt = pmap_alloc_pdpt(); -#endif - } + if (pmap->pm_pdir == NULL) + pmap->pm_pdir = + (pd_entry_t *)kmem_alloc_pageable(kernel_map, PAGE_SIZE); /* * allocate object for the ptes */ if (pmap->pm_pteobj == NULL) - pmap->pm_pteobj = vm_object_allocate(OBJT_DEFAULT, - PTDPTDI + NPGPTD); + pmap->pm_pteobj = vm_object_allocate( OBJT_DEFAULT, PTDPTDI + 1); /* * allocate the page directory page */ - for (i = 0; i < NPGPTD; i++) { - m = vm_page_grab(pmap->pm_pteobj, PTDPTDI + i, - VM_ALLOC_NORMAL | VM_ALLOC_RETRY); - ma...