Fix an error in kmem_alloc_attr(). Unless "tries" is updated,
kmem_alloc_attr() could get stuck in a loop. Approved by: re (kib) MFC after: 3 days
This commit is contained in:
parent
8a6eaea7b8
commit
24eb641020
@ -265,6 +265,7 @@ retry:
|
||||
vm_contig_grow_cache(tries, low, high);
|
||||
vm_map_lock(map);
|
||||
VM_OBJECT_LOCK(object);
|
||||
tries++;
|
||||
goto retry;
|
||||
}
|
||||
while (i != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user