Print this page
XXXX pass in cpu_pause_func via pause_cpus
*** 813,823 ****
*/
afar = (uint64_t)(cache_info->index
<< PN_CACHE_LINE_SHIFT);
mutex_enter(&cpu_lock);
affinity_set(cache_info->cpu_id);
! (void) pause_cpus(NULL);
mutex_exit(&cpu_lock);
/*
* We bind ourself to a CPU and send cross trap to
* ourself. On return from xt_one we can rely on the
* data in clop being filled in. Normally one would
--- 813,823 ----
*/
afar = (uint64_t)(cache_info->index
<< PN_CACHE_LINE_SHIFT);
mutex_enter(&cpu_lock);
affinity_set(cache_info->cpu_id);
! (void) pause_cpus(NULL, NULL);
mutex_exit(&cpu_lock);
/*
* We bind ourself to a CPU and send cross trap to
* ourself. On return from xt_one we can rely on the
* data in clop being filled in. Normally one would