Searched refs:nlck (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/vm/
H A Dseg_spt.c2487 pgcnt_t nlck = 0; local
2496 * global counters are updated only every nlck locked pages instead of
2497 * every time. Reserve nlck locks up front and deduct from this
2499 * is consumed, reserve again. nlck is randomized, so the competing
2505 if (nlck == 0 && use_reserved == 1) {
2506 nlck = NLCK + RAND_P2(NLCK);
2507 /* if fewer loops left, decrease nlck */
2508 nlck = MIN(nlck, npages - i);
2510 * Reserve nlck lock
2580 pgcnt_t nlck = 0; local
[all...]

Completed in 63 milliseconds