Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 01:01:52 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sun4v/sun4v tte_hash.c
Message-ID:  <200612170101.kBH11qMC049700@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kmacy       2006-12-17 01:01:52 UTC

  FreeBSD src repository

  Modified files:
    sys/sun4v/sun4v      tte_hash.c 
  Log:
  - 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612170101.kBH11qMC049700>