NetBSD/sys
ad d991fcb3b6 More changes to improve kern_descrip.c.
- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.
2009-05-24 21:41:25 +00:00
..
altq Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
arch Remove a bunch of garbage from previous. 2009-05-24 15:27:08 +00:00
coda Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
compat More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
conf <space> -> <tab> consistency. 2009-05-21 19:27:38 +00:00
crypto Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
ddb More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
dev - detect FTDI chiptype from bcdDevice field to determine the number of 2009-05-24 16:24:25 +00:00
dist Don't call callout_stop() without callout_init() 2009-05-08 05:18:34 +00:00
external Fix prototypes to match the functions. The prototypes had `int' specified for 2009-05-14 09:07:49 +00:00
fs Retire IN_CALLBACK_ULK flagging since its not used anymore and the old 2009-05-20 15:30:26 +00:00
gdbscripts
ipkdb Remove KAUTH_ARG() around the request for kauth_authorize_system(). 2009-04-12 22:37:50 +00:00
kern More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
lib Implement snprintb_m(3) to provide multi-line bit/bit-field decode. 2009-05-13 02:50:31 +00:00
miscfs More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
modules Also look for sources in sys/arch/x86/x86/ if MACHINE_ARCH is i386 or 2009-03-31 18:41:40 +00:00
net fix crash in bridge_ioctl(): 2009-05-17 11:34:21 +00:00
net80211 Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netatalk Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netbt add const to unchanged argument 2009-05-14 15:34:38 +00:00
netinet Implicit EPERM -> explicit EACCES. 2009-05-12 22:22:46 +00:00
netinet6 Remove "privileged" variable, perform the kauth(9) call before we go into 2009-05-12 23:01:26 +00:00
netipsec Adapt FAST_IPSEC to recent KPI changes. 2009-05-10 02:13:07 +00:00
netisdn Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netiso Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netkey Fix the sense of two compares. I previously broke this. 2009-05-11 11:00:51 +00:00
netnatm Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
netsmb Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
nfs Broken assertion. 2009-05-23 18:19:19 +00:00
opencrypto Remove extra whitespace added by a stupid tool. 2009-04-18 14:58:02 +00:00
rump <sys/syscallargs.h> requires <sys/sched.h> to define cpuset_t. 2009-05-24 20:10:50 +00:00
secmodel Add and use a network scope action/request for tun(4), similar to ppp(4), 2009-05-08 11:09:43 +00:00
stand Ansify function definitions w/o arguments. Generated with sed. 2009-03-18 10:22:21 +00:00
sys More changes to improve kern_descrip.c. 2009-05-24 21:41:25 +00:00
ufs Add di_modrev to the inode, for NFSv4. From FreeBSD. 2009-05-12 21:08:23 +00:00
uvm Include some debug print routines if DEBUGPRINT is defined. This 2009-05-03 16:52:54 +00:00
Makefile