Print this page
5601 TLB invalidation regression in 5498

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/vm/hat_i86.c
          +++ new/usr/src/uts/i86pc/vm/hat_i86.c
↓ open down ↓ 2157 lines elided ↑ open up ↑
2158 2158                      CPUSET2BV(cpus_to_shootdown), hati_demap_func);
2159 2159  #endif
2160 2160  
2161 2161          }
2162 2162          kpreempt_enable();
2163 2163  }
2164 2164  
2165 2165  void
2166 2166  hat_tlb_inval(hat_t *hat, uintptr_t va)
2167 2167  {
2168      -        hat_tlb_inval_range(hat, va, MMU_PAGESIZE);
     2168 +        hat_tlb_inval_range(hat, va, 1);
2169 2169  }
2170 2170  
2171 2171  /*
2172 2172   * Interior routine for HAT_UNLOADs from hat_unload_callback(),
2173 2173   * hat_kmap_unload() OR from hat_steal() code.  This routine doesn't
2174 2174   * handle releasing of the htables.
2175 2175   */
2176 2176  void
2177 2177  hat_pte_unmap(
2178 2178          htable_t        *ht,
↓ open down ↓ 2320 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX