Print this page
XXXX pass in cpu_pause_func via pause_cpus

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