Commit Graph

37039 Commits

Author SHA1 Message Date
thorpej
8e8eed4ba7 Create RX DMA maps with ALLOCNOW. These maps are essentially always
loaded, and recovering from a resource shortage error is much harder
in the receive case.
1998-02-07 21:13:34 +00:00
thorpej
367b689c8f typi 1998-02-07 20:44:40 +00:00
thorpej
f955aa86e5 Properly handle error conditions from bus_dmamap_load_mbuf(). 1998-02-07 20:40:35 +00:00
augustss
ae3e754e0b Newly generated version. 1998-02-07 20:07:37 +00:00
augustss
6d9b48ac1d Fix typo, and commit in the right order. 1998-02-07 20:05:25 +00:00
kleink
892aff4e2a Sync with <dlfcn.h>: const'ify some arguments. 1998-02-07 19:54:45 +00:00
augustss
c78e3507ba Add the AGP device in the 82443LX. 1998-02-07 19:32:37 +00:00
chs
abf50cf8c3 add UVM stuff. 1998-02-07 17:28:18 +00:00
chs
50328f94f4 fix initialized variable. 1998-02-07 17:26:34 +00:00
mrg
0a058cb62f implement counters for pages paged in/out 1998-02-07 17:00:36 +00:00
mrg
52bb2f5ba0 print out the contents of uvmexp for "vmstat -s" 1998-02-07 16:50:59 +00:00
chs
ea8413cff7 whoops! undo GC, these are still used by OLDVM.
not paying attention...
1998-02-07 16:23:35 +00:00
ghudson
70698891e2 When estimating the number of cylinders in the BIOS geometry, use the
total number of sectors as reported by disklabel.d_secperunit rather
than multiplying out the disklabel geometry, which is less accurate.
1998-02-07 16:19:16 +00:00
mrg
3ff646f56e flesh out standard vmstat output with UVM. 1998-02-07 16:18:14 +00:00
mrg
a705b928fd GC old old old "NEWVM". make run under UVM, if not report everything yet.. 1998-02-07 15:42:32 +00:00
mrg
e42b5e70e3 build and run with -DUVM. this isn't yet finished but it does run and partially work. 1998-02-07 14:08:23 +00:00
mrg
4ef57d4d22 KNF. 1998-02-07 12:45:53 +00:00
mrg
5e55ce6648 bzero the entire vmspace, like the old vm does. makes ps report sane values of VSZ for swapper/pagedaemon 1998-02-07 12:31:32 +00:00
mrg
f1d37094a5 make this work in the -DUVM case. 1998-02-07 12:04:37 +00:00
mrg
e9fbc9f83b add uvm to the sys list. 1998-02-07 11:52:26 +00:00
mrg
1f6b921cf7 restore rcsids 1998-02-07 11:07:38 +00:00
jonathan
b59abe7c80 Set hostname (via sethostname()) after configuring network.
Save hostname in /etc/myname when saving networkg config.
From Nathan J. Williams <nathanw@mit.edu> in PR bin/4781.
1998-02-07 10:28:02 +00:00
thorpej
208d979613 Use BUS_DMA_NOWAIT where appropriate. Don't create DMA maps with
BUS_DMA_ALLOCNOW.
1998-02-07 10:27:12 +00:00
jonathan
005abca7c5 Fix typo in table of files to check for in target. Found by Phil Nelson. 1998-02-07 09:32:32 +00:00
mikel
fe49cec369 syslog(3) cleanup: don't append \n, use %m instead of %s & strerror(3) 1998-02-07 07:06:24 +00:00
chs
f64abc7b4c add flags arg to hashinit(), to pass to malloc(). 1998-02-07 02:44:44 +00:00
chs
0711fdaf0b fix a locking problem by replacing the call to uvm_kernacc()
with an inlined version that uses kmem_map instead of kernel_map.
1998-02-07 02:40:36 +00:00
chs
17755a8fae fix typo in locking. 1998-02-07 02:36:58 +00:00
chs
9b371040ea keep track of how many pages are currently being paged out,
stop initiating new pageouts when "(free + paging) > freetarg".
fix pageq locking.
1998-02-07 02:35:11 +00:00
chs
c2f8ffc062 reserve some pages for the kernel, and some more especially
for the pagedaemon allocating from kmem_object.  this should
prevent from the pagedaemon running out of memory and deadlocking.
fix counting of wired pages.
add some debugging code to detect attempts to reference free vm_pages.
1998-02-07 02:34:08 +00:00
chs
249efd73a1 enable hashtables for swapslot storage - deadlock is fixed.
fix initialization of swhash entries.
use malloc(M_NOWAIT) for creating kernel object.
avoid dereferencing a vm_page once the page has been freed.
1998-02-07 02:32:37 +00:00
chs
39c12db74f declare aobj_pager, needed in uvm_km.c. 1998-02-07 02:31:06 +00:00
chs
c82ac447df convert kernel_object to an aobj.
in uvm_km_pgremove(), free swapslots if the object is an aobj.
in uvm_km_kmemalloc(), mark pages as wired and count them.
1998-02-07 02:29:21 +00:00
chs
6376c02019 enable paging of kernel_object. 1998-02-07 02:26:46 +00:00
chs
732a925b1b add locking of kernel_map in uvm_kernacc().
check return value of uvm_fault_wire() in uvm_fork().
enable swappings.
1998-02-07 02:26:04 +00:00
chs
29ec5fd8d5 prototype for uvm_map_checkprot() moved here.
add uvmexp fields for pagouts-in-progress and kernel-reserved pages.
1998-02-07 02:24:02 +00:00
chs
273ac223ec prototype for uvm_map_checkprot() moved to uvm_extern.h. 1998-02-07 02:22:24 +00:00
chs
21e2cac359 fix typoes in locking.
use M_UVMAMAP instead of M_TEMP for malloc type.
1998-02-07 02:21:29 +00:00
chs
5a7c4f2caa don't try to relock amap if there isn't one. 1998-02-07 02:19:55 +00:00
chs
7cb9f7e5b1 rearrange a bit for clarity. 1998-02-07 02:18:27 +00:00
chs
098b8c2420 fix typoes in locking. 1998-02-07 02:17:48 +00:00
chs
1f583a43b1 remove locking from UVMCNT counters.
they don't need to be exact, and the locking causes problems
in some of places they're used.
1998-02-07 02:16:52 +00:00
chs
d7d62b7ad3 snazzier LOCKDEBUG code. 1998-02-07 02:14:04 +00:00
chs
a4a3a88958 GC unused stuff. 1998-02-07 02:13:00 +00:00
cgd
f1fa872906 don't forget class spec 1998-02-07 00:49:19 +00:00
cgd
5942e0ff3d initial implementation of OFW ISA bus code and attachments for a few
devices.  Still a bit rough, but works well enough.  Requires a bunch of
machine-dependent glue (since this is, in effect, a MI bus bridge).
1998-02-07 00:46:45 +00:00
cgd
26d7b63bd3 make sure that LORDER, TSORT, AR, NM, RANLIB, and SIZE are correctly
and consistently set when doing kernel library builds.
1998-02-07 00:11:29 +00:00
cgd
0aa4deb7f3 lint 1998-02-07 00:03:19 +00:00
thorpej
610e7210d9 quads must be cast to long long for printing. 1998-02-06 23:30:18 +00:00
thorpej
6b1ff3c892 When copying out multiple control messages, ensure that the next control
message is aligned.  From David Borman <dab@bsdi.com>.
1998-02-06 23:19:26 +00:00