cvs commit: src/sys/sun4v/sun4v tte_hash.c

Kip Macy kmacy at
Sat Dec 16 17:01:53 PST 2006

kmacy       2006-12-17 01:01:52 UTC

  FreeBSD src repository

  Modified files:
    sys/sun4v/sun4v      tte_hash.c 
  - Remove PCPU references by passing field as a reference to _tte_hash_lookup.
  - The PCPU usage was to ensure that there were no faults on the stack while
    the tte_hash_bucket lock was held - but this can be avoided by making sure
    the address on the stack is already referenced.
  - PCPU removal obviates the need for critical_{enter, exit}
  Revision  Changes    Path
  1.9       +24 -35    src/sys/sun4v/sun4v/tte_hash.c

More information about the cvs-src mailing list