From owner-cvs-all@FreeBSD.ORG Sun Dec 17 01:01:53 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 030F516A403; Sun, 17 Dec 2006 01:01:53 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 852CC43CA5; Sun, 17 Dec 2006 01:01:52 +0000 (GMT) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBH11qtw049701; Sun, 17 Dec 2006 01:01:52 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from kmacy@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBH11qMC049700; Sun, 17 Dec 2006 01:01:52 GMT (envelope-from kmacy) Message-Id: <200612170101.kBH11qMC049700@repoman.freebsd.org> From: Kip Macy Date: Sun, 17 Dec 2006 01:01:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sun4v/sun4v tte_hash.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 01:01:53 -0000 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