o Lock page queue accesses by vm_page_free().
This commit is contained in:
parent
014c2ea5cd
commit
57123de641
@ -386,7 +386,9 @@ kmem_malloc(map, size, flags)
|
||||
i -= PAGE_SIZE;
|
||||
m = vm_page_lookup(kmem_object,
|
||||
OFF_TO_IDX(offset + i));
|
||||
vm_page_lock_queues();
|
||||
vm_page_free(m);
|
||||
vm_page_unlock_queues();
|
||||
}
|
||||
vm_map_delete(map, addr, addr + size);
|
||||
vm_map_unlock(map);
|
||||
|
Loading…
Reference in New Issue
Block a user