NetBSD/sys/dev
thorpej 0585ce1489 Make insertion of data into socket buffers O(C):
* Keep pointers to the first and last mbufs of the last record in the
  socket buffer.
* Use the sb_lastrecord pointer in the sbappend*() family of functions
  to avoid traversing the packet chain to find the last record.
* Add a new sbappend_stream() function for stream protocols which
  guarantee that there will never be more than one record in the
  socket buffer.  This function uses the sb_mbtail pointer to perform
  the data insertion.  Make TCP use sbappend_stream().

On a profiling run, this makes sbappend of a TCP transmission using
a 1M socket buffer go from 50% of the time to .02% of the time.

Thanks to Bill Sommerfeld and YAMAMOTO Takashi for their debugging
assistance!
2002-07-03 19:06:47 +00:00
..
acpi make it compile with ACPI_DEBUG 2002-06-18 10:26:15 +00:00
arcbios
ata do previous differently for wddump case. 2002-06-28 16:50:30 +00:00
bi bcmp -> memcmp. 2002-05-22 16:03:14 +00:00
cardbus make this compile again 2002-06-02 23:24:40 +00:00
dec Migrate alpha/pmax/vax bootblock stuff from <dev/dec/dec_boot.h> to 2002-05-14 06:34:20 +00:00
ebus Prettify error message. 2002-04-04 17:41:09 +00:00
eisa Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers 2002-04-05 18:27:45 +00:00
hpc Correct AltGr keycode for 680/US layout. 2002-05-11 04:57:43 +00:00
i2c
i2o Use __mips__ instead of mips. 2002-05-31 21:43:49 +00:00
ic simplify console initialization a bit, avoid wasting 2002-07-01 16:56:09 +00:00
ieee1394 remove obsolete use of M_LINK0. it was planned to be used to identify 2002-06-24 00:42:27 +00:00
ir
isa Allow this work work without a DRQ for PCNet parts mapped into ISA space 2002-06-29 05:30:44 +00:00
isapnp put back RCS Id 2002-06-22 22:14:09 +00:00
mca edc_cmd_wait(): it is absolutely necessary to wait for the BSR_CMD_INPROGRESS 2002-03-31 10:01:26 +00:00
microcode Use SLIST_*() instead of accessing slh_first,sle_next directly. 2002-06-02 01:20:36 +00:00
mii Don't include <malloc.h> - no memory management style functions are use 2002-07-03 06:25:49 +00:00
mscp
mvme
news
ofisa constify and make auto const variables static. 2002-06-08 17:07:53 +00:00
ofw
pci regen 2002-07-03 16:51:36 +00:00
pckbc Correct spannish mapping. Fix kern/15509 by Julio Merino <juli@merino.net>. 2002-06-20 21:03:19 +00:00
pcmcia Add support for Zcomax/ELSA XI325. From Jasper Wallace in PR 17252. 2002-06-17 07:47:33 +00:00
podulebus Regen (many new podules). 2002-05-23 22:01:14 +00:00
qbus Must check B_PHYS, not b_proc, if it is DMA to userspace, otherwise the 2002-06-14 11:57:21 +00:00
raidframe Exclude the Atari/Milan floppy driver from being a RAID capable device. 2002-06-27 05:13:33 +00:00
rasops Avoid sequence point error. 2002-05-31 19:42:12 +00:00
rcons
sbus SIMPLEQ rototill: 2002-06-01 23:50:52 +00:00
scsipi As per a discussion on tech-kern a while back- honor retries for 2002-06-05 00:15:33 +00:00
std tabify 2002-06-25 16:31:43 +00:00
sun Check whether a console is attached before sending data upstream. 2002-05-13 09:42:12 +00:00
sysmon Move sysmon configuration definitions to dev/sysmon/files.sysmon. 2002-04-16 21:00:27 +00:00
tc move initialization of the "struct pglist" returned by uvm_pglistalloc() 2002-06-02 14:44:35 +00:00
usb Add the now-tested 3Com 3C460B Pegasus-II adapter (Currently US$5 from 2002-06-25 01:07:38 +00:00
vme
wscons wsdisplay needs wsevent.c. PR 17456 2002-07-02 12:59:39 +00:00
wsfont
xmi
DEVNAMES Make tabbing consistent. From Julio Merino in misc/17256. 2002-06-14 10:01:27 +00:00
Makefile This is the "kttcp" network throughput testing pseudo-device. From 2002-06-28 23:27:13 +00:00
auconv.c
auconv.h
audio.c Back out revision 1.132. This revision broke binary compatibility with 2002-06-23 01:36:07 +00:00
audio_if.h Correct indent... 2002-06-04 14:02:32 +00:00
audiovar.h
aurateconv.c
ccd.c SIMPLEQ rototill: 2002-06-01 23:50:52 +00:00
ccdvar.h
clock_subr.c
clock_subr.h
clockctl.c
cninit.c
cons.c
cons.h
kttcp.c Make insertion of data into socket buffers O(C): 2002-07-03 19:06:47 +00:00
kttcpio.h This is the "kttcp" network throughput testing pseudo-device. From 2002-06-28 23:27:13 +00:00
ld.c Since the minor numbers belonging to the partitions of a disk are not 2002-05-08 15:49:07 +00:00
ldvar.h
md.c
md.h
md_root.c Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE, 2002-04-02 05:30:34 +00:00
midi.c spl botch in midipoll() when sc->dying 2002-06-01 17:54:21 +00:00
midi_if.h
midisyn.c
midisynvar.h
midivar.h
mm.c
mulaw.c
mulaw.h
radio.c
radio_if.h
radiovar.h
rnd.c SIMPLEQ rototill: 2002-06-01 23:50:52 +00:00
rndpool.c
sequencer.c
sequencervar.h
vnd.c Provide a means for vnconfig to indicate which devices are in use, and 2002-06-21 19:09:29 +00:00
vndvar.h Provide a means for vnconfig to indicate which devices are in use, and 2002-06-21 19:09:29 +00:00