Fix a bug with _NUMA domains introduced in r339686. When M_NOWAIT is
specified there was no loop termination condition in keg_fetch_slab(). Reported by: pho Reviewed by: markj
This commit is contained in:
parent
eb342591f3
commit
3639ac42e5
@ -3084,6 +3084,8 @@ restart:
|
||||
return (slab);
|
||||
}
|
||||
KEG_LOCK(keg);
|
||||
if (!rr && (flags & M_WAITOK) == 0)
|
||||
break;
|
||||
if (rr && vm_domainset_iter_policy(&di, &domain) != 0) {
|
||||
if ((flags & M_WAITOK) != 0) {
|
||||
KEG_UNLOCK(keg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user