Date: Thu, 29 Jul 2010 18:44:10 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/include pcpu.h src/sys/i386/include pcpu.h src/sys/ia64/include pcpu.h Message-ID: <201007291847.o6TIlcem013500@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2010-07-29 18:44:10 UTC FreeBSD src repository Modified files: sys/amd64/include pcpu.h sys/i386/include pcpu.h sys/ia64/include pcpu.h Log: SVN rev 210623 on 2010-07-29 18:44:10Z by jhb Mark the __curthread() functions as __pure2 and remove the volatile keyword from the inline assembly. This allows the compiler to cache invocations of curthread since it's value does not change within a thread context. Submitted by: zec (i386) MFC after: 1 week Revision Changes Path 1.56 +2 -2 src/sys/amd64/include/pcpu.h 1.59 +2 -2 src/sys/i386/include/pcpu.h 1.28 +2 -2 src/sys/ia64/include/pcpu.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007291847.o6TIlcem013500>