Commit Graph
3751 Commits
Author SHA1 Message Date
David Greenman 25a8c28df7 Fix the immediate problem: add missing arg to freeer() routine. The last
few edits to this still don't solve the original problem. It appears
that the recursion is *much* worse than we thought - I'm already testing
at 30 levels deep, and it still terminates before finishing the job.
This problaby explains some people's stack overflow problems... :-(
1996-06-26 08:19:48 +00:00
David Greenman d156743657 Fix yet another editing mistake that caused physio() to be really
broken and return wrong data to the user. Sigh...I need a vacation.
This patch is copied directly from John's edit on the main branch,
so I'm *sure* it is correct. :-)
1996-06-26 07:39:31 +00:00
David Greenman 757e32e0a6 Woops, I was a bit overzealous in my editing...add back the missing line. 1996-06-26 06:58:12 +00:00
Mark Murray 512b8eb6b5 Disable the fancy i586 timer stuff. Making this work at this late stage
is not good for my health or my popularity.
1996-06-26 06:24:25 +00:00
David Greenman d85ce565b2 In pmap_object_init_pt, limit the scan of pages through an object to the
object's size. This is mostly just a precaution, but makes John and me
sleep slightly better at night. :-)

Submitted by:	dyson
1996-06-26 06:18:10 +00:00
David Greenman fcb73f9930 Fix a panic that occurs when an I/O is attempted with more than
MAXPHYS/PAGE_SIZE pages. This occurs when there is a non-page aligned
I/O of MAXPHYS size. The fix is to trim the request to MAXPHYS-PAGE_SIZE.
It apparantly wasn't noticed previously because of other bugs.
1996-06-26 06:12:45 +00:00
David Greenman d27715b921 1) Limit recursion when duing RSS trimming.
2) Fix a bug that caused the page stats to get messed up.
3) Re-enabled RSS limiting.

Submitted by:	mostly by John Dyson
1996-06-26 06:08:45 +00:00
David Greenman 18f3fce383 Brought in most of the improvements/bugfixes from the main branch. Thanks
to Stefan Esser for taking the time to sort all of this out.
1996-06-26 04:36:54 +00:00
Mark Murray d644e37a8c Merge with HEAD - bring in /dev/random 1996-06-25 20:19:56 +00:00
Joerg Wunsch f8196e2f46 Fix from rev 1.24:
Provide a better handling of partially corrupted directory entries.
1996-06-25 18:30:21 +00:00
Joerg Wunsch 581aa2ba56 Merge from rev 1.50:
Add the Emulex MD21 ESDI-to-SCSI bridge as a known device (with more than
one LUN).
1996-06-25 18:29:53 +00:00
Joerg Wunsch f3648f9ee8 Merge the fix from rev 1.28 1996-06-25 18:29:28 +00:00
Joerg Wunsch 322d56e65d Merge from HEAD:
kernel-side of the MTRETENS implementation.
1996-06-25 17:46:01 +00:00
Joerg Wunsch b6dac1da1c Merge the fixes from rev 1.66 of fd.c and rev 1.8 of rtc.h:
add an alias for 2.88 MB floppy drives
1996-06-25 17:39:21 +00:00
Joerg Wunsch 8621635a42 Oversight when merging the "od" driver 1996-06-25 17:38:19 +00:00
John Hay 3f4f1fe04d Bring selected changes in from HEAD to stop the LCP state machine from
getting stuck when the link had gone down. It also fix some of the
flags in raw Cisco HDLC mode.
1996-06-25 14:17:40 +00:00
Gary Palmer 5eb89ad95b If you are going to test compile something, better check it's in your
config file first. Make the last commit actually work.
1996-06-25 04:44:55 +00:00
Gary Palmer 3e2a062f27 Change the use of if_lastchange to be more SNMP compliant. This is NOT
a merge from the head as the two versions of ppp are very different.
1996-06-25 04:28:54 +00:00
David Greenman e2c0f34946 Retrofitted fix from rev 1.11: rewrite of obreak(). 1996-06-25 03:48:34 +00:00
Alexander Langer 3903ba4a4b Merge with HEAD. 1996-06-25 03:16:43 +00:00
David Greenman bdb2942624 Brought in fix from rev 1.21: fix end condition for clustered reads. 1996-06-25 03:02:11 +00:00
Gary Palmer 9556f39143 Bring in change(s) from the head: alter the way if_lastchange is used
to be more in line with what SNMP wants.

