From owner-p4-projects@FreeBSD.ORG Tue Oct 19 20:29:15 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5AFDC16A4D0; Tue, 19 Oct 2004 20:29:15 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37A6F16A4CE for ; Tue, 19 Oct 2004 20:29:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18A4743D54 for ; Tue, 19 Oct 2004 20:29:15 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9JKTE9T093207 for ; Tue, 19 Oct 2004 20:29:14 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9JKTE86093204 for perforce@freebsd.org; Tue, 19 Oct 2004 20:29:14 GMT (envelope-from jhb@freebsd.org) Date: Tue, 19 Oct 2004 20:29:14 GMT Message-Id: <200410192029.i9JKTE86093204@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Subject: PERFORCE change 63384 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 20:29:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=63384 Change 63384 by jhb@jhb_tibook on 2004/10/19 20:29:11 Use fences here as well. Affected files ... .. //depot/projects/smpng/sys/amd64/include/bus_amd64.h#4 edit Differences ... ==== //depot/projects/smpng/sys/amd64/include/bus_amd64.h#4 (text+ko) ==== @@ -1215,9 +1215,9 @@ { #ifdef __GNUC__ if (flags & BUS_SPACE_BARRIER_READ) - __asm __volatile("lock; addl $0,0(%%rsp)" : : : "memory"); + __asm __volatile("lfence" : : : "memory"); else - __asm __volatile("" : : : "memory"); + __asm __volatile("sfence" : : : "memory"); #endif }