Commit Graph

858 Commits

Author SHA1 Message Date
Rodney W. Grimes
3a74ab376f Put back refclock_omega.c, it was in the sources but some how did not
end up in my copy.
1993-12-23 10:21:55 +00:00
Jordan K. Hubbard
f7122c559f C++ support changes (+misc fixes) from Paul K. 1993-12-22 23:28:35 +00:00
David Greenman
bb54009a35 Raised minimum buffer cache from 128k to 256k. 1993-12-22 13:12:04 +00:00
David Greenman
33811d39ec First round of changes from John Dyson and myself to the VM system. This
set improves performance and fixes the following problems (description
from John Dyson):

1.	Growing swap space problem in both static usage and
	in situations with lots of fork/execs in heavy paging
	situations.

2.	Sparse swap space allocation (internal fragmentation.)

3.	General swap_pager slowness.

Additionally, the new swap_pager also provides hooks for multi-page
I/O that is currently being developed (in early testing phases.)

Problem #1 is a result of a problem where objects cannot be collapsed
once a pager has been allocated for them.  This problem has been solved
by relaxing the restriction by allowing the pages contained in a shadow
object's pager be copied to the parent object's pager.  The copy is
afforded by manipulating pointers to the disk blocks on the swap space.
Since an improved swap_pager has already been developed with the data
structures to support the copy operation, this new swap_pager has been
introduced.  Also, shadow object bypass in the collapse code has been
enhanced to support checking for pages on disk.  The vm_pageout daemon
has also been modified to defer creation of an object's pager when the
object's shadow is paging.  This allows efficient immediate collapsing
of a shadow into a parent object under many circumstances without the
creation of an intermediate pager.

Problem #2 is solved by the allocation data structures and algorithms
in the new swap_pager.  Additionally, a newer version of this new swap_pager
is being tested that permits multiple page I/O and mitigation of the
fragmentation problems associated with allocation of large contiguous blocks
of swap space.

Problem #3 is addressed by better algorithms and a fix of a couple of bugs
in the swap_pager.  Additionally, this new pager has a growth path allowing
multi-page inputs from disk.  Approximately 50% performance improvement can
be expected under certain circumstances when using this pager in the standard
single page mode.

(Actually, I've seen more like twice the speed in my tests. -DLG)
1993-12-22 12:51:39 +00:00
Rodney W. Grimes
7ff741fe60 Needed to change the LDADD+= and DPADD+= depending on if obj directories
are used or not.

Add .verions to the CLEANFILES+= on those Makefiles that create a version.c
file.

Remove reference to nonexistent file ref_omega.c in one Makefile.

Fix copy of authdes.c.expot so that it works with or without obj directories.

No compiles both with and without obj directories.
1993-12-22 11:34:09 +00:00
Garrett Wollman
dc8989b140 Support for automatically running ntpdate and xntpd. 1993-12-21 21:28:12 +00:00
David Greenman
e2f27b409f Changed pointer type from caddr_t to void * for fillw, insw, outsw, and
outsb.
1993-12-21 21:27:04 +00:00
Garrett Wollman
098f55fecd Definitions taken from original machines/freebsd. 1993-12-21 21:11:53 +00:00
Garrett Wollman
1ffc6e3a9e Expanded. 1993-12-21 21:11:05 +00:00
Garrett Wollman
9a20882e6a Deleted old configuration grot and added BSD-style Makefile. Added
README.FreeBSD.  Re-added NTP's version of getopt() and fixed conflicts.
1993-12-21 21:06:54 +00:00
Garrett Wollman
b0389fc094 Converted to BSD-style Makefile. 1993-12-21 20:38:27 +00:00
Garrett Wollman
753a296e16 Don't build getopt: it conflicts with our standard getopt. 1993-12-21 20:16:46 +00:00
Garrett Wollman
0ff9e0616c Convert tickadj to use BSD-style Makefile. Don't bother with the
other programs.
1993-12-21 20:16:18 +00:00
Garrett Wollman
6e728fed2b Converted to use Berkeley-style makefiles, and configured all clocks on
permanently.
1993-12-21 20:04:14 +00:00
Garrett Wollman
d460454fc2 Add BSD-style Makefile for ntptrace. 1993-12-21 19:50:40 +00:00
Garrett Wollman
d309f1e96c Convert ntpq to BSD-style makefile. 1993-12-21 19:46:16 +00:00
Garrett Wollman
c76dd48e2f Add BSD-style Makefile for libntp, and make the ``exportable'' version
of DES (actually just a dummy) compile.  (DES should not actually be
used in any case.)
1993-12-21 19:42:19 +00:00
Garrett Wollman
8eb65258c9 Create BSD-style makefile for ntpdate. 1993-12-21 19:40:50 +00:00
Garrett Wollman
5885c09cac This commit was generated by cvs2svn to compensate for changes in r893,
which included commits to RCS files with non-trunk default branches.
1993-12-21 18:36:48 +00:00
Garrett Wollman
e7c996d95e xntpd 3.3b from UDel 1993-12-21 18:36:48 +00:00
Andrey A. Chernov
8d572de0b8 Comment out porogrammer-readable fd name set,
not needed in standard version, only for XENIX lovers.
1993-12-21 05:49:28 +00:00
Andrey A. Chernov
8b6f2438aa Separate read/write and format GAPs. 1993-12-21 05:11:10 +00:00
Andrey A. Chernov
126518a182 Use separate fields for format GAP and read/write GAP.
Restore usage of read/write GAP.
1993-12-21 05:09:21 +00:00
Rich Murphey
7f66f26d0c Don't cast 2nd arg to fillw() per David's comments. The cast
breaks cursor positioning.
1993-12-21 03:27:26 +00:00
Andrey A. Chernov
fc6d248540 Fix sendmail_flags, long ago it was imported from /etc/netstart
with this bug.
1993-12-21 02:58:15 +00:00
Rich Murphey
81664caf74 cast arg 2 of fillw() calls to type caddr_t as in pccons.
add "manual escape to debugger" arg in call to Debugger().
cast 1st arg to untimeout() to type timeout_func_t as done for timeout().
1993-12-21 02:49:13 +00:00
Garrett Wollman
92d91f7638 Let the linker keep track of pseudo-devices needing initialization and
image activators, rather than listing them inline in the code.
1993-12-20 19:31:41 +00:00
Garrett Wollman
cfefd68703 Rename aout_imgact.c and shell_imgact.c to imgact_* for consistency. 1993-12-20 16:16:46 +00:00
Garrett Wollman
a1f4319f4a Document use of counters 29 and 30 for CCITT netisrs. 1993-12-20 15:08:33 +00:00
Garrett Wollman
bd7d7eb52b Separated netisrs for pkintr() (X.25) and hdintr() (HDLC) so that someone
can actually write a sane netif device to support one of these.  Note that it
was necessary to steal a netisr bit from another protocol; I took the one for
PF_DATAKIT (no great loss).
1993-12-20 14:58:21 +00:00
Andrey A. Chernov
0b2318d843 Fix sign of offset diff.
Use Bruce initial/final hour scheme to avoid critical hours.
1993-12-20 01:53:27 +00:00
Garrett Wollman
990ac0b7cb Added support for X.25 as a network-layer protocol under ISO TP class 0, as
is commonly used in Europe.  Make it compile, and bump up symtab space as
needed.
1993-12-19 22:45:13 +00:00
Andrew Moore
90d795a112 adding libc/quad:
added _QUAD_HIGH/LOW
added (U_)QUAD_MAX/MIN
(from NetBSD)
1993-12-19 05:14:46 +00:00
Garrett Wollman
aaf08d94ca Make everything compile with -Wtraditional. Make it easier to distribute
a binary link-kit.  Make all non-optional options (pagers, procfs) standard,
and update LINT to reflect new symtab requirements.

NB: -Wtraditional will henceforth be forgotten.  This editing pass was
primarily intended to detect any constructions where the old code might
have been relying on traditional C semantics or syntax.  These were all
fixed, and the result of fixing some of them means that -Wall is now a
realistic possibility within a few weeks.
1993-12-19 00:55:01 +00:00
Andrey A. Chernov
b39c878e2b Media table reorganization.
Entries for 800 and 820 fixed.
From vak@kiae.su:
incorporate Joerg Wunsch formatting code
correct handle timeouted operations
fixed entry for 720 media
1993-12-19 00:40:49 +00:00
Andrey A. Chernov
52449fdb1a From vak@kiae.su:
incorporate Joerg Wunsch floppy formatting code
1993-12-19 00:37:25 +00:00
Andrey A. Chernov
f4d3408967 Fix tsleep "waitvt" wait data from vak@kiae.su 1993-12-18 22:50:51 +00:00
Andrey A. Chernov
aa5cc1650c User-readable fd name set added:
[r]fd[n].{360,720,800,820,1200,1440,1480,1720}
Programmer-readable fd name set added in XENIX style.
1993-12-18 01:19:02 +00:00
Andrey A. Chernov
ed2fa05ece Reorganization of format table.
GAP values changed suitable for possible format code addition.
Read/write GAP always 2 now.
Interleave parameter added for possible format code addition.
Many logical formats added.
720K physical drive added.
Problems: still can't read 720..820 media in 1.44 drive.
1993-12-18 01:16:26 +00:00
Andrey A. Chernov
159569a418 RTCFDT_720K (physical drive 720K) added. 1993-12-18 01:12:47 +00:00
Andrey A. Chernov
80b13029cb adjkerntz call added with explanation comment 1993-12-17 04:20:30 +00:00
Nate Williams
0bb118a5b1 Fixed Makefile per bug report from Julian Stacey. There was an extra DESTDIR
in front of BINDIR definition.
1993-12-16 21:51:27 +00:00
Andrey A. Chernov
2384b3a702 Added following formats (derived from MSDOS fdformat):
800K in HD 5.25in  (maximum for DD diskettes)
1.44M in HD 5.25in (for easy distributions)
1.46M in HD 5.25in (maximum for 5.25)
Some cosmetique changes.
1993-12-16 19:47:42 +00:00
Andrey A. Chernov
3e714780be Attempt to import adjkerntz... 1993-12-16 18:44:40 +00:00
Andrey A. Chernov
68a21a4b38 Change default dtrwait time to 2 seconds. 1993-12-16 04:40:45 +00:00
Andrey A. Chernov
cf197426bb Change default dtrwait value to 2 seconds.
Change C-style into static initializer per Bruce request.
1993-12-16 04:38:27 +00:00
Andrey A. Chernov
35178aadcd No more partition bits in floppy minor.
Now minor looks like UU DDDDDD, UU - unit, DDDDDD - density.
If density == 0, CMOS-detect format assumed.
For old users/pgms use fake partitions now, i.e.
	ln fd0 fd0[a-h]
No new floppy names added (expect fd? and rfd?),
because don't have agreement yet, so make devices
only for CMOS-detected formats.
1993-12-16 04:34:11 +00:00
Andrey A. Chernov
7ca0641bb9 No more partition bits in floppy minor.
Now minor looks like UU DDDDDD, UU - unit, DDDDDD - density.
If density == 0, CMOS-detect format assumed.
Fix attach code for correct work with unknown CMOS
floppy types.
Trick diskerr to handle new minor.
1.722M floppy in 1.44M drive popular format added.
1993-12-16 04:28:42 +00:00
Andrey A. Chernov
d4d16f52b8 Add "np" to all std.xxx entries, make them 8-bit clean. 1993-12-16 01:14:05 +00:00
Rich Murphey
266e2ce03d When listing all suid and sgid files list the file itself rather than
directorty contents.
1993-12-15 06:42:01 +00:00