Eliminate a vm_page_free, busy panic, in kern_malloc.
This commit is contained in:
parent
712dc76e87
commit
99ea1af0a6
@ -61,7 +61,7 @@
|
|||||||
* any improvements or extensions that they make and grant Carnegie the
|
* any improvements or extensions that they make and grant Carnegie the
|
||||||
* rights to redistribute these changes.
|
* rights to redistribute these changes.
|
||||||
*
|
*
|
||||||
* $Id: vm_kern.c,v 1.24 1996/05/10 19:28:54 wollman Exp $
|
* $Id: vm_kern.c,v 1.25 1996/05/18 03:37:39 dyson Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -347,6 +347,7 @@ retry:
|
|||||||
i -= PAGE_SIZE;
|
i -= PAGE_SIZE;
|
||||||
m = vm_page_lookup(kmem_object,
|
m = vm_page_lookup(kmem_object,
|
||||||
OFF_TO_IDX(offset + i));
|
OFF_TO_IDX(offset + i));
|
||||||
|
PAGE_WAKEUP(m);
|
||||||
vm_page_free(m);
|
vm_page_free(m);
|
||||||
}
|
}
|
||||||
vm_map_delete(map, addr, addr + size);
|
vm_map_delete(map, addr, addr + size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user