From owner-freebsd-current Sat Oct 12 14:19:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED11737B401; Sat, 12 Oct 2002 14:19:33 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id BCFCA43EAC; Sat, 12 Oct 2002 14:19:32 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 12 Oct 2002 22:19:32 +0100 (BST) To: Jim Pirzyk Cc: Tim Robbins , freebsd-current@FreeBSD.ORG Subject: Re: -CURRENT running really slow under vmware2 In-Reply-To: Your message of "Sat, 12 Oct 2002 12:04:57 PDT." <200210121204.57782.jim@pirzyk.org> Date: Sat, 12 Oct 2002 22:19:31 +0100 From: Ian Dowse Message-ID: <200210122219.aa22261@salmon.maths.tcd.ie> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200210121204.57782.jim@pirzyk.org>, Jim Pirzyk writes: >I would think we need to at least patch current for this case. Enclosed >is a possible implementation. Comments? I think I tried this before, and puting the option in opt_cpu.h does not work, because not all files that include atomic.h will include opt_cpu.h. The other options referenced in atomic.h are all in opt_global.h, so CPU_DISABLE_CMPXCHG needs to go there too (note that the instruction is called cmpxchg, not cmpxfhg BTW). Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message