From owner-cvs-all@FreeBSD.ORG Mon Oct 24 20:52:27 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19B7E16A41F; Mon, 24 Oct 2005 20:52:27 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C93C243D45; Mon, 24 Oct 2005 20:52:26 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9OKqQSD044778; Mon, 24 Oct 2005 20:52:26 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9OKqQcC044777; Mon, 24 Oct 2005 20:52:26 GMT (envelope-from jhb) Message-Id: <200510242052.j9OKqQcC044777@repoman.freebsd.org> From: John Baldwin Date: Mon, 24 Oct 2005 20:52:26 +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 apic_vector.S src/sys/i386/i386 apic_vector.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: Mon, 24 Oct 2005 20:52:27 -0000 jhb 2005-10-24 20:52:26 UTC FreeBSD src repository Modified files: sys/amd64/amd64 apic_vector.S sys/i386/i386 apic_vector.s Log: Use xchg in Xcpustop to close a race and make cpustop_restartfunc truly one-shot in the SMP case (before using the simple mov / cmp / mov sequence could allow multiple CPUs to execute the restart function on resume). Revision Changes Path 1.104 +3 -2 src/sys/amd64/amd64/apic_vector.S 1.105 +3 -2 src/sys/i386/i386/apic_vector.s