Commit Graph

6494 Commits

Author SHA1 Message Date
dg
bee228f279 Removed object locking code (it was a left over from an abortion that
was done a month or so ago).

Submitted by:	John Dyson
1995-02-22 10:06:43 +00:00
dg
bc14b347dc Removed bogus copy object collapse check (the idea is right, but the
spcific check was bogus).
Removed old copy of vm_object_page_clean and took out the #if 1 around
the remaining one.

Submitted by:	John Dyson
1995-02-22 10:00:16 +00:00
dg
484237b06c vfs_cluster.c:
Various more tweaks from John Dyson to improve read ahead calculations.

vfs_subr.c:
Only wakeup if numoutput is 0 in vwakeup().

Submitted by:	John Dyson
1995-02-22 09:39:22 +00:00
dg
23f24aec47 Added some code to make sure that buffers associated with directories and
metadata aren't thrashed by regular file I/O.
Added mechanism to limit the amount of outstanding I/O on a given vnode.
Pagedaemon wakeup policy changed to skew priority a little in favor of
file caching.
Slight code reorganization to improve clarity.
Added a few more comments.

Submitted by:	John Dyson
1995-02-22 09:30:13 +00:00
dg
fc81686734 Only do object paging_in_progress wakeups if someone is waiting on this
condition.
Added some comments.

Submitted by:	John Dyson
1995-02-22 09:16:07 +00:00
dg
de852219bc Only do object paging_in_progress wakeups if someone is waiting on this
condition.

Submitted by:	John Dyson
1995-02-22 09:15:35 +00:00
dg
1c2cc43b89 Rewrote MAP_PRIVATE case of vm_mmap() - all of the COW portion of this
routine was highly convoluted.

Submitted by:	John Dyson
1995-02-22 08:40:54 +00:00
bde
e60b87358d Fix benign type mismatch. 1995-02-22 07:23:26 +00:00
amurai
f7b5491374 The 'set ifilter'/'set ofilter' commands accept a syntax containing
IP addresses and/or protocol+port, but in the case where both are
supplied, it happily accepts the command but ignores the proto+port
It also attempts to handle the case where the second IP address
is omitted, but this doesn't work.

Reviewed by:  amurai@spec.co.jp
Submitted by: Andrew.Gordon@net-tel.co.uk
1995-02-22 06:44:03 +00:00
ache
4ab3d8890b add /usr/local/share, needed by some ports 1995-02-22 04:34:19 +00:00
phk
7df80d54f4 Added entry from Jim Bryant 1995-02-22 03:49:46 +00:00
ache
47db45199e Increase retry count while reading toc, old one
isn't enough for spin up
1995-02-22 02:12:10 +00:00
ache
7384e34f5b Use CDPLAY environment variable to not type argument each time
Submitted by: hvd@terry.ping.dk
1995-02-22 01:45:03 +00:00
gibbs
bb4314a0bc Add a define for the SCSI_QUEUE_FULL sense message 1995-02-22 01:44:21 +00:00
gibbs
a058d5d4ee Add tagged queueing support. Right now, we only allow two tagged
commands per target.  I could have followed the route of the ncr driver
and gone to great lengths to get the SCSI subsystem to support more, but
I think I'll use the time saved to help Julian and Peter make tagged
queuing a better handled generic feature.  This also includes some comment
and enum clean up and a possible fix for the hanging PCI controllers.
1995-02-22 01:43:25 +00:00
gibbs
87d5f18cb6 Add tagged queueing support to the aic7xxx sequencer code. 1995-02-22 01:37:52 +00:00
ache
989cc0c480 mixer added 1995-02-22 01:37:47 +00:00
ache
f865e0eb2d Move mixer to usr.sbin 1995-02-22 01:36:12 +00:00
ache
e7bc129a32 Do not close cd after eject, close on each ioctl error instead.
Do not open cd on help and quit commands.
1995-02-22 01:19:06 +00:00
ache
cc62209afd Implement tray closing and tray locking
Fix first open fails bug
1995-02-22 01:11:36 +00:00
bde
b0107cea75 Obtained from: memories of 1.1.5
Fix the sign of the timezone offset again.
1995-02-21 18:41:30 +00:00
jkh
9d3098a150 Remove FAT_CURSOR - it's deprecated.
Submitted by:	"Philippe Charnier" <charnier@lirmm.fr>
1995-02-21 13:42:57 +00:00
dg
e07fcc8b37 Panic if u_map allocation fails. 1995-02-21 12:06:06 +00:00
olah
9d247228f7 Fix bogus Makefile which resulted in incompatible shared and static
libs.

Reviewed by:	Michael Reifenberger <root@rz-wb.fh-sw.de>,
		roberto@blaise.ibp.fr (Ollivier ROBERT)
1995-02-21 10:46:34 +00:00
ats
37ed4f396d Add sgsc to the clean/cleandir targets. 1995-02-21 10:30:41 +00:00
bde
82d8643912 Discard junk from partition tables when reading the tables for applications
the same as when initializing the in-core copies.  Adjust checksums in
labels after adjusting labels.  This finishes fudging the on-disk label to
make it coherent with the in-core label.

