From owner-cvs-all Tue Nov 23 12:28:56 1999 Delivered-To: cvs-all@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 372B614CB4; Tue, 23 Nov 1999 12:28:47 -0800 (PST) (envelope-from julian@whistle.com) Received: from home.elischer.org (home.elischer.org [207.76.204.203]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA95638; Tue, 23 Nov 1999 12:27:56 -0800 (PST) Date: Tue, 23 Nov 1999 12:27:54 -0800 (PST) From: Julian Elischer X-Sender: julian@home.elischer.org To: Matt Dillon Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 mplock.s In-Reply-To: <199911232007.MAA21921@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk I thought %gs was per cpu too? (per luoqi) On Tue, 23 Nov 1999, Matt Dillon wrote: > dillon 1999/11/23 12:07:40 PST > > Modified files: > sys/i386/i386 mplock.s > Log: > Even better then using %fs:0 in our locked synchronizing instruction, > we instead use 0(%esp), which is per-cpu, already pretty much > guarenteed to be locked into the cache, and does not stress the cache's > set associativity. invlpg might also be a good choice (suggested by > Ingo). > > Obtained from: Linus Torvalds > > Revision Changes Path > 1.29 +7 -6 src/sys/i386/i386/mplock.s > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message