dillon [Mon, 15 Feb 1999 06:52:14 +0000 (06:52 +0000)]
Minor reorganization of vm_page_alloc(). No functional changes have
been made but the code has been reorganized and documented to make
it more readable, reduce the size of the code, and optimize the branch
path caching capabilities that most modern processors have.
dillon [Mon, 15 Feb 1999 02:03:40 +0000 (02:03 +0000)]
Fix a bug in the new madvise() code that would possibly (improperly)
free swap space out from under a busy page. This is not legal because
the swap may be reallocated and I/O issued while I/O is still in
progress on the same swap page from the madvise()'d object. This bug
could only occur under extreme paging conditions but might not cause
an error until much later. As a side-benefit, madvise() is now even
smaller.
dt [Sun, 14 Feb 1999 21:42:05 +0000 (21:42 +0000)]
From rev. 1.12 of usr.sbin/pstat/pstat.c by phk:
Reflect the fact that we do not swap on the first <dmmax> blocks of a
swapdev, to protect disklabels and other such magic stuff.
dillon [Sun, 14 Feb 1999 20:58:21 +0000 (20:58 +0000)]
Only needed to cast array index from char to unsigned char, did not
also have to cast it to int. (int)(unsigned char)char_exp ->
(unsigned char)char_exp.
guido [Sun, 14 Feb 1999 20:16:15 +0000 (20:16 +0000)]
Somehow, it is possible to get a pcicintr() when in the resume process.
This will trigger inserted()) to be called twice which confuses pccardd.
Add code to not process pcicitr())'s when in the middle of a resume
process. The real insertion of cards and the emulated one in the suspend/resume
code really do not mix up.
nsouch [Sun, 14 Feb 1999 17:09:59 +0000 (17:09 +0000)]
The way the interrupt id was calculated was wrong and the lpt
driver was thinking irq was enabled although it wasn't.
This case was particular to a no-interrupt static configuration.
Reported by: "Norman C. Rice" <nrice@emu.sourcee.com>
bde [Sat, 13 Feb 1999 17:45:15 +0000 (17:45 +0000)]
Don't pass PSL_NT to vm86 signal handlers. Some vm86/real mode
programs, including msdos, set PSL_NT in probes for old cpu types,
although PSL_NT doesn't do anything useful in vm86 or real mode.
PSL_NT is even less useful in the signal handlers. It just causes
T_TSSFLT faults on return from syscalls made by the handlers.
These faults are fixed up lazily so that Xsyscall() doesn't have
to be slowed down to prevent them. The fault handler recently
started complaining about these faults occurring "with interrupts
disabled". It should not have, but the complaints pointed to this
bug.
dillon [Sat, 13 Feb 1999 09:47:30 +0000 (09:47 +0000)]
General additional cleanup of VOP API for NFS ops - mainly NFS ignoring
the API for freeing up cnp's. This cleanup should not effect nominal
operation one way or the other since NFS VOPs just happen to be called
with flags that match what it actually does to the NAMEI components it
gets. Still, if an NFS error occured, there was probably some memory
leakage of NAMEI components with certain NFS VOP ops.
brian [Sat, 13 Feb 1999 00:59:19 +0000 (00:59 +0000)]
Add some examples of how to throw a window up on your display when
the peer demands authentication, and add some more detail to the
example configurations.
This is the first time I've written any TCL, so I'd appreciate it
if someone eyeballed the *-auth stuff and fixed any glaring problems.
dillon [Fri, 12 Feb 1999 20:51:38 +0000 (20:51 +0000)]
jkh accidently removed rc.diskless1 & 2, then put rc.diskless back when
he moved rc.conf. Then he deleted rc.diskless when it ( of course ) didn't
work. Now I'm putting the originally accidently removed rc.diskless{1,2}
back in.
julian [Fri, 12 Feb 1999 17:56:23 +0000 (17:56 +0000)]
Improved reporting of autodetected speed and duplex.
Now should be able to report speed for cards using NatSemi PHY.
(if you have one please let me know if it works as I
only have the Intel version)
dillon [Fri, 12 Feb 1999 09:51:43 +0000 (09:51 +0000)]
Fix non-fatal bug in vm_map_insert() which improperly cleared
OBJ_ONEMAPPING in the case where an object is extended by an
additional vm_map_entry must be allocated.
In vm_object_madvise(), remove calll to vm_page_cache() in MADV_FREE
case in order to avoid a page fault on page reuse. However, we still
mark the page as clean and destroy any swap backing store.
wpaul [Thu, 11 Feb 1999 23:59:29 +0000 (23:59 +0000)]
Do not issue RX and TX reset commands in xl_stop() and xl_init(). On the
3c905B, the RX and TX reset commands also reset the cyclone chip's internal
PHY, which causes it to restart its autonegotiation session. This takes a
second or two to complete, which makes the interface seem to stop responding
for a few seconds every time you do something that reinitializes it.
Issuing the RX and TX resets on the older 3c905 boomerang adapters doesn't
cause any delay because the boomerang chip requires an external PHY.
This should fix the problem where people doing network installs via 3c905B
cards experience a delay after the interface is first initialized, among
other things.