Print this page
XXXX pass in cpu_pause_func via pause_cpus

*** 470,480 **** */ thread_affinity_set(curthread, 0); kpreempt_disable(); if (ncpus > 1) ! pause_cpus(NULL); /* * We can grab the ec_lock as it's a spinlock with a high SPL. Hence * any holder would have dropped it to get through pause_cpus(). */ mutex_enter(&ec_lock); --- 470,480 ---- */ thread_affinity_set(curthread, 0); kpreempt_disable(); if (ncpus > 1) ! pause_cpus(NULL, NULL); /* * We can grab the ec_lock as it's a spinlock with a high SPL. Hence * any holder would have dropped it to get through pause_cpus(). */ mutex_enter(&ec_lock);