David Greenman
fbcfcdf7db
Fixed bug in the size == 0 case of msync() caused by a bogus return value
...
check..
1995-03-21 02:54:04 +00:00
David Greenman
b946193056
Fixed vinvalbuf() to work like NFS wants it to. The previous code wouldn't
...
flush pages in the vm object if V_SAVE was true.
1995-03-21 01:13:16 +00:00
David Greenman
7c1f6cedec
Added a new boolean argument to vm_object_page_clean that causes it to
...
only toss out clean pages if TRUE.
1995-03-21 01:11:44 +00:00
David Greenman
3682d2baf0
Made minor readability tweak.
1995-03-20 23:00:57 +00:00
Garrett Wollman
c2bed6a371
Better fix for the deletion of parents of cloned routes problem,
...
superseding the `nextchild' hack. This also provides a way
forward to fix RTM_CHANGE and RTM_ADD as well.
1995-03-20 21:30:21 +00:00
Garrett Wollman
cea0f2a090
Forgot pppcompress.c in PPP module.
1995-03-20 19:33:35 +00:00
Garrett Wollman
3432f42658
Forgot slcompress.c in SLIP module.
1995-03-20 19:31:47 +00:00
Garrett Wollman
f065639f29
The discard, tunnel, SLIP, and PPP network interface pseudo-devices
...
are now dynamically loadable. It doesn't make sense to do the same
for the loopback.
1995-03-20 19:25:49 +00:00
Garrett Wollman
69244b69db
Support for pseudo-device LKMs. Note that this is restricted to only
...
one pseudo per module (a restriction which will eventually be lifted) and
isthus not in its final form.
1995-03-20 19:20:44 +00:00
Garrett Wollman
27a15c94ed
Add support for pseudo-device LKMs.
1995-03-20 19:18:51 +00:00
Garrett Wollman
20e8807c09
This should be splimp() rather than splnet() since ifaddrs might go away
...
as a result of link-layer processing.
1995-03-20 18:31:51 +00:00
Garrett Wollman
9b626c29f7
Fix race conditions involved in setting IP multicast options. This should
...
fix Dennis Fortin's problem for good, if I've got it figured out right.
(The problem was that a `struct ifaddr' could get deleted out from under
the current requester, thus leaving him with an invalid interface pointer
and causing even more bogus accesses.)
1995-03-20 18:11:31 +00:00
David Greenman
0426122fa0
Don't gain/lose an object reference in vnode_pager_setsize(). It will
...
cause vnode locking problems in vm_object_terminate().
Implement proper vnode locking in vm_object_terminate().
1995-03-20 10:20:42 +00:00
David Greenman
62b71ed629
Don't gain/lose a reference to the object when yanking its pages in
...
vinvalbuf()...it will cause vnode locking problems in vm_object_terminate,
and isn't necessary anyway.
1995-03-20 10:19:09 +00:00
David Greenman
9ba0a56334
Fixed "objde1" hang. It was caused by a "&" where an "&&" belonged in the
...
expression that decides if a wakeup should occur.
1995-03-20 10:14:55 +00:00
David Greenman
ff769afc81
Don't attempt to sync pages in the V_SAVE case of vinvalbuf; doing so can
...
lead to a deadlock. Just let the VM system deal with it.
1995-03-20 02:08:24 +00:00
David Greenman
83edfd47d8
Removed an unnecessary call to vinvalbuf after the page clean.
1995-03-20 02:06:09 +00:00
David Greenman
0bdb7528db
Do proper vnode locking when doing paging I/O. Removed the asynchronous
...
paging capability to facilitate this (we saw little or no measureable
improvement with this anyway).
Submitted by: John Dyson
1995-03-19 23:46:25 +00:00
David Greenman
9022e4ad9c
Fixed bug introduced in the previous commit - the lock must be held until
...
after the call to exec_check_permissions().
1995-03-19 23:27:57 +00:00
David Greenman
f5277ae71e
Lose the lock on the vnode. Changes to implement proper locking in the
...
vnode pager now require this.
Submitted by: John Dyson
1995-03-19 23:08:12 +00:00
David Greenman
edf8a81561
Removed redundant newlines that were in some panic strings.
1995-03-19 14:29:26 +00:00
David Greenman
1b2cfc2645
Backed out change to panic call: As Chris just pointed out to me, panic()
...
does indeed work like printf(). gdb gets the string untranslated for some
reason.
1995-03-19 13:44:03 +00:00
David Greenman
967a3bf893
Fix from Doug Rabson: Don't try to release a pbuf we didn't get.
...
Minor style change by me.
1995-03-19 13:28:54 +00:00
David Greenman
c01a9b8ca0
Incorporated 4.4-lite vnode_pager_uncache() and vnode_pager_umount()
...
routines (and merged local changes). The changed vnode_pager_uncache
gets rids of the bogosity that you can call the routine without
having the vnode locked. The changed vnode_pager_umount properly locks
the vnode before calling vnode_pager_uncache.
1995-03-19 12:36:10 +00:00
David Greenman
0f52ba3503
Removed bogus, commented out, call to vnode_pager_uncache().
1995-03-19 12:11:13 +00:00
David Greenman
50475e8bd3
Removed unnecessary call to vnode_pager_uncache(). We automatically clear
...
the VTEXT flag after all mappers have finished with the object.
1995-03-19 12:08:03 +00:00
David Greenman
ab828ab8bd
Moved call to vnode_pager_uncache in rename() to before the VOP_RENAME.
...
It was previously after the VOP_RENAME and the reference and lock on
the vnode had already been lost, allowing interesting internel
inconsistencies. This is one of the two reasons why freefall was crashing
every hour or two (the other being nullfs bugs).
Don't call vnode_pager_uncache in revoke(). revoke() is only allowed on
VCHR and VBLK vnodes.
1995-03-19 11:16:58 +00:00
David Greenman
1e1ece7deb
Fix a call to panic: panic doesn't do token substitution on the panic
...
string.
1995-03-19 09:47:32 +00:00
David Greenman
d7e3d98a5e
Patch from Kirk McKusick to fix a bug introduced in the Poul's vfs_cache
...
rewrite.
1995-03-19 09:33:51 +00:00
Poul-Henning Kamp
c0ac91fe89
Make newvers.sh usable from other places...
1995-03-19 07:25:41 +00:00
Poul-Henning Kamp
9346bafa46
And all serial chars with 0x7f to discard parity bits.
1995-03-19 06:10:32 +00:00
Steven Wallace
cb75121aaf
Add back SNDCTL_DSP_SETBLKSIZE ioctl code that got zapped.
...
Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
1995-03-18 20:01:10 +00:00
David Greenman
4e83f749ec
Don't sync the inode date changes of character special devices
...
during the FS sync. The system would appear to hang momentarily
if there was a large backlog of I/O. This is because the vnode
remains locked during the output - preventing normal character
I/O. The problem was exacerbated by the FFS contiguous block
allocation fixes and a semi-broken disksort(). The inode/date
will still be synced during a normal FS dismount and whenever
the inode is changed for other reasons.
1995-03-18 18:03:29 +00:00
Rodney W. Grimes
f8e028be26
Add Intel EtherExpress16 (ix0) driver.
...
Reviewed by:
Submitted by:
Obtained from:
1995-03-18 08:12:48 +00:00
David Greenman
0338878131
Woops, add back that #define...it's used later in the file.
1995-03-18 07:06:51 +00:00
David Greenman
9e4817309b
Fixed comments and removed b_cylinder #define.
1995-03-18 06:38:04 +00:00
David Greenman
89247e0412
Integrated change from 1.1.5: Fixed broken disksort to sort by pblkno
...
rather than by cylinder.
1995-03-18 06:32:48 +00:00
David Greenman
806e386083
In vm_page_alloc_contig: Removed a redundant semicolon and used 'm' instead
...
of &pga[i] in one place.
1995-03-18 01:04:36 +00:00
Justin T. Gibbs
0c40ff690c
Increase the DELAY used in ahc_poll. This is only used during intial
...
probe of the device and shouldn't affect normal operation. It seems that
some version of the aic7870 are extreamly slow in clearing their interrupt
register so the added delay is required to ensure we don't poll a stale
interrupt value.
Clean up debugging printfs and stuff superflous output into #ifdef AHC_DEBUG.
Ensure that sdtrpending and wdtrpending are cleared in all cases after
we recieve an SDTR or WDTR message.
With this commit, the 294x should work or at least be much closer to
working properly.
1995-03-17 23:58:27 +00:00
Justin T. Gibbs
b8d72a5ae8
Make the aic7xxx assembler take quoted strings as a single token.
...
Make $Id the version variable which required the quoted string "feature".
1995-03-17 23:54:17 +00:00
Garrett Wollman
e1838a91c1
Beginnings of support for loadable pseudo-devices. bsd.kmod.mk support
...
and Makefiles for the more interesting ones to come on Monday.
1995-03-17 22:02:18 +00:00
Steven Wallace
c8c244128f
Change probe output to gus0 instead of snd4.
1995-03-17 21:27:39 +00:00
David Greenman
45e3e324cc
Changed some (incorrect) nfsrv_vput()'s back into regular vput()'s. This
...
fixes the last of the known NQNFS problems (until I find more, that is :-)).
1995-03-17 07:45:19 +00:00
Poul-Henning Kamp
5edd0e154f
<libkern/libkern.h> has moved to <sys/libkern.h> (repository copy).
...
Since /usr/include/libkern doesn't and shouldn't exist, this is the
least evil way to handle this.
1995-03-17 06:15:40 +00:00
Poul-Henning Kamp
2b65c0b067
Remove a spurious printf.
1995-03-17 04:39:41 +00:00
David Greenman
cb09d35cb0
Added a new field to the pci_device struct called pd_shutdown to specify
...
a device specific shutdown routine for devconf. Assign the value of this
to the kern_devconf struct. Implement a device shutdown routine for if_de
that disables the device. This will stop the device from corrupting memory
after a reboot.
1995-03-17 04:27:21 +00:00
David Greenman
3e3eb41588
Call dev_shutdownall() just after unmounting filesystems.
1995-03-17 04:19:19 +00:00
David Greenman
6a21a04a14
Changed names of goaway routines into shutdown routines.
1995-03-17 04:18:07 +00:00
Garrett Wollman
bbf3a56610
Add four more filesystem flags:
...
VFCF_NETWORK (this FS goes over the net)
VFCF_READONLY (read-write mounts do not make any sense)
VFCF_SYNTHETIC (data in this FS is not real)
VFCF_LOOPBACK (this FS aliases something else)
cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr;
procfs, kernfs, and fdesc are synthetic.
1995-03-16 20:23:48 +00:00
Garrett Wollman
cff19ac2ef
Statically-compiled filesystems now use a VFCF_STATIC flag rather than
...
abusing the refcount.
1995-03-16 18:31:00 +00:00