Commit Graph

12108 Commits

Author SHA1 Message Date
dyson
8fc8a772af Eliminated many redundant vm_map_lookup operations for vm_mmap.
Speed up for vfs_bio -- addition of a routine bqrelse to greatly diminish
	overhead for merged cache.
Efficiency improvement for vfs_cluster.  It used to do alot of redundant
	calls to cluster_rbuild.
Correct the ordering for vrele of .text and release of credentials.
Use the selective tlb update for 486/586/P6.
Numerous fixes to the size of objects allocated for files.  Additionally,
	fixes in the various pagers.
Fixes for proper positioning of vnode_pager_setsize in msdosfs and ext2fs.
Fixes in the swap pager for exhausted resources.  The pageout code
	will not as readily thrash.
Change the page queue flags (PG_ACTIVE, PG_INACTIVE, PG_FREE, PG_CACHE) into
	page queue indices (PQ_ACTIVE, PQ_INACTIVE, PQ_FREE, PQ_CACHE),
	thereby improving efficiency of several routines.
Eliminate even more unnecessary vm_page_protect operations.
Significantly speed up process forks.
Make vm_object_page_clean more efficient, thereby eliminating the pause
	that happens every 30seconds.
Make sequential clustered writes B_ASYNC instead of B_DELWRI even in the
	case of filesystems mounted async.
Fix a panic with busy pages when write clustering is done for non-VMIO
	buffers.
1996-01-19 04:00:31 +00:00
ache
6755beedbf Hostname points to static area which overrides with each gethost*
call, strdup() it.
1996-01-19 03:18:50 +00:00
fenner
61b348c119 Teach tcpdump to print out router advertisement and solicitation messages. 1996-01-19 01:29:46 +00:00
fenner
83b323c8bd Made router discovery at least build and run. There are a few things
left to do (e.g. it doesn't yet run on systems with aliased addresses)
but this should work for simple configurations.

I don't plan to enable the rdisc directory in the sbin/ makefile until
I get feedback on this and add the missing features, so please, if you
have routers that perform router discovery, or if your FreeBSD box is
itself a router, give this a try.
1996-01-19 01:28:30 +00:00
fenner
d9db1417ad Add definitions for ICMP router discovery.
Reviewed by:	wollman
1996-01-19 01:19:08 +00:00
wollman
5afac1da74 The is driver has been superseded by the lnc driver, so don't install
the is.4 man page.
1996-01-18 21:53:08 +00:00
wollman
b80bc65434 Use -mdoc properly.
Delete lots of out-of-date text.
Write new text to replace some of the old text.  BDE will need to inspect
the results for accuracy.
1996-01-18 21:36:18 +00:00
wollman
c916c0ff49 Update to reflect reality, and slightly better formatting. 1996-01-18 21:33:42 +00:00
ache
b1f0e8424f Fix buffer sizes calculation looking into new Linux driver.
Save 112K for SB, 64K for PAS and 64K for MSS.
Since PAS use SB emulation, 176K normally saved for it.
Few minor optimizations added like in Linux driver.
1996-01-18 20:54:15 +00:00
se
97c5aa5ded Change default value of MAX_LUN from 1 to 8. 1996-01-18 19:59:23 +00:00
phk
1525c6d7bd Make %.*s work. 1996-01-18 10:23:02 +00:00
wollman
3735a1982d Use -mdoc macros correctly. st(4) still needs work. 1996-01-17 21:57:57 +00:00
wollman
7b81f4c2ac Update and clean up. 1996-01-17 21:07:38 +00:00
wollman
40bbf929cf Clean up and translate to -mdoc. 1996-01-17 21:07:02 +00:00
adam
45b4db02d1 add yppush 1996-01-17 12:51:01 +00:00
olah
93bd3a261b Be more conservative when T/TCP extensions are disabled. In particular,
do not send data and/or FIN on SYN segments in this case.
1996-01-17 09:35:23 +00:00
ache
974b820640 Workaround missing interrupts - dma_reset on them (when timeout occurse).
When you start tracker and produce some heavy disk activity,
output interrupts becomes lost and I don't know how to solve it
finally. Newly added code at least allows recovery after timeout.
1996-01-17 05:43:38 +00:00
jdp
2b13f2a1dc Always link /usr/lib/c++rt0.o into a shared library. CPLUSPLUSLIB is no
longer necessary, and can be removed from Makefiles.
1996-01-17 00:03:08 +00:00
wollman
607a724a0b Update to reflect the reality of the header files.
Make more effective use of -mdoc.
1996-01-16 21:29:43 +00:00
wollman
b95047ce04 Translate to -mdoc. 1996-01-16 20:01:05 +00:00
jkh
41fa1c51f1 UK canon, thanks to kind folks at Pavilion. 1996-01-16 18:27:03 +00:00
phk
e033942d45 Use the new & improved printf rather than homegrown kludges.
Proposed by: bde
1996-01-16 18:13:18 +00:00
phk
3298f0814f Remove local TRUE & FALSE definitions.
Fall into debugger on negative blk#.
1996-01-16 18:11:24 +00:00
phk
34a97f9682 Fix a printf, well, actually break it, that is...
We don't have the ability to print 64bit things yet...
1996-01-16 18:10:19 +00:00
phk
80fe9dce33 Add support for %.{int|*}s 1996-01-16 18:08:57 +00:00
jfieber
8f8e14b553 Document the stable mailing list.
Submitted by:	"David E. O'Brien" <obrien@cs.ucdavis.edu>
1996-01-16 14:53:09 +00:00
dg
0b3d2c7fe7 Make sure the mountpoint is marked busy before doing operations on it.
This fixes a panic that freefall suffered last night.

Obtained partially from 4.4-lite2, but minus the new bug that it introduced
1996-01-16 13:07:14 +00:00
ache
f41ed39086 Small modification to my prev change:
1) set aborting flags for all signals because tsleep exited
not by timeout and not by wakeup.
2) Simplify expression.
1996-01-16 12:29:37 +00:00
jkh
f3a5dda9d9 Fix a few minor bogons in the docs, also make it possible to execute cmds
from args, e.g. cdplay cd0 "play 1 99" if you just want to feed the
CD a command and exit the cdplay utility.  Note that if you want to use
post-play commands like `pause' and `resume', you should still use cdplay
interactively.
1996-01-16 11:08:04 +00:00
graichen
aa38c6724d Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for
   host and MAXPATHLEN for filenames.
