freebsd-skq/sys
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
..
alpha Widen the enable/disable helper function's argument in line with the 2003-11-17 06:10:15 +00:00
amd64 Provide a streamlined '#define curthread __curthread()' for amd64 to avoid 2003-11-20 22:54:44 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot Update the size of the OS string table that wasn't updated in the previous 2003-11-20 20:28:18 +00:00
cam - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
coda - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
compat Do not call VOP_GETATTR in getdents function. It does not serve any 2003-11-19 04:12:32 +00:00
conf Introduce tcp_hostcache and remove the tcp specific metrics from 2003-11-20 20:07:39 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r122208, 2003-11-07 08:54:27 +00:00
crypto avoid module name conflict with opencrypto/rijndael.c. 2003-11-12 04:22:37 +00:00
ddb Reworked rev.1.14. Use the ELF symbol type again to summarily reject 2003-09-28 06:02:33 +00:00
dev Fix a typo in my patches to support extended IRQ resources that broke the 2003-11-20 22:21:51 +00:00
fs Fix vnode locking in fdesc_setattr. Lock vnode before invoking 2003-11-19 04:14:42 +00:00
geom Call class->init() an class->fini() while the class is hooked up, 2003-11-18 18:17:39 +00:00
gnu Fixed a reference to a nonexistent variable in previous commit. Renaming 2003-11-05 11:56:58 +00:00
i4b Based on an excellent suggestion from tanimura@ define I4BPRI and use it 2003-11-10 14:20:34 +00:00
i386 Add a special check for a stray IRQ 7 or IRQ 15 to see if it is actually 2003-11-19 15:40:23 +00:00
ia64 Set the ACPI processor Id in the PCPU structure so that CPU idling 2003-11-20 16:42:39 +00:00
isa Don't disable the TSC with statclock_disable. 2003-11-13 10:02:12 +00:00
isofs/cd9660 DuH! 2003-10-18 14:10:28 +00:00
kern Fix a major faux pas of mine. I was causing 2 very bad things to 2003-11-20 15:35:48 +00:00
libkern - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
modules o Remove @- from the ln and change it to a -sf. This was bogus, and 2003-11-19 05:08:27 +00:00
net Introduce tcp_hostcache and remove the tcp specific metrics from 2003-11-20 20:07:39 +00:00
net80211 o insure the current channel is in a good state before starting an AP scan 2003-11-13 05:23:58 +00:00
netatalk Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netgraph Lower the maximum ACK timeout for GRE packets from 10 to 1 second. 2003-11-18 20:43:23 +00:00
netinet Introduce tcp_hostcache and remove the tcp specific metrics from 2003-11-20 20:07:39 +00:00
netinet6 Introduce tcp_hostcache and remove the tcp specific metrics from 2003-11-20 21:47:20 +00:00
netipsec Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
netsmb - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client Fix compliation on sparc64. 2003-11-15 01:25:26 +00:00
nfsclient Move the declaration for "struct nfs4_fctx" out from under #ifdef KERNEL 2003-11-15 05:03:15 +00:00
nfsserver Update a comment about needing to fix NFS server credential use 2003-11-17 00:56:53 +00:00
opencrypto eliminate an unnecessary 8Kbyte bzero that was being done for each 2003-11-19 22:42:34 +00:00
pc98 Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416. 2003-11-17 23:13:08 +00:00
pccard - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
pci Drop the driver lock around calls to if_input to avoid a LOR when 2003-11-14 19:00:32 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc Widen the enable/disable helper function's argument in line with the 2003-11-17 06:10:15 +00:00
rpc Remove unneeded file. (could be repo removed as nothing ever referenced it.) 2003-11-20 04:42:50 +00:00
security Use UMA zone allocator for Biba and MLS labels rather than MALLOC(9). 2003-11-18 04:11:52 +00:00
sparc64 - Remove unnecessary synchronization from sf_buf_init(). (There is only 2003-11-16 23:40:06 +00:00
sys Allow the MD backend to provide an alternative to 2003-11-20 22:50:26 +00:00
tools Changes for new SMP-safe kobj method dispatch algorithm. 2003-10-16 13:29:26 +00:00
ufs Write the UFS2 superblock with a 'BAD' magic number at the beginning 2003-11-16 07:08:27 +00:00
vm - Avoid a lock-order reversal between Giant and a system map mutex that 2003-11-19 18:48:45 +00:00
Makefile