Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/lgrp_topo.c
          +++ new/usr/src/uts/common/os/lgrp_topo.c
↓ open down ↓ 1472 lines elided ↑ open up ↑
1473 1473           */
1474 1474          if (nlgrps == 1) {
1475 1475                  for (i = 0; i < LGRP_RSRC_COUNT; i++)
1476 1476                          klgrpset_add(lgrp_root->lgrp_set[i],
1477 1477                              lgrp_root->lgrp_id);
1478 1478                  klgrpset_add(lgrp_root->lgrp_leaves, lgrp_root->lgrp_id);
1479 1479                  return (0);
1480 1480          }
1481 1481  
1482 1482          mutex_enter(&cpu_lock);
1483      -        pause_cpus(NULL);
     1483 +        pause_cpus(NULL, NULL);
1484 1484  
1485 1485          /*
1486 1486           * Look for any leaf lgroup without its latency set, finish adding it
1487 1487           * to the lgroup topology assuming that it exists and has the root
1488 1488           * lgroup as its parent, and update the memory nodes of all lgroups
1489 1489           * that have it as a memory resource.
1490 1490           */
1491 1491          for (i = 0; i < lgrp_count; i++) {
1492 1492                  lgrp = lgrps[i];
1493 1493  
↓ open down ↓ 99 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX