COHERENCY_UNIT
#if COHERENCY_UNIT > 4
uint8_t cr_pad[COHERENCY_UNIT - 4];
rb_node_t pt_alltree __aligned(COHERENCY_UNIT);
pthread_mutex_t pt_lock __aligned(COHERENCY_UNIT);
int pt_dummy1 __aligned(COHERENCY_UNIT);
int pt_havespecific __aligned(COHERENCY_UNIT);
#define RUMPUSER_LOCKALIGN COHERENCY_UNIT
int ci_want_resched __aligned(COHERENCY_UNIT);
struct lwp *ci_curlwp __aligned(COHERENCY_UNIT);
struct lwp *ci_softlwps[SOFTINT_COUNT] __aligned(COHERENCY_UNIT);
} __aligned(COHERENCY_UNIT);
COHERENCY_UNIT, 0, 0, "pmap", NULL, IPL_NONE, NULL, NULL, NULL);
CTASSERT(offsetof(struct pmap, pm_percpu[0]) == COHERENCY_UNIT);
CTASSERT(sizeof(struct pmap_percpu) == COHERENCY_UNIT);
uint8_t pad[COHERENCY_UNIT];
uint8_t pad[COHERENCY_UNIT];
unsigned long pmc_padN[(COHERENCY_UNIT / 8) - 4];
int ci_want_resched __aligned(COHERENCY_UNIT);
lwp_t * ci_curlwp __aligned(COHERENCY_UNIT);
lwp_t * ci_softlwps[SOFTINT_COUNT] __aligned(COHERENCY_UNIT);
((ch) * roundup2(DESC_LEN(DESC_NUM), COHERENCY_UNIT) + DESC_LEN(n))
char padding[COHERENCY_UNIT];
} pmap_pv_locks[64] __aligned(COHERENCY_UNIT);
int ci_want_resched __aligned(COHERENCY_UNIT);
pool_cache_bootstrap(&pmap_cache, sizeof(struct pmap), COHERENCY_UNIT,
volatile uint8_t stackbuf[sizeof(*tp) + COHERENCY_UNIT];
ts = (void *)roundup2((uintptr_t)stackbuf, COHERENCY_UNIT);
size_t coherency_unit = COHERENCY_UNIT;
} __aligned(COHERENCY_UNIT) apei_gesb_ratelimit[4] __cacheline_aligned = {
static struct clockrnd hardclockrnd __aligned(COHERENCY_UNIT);
static struct clockrnd statclockrnd __aligned(COHERENCY_UNIT);
uint8_t mo_pad[COHERENCY_UNIT - sizeof(kmutex_t) -
uint8_t mo_pad[COHERENCY_UNIT - sizeof(krwlock_t) -
uint8_t pad[COHERENCY_UNIT];
if (cache_size < COHERENCY_UNIT) {
if (COHERENCY_UNIT % cache_size > 0) {
if ((cache_size % COHERENCY_UNIT) > 0) {
align = COHERENCY_UNIT;
uint8_t pcq_pad1[COHERENCY_UNIT - sizeof(u_int)];
uint8_t pcq_pad2[COHERENCY_UNIT - sizeof(uint32_t)];
mcl_cache = pool_cache_init(mclbytes, COHERENCY_UNIT, 0, 0, "mclpl",
KASSERT(ALIGNED_POINTER(cwdi, COHERENCY_UNIT));
#define NBUF_ENSURE_ALIGN (MAX(COHERENCY_UNIT, 64))
uint8_t _pad[COHERENCY_UNIT];
__attribute__((__aligned__(COHERENCY_UNIT), \
__aligned(COHERENCY_UNIT); /* -> gets own cache line */
#if COHERENCY_UNIT > 4
uint8_t cr_pad[COHERENCY_UNIT - 4];
__aligned(COHERENCY_UNIT);
#ifndef COHERENCY_UNIT
# if COHERENCY_UNIT > 32
# define MIN_LWP_ALIGNMENT COHERENCY_UNIT
__aligned(COHERENCY_UNIT);
uint8_t pad[COHERENCY_UNIT];
kmutex_t name; char lockpad[COHERENCY_UNIT - sizeof(kmutex_t)]
__aligned(COHERENCY_UNIT);
__aligned(COHERENCY_UNIT);
__aligned(COHERENCY_UNIT);
__aligned(COHERENCY_UNIT);
__aligned(COHERENCY_UNIT);
COHERENCY_UNIT, 0, 0, "amappl", NULL, IPL_NONE,
__aligned(COHERENCY_UNIT);
uint8_t padding[COHERENCY_UNIT];
} __aligned(COHERENCY_UNIT);
volatile unsigned turn __aligned(COHERENCY_UNIT);
} __aligned(COHERENCY_UNIT) waiting[2];
__CTASSERT(sizeof(waiting) == 2*COHERENCY_UNIT);
} __aligned(COHERENCY_UNIT) stats[16];
volatile unsigned lockbit __aligned(COHERENCY_UNIT);
} __aligned(COHERENCY_UNIT) C[8];