Date: Tue, 23 Nov 1999 12:07:40 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 mplock.s Message-ID: <199911232007.MAA21921@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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?199911232007.MAA21921>
