Commit Graph

152227 Commits

Author SHA1 Message Date
yamt
2f7740a31e tcp_reno_newack/tcp_newreno_newack: remove stale comments. 2006-10-10 09:19:13 +00:00
yamt
8afc246107 tcp_newreno_newack: actually inflate cwnd as it used to do. 2006-10-10 08:31:02 +00:00
reed
f9a8db2401 Remove parenthesis from around a sentence.
Refer to vi manpage for option -r.

Mention rc.d start up script for this.

Add rc.conf to SEE ALSO.

Remove sentence about it originally done at boot time.

Fix date - it was added in 1996. And mention that the
script was renamed in 2001.
2006-10-10 03:30:42 +00:00
reed
0b966788bb Also point to new virecover manual page. 2006-10-10 03:27:05 +00:00
reed
0589c4dc74 Instead of pointing to vi man page, refer to new virecover
man page for the virecover details.
2006-10-10 03:24:51 +00:00
dbj
d0c4ff452b implement -x by pruning fsnodes tree before building filesystem rather
than by skipping nodes while building filesystem
2006-10-10 01:55:45 +00:00
dbj
0e392af953 add implementation of free_fsnodes() which unlinks a node
from the hierarchy and frees it and any of its children
use it to free memory before a normal exit, which helps diagnostics
2006-10-10 01:46:49 +00:00
dbj
2d7375cec3 free specfile structure once it has been applied 2006-10-10 01:41:14 +00:00
dbj
1ca1523d99 use new implementation of link_check which i
implemented for du.c revision 1.25 :

Use open address hashtable with multiplicative double hash probing
and exponential hashtable growth for tracking previously seen inodes.
This replaces the O(n^2) behavior of linkchk() with an implementation
that should be O(n*logn)
2006-10-10 01:39:10 +00:00
dbj
daab9400b9 use strtoll instead of strsuftoll to parse -d so it can be specified
in hex with a 0x prefix
2006-10-10 01:32:42 +00:00
uwe
bc9906d21b Don't call spl*() in setsoft(), as softintr_schedule() already calls
setsoft() inside _cpu_intr_suspend().
2006-10-10 00:40:47 +00:00
martin
e8a3d86579 Ooops, stupid typo prevented recognizing wd* as boot device
(and stupid me tested on a machine with RAID 1 autoconfigured as root).
While there, make -Wextra ready and add another debug message.
2006-10-09 22:16:33 +00:00
martin
505e0ced00 Missing initializers 2006-10-09 21:50:27 +00:00
wiz
29ce0187b9 Sort options in SYNOPSIS. 2006-10-09 21:38:17 +00:00
wiz
7927d9d5f0 Fix a typo. 2006-10-09 21:36:18 +00:00
skrll
8e824ab13e Make this compile without KTRACE.
From Sergey Svishchev in a private email.
2006-10-09 21:32:29 +00:00
wiz
9dedcd8f8b Remove trailing whitespace.
Remove a partially duplicated sentence.
2006-10-09 21:31:29 +00:00
scw
056c6fdd05 Some removable umass(4) devices don't respond to mode sense page 6, or
simply return zero for logical block size. In either case, use the sector
length reported by READ_CAPACITY instead of defaulting to 512 bytes.

This partially addresses the problems reported in PR port-i386/34707 and
PR kern/34737. Namely the incorrectly reported drive geometry and the
'hanging' issue.

However, since the device in question reports 2048-byte physical sectors
it will remain unusable until DEV_BSIZE is banished.
2006-10-09 21:29:14 +00:00
bjh21
d6e105789d The correct number of elements to insert into cmd_iohs is WDC_NREG. Using
larger numbers risks a buffer overflow and panic.  Bug spotted by Mike Pumford.
Patch compile-tested only, but it's obviously correct.
2006-10-09 21:12:44 +00:00
apb
71ba9763cb Configure the bootstrap make in such a way that it can use a shell other
than "sh" for executing commands.  Useful in a cross-build environment.

* Do not define _PATH_BSHELL, because it is no longer used by make.

