Print this page
XXXX pass in cpu_pause_func via pause_cpus
@@ -353,11 +353,11 @@
/*
* We're changing around the hierarchy, which is actively traversed
* by the dispatcher. Pause CPUS to ensure exclusivity.
*/
- pause_cpus(NULL);
+ pause_cpus(NULL, NULL);
/*
* If necessary, update the parent's sibling set, replacing parent
* with PG.
*/
@@ -1553,11 +1553,11 @@
/*
* We're operating on the PG hierarchy. Pause CPUs to ensure
* exclusivity with respect to the dispatcher.
*/
- pause_cpus(NULL);
+ pause_cpus(NULL, NULL);
/*
* Prune all PG instances of the hardware sharing relationship
* represented by pg.
*/
@@ -1673,11 +1673,11 @@
{
cpu_t *cpu;
ASSERT(MUTEX_HELD(&cpu_lock));
- pause_cpus(NULL);
+ pause_cpus(NULL, NULL);
cpu = cpu_list;
do {
if (cpu->cpu_pg)
group_empty(&cpu->cpu_pg->cmt_pgs);