* kern.affinity_sets_enabled - disables hinting if cleared
* kern.affinity_sets_mapping - controls cache distribution policy
* See bsd/kern_sysctl.c
+ *
+ * Affinity sets are not used on embedded, which typically only
+ * has a single pset, and last-processor affinity is
+ * more important than pset affinity.
*/
boolean_t affinity_sets_enabled = TRUE;
int affinity_sets_mapping = 1;
{
assert(queue_empty(&aspc->aspc_affinities));
+ lck_mtx_destroy(&aspc->aspc_lock, &task_lck_grp);
DBG("affinity_space_free(%p)\n", aspc);
kfree(aspc, sizeof(struct affinity_space));
}