4) call execl with correct parameters (compress -> gzip).
1996-01-16 10:32:04 +00:00
bde
bb2aa4f2a6 Moved BCD declarations to the correct header (libkern.h).
Fixed BCD declarations.  They didn't match their definitions...

libkern.h, bcd.c:
KNFised.  `indent' worked 99% perfectly on bcd.c.  It worked 99%
_imperfectly_ on subr_prf.c.
1996-01-16 10:23:22 +00:00
graichen
11666fb7b7 Reviewed by: jmz (Jean-Marc Zucconi)
added a simple man-page for our f77 (f2c/gcc driver)
1996-01-16 10:21:45 +00:00
ache
1f410eb051 1) Fix comments: 386bsd -> FreeBSD, some other wrong info.
2) Use CURSIG(curproc) in PROCESS_ABORTING instead of junk code was there.
3) Reanimate timeout code in DO_SLEEP by setting WK_TIMEOUT flag
   which is never set in old code.
4) DO_SLEEP: set aborting flag on interrupting singnals as supposed, not
   on signals which do nothing as in old code.
5) Cleanup WAKE_UP macro, WK_WAKEUP not used.
6) Remove wrong typecasts in sleep/wakeup code.
1996-01-16 10:19:23 +00:00
bde
65c0136ca9 Removed declarations of nonexistent functions copyoutstr(), fuiword()
and suiword().  They are no longer referenced in the machine-independent
code (I think fuiword() and suiword() were only used by old versions of
ptrace(), and copyoutstr() by old versions of exec).

Added `const' where appropriate.

Changed u_int to size_t' where appropriate.

Named last arg of copystr() and copyinstr() better.
1996-01-16 09:57:25 +00:00
graichen
b447bf3998 added the "-p" option to amd so that it writes it's pid to
/var/run/amd.pid and added the "-l /var/log/amd.log" option there too

added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf
1996-01-16 08:04:06 +00:00
bde
d4ab6cfcb3 Removed declarations of nonexistent functions. 1996-01-16 07:42:08 +00:00
ache
957026871d Since new bcd* macros not argument range overflow resistant,
fix argument overflow for years >= 2000
1996-01-16 06:35:40 +00:00
ache
ad0738fce4 sleep/wakeup macros was designed to do it on random address in the stack.
This random address can be matched (with some probability) with another
sleep addresses from other drivers, which can cause strange sleep/wakeup
sequence. Rewrite this ugly code to do the right thing.
1996-01-16 06:07:09 +00:00
jkh
2f055e7f0f Correct typos. "ubin usbin" instead of "subin susbin" 1996-01-16 05:15:20 +00:00
jkh
495cba1af3 Guard against argument starvation.
Noted by:	aagero@aage.aage.priv.no
1996-01-16 02:09:23 +00:00
asami
535a8056f5 Added Brian Clapper <bmc@telebase.com> for his contribution of Linux
`ls' port.  (Hey don't scream, he said he'll do some more ports!)
1996-01-15 23:57:59 +00:00
se
a072ff8139 Back out patch 1.53. The problem report that had made me commit this
change turned out to have been caused by some other change, and the
patch should have had no effect at all (just made the code a little
longer).
1996-01-15 23:51:10 +00:00
se
3c03dbc458 Disable handshake timeout. Some devices don't send an ACK for several
seconds ...

Submitted by:	wolf
1996-01-15 23:16:39 +00:00
phk
c3e6222aa5 Get rid of two and a half printf in the kernel.
Add more features to the one remaining to handle the job:
	+	signed quantity.
	#	alternate format
	-	left padding
	*	read width as next arg.
	n	numeric in (argument specified) default radix.

Fix the DDB debugger to use these.
Use vprintf in debug routine in pcvt.

The warnings from gcc may become more wrong and  intolerable because
of this.

Warning:  I have not checked the entire source for unsupported or
changed constructs, but generally belive that there are only a few.

Suggested by: bde
1996-01-15 22:41:03 +00:00
phk
cec94deabe My wife is busy making me a new conical hat, so you don't need to
send any to me this time.  Commited an old copy of this files where
the tables were swapped.  Duh!.
1996-01-15 21:26:43 +00:00
phk
53601cdcfd Soren called an said that I screwed up badly, so I backup until
I find out how... Sorry.
1996-01-15 21:12:50 +00:00
nate
a3998bb8d1 The order of entries in the host file was reversed. It should have been
Internet address
official host name
aliases

Submitted by:	dkelly@tomcat1.tbe.com (David Kelly)
1996-01-15 19:09:09 +00:00
jdp
83a650d90c Check the count in the first word of __CTOR_LIST__ before executing
the loop that invokes the static constructors.  That makes it safe
to link c++rt0.o into any shared library, even one that does not
have any static constructors.  Formerly, doing that would cause a
bus error.  If the library has no static constructors, __CTOR_LIST__
comes out as a simple 4-byte COMMON region, and it does not have
the usual NULL word that terminates the list of constructors.  This
caused the old code to "call" a garbage address via the non-existent
entry __CTOR_LIST__[1].

The analogous code that invokes the static destructors was already safe.

This change is fully backward-compatible.

Reviewed by:	dfr@render.com (Doug Rabson)
1996-01-15 17:53:25 +00:00
phk
ad0d6ac8db Remove some unused vars, use new hex2ascii macro. 1996-01-15 16:15:27 +00:00
jkh
d007d4d376 Add an entry for MTA-3230 3.5" magneto-optical drives.
Submitted by:	jbryant@argus.flash.net
1996-01-15 13:17:52 +00:00