From owner-cvs-all@FreeBSD.ORG Tue Jul 17 22:36:57 2007 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 0BE1D16A406; Tue, 17 Jul 2007 22:36:57 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D738C13C4AC; Tue, 17 Jul 2007 22:36:56 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6HMausR085676; Tue, 17 Jul 2007 22:36:56 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6HMauO8085675; Tue, 17 Jul 2007 22:36:56 GMT (envelope-from jeff) Message-Id: <200707172236.l6HMauO8085675@repoman.freebsd.org> From: Jeff Roberson Date: Tue, 17 Jul 2007 22:36:56 +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/amd64/amd64 cpu_switch.S 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: Tue, 17 Jul 2007 22:36:57 -0000 jeff 2007-07-17 22:36:56 UTC FreeBSD src repository Modified files: sys/amd64/amd64 cpu_switch.S Log: - Optimize the amd64 cpu_switch() TD_LOCK blocking and releasing to require fewer blocking loops. - Don't use atomic ops with 4BSD or on UP. - Only use the blocking loop if ULE is compiled in. - Use the correct memory barrier. Discussed with: attilio, jhb, ssouhlal Tested by: current@ Approved by: re Revision Changes Path 1.159 +19 -15 src/sys/amd64/amd64/cpu_switch.S