Lines Matching defs:CPU
54 * * CPU handling
147 * 3. CPU handling
149 * kmem uses the CPU's sequence number to determine which "cpu cache" to
156 * The mechanics of this is all in the CPU(mask) macro.
381 * Time may be an illusion, but CPU cycles aren't. While libumem is designed
384 * a per-CPU lock for each allocation. When contention is low and malloc(3C)
691 uint32_t umem_max_ncpus; /* # of CPU caches. */
702 size_t umem_failure_log_size; /* failure log [4 pages per CPU] */
703 size_t umem_slab_log_size; /* slab create log [4 pages per CPU] */
756 #define CPU(mask) (umem_cpus + (CPUHINT() & (mask)))
821 DEFAULTMUTEX, /* start of CPU cache */
1338 &lhp->lh_cpu[CPU(umem_cpu_mask)->cpu_number];
1910 ccp = UMEM_CPU_CACHE(cp, CPU(cp->cache_cpu_mask));
1914 * If there's an object available in the current CPU's
2022 umem_cpu_cache_t *ccp = UMEM_CPU_CACHE(cp, CPU(cp->cache_cpu_mask));
2033 * If there's a slot available in the current CPU's
2709 * false sharing of per-CPU data.
2916 * Initialize the CPU layer.