Eliminate a vm_page_free, busy panic, in kern_malloc.
This commit is contained in:
parent
ba6f97d58c
commit
a9f2d60090
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* 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 @@ kmem_malloc(map, size, waitflag)
|
||||
i -= PAGE_SIZE;
|
||||
m = vm_page_lookup(kmem_object,
|
||||
OFF_TO_IDX(offset + i));
|
||||
PAGE_WAKEUP(m);
|
||||
vm_page_free(m);
|
||||
}
|
||||
vm_map_delete(map, addr, addr + size);
|
||||
|
Loading…
Reference in New Issue
Block a user