NetBSD/sys/dev
thorpej 9a815ed696 A performance optimization, inspired by a conversation with Thor Simon:
- Keep a freelist of component buffer headers, defaulting
	  to 8 headers per component (tunable with the CCDNBUF
	  kernel compile option).
	- When allocating a component buffer, try to pull a header
	  off the freelist first, falling back on MALLOC() if the
	  freelist is empty.  Use MALLOC() rather than malloc(),
	  because it will attempt to short-cut the allocation before
	  actually making a full-blown malloc() call.
	- Keep statistics on how many component buffer headers have
	  been allocated and how many of those allocations have
	  resulted in freelist misses.

With these changes, I observed measurable decreases in system and
wall clock time on operations on an 8G ccd, as well as a measurable
drop in the time spent in ccdbuffer() (measured with kernel profiling).
1997-01-30 04:00:52 +00:00
..
ata Fixes to wd driver from cgd -- corrects several nasty bugs typically 1997-01-17 20:45:29 +00:00
dec remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers) 1996-12-08 00:22:08 +00:00
eisa Fill in sc_link.max_target 1996-12-10 21:27:16 +00:00
ic bug fix: 1997-01-24 20:58:42 +00:00
isa split isasearch (!__BROKEN_INDIRECT_CONFIG) completely off of 1997-01-26 03:49:28 +00:00
isapnp const poisoning 1997-01-24 22:13:10 +00:00
microcode/aic7xxx dev/microcode/aic7xxx/aic7xxx.seq, 1996-10-08 03:04:02 +00:00
ofw Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB 1996-10-16 19:32:08 +00:00
pci Fix a couple of minor nits so that this compiles on the alpha. 1997-01-13 00:15:29 +00:00
rcons backout kprintf changes 1996-10-13 01:37:04 +00:00
sbus backout previous kprintf change 1996-10-13 02:59:55 +00:00
scsipi kill use of strchr(); it's moving to libkern 1997-01-18 02:18:47 +00:00
sun Adapt to the new definition of struct zsc_softc 1996-12-17 20:46:11 +00:00
tc Fill in sc_link.max_target 1996-12-10 21:57:17 +00:00
audio.c close 3079 from Jason Baker -- fixes a test in audio_poll 1997-01-18 04:02:58 +00:00
audio_if.h prototypes for ccd audio and ncr5380 1996-03-07 15:00:07 +00:00
audiovar.h Trivial (and probably not very good) implementation of SIGIO. 1996-02-20 10:00:31 +00:00
ccd.c A performance optimization, inspired by a conversation with Thor Simon: 1997-01-30 04:00:52 +00:00
ccdvar.h A performance optimization, inspired by a conversation with Thor Simon: 1997-01-30 04:00:52 +00:00
cninit.c Remove duplicate definition of `constty'. 1995-04-11 22:08:06 +00:00
cons.c Implement poll(2). 1996-09-07 12:40:22 +00:00
cons.h Implement poll(2). 1996-09-07 12:40:22 +00:00
md.c It's not safe to sleep in mdattach(), so don't pass WAITOK to malloc(). 1997-01-11 06:26:41 +00:00
md.h Rename this driver `md'. 1996-12-28 23:09:26 +00:00
mulaw.c GUS audio driver from John Kohl. 1995-07-19 19:58:09 +00:00
mulaw.h Copyright assigned to the NetBSD Foundation 1996-02-27 22:28:09 +00:00
vnd.c backout kprintf changes 1996-10-13 01:37:04 +00:00
vndioctl.h kill _PATH_VNTAB; it's no longer used by anything. 1995-01-25 04:46:30 +00:00