* In addition to _PATH_DEFSHELLDIR (the directory in which the default
  shell can be found), define _BASENAME_DEFSHELL (the shell's basename).

* Use shell builtin string manipulation instead of sed to extract
  the directory name and basename from $BSHELL.

OK sjg, christos
2006-10-09 20:51:05 +00:00
apb
4e86f6ddf0 In a non-native build, always use a shell to execute commands. This may
be necessary in a weird cross-build environment.  Previously, if the
command looked simple enough, we would try to exec it directly.

OK sjg, christos
2006-10-09 20:46:33 +00:00
jkunz
007f7a7a2a Bringing up a fpa(4) interface on sparc(64) causes a hard kernel crash
(infinite loop) due to the way fpa(4) interacts with bus_dma(9).
This fixes the problem and makes fpa(4) usable on sparc(64).
2006-10-09 20:45:19 +00:00
apb
cd195008c6 Allow make(1) to be built with something other than "sh" as the
shell.  To use this, build with -D_PATH_DEFSHELLDIR=\"/path/to/dir\"
-D_BASENAME_DEFSHELL=\"shell\".

* Change the order of entries in shells[].  Now DEFSHELL defaults to 0,
  and shells[0] describes the default shell.  This will be "sh" in the
  usual case.

* If _BASENAME_DEFSHELL is defined, insert an additional entry above
  "sh" in the shells[] array, making this new entry shells[0].  The
  new entry is assumed to refer to an sh-compatible shell with a
  non-standard name.  (Tested using _PATH_DEFSHELLDIR="/usr/pkg/bin" and
  _BASENAME_DEFSHELL="bash".)

* In the shells[] entry for "sh", test defined(MAKE_NATIVE) &&
  defined(__NetBSD__) to decide whether we can use the "q" flag.

OK sjg, christos
2006-10-09 20:44:35 +00:00
cube
199c1347ea Add an entry for the 2 UARTs version of the Moschip NM9835. 2006-10-09 20:33:04 +00:00
cube
5816119e8b Regen. 2006-10-09 20:31:57 +00:00
cube
ed6585967f Add one puc device by Moschip (formerly NetMos). Not the one I have, but
as I went through the datasheets...
2006-10-09 20:31:03 +00:00
apb
5e0e754292 Change the order of several items to ensure that
top can work without a termcap "li" capability.
Fixes PR 34717 by der Mouse.
2006-10-09 19:49:51 +00:00
ghen
0a24df9523 Add catpage for tcp_congctl(9). No cookie for rpaulo. 2006-10-09 19:33:22 +00:00
rpaulo
bd82368bbd Add a bit more info. 2006-10-09 18:58:40 +00:00
rpaulo
e824aed9d8 Mention removal of net.inet.tcp.newreno. 2006-10-09 18:57:30 +00:00
rpaulo
6dbb30fffb mention tcp_congctl 2006-10-09 18:55:42 +00:00
oster
2cc8598250 Add #inclusion protection.
vax/uba/qevent.h has been vax/qevent.h for ages now.
Fixes -current build on vax.
2006-10-09 18:42:59 +00:00
dyoung
52f0206b50 Bug fix: do not try to destroy a NULL socket. Stops the kernel
from crashing when a GRE over UDP instance of gre(4) is destroyed
before its socket is created/delegated.
2006-10-09 17:54:23 +00:00
christos
2b5046cce5 include headers needed for the ioctls. 2006-10-09 17:04:36 +00:00
gdamore
454c4680f1 Add man pages for SPI, m25p flash, and tm121temp devices. I'm holding off
creating an spiflash man page until the framework settles, and I'd
ultimately like to create section 9 pages for SPI.
2006-10-09 16:51:51 +00:00
rpaulo
f3330397f0 Modular (I tried ;-) TCP congestion control API. Whenever certain conditions
happen in the TCP stack, this interface calls the specified callback to
handle the situation according to the currently selected congestion
control algorithm.
A new sysctl node was created: net.inet.tcp.congctl.{available,selected}
with obvious meanings.
The old net.inet.tcp.newreno MIB was removed.
The API is discussed in tcp_congctl(9).

In the near future, it will be possible to selected a congestion control
algorithm on a per-socket basis.

Discussed on tech-net and reviewed by <yamt>.
2006-10-09 16:27:07 +00:00
christos
5883c53809 regen. 2006-10-09 14:59:41 +00:00
christos
9c3c382c56 sideways check for error functions. 2006-10-09 14:59:05 +00:00
dsl
01a426f62c Rip out the code for the undocumented -P (don't use pipes for command
output) option.  I'm sure it is baggage from the past.
2006-10-09 14:36:41 +00:00
christos
be4d21eeca use ecalloc in previous 2006-10-09 14:27:06 +00:00
dsl
4a7a153be0 Rip out the code for not 'USE_PGRP', I can't imagine it being useful!
My guess is that it is compat code for before the pgrp stuff was added.
2006-10-09 13:49:59 +00:00
dsl
9f624ea07b Instead of trying to report all the 'job suspended' and 'job resumed'
messages whan make itself is suspended (ie by ^Z) before make actually
suspends, supress the messages during this sequence.
This means we don't care that they would be output after the suspend
and we can stop attempting to reap child status from withing the signal
handler (which doesn't work for recursive parallel makes).
The code simplification means that we can remove much of the code that
blocked signals - since the signal handlers (expect that for ^C and friends)
now do almost no work.
2006-10-09 13:40:11 +00:00
dsl
8ff168b387 Another piece of code that was clearly committed before being compiled. 2006-10-09 12:53:39 +00:00
yamt
86004aaed3 fix some warnings in the case of PDSIM. 2006-10-09 12:50:39 +00:00
yamt
cf17315fe8 add parentheses. 2006-10-09 12:43:32 +00:00
yamt
dd099bf0ca include string.h for memset. 2006-10-09 12:40:00 +00:00
yamt
dbdfc1f677 move src/sys/uvm/pdsim to src/regress/sys/uvm/pdsim.
no objection on tech-kern@.
2006-10-09 12:32:21 +00:00
mlelstv
c6d3fb32fc It is sufficient to have the members volatile. 2006-10-09 11:38:54 +00:00
dsl
861fc6431d Fix core dump caused by non-zerod memory.
From Auster in current_users.
2006-10-09 11:37:31 +00:00
yamt
cb88d60f6d yamt-splraiseipl: sgimips. 2006-10-09 11:30:53 +00:00