Commit Graph

82521 Commits

Author SHA1 Message Date
bjh21 659b8ab115 Separate out netslot-specific code into its own file, so that one day we can
make it optional.
2001-07-02 23:18:34 +00:00
itojun ebdb9f12f3 typo (should we get rid of this portion? 2001-07-02 23:02:11 +00:00
hubertf ee9dee88b9 add i386/io manpage 2001-07-02 22:59:55 +00:00
hubertf 131020b62c Add a manpage for /dev/io, and tell people the True Way.
Most of the manpage is from FreeBSD - thanks guys! :)
2001-07-02 22:59:25 +00:00
jdolecek 0fe5bf8257 pipe sysctl stuff is now in <sys/pipe.h> 2001-07-02 20:55:16 +00:00
jdolecek 6a07acfe9c #include <sys/select> implicitly in !_KERNEL case 2001-07-02 20:54:26 +00:00
jdolecek 4dd8293a6d Move CTL_PIPE_NAMES and KERN_PIPE_* from <sys/sysctl.h> to <sys/pipe.h> 2001-07-02 20:48:31 +00:00
jdolecek 9f7b135e53 g/c PIPE_MOREW 2001-07-02 20:44:17 +00:00
jdolecek 12aa43b8b1 Don't try to be too smart about chunking - if the data size is bigger
than PIPE_CHUNK_SIZE, just transfer first PIPE_CHUNK_SIZE and return short
write, expecting the caller to call us again later (if they need). Previous
behaviour (besides being wrong for O_NONBLOCK reads) hung hbench under some
circumstances and other applications may have similar expectations as hbench.
This might also fix port-vax/13333 by Manuel Bowyer.

Other changes to pipe_direct_write() include:
* return short write (and success) on EOF if any data were already read;
  we return EPIPE on next write(2) call
* simplify error handling, actually handle uvm_loan() failure correctly,
  call pipe_loan_free() on error explicitly and only call uvm_unloan()
  if the address space was _not_ already freed by pipe_loan_free()
  Thanks Chuck Silvers for uvm_unloan() hints :)

