Lines Matching refs:CPU
55 * * CPU handling
148 * 3. CPU handling
150 * kmem uses the CPU's sequence number to determine which "cpu cache" to
157 * The mechanics of this is all in the CPU(mask) macro.
382 * Time may be an illusion, but CPU cycles aren't. While libumem is designed
385 * a per-CPU lock for each allocation. When contention is low and malloc(3C)
692 uint32_t umem_max_ncpus; /* # of CPU caches. */
703 size_t umem_failure_log_size; /* failure log [4 pages per CPU] */
704 size_t umem_slab_log_size; /* slab create log [4 pages per CPU] */
757 #define CPU(mask) (umem_cpus + (CPUHINT() & (mask)))
822 DEFAULTMUTEX, /* start of CPU cache */
1342 &lhp->lh_cpu[CPU(umem_cpu_mask)->cpu_number];
1914 ccp = UMEM_CPU_CACHE(cp, CPU(cp->cache_cpu_mask));
1918 * If there's an object available in the current CPU's
2026 umem_cpu_cache_t *ccp = UMEM_CPU_CACHE(cp, CPU(cp->cache_cpu_mask));
2037 * If there's a slot available in the current CPU's
2713 * false sharing of per-CPU data.
2920 * Initialize the CPU layer.