Searched defs:bestfit (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c2846 size_t chunks, bestfit, waste, slabsize; local
2863 bestfit = slabsize;
2867 bestfit = MAX(1 << highbit(3 * vmp->vm_qcache_max), 64);
2868 cp->cache_slabsize = bestfit;
2870 cp->cache_maxcolor = bestfit % chunksize;
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c3928 size_t chunks, bestfit, waste, slabsize; local
3938 bestfit = slabsize;
3942 bestfit = VMEM_QCACHE_SLABSIZE(vmp->vm_qcache_max);
3943 cp->cache_slabsize = bestfit;
3945 cp->cache_maxcolor = bestfit % chunksize;

Completed in 78 milliseconds