Commit Graph

6551 Commits

Author SHA1 Message Date
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
dg
88535fde5c vm_inherit function has been deprecated. 1995-02-20 18:08:18 +00:00
dg
505b60534a Stop using vm_allocate and vm_deallocate. 1995-02-20 17:36:36 +00:00
dg
02b058b4a6 VM for the kernel stack and page tables doesn't need to be explicitly
deallocated as it isn't inherited across the fork.
Use vm_map_find not vm_allocate.

Submitted by:	John Dyson
1995-02-20 17:26:21 +00:00
jkh
ad68332ebd Add Ollivier and Satoshi to list of contributors. 1995-02-20 16:24:30 +00:00
dg
0dc644151d Make sure process isn't swapped when messing with it.
Added missing newline to log() call.
1995-02-20 15:53:33 +00:00
dg
d63fe502f3 Added missing newlines to calls to log(). 1995-02-20 15:48:46 +00:00
dg
886819bca6 Panic if object is deallocated too many times.
Slight change to reverse collapsing so that vm_object_deallocate doesn't
have to be called recursively.
Removed half of a previous fix - the renamed page during a collapse doesn't
need to be marked dirty because the pager backing store pointers are copied
- thus preserving the page's data. This assumes that pages without backing
store are always dirty (except perhaps for when they are first zeroed, but
this doesn't matter).
Switch order of two lines of code so that the correct pager is removed
from the hash list. The previous code bogusly passed a NULL pointer to
vm_object_remove(). The call to vm_object_remove() should be unnecessary
if named anonymous objects were being dealt with correctly. They are
currently marked as OBJ_INTERNAL, which really screws up things (such as
this).
1995-02-20 14:21:58 +00:00
dg
3c992995d1 Don't allow act_count to exceed ACT_MAX when bumping it up.
Small optimization to vm_page_bits().

Submitted by:	John Dyson
1995-02-20 14:00:50 +00:00
dg
ce553fd02e Fully initialize pages returned via vm_page_alloc_contig() so that the
memory can be later freed.
1995-02-20 13:58:14 +00:00
jkh
e63cbdbd49 Add Gary J. for all his fine work with gdb and other things. 1995-02-20 12:45:09 +00:00
phk
58fd58296f The new and improved mkCTM. Learning from this experience it has been
improved on a couple of accounts.  Amongst these are "damage control"
more than 100 files removed and it will bail out...
1995-02-20 03:03:02 +00:00
phk
fa66c973d8 Clean this file up so it is readable... 1995-02-20 00:48:50 +00:00
bde
6c4a4b0917 Don't flush the message buffer when it fills up. 1995-02-19 15:02:26 +00:00
jkh
1156b7adbe Remove the SCSI idsn line - it's permanantly dead. 1995-02-19 14:07:28 +00:00
jkh
d057d17fc7 remove gnu/scsi/nic5000.c - it's deprecated. 1995-02-19 14:06:29 +00:00
gpalmer
63397d912b Bruces fixes for large filesystems
Submitted by:	Bruce Evans <bde@zeta.org.au>
1995-02-19 10:36:17 +00:00
jkh
4f698d1027 Whoops! It wasn't totally winning. I left out a couple of :'s. Fixed. 1995-02-19 09:52:52 +00:00
jkh
c7521faf75 A much more winning default dir file. 1995-02-19 09:50:27 +00:00
rgrimes
0b48cf8bc6 Change DIR to VOLUME so that this installs in the correct location. 1995-02-19 09:11:30 +00:00
jkh
9e91d4fbd9 1. Get all the nodes in this texinfo document happily pointing in the proper
directions.

2. Drop in a Makefile that properly installs the info files for this.
1995-02-19 09:11:07 +00:00
phk
f1e450d144 Some recent small changes. Probably about time I start writing this in C. 1995-02-19 04:51:41 +00:00
dg
95c793629c Truncate the pte address to a page boundry. This probably won't fix the
panic, but at least it's more correct.
1995-02-19 02:50:31 +00:00
bde
b03d5556ac Keep absolute offsets in on-disk labels for backwards compatibility. This
requires complications to adjust the offsets to relative when a block
containing the label is read and back to absolute when such a block is
written.  The adjustment is not made on the whole disk slice.

Don't allow setting the offset of partition C to nonzero in in-core labels.
This will cause some (nonstandard) disktab entries to fail.  They will
need to be changed to have relative offsets (and no partitions outside
of the slice).

Don't write protect the (nonexistent) label on the whole disk slice.

Writing labels and bootstraps should work right now (except if there is
no DOSpartition table).
1995-02-18 22:10:44 +00:00
bde
af1137d1b0 Write setconf() in KNF, in K&R C, and in Standard C.Standard C. 1995-02-18 21:32:19 +00:00
bde
8a92daed14 New field b_biodone_chain to support nested b_iodone's. 1995-02-18 21:12:33 +00:00
ats
674b6fa0fe Submitted by: Ollivier ROBERT roberto@keltia.frmug.fr.net
There is a typo in the include file specification in the  man page  of
time(1).
1995-02-18 20:44:55 +00:00
wpaul
c4fd643b2d Do away with 'options SWAP_GENERIC' once and for all: I get ill
just thinking about it.

Two changes need to be made to allow 'config kernel swap generic' to
work properly without requiring any compile-time flags:

/usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub
for the setconf() function to replace the one in swapgeneric.c that
isn't available in non-generic configurations.

/usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot()
to be skipped and lets setconf() prompt the user for a root device.
If you skip setroot() in a non-generic kernel, you could get severely
hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV.
(rootdev is always initialized to NODEV in swapgeneric.c, so if
we find that rootdev is something other than NODEV, we know we're
not using a generic configuration.)
1995-02-18 18:05:35 +00:00
jkh
50cf8653d9 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
jkh
541a543c39 ipfirewall.4 is obviously not here anymore! Adjust the Makefile. 1995-02-18 16:36:23 +00:00
ache
b25a4f776d Minor optimization. 1995-02-18 11:36:33 +00:00
jkh
b52aace268 Add Nate back as promised before, but I will also note that he's on
probation..  Another vanishing act and I won't hesitate to nuke this back
out again.  He hasn't been heard from very much since he was over here to
visit! :-)
1995-02-18 09:31:16 +00:00
smace
d437a0e4d0 Correct the grammar for the label of the number of users.
It is plural when zero and >1 users are logged in.
1995-02-18 08:24:16 +00:00
dg
81bea10e08 1) Added protection against collapsing OBJ_DEAD objects.
2) bump reference counts by 2 instead of 1 so that an object deallocate
   doesn't try to recursively collapse the object.