Fallthough to common write in pipe_write() if pipe_direct_write()
returns ENOMEM, otherwise always break out immediatelly.
Use uvm_km_valloc_wait() instead uvm_km_valloc() in pipe_loan_alloc().
2001-07-02 20:43:39 +00:00
uch e9040f302e use MI md_root.c 2001-07-02 17:19:09 +00:00
uch fd2c055c01 add MEMORY_DISK_DYNAMIC option. if enable MEMORY_DISK_DYNAMIC, file
system image's address and size are setted by md_root_setconf().
2001-07-02 17:17:23 +00:00
joda b53f2df0b2 add AFS services, mostly from IANA 2001-07-02 16:07:04 +00:00
itojun 1ff38f4d03 on interface removal, remove multicast groups joined from pcb, before
removing interface addresses.  without the change, we may deref
NULL pointer in in_pcbpurgeif().  from jinmei@kame, sync with kame
2001-07-02 15:25:34 +00:00
fredette 17cc649043 Add sc(4). 2001-07-02 14:50:40 +00:00
tv b21858f304 Don't create gzipped versions of the install floppies. The floppy images are
not padded to disk-size boundaries (except for boot-big, for somewhat
unnecessary reasons), and the included kernel is already gzipped.  Adding
another round of gzip saves only tens of K, but creates a duplicate image,
wasting space on release media including these files.
2001-07-02 14:10:09 +00:00
ichiro 07a7db71f2 using bus_space_tag for salcd 2001-07-02 13:52:29 +00:00
onoe ff12a4271a performance improvement in fwohci_pkt_get() for asynchronous read. 2001-07-02 11:12:09 +00:00
onoe a924a0db99 set/reset low level receive handler according to IFF_UP flag of network
interface.
2001-07-02 10:46:03 +00:00
onoe 3a2ef358d9 fix typo: CLear -> Clear 2001-07-02 02:36:48 +00:00
onoe 7605dd5368 FW_DEBUG only: move descriptor dump from DPRINTFN(1) to DPRINTFN(2).
fix indent in packet dump.
2001-07-02 02:26:40 +00:00
lukem 4ec74dbf66 add AT&T v1 and v5 2001-07-02 00:03:31 +00:00
kristerw f3ccdc57d0 Corrected spelling of "-width". 2001-07-01 22:54:39 +00:00
eeh c7b881788f Oops. Fix typo. 2001-07-01 22:48:30 +00:00
eeh 0abcba55b7 I seem to have stumbled on an even faster bcopy implementation.... 2001-07-01 22:19:51 +00:00
matt f05d9cb58a Add PM_SR 2001-07-01 21:41:58 +00:00
matt cafc0288cf Add PM_SR. 2001-07-01 21:41:02 +00:00
matt 6357fdafe8 Add PM_SR 2001-07-01 21:39:17 +00:00
matt 54ec2573c9 Use consistent types for len. Limit sockarg length to reasonable values. 2001-07-01 20:42:48 +00:00
thorpej 5bdb21d48a Duh, use fd_getfile() in sys_close(). 2001-07-01 18:12:00 +00:00
thorpej ce232da4eb Regen; added Linux-compatible clone(2) system call. 2001-07-01 18:07:33 +00:00
thorpej 9377ba2c38 Linux-compatible clone(2) system call, lifted from the Linux
compatibility module.  Based on patches from Bang Jun-Young <bjy@mogua.org>.
2001-07-01 18:06:11 +00:00
jdolecek adc0c5d8f3 Add myself to the list, put e-mail addresses within '<' and '>' 2001-07-01 17:13:41 +00:00
thorpej d0f766fb5c Regen; use the generic close(2). 2001-07-01 16:55:41 +00:00
thorpej ee8334823e No need to have a SVR4-32 specific close(2). 2001-07-01 16:55:19 +00:00
thorpej e00f3a5560 Remove unneeded include files. From Onno van der Linden. 2001-07-01 16:35:36 +00:00
itojun 338aa1c650 -DLIBWRAP will enable libwrap-based filtering on UDP socket messages.
PR 13348
2001-07-01 16:23:42 +00:00
ragge d6a6aa8773 These are too simple to not have in assembler. Also shrunk the libs with
~1k of unneccessary code :-)
2001-07-01 13:31:18 +00:00
mrg 506cbe39be allow one to #define DB_MAX_LINE and DB_MAX_WIDTH independantly. 2001-07-01 12:16:25 +00:00
kleink e69c885f3e Sync with libc: use bzero-based assembly version of memset(). 2001-07-01 11:55:36 +00:00
martin 4c2e8da7bb Disable axidently enabled debug code to make -current compile again. 2001-07-01 09:25:33 +00:00
thorpej 7f109318f9 Protect the `pool cache group' pool with splvm(), so that pool caches
can be used by code that runs in interrupt context.
2001-07-01 06:12:20 +00:00
gmcgarry 61e39db8f0 Add support for skipping to the previous and next tracks. 2001-07-01 05:04:26 +00:00
gmcgarry 8752c2315f Add some missing documentation. 2001-07-01 04:11:13 +00:00
gmcgarry e839d267cd Add code references. Fix formatting. 2001-07-01 03:24:51 +00:00
gmcgarry fa0e67711f Fix terminology in discussion on locks. Expand history.
Add cross-references.
2001-07-01 03:23:02 +00:00
gmcgarry 74fb57bcf1 Refer to locks by their correct names as described lock(9). 2001-07-01 03:13:20 +00:00
gmcgarry 741d001b9f Sort boot options. Add -c for userconf. 2001-07-01 02:58:38 +00:00
gmcgarry d6182a9e77 In-kernel device configuration manager - allows modification
of device locators at run-time.

Written by Mats O Jansson <moj@stacken.kth.se>.  Reworked by
Jun-ichiro itojun Hagino <itojun@netbsd.org>.
2001-07-01 02:56:20 +00:00
gmcgarry 32fc55d6d2 Don't pack locators. Introduce a new commandline option to
restore the previous behaviour of packing locators.

Results in a 2.5KB increase in size for the current i386 GENERIC
kernel.  My custom kernel resulted in a 12-byte increase.
2001-07-01 02:46:47 +00:00
gmcgarry c1d6da70b5 Example options to reduce kernel memory footprint. 2001-07-01 02:16:33 +00:00