OK'ed by: David Greenman
1996-06-24 22:04:24 +00:00
Joerg Wunsch d9d1efa667 Remove some old and unused cruft so that `swap generic' kernels will
actually link again.  (I wonder whether i'm the only one who's ever
been using them...)
1996-06-24 14:30:32 +00:00
Peter Wemm a87c029736 Bring the two Stallion serial card drivers (both cd1400 and intelligent)
into the 2.1 branch from -current.  The other files have been tagged.

OK'ed by: davidg
1996-06-23 23:24:36 +00:00
Justin T. Gibbs e451e08192 Merge with HEAD. 1996-06-23 20:13:13 +00:00
Joerg Wunsch 29223026f1 Merge the worm driver into -stable, untested, but eyeball-reviewed.
The existing worm driver there was entirely useless, you couldn't do
anything with it.  Thus i believe that shipping a beta-quality driver
is still better.  (The only other option would have been to remove it
from the branch.)
1996-06-23 14:48:39 +00:00
Peter Wemm e3a12519a7 Bring in rev 1.41; fix timeout estimation with a B0 hangup.
Bring in rev 1.46; fix output flow control and break sending.
1996-06-23 04:14:43 +00:00
Joerg Wunsch 5f8fa8829f Merge the fix from rev 1.69: bump the timeout for st_erase(). 1996-06-22 15:00:00 +00:00
Joerg Wunsch bb54293e04 Fix the major number of the `od' driver.
Submitted by:	[email protected] (Shunsuke Akiyama)
1996-06-22 13:03:56 +00:00
Gary Palmer d80e34ed48 Bring in change from rev. 1.26: keep in/out byte counters. 1996-06-22 09:45:18 +00:00
David Greenman 91c1af269b Brough in fix from rev 1.66: account for non-page aligned buffers. 1996-06-20 08:08:29 +00:00
David Greenman 1375c38d9e Brought in the rewritten versions of vmapbuf/vunmapbuf from main branch.
Not only is the code higher quality, but it also fixes a rounding/off-by-
one bug that caused a panic when doing physio() with DIAGNOSTIC. This
fix closes PR#1195.
1996-06-20 01:55:54 +00:00
cvs2svn a44f2067f9 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-06-19 09:32:13 +00:00
David Greenman 5387177170 Fixed several serious bugs that had to do with traversing the page
queues and inadvertantly stepping off the queue via a page that was
previous removed from it. Also killed the potentially evil RSS limiting
code in the vmdaemon - it traverses allproc which would not be consistent
if the code should block for some reason (it shouldn't block, but we're
not completely sure of that...).

Submitted by:	dyson
1996-06-19 07:26:57 +00:00
David Greenman 4cebcd747c Add m->hold_count != 0 to the list of exceptions for not putting a page
on the cache queue. The previous behavior might have allowed a page
to get on the cache queue that shouldn't have been.

Reviewed by:	dyson
1996-06-19 07:22:45 +00:00
David Greenman e7a57e693f Make certain that pages (especially cached pages) are pulled off the
page queue immediately so that they aren't used by something else before
we get to them.