3) mark pages renamed during the collapse as dirty so that their contents
   are preserved.

Submitted by:	John and me.
1995-02-18 06:48:33 +00:00
jkh
ef80c623f8 1. Add Justin Gibbs
2. Make all the core team members use FreeBSD.org - it just looks better.
1995-02-18 04:07:09 +00:00
dg
528da0c6ed Only clear B_VMIO in brelse() - a bunch of special processing is required
whenever this happens, and that wasn't occurring in some cases.
1995-02-18 02:55:09 +00:00
ache
03868c1f7f Minor optimization 1995-02-18 01:42:02 +00:00
ache
c799593a3c Copyrights cleanup 1995-02-18 01:39:00 +00:00
se
c4c0871987 Bruce pointed out, that a misleading warning would be issued
in an (unlikely) border case (maxgroups==1 and the user is on
an /etc/group line for the same group and that group only ...).

Now this case is dealt with as before ...
1995-02-17 19:45:21 +00:00
bde
a866ea1434 Undo the busy latch changes made in the previous revision. They broke
some 386/387 systems.

Don't print the IRQ number twice in the boot diagnostics.
1995-02-17 19:38:13 +00:00
ugen
43b21ffd4a Move ipfirewall.4 & snp.4 facility manpage
to share/man/man4
1995-02-17 18:48:36 +00:00
ugen
03ab24cfc5 oops..here is the manpage 1995-02-17 18:06:11 +00:00
ugen
582c213f01 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
ache
7f1af51e6a colldef added 1995-02-17 17:37:55 +00:00