Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 12:27:54 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Matt Dillon <dillon@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/i386 mplock.s
Message-ID:  <Pine.BSF.4.20.9911231227230.3171-100000@home.elischer.org>
In-Reply-To: <199911232007.MAA21921@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <torvalds@transmeta.com>
>   
>   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9911231227230.3171-100000>