Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/mem_config.c
          +++ new/usr/src/uts/common/os/mem_config.c
↓ open down ↓ 3294 lines elided ↑ open up ↑
3295 3295  /*
3296 3296   * Invalidate memseg pointers in cpu private vm data caches.
3297 3297   */
3298 3298  static void
3299 3299  memseg_cpu_vm_flush()
3300 3300  {
3301 3301          cpu_t *cp;
3302 3302          vm_cpu_data_t *vc;
3303 3303  
3304 3304          mutex_enter(&cpu_lock);
3305      -        pause_cpus(NULL);
     3305 +        pause_cpus(NULL, NULL);
3306 3306  
3307 3307          cp = cpu_list;
3308 3308          do {
3309 3309                  vc = cp->cpu_vm_data;
3310 3310                  vc->vc_pnum_memseg = NULL;
3311 3311                  vc->vc_pnext_memseg = NULL;
3312 3312  
3313 3313          } while ((cp = cp->cpu_next) != cpu_list);
3314 3314  
3315 3315          start_cpus();
3316 3316          mutex_exit(&cpu_lock);
3317 3317  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX