Commit Graph

4766 Commits

Author SHA1 Message Date
Scott Mace
663afbc34f Make CHILD_MAX and OPEN_MAX a tunable parameter. 1994-12-03 17:36:37 +00:00
Andreas Schulz
d025cfd6c5 Throw out the abort call, the reasoning seems to be false :-).
Change a round to a truncate. Problem reported from Christoph Kukulies:
9.8 2 / p did an IOT trap.
There is one remaining problem.: 9.8 2 % p shows on other machines 1.8
but does here in the moment 1.
1994-12-03 16:32:02 +00:00
Jordan K. Hubbard
e28b57d51b Add back the Croynx stuff I nuked accidently. I'm not touching this
file anymore after this.  My link makes it too painful to make
interactive mods, and I don't have the CVS tree here so making changes
for "previous history" have to get done on freefall, with the corresponding
degree of pain.
1994-12-03 14:01:01 +00:00
Bruce Evans
91290462f6 Disable CLKF_BASEPRI() again. I forgot to edit an unwanted change out of
the diffs for the previous commit.
1994-12-03 10:18:24 +00:00
Bruce Evans
3544ae54e2 extern.h, iostat.c, main.c, vmstat.c:
Use the correct value of hz (stathz if it is nonzero) for
	interpretion of dk_time[] and cp_time[] in iostat.c.  Avoid
	multiple conversions of this value in iostat.c and vmstat.c

iostat.c:
	Implement the display of cp_time[CP_INTR].  Fix the display
	of cp_time[CP_IDLE] (the display was always null because
	cp_time[CP_INTR] == 0 was displayed instead).

systat.1:
	Document the display of cp_time[CP_INTR].

vmstat.c:
	Implement the display of cp_time[CP_INTR].
1994-12-03 10:06:40 +00:00
Bruce Evans
b39b673d37 i386/exception.s,
Keep track of interrupt nesting level.  It is normally 0
	for syscalls and traps, but is fudged to 1 for their exit
	processing in case they metamorphose into an interrupt
	handler.

i386/genassym.c;
	Remove support for the obsolete pcb_iml and pcb_cmap2.

	Add support for pcb_inl.

i386/swtch.s:
	Fudge the interrupt nesting level across context switches and in
	the idle loop so that the work for preemptive context switches
	gets counted as interrupt time, the work for voluntary context
	switches gets counted mostly as system time (the part when
	curproc == 0 gets counted as interrupt time), and only truly idle
	time gets counted as idle time.

	Remove obsolete support (commented out and otherwise) for pcb_iml.

	Load curpcb just before curproc instead of just after so that
	curpcb is always valid if curproc is.  A few more changes like
	this may fix tracing through context switches.

	Remove obsolete function swtch_to_inactive().

include/cpu.h:
	Use the new interrupt nesting level variable to implement a
	non-fake CLF_INTR() so that accounting for the interrupt state
	works.

	You can use top, iostat or (best) an up to date systat to see
	interrupt overheads.  I see the expected huge interrupt overheads
	for ISA devices (on a 486DX/33, about 55% for an IDE drive
	transferring 1250K/sec and the same for a WD8013EBT network card
	transferring 1100K/sec).  The huge interrupt overheads for serial
	devices are unfortunately normally invisible.

include/pcb.h:
	Remove the obsolete pcb_iml and pcb_cmap2.  Replace them by
	padding to preserve binary compatibility.

	Use part of the new padding for pcb_inl.

isa/icu.s:
isa/vector.s:
	Keep track of interrupt nesting level.
1994-12-03 10:03:19 +00:00
Jordan K. Hubbard
46953c1291 Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
Andrey A. Chernov
6a24938756 Move gdc/bs to games 1994-12-03 04:42:49 +00:00
Andrey A. Chernov
64cfe457df Add bs/gdc 1994-12-03 04:40:26 +00:00
Andrey A. Chernov
fcd9a52b79 Move ncurses test here (also nice game) 1994-12-03 04:34:46 +00:00
Andrey A. Chernov
268e74f211 exit_standout don't turn most attributes off, fixed 1994-12-03 04:27:08 +00:00
Andrey A. Chernov
5e7d2146bb #ifdef out check for pending input, cause problems with
output-only pgms
1994-12-03 03:35:30 +00:00
Andrey A. Chernov
62046959a1 Prevent core dump for root
Obtained from: partially from 1.1.5.1
1994-12-03 02:27:40 +00:00
Garrett Wollman
39c28aded9 Add Cronyx/Sigma cdevsw[] entry. 1994-12-03 00:18:15 +00:00
Garrett Wollman
83401efa16 Add Cronyx/Sigma files and config information; delete outdated config files. 1994-12-03 00:17:55 +00:00
Garrett Wollman
7f41568cfb Add generic sync PPP file. 1994-12-03 00:17:19 +00:00
Garrett Wollman
ce257f0e68 Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
Garrett Wollman
15d5589942 Add cx(4) to the Makefile. 1994-12-03 00:03:56 +00:00
Garrett Wollman
1fa33d23b5 Move i386-specific programs into i386 subdirectory. 1994-12-02 23:53:23 +00:00
Garrett Wollman
6014635361 Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
Garrett Wollman
114a506d1a Delete old, confusing comment. 1994-12-02 23:10:32 +00:00
Andreas Schulz
06935b59e5 Add one forgotten u_quad_t typecast in dosetrlimit. 1994-12-02 23:00:40 +00:00
Jordan K. Hubbard
6fe5a28afa Add Israel site. 1994-12-02 21:15:19 +00:00
Jordan K. Hubbard
4e5a373b00 IFCONFIG->IFCONFIG_CMD in dialog box prompt. 1994-12-02 21:05:27 +00:00
Jordan K. Hubbard
a268c1cec5 More comments on tape installs. 1994-12-02 20:27:11 +00:00
Andrey A. Chernov
9b50f2c60a Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
Andrey A. Chernov
303f46f591 bkgd() family fixes 1994-12-02 19:43:34 +00:00
Jordan K. Hubbard
4274bc80ca |From: Keith Walker <kew@timesink.spk.wa.us>
|Message-Id: <199412011713.JAA03374@timesink.spk.wa.us>
|To: jkh@whisker.hubbard.ie
|Subject: A little problem with MAKEDEV
|
|For a while now, MAKEDEV's been kinda neat: you create the cua* files,
|and it deletes the tty* files; you create the tty* files and it
|deletes the corresponding cua* files. K00l! :-)

