Add missing sleep stat increase
PR: kern/168211 Submitted by: linimon Reviewed by: alc Approved by: cperciva MFC after: 3 days
This commit is contained in:
parent
bbedc7a050
commit
16452223a2
@ -2193,6 +2193,7 @@ keg_fetch_slab(uma_keg_t keg, uma_zone_t zone, int flags)
|
||||
zone->uz_flags |= UMA_ZFLAG_FULL;
|
||||
if (flags & M_NOWAIT)
|
||||
break;
|
||||
zone->uz_sleeps++;
|
||||
msleep(keg, &keg->uk_lock, PVM, "keglimit", 0);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user