1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Eliminate a vm_page_free, busy panic, in kern_malloc.

This commit is contained in:
John Dyson 1996-05-23 02:24:55 +00:00
parent 712dc76e87
commit 99ea1af0a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15876

View File

@ -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);