Commit graph

26567 commits

Author SHA1 Message Date
John Birrell 155ad7517d signal() returns an pointer, so must be cast to long, not int before
comparing < 0.
1998-01-25 09:16:55 +00:00
John Birrell e3f5655fab read() and write() return ssize_t not int, so the first arg to atomic()
should be ssize_t too.
1998-01-25 09:15:10 +00:00
John Birrell b0ed821446 Add a sysmk -> /dev/null definition ready for a coming change to
makesyscalls.sh.
1998-01-25 09:09:48 +00:00
John Birrell c1e8822ae4 Cast a size_t to a long to avoid a gcc warning. 1998-01-25 08:59:08 +00:00
John Dyson 33b90a70cd Various NFS fixes:
Make vfs_bio buffer mgmt work better.
	Buffers were being used after brelse.
	Make nfs_getpages work independently of other NFS
		interfaces.  This eliminates some difficult
		recursion problems and decreases pagefault
		overhead.
	Remove an erroneous vfs_unbusy_pages.
	Fix a reentrancy problem, with nfs_vinvalbuf when
		vnode is already being rundown.
	Reassignbuf wasn't being called when needed under
		certain circumstances.

	(Thanks to Bill Paul for help.)
1998-01-25 06:24:09 +00:00
John Dyson 8447a0aed7 Various NFS fixes:
Make vfs_bio buffer mgmt work better.
	Buffers were being used after brelse.
	Make nfs_getpages work independently of other NFS
		interfaces.  This eliminates some difficult
		recursion problems and decreases pagefault
		overhead.
	Remove an erroneous vfs_unbusy_pages.
	Fix a reentrancy problem, with nfs_vinvalbuf when
		vnode is already being rundown.
	Reassignbuf wasn't being called when needed under
		certain circumstances.

	(Thanks for help from Bill Paul.)
1998-01-25 06:14:26 +00:00
Eivind Eklund bed196b4e2 Turn CLK_USE_TSC_CALIBRATION into a new-style option. 1998-01-25 04:37:47 +00:00
Eivind Eklund 92252381f3 Make TCP_COMPAT_42 a new style option. 1998-01-25 04:23:33 +00:00
Eivind Eklund f71bb3a160 Turn NSWAPDEV into a new-style option. 1998-01-25 04:13:25 +00:00
Eivind Eklund c007c0bc64 Remove the FDSEEKWAIT option and description.
The functionality was present for two days in october/november 1994
before being backed out; I don't think we can consider it really
critical ;-)
1998-01-25 03:55:47 +00:00
Eivind Eklund 455bb2116c Make MD5 a new-style option. This one was eeeeeaaaaaasssssyyyyy ;-) 1998-01-25 03:34:17 +00:00
KATO Takenori 3d2db2b0dc Sync with sys/i386/conf/GENERIC revision 1.105. 1998-01-25 02:22:04 +00:00
John Birrell 2b3f4eadb0 Fix a cast from a pointer to a long instead of an int which was enough
to ruin a 64-bit day.
1998-01-24 20:57:38 +00:00
Jordan K. Hubbard 99e6f3d3e3 Add script for properly breaking out the doc dist. 1998-01-24 17:45:14 +00:00
Kazutaka YOKOTA 1f2ea3a434 Add brief note on error message from the driver. 1998-01-24 12:14:13 +00:00
Kazutaka YOKOTA a364145b79 Small adjustment in sync check code. 1998-01-24 12:12:32 +00:00
Jordan K. Hubbard b59d8897c6 Clean up doc bootstrap ports afterwards.
Small stylistic cleanup.
1998-01-24 07:30:55 +00:00
KATO Takenori 55bcdaeda5 Sync with sys/i386/isa/wd.c revision 1.148. 1998-01-24 06:54:17 +00:00
KATO Takenori 19eba5818f Sync with sys/i386/i386/machdep.c revision 1.283. 1998-01-24 06:53:32 +00:00
Steve Price 86fb910326 Random data is no longer based on the time of day, rather the random
number device.  Also clearly state that sequential data is the default.

PR:		5553
Submitted by:	Jonathan Hanna <pangolin@rogers.wave.ca>
1998-01-24 03:32:33 +00:00
KATO Takenori 7ebb9221f6 Sync with sys/i386/i386/machdep.c revision 1.282. 1998-01-24 03:15:37 +00:00
Eivind Eklund 7b778b5e61 Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.
This introduce an xxxFS_BOOT for each of the rootable filesystems.
(Presently not required, but encouraged to allow a smooth move of option *FS
to opt_dontuse.h later.)