Submitted by:	dyson
1996-06-19 07:20:21 +00:00
David Greenman 7fcb71d82b Brought in fix from rev 1.18: gain a reference to the vmspace and do
proper map locking to avoid a potential panic.
1996-06-18 08:36:18 +00:00
Alexander Langer 0c4387a47f Merge in two bug fixes from HEAD: chain numbering bug (rev 1.40) and
deletion of default policy (rev 1.37).
1996-06-17 00:03:55 +00:00
Joerg Wunsch 3baa4aa17f Upgrade the `od' driver in -stable. Merge the fixes from the
following respective revisions:

	sys/scsi/scsi_disk.h		1.9
	sys/scsi/scsi_driver.c		1.16
	sys/scsi/od.c			1.18
	sys/i386/conf/LINT		1.265
1996-06-16 20:10:37 +00:00
Bruce Evans 94a1304f8c Removed comments about history. These were turned into the log message
in the previous commit.
1996-06-16 11:54:16 +00:00
Bruce Evans 3c1a12ac40 Latest fixes from the author (committed to -stable because the -current
version isn't ready and the version in -stable is quite broken):

- read optimization
- corrections in data flow mechanism
- restoring board memory window state while returning from
  reentrable functions
1996/03/16:
  - now several boards can coexist and share the same memory window
1996/03/24:
  - eliminated 'b_to_q to a clist..' message while turning off modem
1996/04/10
  - 'static int nports'... - next attempt to drive several boards.
    Reported that with this fix it works with 2 boards.
1996/04/20
  - Overloading channel (ping -f host) caused 'No buffer space..'
    state until slip unit restart. Fixed.

Submitted by:	"Serge A. Babkin" <[email protected]>
Changes by:	Oleg Panashchenko <[email protected]>
1996-06-16 11:50:40 +00:00
David Greenman 2682597cbe vm_map_entry_dispose() needs splimp protection, too, so add it. 1996-06-15 14:03:33 +00:00
David Greenman 3901d8e3f2 Protect map entry allocations with splimp. This is necessary since malloc
can/will allocate map entries at interrupt time. This is similar to a
(splvm) change that was made in the main branch, but much simpler. The
code in the main branch is broken (the thresholds are of such that
freed map entries will accumulate on the non-kernel pool)...so the fix
was re-implemented with just the spl protection and minor algorithmic
simplification.
1996-06-15 12:29:19 +00:00
David Greenman ea881e14a3 Added splbio() protection to active and inactive page queue manipulations.
This is similar to the splvm() protection that was added in the main
branch. It protects the queues from page insertions that can happen during
buffer rundown of asynchronous I/O read-aheads.
1996-06-15 09:58:43 +00:00
David Greenman 765f8d09b1 Brought in fix from rev 1.10: fix off-by-one in structure allocation so
that triple indirect blocks have a chance of working.
1996-06-15 09:25:16 +00:00
David Greenman b4d8bc0d3d Brought in some fixes from main branch: similar to last commit...move
setting of PG_MAPPED (and in this case, PG_WRITEABLE too) to after
pmap_enter() has finished.
1996-06-14 23:23:39 +00:00
David Greenman 4f2f157888 Brought in a fix from main branch: move setting of PG_MAPPED to after a
call to pmap_enter(). Closes a window where PG_MAPPED might be cleared
if the process blocked and someone else does a vm_page_protect(NONE)
before the process unblocks.

Reviewed by:	dyson
1996-06-14 23:21:01 +00:00
David Greenman 96a6d85233 Brought in a fix from main branch: close a window in pmap_object_init_pt()
that has to do with the PG_MAPPED flag not being set at the right time,
and PG_BUSY the page rather than doing a vm_page_hold/unhold. This
fixes a potential problem where some mapped pages might go unnoticed by
other parts of the vm system, which can be a real problem if the page(s)
are reclaimed.
Reviewed by:	dyson
1996-06-14 04:34:35 +00:00
David Greenman 0d53a0a640 Brought in fix from main branch: call semexit when appropriate. 1996-06-14 02:26:17 +00:00
David Greenman 29f8aa53ae Brought in changes from main branch: move MALLOC of fsnode to avoid a
potential panic during sync.
1996-06-12 03:42:54 +00:00