freebsd-nq/sys/amd64
Peter Wemm 5dd883833c Provide a streamlined '#define curthread __curthread()' for amd64 to avoid
the compiler having to parse and optimize the PCPU_GET(curthread) so often.
__curthread() is an inline optimized version of PCPU_GET(curthread) that
knows that pc_curthread is at offset zero in the pcpu struct.  Add a
CTASSERT() to catch any possible changes to this.  This accounts for
just over a 1% wall clock speedup for total kernel compile/link time,
and 20% compile time speedup on some specific files depending on which
compile options are used.

Approved by:  re (jhb)
2003-11-20 22:54:44 +00:00
..
acpica Minor source sync with amd64. For %.*s printf formats, pass in an 2003-11-14 22:26:29 +00:00
amd64 Provide a streamlined '#define curthread __curthread()' for amd64 to avoid 2003-11-20 22:54:44 +00:00
compile Make space for compilations. 2002-07-06 02:49:07 +00:00
conf Sync with i386. 2003-11-19 18:11:27 +00:00
ia32 Initial landing of SMP support for FreeBSD/amd64. 2003-11-17 08:58:16 +00:00
include Provide a streamlined '#define curthread __curthread()' for amd64 to avoid 2003-11-20 22:54:44 +00:00
isa Add SMP changes as should have been committed as rev 1.28 2003-11-17 09:19:12 +00:00
pci Initial landing of SMP support for FreeBSD/amd64. 2003-11-17 08:58:16 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00