Bruce A. Mah
e3b5cb1fc7
New errata: SA-03:02, SA-03:03.
2003-02-24 17:50:27 +00:00
Alan Cox
3fa24ec9f1
In vm_page_dirty(), assert that the page is not in the free queue(s).
2003-02-24 17:30:45 +00:00
Bruce A. Mah
d57270f768
Fix whitespace bogon introduced in previous commit...no content
...
changes.
2003-02-24 17:23:03 +00:00
Bruce A. Mah
b16dcb2158
New release notes: SA-03:02, SA-03:03.
2003-02-24 17:21:15 +00:00
Mike Barcroft
80473671e8
Fix style bugs in previous commit.
2003-02-24 17:10:32 +00:00
Alexander Kabaev
ba873f4c18
Correctly map SIGSYS signal to/from Linux.
...
Submitted by: "Georg-W. Koltermann" <g.w.k@web.de>
2003-02-24 16:16:45 +00:00
Yoshihiro Takahashi
2302407b21
The mpbiosreason variable does not used for pc98.
2003-02-24 14:36:03 +00:00
Yoshihiro Takahashi
7bc5ac11b7
Fix printf format error.
2003-02-24 14:32:27 +00:00
Dag-Erling Smørgrav
473ef84576
Hacks to get i386 and pc98 building:
...
- TARGET=${TARGET_MACHINE}
- BOOT2_UFS=UFS1_ONLY
2003-02-24 10:48:01 +00:00
David Schultz
1281f763a9
Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing to
...
swapon(2), and correct HISTORY.
Reviewed by: mike (mentor)
2003-02-24 08:52:06 +00:00
David Schultz
4937798d56
- Add a clearer error message for the case where swapon hits the
...
NSWAPDEV limit.
- Don't warn about devices that are not in use in 'swapoff -a'.
- Re-add behavior mistakenly removed in revision 1.44:
If using 'swapon -a', do not warn if the device is already in use.
PR: 46633
Submitted by: Andy Farkas <andyf@speednet.com.au> (in part)
Reviewed by: mike (mentor)
2003-02-24 08:51:31 +00:00
David Schultz
9cdb2d4d9d
Expand the reference count on struct dquot to 32 bits.
...
This fixes a panic on large systems where a single user
may have more than 64K active or inactive vnodes.
PR: 48234
Reviewed by: mike (mentor)
2003-02-24 08:49:59 +00:00
Marcel Moolenaar
caecb2f4c0
Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.
...
The initial stack_block is staticly allocated and will be aligned
according to the alignment requirements of pointers, which does not
necessarily match the alignment enforced by ALIGN. To solve this a
more involved change is required: remove the static initial stack
and deal with an initial condition of not having a stack at all. This
change is therefore more risky than the previous ones, but unavoidable
(other than not using the platform default alignment).
Discussed with: tjr
Approved and reviewed by: tjr
Tested on: alpha, i386, ia64 and sparc64
2003-02-24 08:07:05 +00:00
Kirk McKusick
3bf0ed940b
When removing the last item from a non-empty worklist, the worklist
...
tail pointer must be updated.
Reported by: Kris Kennaway <kris@obsecurity.org>
Sponsored by: DARPA & NAI Labs.
2003-02-24 07:28:41 +00:00
David E. O'Brien
e901be8e96
<machine/vmparam.h> is the right place to get KERNBASE, so don't special
...
platform case it (or use alternate spellings).
2003-02-24 06:56:18 +00:00
Sam Leffler
c17b39c12e
o add -b option to enable batching
...
o add #ifdef __FreeBSD__'s around the profiling so the code compiles on openbsd
o update a comment about expected performance for Broadcom hardware
2003-02-24 06:10:50 +00:00
Sam Leffler
45e10ed9ef
o instead of applying arbitrary tunables, just honor the COP_F_BATCH
...
flag that can be marked on each symmetric op
o eliminate hw.ubsec.maxbatch and hw.ubsec.maxaggr since they are not
needed anymore
o change ubsec_feed to return void instead of int since zero is always
returned and noone ever looked at the return value
2003-02-24 06:03:13 +00:00
Tom Rhodes
c65b53c5bc
Return bits which were removed in revision 1.22.
...
Requested by: imp
2003-02-24 05:59:12 +00:00
Mike Heffner
fd1bfb8056
Check whether setmode(3) fails and deallocate its return value after
...
calling getmode(3).
Approved by: wollman
MFC after: 1 week
2003-02-24 05:56:36 +00:00
Tom Rhodes
1e73455ba1
Return bits which were removed in revision 1.28.
...
Requested by: imp
2003-02-24 05:53:27 +00:00
Scott Long
3303c14b57
Don't NULL out p_fd until after closefd() has been called. This isn't
...
totally correct, but it has caused breakage for too long. I welcome
someone with more fd fu to fix it correctly.
2003-02-24 05:46:55 +00:00
David E. O'Brien
b9a49f7eb4
pst(4) should be portable across all our platforms.
2003-02-24 05:12:24 +00:00
Kirk McKusick
c555826bd7
Revert to old (broken for over 1.5Tb filesystems) version of cgbase
...
so that boot loader once again will fit.
Sponsored by: DARPA & NAI Labs.
2003-02-24 04:57:01 +00:00
David E. O'Brien
36f19f1bee
Wrap the static endian functions to shutup GCC.
2003-02-24 04:44:53 +00:00
Tom Rhodes
db84f542de
Be more specific about supported cards.
...
Submitted by: imp
2003-02-24 04:23:56 +00:00
Mike Silbersack
af9c7d06d5
Fix a comment which didn't match the new cookie behavior.
...
Submitted by: Scott Renfro <scott@renfro.org>
MFC after: 1 day
2003-02-24 03:15:48 +00:00
Peter Grehan
597dc6637a
Catch up with ATAng changes
2003-02-24 03:12:30 +00:00
David E. O'Brien
63b117a6b7
I thought groff was wrapped with NO_CXX. Oh well, it is now.
2003-02-24 02:40:56 +00:00
Garance A Drosehn
39d0141328
Check the value given for number-of-logs to keep in config-file entries,
...
and error-out if the value is negative (avoiding an infinite loop).
PR: bin/30654 (part of it)
MFC after: 3 weeks
2003-02-24 02:28:46 +00:00
Tom Rhodes
3714896e81
Remove a comment about pccardd(8).
...
Discussed with: imp
2003-02-24 02:20:20 +00:00
Garance A Drosehn
27f1bc0c71
1) Fix so -a honors the -n ("do nothing") option. Before, if the directory
...
given for -a did not exist, then newsyslog would always try to create
it, even if -n was specified.
2) When -a processing *does* create the directory, have it check the result
from mkdir(), and immediately error-out if that failed.
PR: bin/46974
MFC after: 3 weeks
2003-02-24 02:09:02 +00:00
Jonathan Lemon
060958481a
Fix another case for timewait.
2003-02-24 02:06:50 +00:00
Jonathan Lemon
9c3309d174
Update to work with the new timewait state.
...
Reviewed by: sam
2003-02-24 02:06:02 +00:00
Tom Rhodes
ffab7ba849
Add device wlan as its now required.
...
Discussed with: imp
2003-02-24 01:45:44 +00:00
David Xu
0fccb684d1
Remove a XXXKSE. kg_completed now needs proc lock.
2003-02-24 01:28:10 +00:00
Garance A Drosehn
debfc5e11d
Minor style fix. Add parenthesis around 'return' values.
...
Reviewed by: md5
MFC after: 3 weeks
2003-02-24 01:05:05 +00:00
Jeffrey Hsu
11a20fb8b6
tcp_twstart() need to be called with the TCP protocol lock held to avoid
...
a race condition with the TCP timer routines.
2003-02-24 00:52:03 +00:00
Garance A Drosehn
93943fff46
Add the idea of a "default rotate action", which will be used if a file is
...
specified at runtime, but that filename is not listed in the newsyslog.conf
file. This default-action can be changed by having a line in newsyslog.conf
with the filename of "<default>". Before this change, the program would
quietly ignore the given file. An update to the man page will be written
after I finish some other updates to newsyslog.c.
Reviewed by: no objections from freebsd-arch
MFC after: 3 weeks
2003-02-24 00:51:41 +00:00
David Xu
f5878f69df
Backout last surplus commit. That day just wasn't my day.
2003-02-24 00:49:55 +00:00
Jeffrey Hsu
2fbef91887
Pass the right function to callout_reset() for a compressed
...
TIME-WAIT control block.
2003-02-24 00:48:12 +00:00
Jake Burkholder
28c9e1aa5c
Use the direct mapping of IdlePTD setup in locore for proc0's page directory,
...
instead of allocating another page of kva and mapping it in again. This was
likely an oversight in revision 1.174 (cut and paste from pmap_pinit).
Discussed with: peter, tegge
Sponsored by: DARPA, Network Associates Laboratories
2003-02-24 00:39:50 +00:00
Peter Grehan
84188b7cc1
Add apple partition map GEOM module
2003-02-24 00:16:51 +00:00
David E. O'Brien
0f7d7a85f0
Make the 'a' parameter of bus_space_write_multi_stream_*() a const pointer.
2003-02-24 00:11:15 +00:00
Tor Egge
07d2563244
Allow machines with one CPU and a valid mp table to boot an SMP kernel.
2003-02-23 23:49:57 +00:00
Dan Moschuk
25b803ef49
Add support for Peppercon ROL-F Card.
...
Submitted by: Sascha Holzeiter <sascha@root-login.org>
PR: 48559
2003-02-23 23:35:35 +00:00
Marcel Moolenaar
0f265fea23
Use the correct size for reading and writing the PCI config space.
...
Reading the PCI config space with the wrong (larger) size is not
a problem in this case, but writing can be as it clobbers unrelated
registers. In this case the clobbering is for reserved fields, which
too is mostly harmless... for now. Hence, this change is mostly
preventive in nature.
2003-02-23 23:09:17 +00:00
Tor Egge
6a07a13944
Sync new socket nonblocking/async state with file flags in accept().
...
PR: 1775
Reviewed by: mbr
2003-02-23 23:00:28 +00:00
David E. O'Brien
1e44b62e0d
There is no reason to be cute with ntohl(). Just call it directly rather
...
than use a macro that tries to do conversions in place.
Compile tested on: sparc64
2003-02-23 22:26:39 +00:00
Warner Losh
d93d332481
Explain what exca is.
2003-02-23 22:22:29 +00:00
Jake Burkholder
ef49a94104
Previous commit missed a 1 that should be NGPTD, and an NPDEPG that should
...
be NPDEPTD. Grumble.
Sponsored by: DARPA, Network Associates Laboratories
2003-02-23 22:12:08 +00:00