LFS is temporarily disabled, and will be re-enabled tomorrow.
1998-01-24 02:54:56 +00:00
Eivind Eklund 7f4ba71355 LKM-support for converting all file-system options to new-style options. 1998-01-24 02:21:53 +00:00
John Dyson 50ce7ff499 Add better support for larger I/O clusters, including larger physical
I/O.  The support is not mature yet, and some of the underlying implementation
needs help.  However, support does exist for IDE devices now.
1998-01-24 02:01:46 +00:00
Brian Somers 4147817ab9 Fix error message.
Don't complicate the test compilation mentioned at the start of
the file.
1998-01-24 00:03:14 +00:00
Brian Somers 2e8ab8d16a Stop bogus warnings. 1998-01-23 22:29:16 +00:00
Brian Somers 813bfe4d88 Re-implement the proxy arp sockaddr_dl search routine (again).
It now works :-) and searches all interface aliases.
1998-01-23 21:37:27 +00:00
Jordan K. Hubbard e97fdb2506 Bring back handbook and FAQ by adding a mechanism for bootstrap ports
to the build.  This will need more review as we go into it, but it should
do the basic job for now.
1998-01-23 20:15:54 +00:00
Jordan K. Hubbard 5f19805b10 Add FAQ and handbook back to doc subtree. 1998-01-23 20:11:46 +00:00
Jordan K. Hubbard c4be71c254 DISTRIBUTION=bin - we separate it out later. 1998-01-23 20:09:21 +00:00
Jordan K. Hubbard feb308afd5 In !dists case, invoke the custom dist menu rather than the toplevel
dist menu.  This makes a good deal more sense and should have been
this way all along.
1998-01-23 07:53:44 +00:00
Jordan K. Hubbard e0e1133124 spelling and style police. 1998-01-23 07:48:54 +00:00
Brian Somers 0c2bc41c96 Don't allow manual dialing unless in auto or interactive mode. 1998-01-23 04:36:42 +00:00
Brian Somers 005f91820b Ask spammers to mail postmaster@$m, not postmaster@FreeBSD.ORG. 1998-01-23 01:58:49 +00:00
Brian Somers c5227e754c Just list one of each domain that was rejected
(although only by Scheck_relay or Scheck_mail).
Suggested by: ache
1998-01-23 01:58:18 +00:00
Jordan K. Hubbard 5dcabf2d07 Add wfd to all target, reorder devs to put like with like since we lost
all pretense of an alphabetical ordering some time back.
1998-01-22 21:26:22 +00:00
Jordan K. Hubbard c922e45175 MF22: match entries for wfd 1998-01-22 21:14:31 +00:00
Søren Schmidt f5dee08294 Use /bin/pwd instead of a potentially shell builtin that does
not return the "real" path.
This makes it possible to have the .o files put in the /usr/obj
hierachy instead of in the /usr/src one.
1998-01-22 19:34:31 +00:00
John Dyson 2d8acc0f4a VM level code cleanups.
1)	Start using TSM.
	Struct procs continue to point to upages structure, after being freed.
	Struct vmspace continues to point to pte object and kva space for kstack.
	u_map is now superfluous.
2)	vm_map's don't need to be reference counted.  They always exist either
	in the kernel or in a vmspace.  The vmspaces are managed by reference
	counts.
3)	Remove the "wired" vm_map nonsense.
4)	No need to keep a cache of kernel stack kva's.
5)	Get rid of strange looking ++var, and change to var++.
6)	Change more data structures to use our "zone" allocator.  Added
	struct proc, struct vmspace and struct vnode.  This saves a significant
	amount of kva space and physical memory.  Additionally, this enables
	TSM for the zone managed memory.
7)	Keep ioopt disabled for now.
8)	Remove the now bogus "single use" map concept.
9)	Use generation counts or id's for data structures residing in TSM, where
	it allows us to avoid unneeded restart overhead during traversals, where
	blocking might occur.
10)	Account better for memory deficits, so the pageout daemon will be able
	to make enough memory available (experimental.)
11)	Fix some vnode locking problems. (From Tor, I think.)
12)	Add a check in ufs_lookup, to avoid lots of unneeded calls to bcmp.
	(experimental.)
13)	Significantly shrink, cleanup, and make slightly faster the vm_fault.c
	code.  Use generation counts, get rid of unneded collpase operations,
	and clean up the cluster code.
14)	Make vm_zone more suitable for TSM.

This commit is partially as a result of discussions and contributions from
other people, including DG, Tor Egge, PHK, and probably others that I
have forgotten to attribute (so let me know, if I forgot.)

This is not the infamous, final cleanup of the vnode stuff, but a necessary
step.  Vnode mgmt should be correct, but things might still change, and
there is still some missing stuff (like ioopt, and physical backing of
non-merged cache files, debugging of layering concepts.)
1998-01-22 17:30:44 +00:00
KATO Takenori ececc3f031 Sync with sys/i386/i386/userconfig.c revision 1.100. 1998-01-22 14:26:34 +00:00
Andrey A. Chernov 2aee32e1f8 Add PATCH_INDEX_FIRST environment variable to do the same as -I option 1998-01-22 07:44:04 +00:00
Wolfgang Helbig 5aeee887af Don't swap carriage return and new line in quoted mode (after ^V). 1998-01-22 07:37:10 +00:00
Philippe Charnier 2cc11a3c27 Add rcsid. Add usage() with up to date flag list. Use err(3). 1998-01-22 07:28:26 +00:00
Jordan K. Hubbard ea9e39333c Mention LS-120 drives. 1998-01-22 07:28:22 +00:00
Philippe Charnier a7a63eccb9 Convert to mdoc format. Document missing flags. 1998-01-22 07:26:08 +00:00
Jordan K. Hubbard b7857f20f3 Update for current events, format police. 1998-01-22 07:23:44 +00:00
KATO Takenori 774f324f38 Added dealy.
Submitted by:	Kawanobe Koh <kawanobe@st.rim.or.jp>
1998-01-22 03:52:55 +00:00
Mike Smith f5d7bf3c0b Printers under FreeBSD are /dev/lpt* 1998-01-22 02:44:54 +00:00
KATO Takenori bda1412586 Delete unused code in union_fsync(). 1998-01-22 02:14:59 +00:00
Warner Losh d82dcd5eaf MFC: sprintf paranoia 1998-01-22 00:04:57 +00:00