Print this page
5461 #pragma align before the declaration

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4/vm/vm_dep.h
          +++ new/usr/src/uts/sun4/vm/vm_dep.h
↓ open down ↓ 688 lines elided ↑ open up ↑
 689  689          struct memseg   *vc_pnum_memseg;
 690  690          struct memseg   *vc_pnext_memseg;
 691  691          void            *vc_kmptr;
 692  692          size_t          vc_kmsize;
 693  693  } vm_cpu_data_t;
 694  694  
 695  695  /* allocation size to ensure vm_cpu_data_t resides in its own cache line */
 696  696  #define VM_CPU_DATA_PADSIZE                                             \
 697  697          (P2ROUNDUP(sizeof (vm_cpu_data_t), L2CACHE_ALIGN_MAX))
 698  698  
 699      -/* for boot cpu before kmem is initialized */
 700      -extern char     vm_cpu_data0[];
 701      -
 702  699  /*
 703  700   * Function to get an ecache color bin: F(as, cnt, vcolor).
 704  701   * the goal of this function is to:
 705  702   * - to spread a processes' physical pages across the entire ecache to
 706  703   *      maximize its use.
 707  704   * - to minimize vac flushes caused when we reuse a physical page on a
 708  705   *      different vac color than it was previously used.
 709  706   * - to prevent all processes to use the same exact colors and trash each
 710  707   *      other.
 711  708   *
↓ open down ↓ 154 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX