Print this page
OS-6546 Use PCID if KPTI is enabled

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/vm/htable.h
          +++ new/usr/src/uts/i86pc/vm/htable.h
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  #endif
  36   36  
  37   37  #if defined(__GNUC__) && defined(_ASM_INLINES) && defined(_KERNEL)
  38   38  #include <asm/htable.h>
  39   39  #endif
  40   40  
  41   41  extern void atomic_andb(uint8_t *addr, uint8_t value);
  42   42  extern void atomic_orb(uint8_t *addr, uint8_t value);
  43   43  extern void atomic_inc16(uint16_t *addr);
  44   44  extern void atomic_dec16(uint16_t *addr);
  45      -extern void mmu_tlbflush_entry(caddr_t addr);
  46   45  
  47   46  /*
  48   47   * Each hardware page table has an htable_t describing it.
  49   48   *
  50   49   * We use a reference counter mechanism to detect when we can free an htable.
  51   50   * In the implmentation the reference count is split into 2 separate counters:
  52   51   *
  53   52   *      ht_busy is a traditional reference count of uses of the htable pointer
  54   53   *
  55   54   *      ht_valid_cnt is a count of how references are implied by valid PTE/PTP
↓ open down ↓ 295 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX