Commit Graph

6854 Commits

Author SHA1 Message Date
dg
80da5388e7 Back out Poul's hack that forces static libgcc. This has been fixed via
gcc instead.
1995-03-10 19:41:50 +00:00
dg
52fff5dc3f Define LINK_LIBGCC_SPECIAL_1 so that gcc will build static with libgcc. 1995-03-10 19:39:32 +00:00
rgrimes
a78a815e6d Add protected and empty maninstall: targets.
Submitted by:	Philippe Charnier <charnier@lirmm.fr>
1995-03-10 08:54:42 +00:00
phk
2f1575c13e Added the kernbb program. No man-page yet :( 1995-03-10 08:53:55 +00:00
dg
6ee046af6d Removed some #include's of unnecessary include files. 1995-03-10 08:44:20 +00:00
rgrimes
120393821b Simplify all the newfs commands into ${NEWFS} and add -t 0 -u 0 so
we can again newfs floppies.

Now I just need to squish the bits back under 1.44MB :-(.  I don't know
if it will be possible to get down to 1.2MB.
1995-03-10 08:42:07 +00:00
phk
ecfa244761 Add a dummy ___bb_init_func for BB profiling of the kernel.
To use this: recompile src/gnu/usr.bin/cc, compile your kernel.  The
files you want to profile should be compiled with '-a -g'.  "strip -x"
the kernel and run.  You don't need to profile all files in the kernel.
My next commit is the program to extract the data from the running kernel.
1995-03-10 08:41:26 +00:00
rgrimes
a275f01b9f Need /usr/src/sbin/i386 in srcdirs to get fdisk. 1995-03-10 08:36:19 +00:00
phk
299cac41a2 Since we are in the gcc bashing mood anyway: Add two changes for
basic-block profiling:
1. use a .stabs(25) symbol to link all the data structures together with.
The regular method isn't safe for the kernel.
2. add a BB before the prologue and add a BB after the epilogue,  this
alows us to find the length of any counted BB.  This is a cheap and somewhat
reasonable measure of actual cost.
1995-03-10 08:24:09 +00:00
dg
52e927b2ae kmem_alloc() returns zero-filled memory; it isn't necessary to bzero()
it.
1995-03-10 08:13:07 +00:00
dg
f882e63c7e Removed unnecessary routines vm_get_pmap() and vm_put_pmap().
kmem_alloc() returns zero filled memory, so no need to explicitly
bzero() it.
1995-03-10 08:05:00 +00:00
pst
65e0408e2a Remove Matt Day patch (handled elsewhere in 8.6.11) 1995-03-10 05:12:47 +00:00
pst
71a6a50bdd Merge CSRG branch changes into main branch 1995-03-10 05:08:18 +00:00
pst
bc79d2477e This commit was generated by cvs2svn to compensate for changes in r6973,
which included commits to RCS files with non-trunk default branches.
1995-03-10 04:50:28 +00:00
pst
e2bc8b6f14 Merge sendmail 8.6.11 patches into CSRG branch 1995-03-10 04:50:28 +00:00
ache
6d3fd11aab Fix suspended vipw hangs
Obtained from: NetBSD
1995-03-09 21:53:12 +00:00
dg
9da64cb991 Fix previous fix that removes an unnecessary space; the output is now
just like it was in 1.1.5.
1995-03-09 20:40:17 +00:00
phk
649197351b Clean up and improve the namecache.
1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
Clean up and improve the namecache.

1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
gets forced out of the VM/cache.  The latter is not numerous enough to keep
the pool of vnodes needed for the namecache sufficiently big.

2. Purge invalid entries in the namecache as soon as we notice them.  This
avoids a stale entry pushing out a valid entry on the LRU list.

3. Speed up the lookup in the namecache by avoid a special case branch.

4. Make the cache purge routines do the thing they're supposed to, and in
a decently efficient manner.

5. Make the size of the namecache follow the number of vnodes, so that we
can always point to all the vnodes we have in core.

6. Readability has gone way up.

7. Added a "options NCH_STATISTICS" feature that will gather more
detailed statistics on the performance of the namecache.

Reviewed by:    davidg
1995-03-09 20:27:21 +00:00
phk
09ecad6a71 Clean up and improve the namecache.
1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
Clean up and improve the namecache.

1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
gets forced out of the VM/cache.  The latter is not numerous enough to keep
the pool of vnodes needed for the namecache sufficiently big.

2. Purge invalid entries in the namecache as soon as we notice them.  This
avoids a stale entry pushing out a valid entry on the LRU list.

3. Speed up the lookup in the namecache by avoid a special case branch.

4. Make the cache purge routines do the thing they're supposed to, and in
a decently efficient manner.

5. Make the size of the namecache follow the number of vnodes, so that we
can always point to all the vnodes we have in core.

6. Readability has gone way up.

7. Added a "options NCH_STATISTICS" feature that will gather more
detailed statistics on the performance of the namecache.

Reviewed by:    davidg

(cvs is dumping core on me :-(  )
1995-03-09 20:27:04 +00:00
phk
445afd8ad7 Clean up and improve the namecache.
1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
gets forced out of the VM/cache.  The latter is not numerous enough to keep
the pool of vnodes needed for the namecache sufficiently big.

2. Purge invalid entries in the namecache as soon as we notice them.  This
avoids a stale entry pushing out a valid entry on the LRU list.

3. Speed up the lookup in the namecache by avoid a special case branch.

4. Make the cache purge routines do the thing they're supposed to, and in
a decently efficient manner.

5. Make the size of the namecache follow the number of vnodes, so that we
can always point to all the vnodes we have in core.

6. Readability has gone way up.

7. Added a "options NCH_STATISTICS" feature that will gather more
detailed statistics on the performance of the namecache.

Reviewed by:	davidg
1995-03-09 20:23:45 +00:00
paul
9be03fba57 Change the return status of do_system_command to be -1
if a signal is received.

This fixes a bug where killing the process would cause a
"No manual entry for XXX" to be printed even if the manpage
was found.
1995-03-09 19:56:23 +00:00
ache
7e089eaea2 stdio.h --> unistd.h 1995-03-09 17:45:23 +00:00
ache
3a03eb8076 Merge. 1995-03-09 17:40:56 +00:00
ache
de6e9378ea This commit was generated by cvs2svn to compensate for changes in r6962,
which included commits to RCS files with non-trunk default branches.
1995-03-09 17:28:46 +00:00
ache
b6490b2aed Upgrade. 1995-03-09 17:28:46 +00:00
olah
1d0b95fbd2 Add -I.' to CFLAGS in order to fix the make depend' problem. 1995-03-09 12:15:17 +00:00
ache
bb02d181c2 o more options
o less restrictive, you can choise uid, gid ...
	o invite user into some groups
	o encrypted passwords with crypt
	o batch mode (for instance, this works now:
	  $ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd
	  see manpage for more details)

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-03-08 22:44:37 +00:00
ugen
827d881ab2 Remove redundant IORW definition..
because of this definition never ioctl's for sound
devices worked..For me this resulted also in  loss of
snd1 device...
1995-03-08 18:43:49 +00:00
nate
4ebade1ed8 Removed redundant function to64() which also exists in local_passwd.c 1995-03-08 18:05:50 +00:00
olah
1a0552987b Make tcpdump understand the T/TCP (RFC-1644) options. Some extra sanity
checks were also introduced to the tcp_print function so it doesn't try
to interpret TCP options beyond the length of the sniffed packet.
1995-03-08 13:13:01 +00:00
olah
cb39e2c563 Upgrade tcpdump and tcpslice to version 3.0
Obtained from: ftp.ee.lbl.gov and Vern Paxson <vern@ee.lbl.gov>
1995-03-08 12:53:42 +00:00
olah
1c663944da LIBPCAP -> ${DESTDIR}/usr/lib/libpcap.a 1995-03-08 09:01:32 +00:00
bde
2135b6a2f1 Obtained from: NetBSD
Remove common sources from ${SRCS} when they are replaced by arch-specific
sources.
1995-03-08 01:41:40 +00:00
phk
6b3e150819 Another little optimization to the nameicache.
If an entry is stale, ditch it.
1995-03-08 01:40:44 +00:00
phk
0007f0f9c1 Improve the quality of the hash used in the namei-cache. 1995-03-08 01:08:03 +00:00
sos
c58bbf9e4f Added ata.c device driver file.
Just so I don't have to repatch files.i386 again & again...
1995-03-07 21:15:30 +00:00
dg
f3e314554c Increased number of buffers to 1/12 of (page_count - 1024). This makes the
cache minimum closer to 10% in the usual case.
1995-03-07 19:58:02 +00:00
dg
862e1a5230 Removed most of the special policy regarding the seperation of VMIO and
dir/metadata buffers as it seems to have anomolous effects.
1995-03-07 19:53:27 +00:00
dg
61016c4ad1 Set VAGE flag when pager is destroyed. This usually happens when an
object has fallen off the end of the cached list - this is likely the
last reference to the vnode and it should be reused before non file
vnodes that are already on the free list (VDIR mostly).
1995-03-07 19:04:10 +00:00
dg
23b5ce7c01 Added a new flag "VAGE" to indicate that the vnode should go on the head
of the free list.
1995-03-07 19:00:47 +00:00
dg
ac41371947 Put VAGE vnodes at the head of the free list. 1995-03-07 18:59:45 +00:00
dg
51af13e8cd Fixed object reference count problem that occurred in the MAP_PRIVATE
case after we rewrote vm_mmap(). Added some comments to make it easier
to follow the reference counts.
1995-03-07 17:27:49 +00:00
dg
e401917a36 Don't attempt to reverse collapse non OBJ_INTERNAL objects. 1995-03-07 17:25:46 +00:00
roberto
0eea6fa9f5 Correct a few URL for ftp.FreeBSD.ORG. 1995-03-07 13:54:44 +00:00
dufault
d0a0777699 Change warning message for when a device is wired to a floating
host adapter to something hopefully clearer.  Take into account
that "wnum()" writes into a static buffer in the warning.
1995-03-07 11:03:42 +00:00
gibbs
7e434d20fd Be careful to maintain the bits in SBLKCTL that are reserved. 1995-03-07 09:00:44 +00:00
gibbs
3dcd437912 Compile cleanly -Wall. Remove some code that was an attempt to make
the 294x probe more stable, but since the guess was wrong, go back to
the clearer aproach I used the first time around.
1995-03-07 08:59:28 +00:00
gibbs
ab08cc5475 Compile cleanly -Wall. 1995-03-07 08:58:22 +00:00
bde
b09124aea7 Don't build swab.o here. It gets built in libc/i386/string. Previously
the copy built from here was overwritten by the other copy and the other
copy was put in library-building command lines twice.  ld now objects to
duplicated modules.
1995-03-07 04:19:11 +00:00
dufault
e13f0833e8 Submitted by: bde@zeta.org.au (Bruce Evans)
Fix it so that calls to extend_get won't dereference 0 when "swap
on sd.." calls sdsize() on systems with no SCSI devices.

This probably really fixes Poul's "boot with no SCSI" problem.
1995-03-06 15:02:13 +00:00