Handle EIO during initialization better.

Initialize the compatibility slice to the whole disk If there are no real
slices.

Don't warn about adjusting offsets in the label to make the 'c' partition
start at 0.  The 'c' offset is now always absolute on-disk and 0 in-core
so an adjustment is usually required.

Don't confuse LABEL_PART with RAW_PART so much.

Check for partitions being within slices differently.
1995-02-21 08:38:24 +00:00
bde
f12dfe32ef Don't generate any errors here other than EIO. An invalid partition
table is not an error, it just causes a smaller slice table.
1995-02-21 08:37:09 +00:00
phk
4198645aef Speed md5 up around 30% by shorting out a couple of cumbersome
memcpy equivalent functions.
1995-02-21 06:01:49 +00:00
phk
78783a3369 add "fib"
Reviewed by:	phk
Submitted by:	Mark Murray <mark@grondar.za>
Obtained from:
1995-02-21 04:41:03 +00:00
wollman
f173afb688 Not sure why this one was -lcompat since it doesn't reference anything in
it.
1995-02-21 04:35:43 +00:00
wollman
3e5fb07ca4 Use POSIX.2 regular expressions, kill libcompat. 1995-02-21 04:32:55 +00:00
jkh
361ab69cf3 Totally get rid of the snic driver.
Submitted by:	davidg
1995-02-21 04:26:35 +00:00
wollman
308357dffb Use tcflush(), eliminate libcompat. 1995-02-21 04:15:15 +00:00
wollman
4d90fd7141 Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
wollman
21020c88f2 more now uses POSIX regular expressions and no longer needs libcompat. 1995-02-21 03:46:48 +00:00
phk
951f4d2427 Be more exclusive about cvs-locks. 1995-02-21 02:09:47 +00:00
dg
4fde9eca0a vm_extern.h: removed vm_allocate_with_pager.
Removed vm_user.c...it's now completely deprecated.
1995-02-21 01:32:47 +00:00
dg
61f942679a Removed vm_user.c. 1995-02-21 01:31:14 +00:00
dg
6763b76553 Deprecated remaining use of vm_deallocate. Deprecated vm_allocate_with_
pager(). Almost completely rewrote vm_mmap(); when John gets done with
the bottom half, it will be a complete rewrite. Deprecated most use of
vm_object_setpager(). Removed side effect of setting object persist
in vm_object_enter and moved this into the pager(s). A few other
cosmetic changes.
1995-02-21 01:22:48 +00:00
dg
ea3c5aeb4a Set page alloced for map entries as valid. 1995-02-21 01:13:05 +00:00
dg
ae6f15e311 Added missing extern declaration for 'maxprocperuid'. 1995-02-21 00:37:31 +00:00
dg
342ca19ffa Removed vm_allocate(), vm_deallocate(), and vm_protect() functions. The
only function remaining in this file is vm_allocate_with_pager(), and this
will be going RSN. The file will be removed when this happens.
1995-02-20 23:58:10 +00:00
dg
ae5c0b2d92 Use of vm_allocate and vm_deallocate has been deprecated. 1995-02-20 23:52:39 +00:00
dg
63ed4890e5 Moved ACT_MAX, ACT_ADVANCE, and ACT_DECLINE to vm_page.h. 1995-02-20 23:35:45 +00:00
dg
9c265cba14 Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
bde
38d4de29ac Fix restoring cpl in the swi_ast_phantom case. The system sometimes
returned to user mode without enabling ASTs.  The problem fixed itself
at the next syscall or non-FPU trap, if any.  It hung the system for
a test process that masked SIGFPE's and divided by zero.  The faulting
division was returned to endlessly and this gave plently of opportunities
for the swi_ast_phantom case to be reached; after it was reached the
system hung because the ASTs for preemption and SIGINT handling were
disabled.
1995-02-20 20:35:24 +00:00
guido
c8660b50b6 Implement maxprocperuid and maxfilesperproc. They are tunable
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)

Now it is at least possible to prohibit one user opening maxfiles

-Guido

Submitted by:
Obtained from:
1995-02-20 19:42:42 +00:00
phk
1567146ed9 Use absolute path for the "ctm" program. 1995-02-20 19:07:32 +00:00
nate
9bb4408ebc Fixed non-conflict errors that occur when changes made to the local files are
the same as the changes made in the repository.  This is often seen by
people with remote CVS trees that have applied their local patches to the
master site.  a 'cvs update' will show bogus conflicts.

Obtained from: CVS mailing list, Stig<stig@inse.com>

In diffutils 2.6 and 2.7, diff3 -A complains about identical overlapping
changes.  They're different from the ancestor but not from each other...
Why bother?  The patch below fixes this nonsense and preserves [B]ackwards
compatiblity with the -B flag (also --show-bogus-conflicts).

    Party on...
    Stig
1995-02-20 18:47:18 +00:00
nate
853bdeaa76 Make libcompat a static only library.
Since functions will come and go from libcompat as they are deprecated
it makes no sense to build a shared library out of it as it will change.

Based on freedback from Terry and Jonas on the mailing lists.
1995-02-20 18:19:50 +00:00