[Ed Note - I think this behavior was wrong, and this fix better].
1994-12-02 16:08:53 +00:00
Jordan K. Hubbard
6413d9a335 Josh Littlefield's fixes for my extreme boneheadedness. 1994-12-02 15:52:55 +00:00
Jordan K. Hubbard
7184c6cea1 Fix dialog width for "Please enter the next diskette..." stuff.
Mount DOS floppies read-only.
1994-12-02 15:36:45 +00:00
Andrey A. Chernov
aea7c17415 Implement chage_scroll_region properly 1994-12-02 07:35:48 +00:00
Andrey A. Chernov
795172f7a5 Upgrade to version 1.8.6 1994-12-02 06:40:24 +00:00
Nate Williams
766ee5695e Kernel name is now kernel and not 386bsd. 1994-12-02 06:19:37 +00:00
Garrett Wollman
73579c400f Add a check to make sure that we don't fiddle with the NFS routing tables
as well (bleah!).  Also, increase the interval to the real-life value and
eliminate debugging printfs.  This will be standard once tested by others.
1994-12-02 03:32:24 +00:00
Garrett Wollman
3980ac4f63 Change obnoxious ``Not root dir'' error message into one which actually
tells you what's wrong.
1994-12-02 02:58:56 +00:00
Andrey A. Chernov
92915f5044 Change wakeup to endtsleep, because wakeup don't produce timeout
state, cause infinite wakeups loop in ttywait
1994-12-01 23:48:09 +00:00
Garrett Wollman
fa1f0e90fb Add latest version of ``advanced route metric management'' :-)
As before, this is currently conditionalized on options IN_RMX until
I'm sure it's working.
1994-12-01 23:19:48 +00:00
Garrett Wollman
40569757cc In _gethostbydnsaddr(), force RES_RECURSE into _res.options. This is
incredibly obnoxious, but also makes inverse mappings work when the local
resolver is in a cache-only configuration.  (Maybe this is actually
a bug in BIND?)
1994-12-01 22:25:38 +00:00
Andreas Schulz
53daef245b Submitted by: Philippe Charnier
Fixed a little typo: lable -> label.
1994-12-01 22:19:02 +00:00
Poul-Henning Kamp
1c3a258d79 Fixed a typo. Poited out by Bruce & Phillipe. 1994-12-01 21:05:28 +00:00
Andreas Schulz
a7d72265c4 The values for setrlimit in the data size and stack size case are
used as an address value. Then all comparisons should be done unsigned
and not signed. Fix it with a typecast of u_quad_t.
Error can be demonstrated with the current bash in port, do a
ulimit -s unlimited and the machine hangs. bash delivers through
an internal error a large negative value for the stacksize, the
comparison saw this smaller than MAXSSIZ and then tried to expand
the stack to this size.
1994-12-01 20:20:21 +00:00
Jordan K. Hubbard
bb7cc11ad5 1. the prgboxes aren't working at all. Stop using them for tape
extraction.
2.  If what's extracted from the tape is a subdir, cd into it before attempting
    to extract it.
1994-12-01 20:11:52 +00:00
Jordan K. Hubbard
8591ae7177 Add gzips for the real floppy images. 1994-12-01 20:02:44 +00:00
Jordan K. Hubbard
7f434bbba0 Remove gratuitous gzip of boot.flp 1994-12-01 20:01:37 +00:00
Jordan K. Hubbard
c0113a6673 Fix another unfortunate little buglet intruduced during the Great Renaming.. 1994-12-01 20:00:32 +00:00
David Greenman
a466088c6b Install rc.serial. 1994-12-01 13:55:49 +00:00
Jordan K. Hubbard
290f426469 More fixes from Keith Walker. Thanks, Keith! 1994-12-01 13:46:13 +00:00
Jordan K. Hubbard
64499a1b6c Fix some long-standing english wonkiness. 1994-12-01 13:24:20 +00:00
Ugen J.S. Antsilevich
57476d2f22 Sorry..forgot something for yesterdays login patch..
(Umm..i hope nobody "make world" this time:)
1994-12-01 12:35:54 +00:00
Jordan K. Hubbard
125cb52f95 Argh. I hate my life. I broke NFS *again* by leaving this line
inadvertantly in place.  I guess I have it in for NFS installs or
something! :-(
1994-11-30 22:15:48 +00:00