Commit Graph

36864 Commits

Author SHA1 Message Date
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
perry
14580efdcf add date printout at beginning and end of 'make build's 1998-02-06 23:11:57 +00:00
thorpej
e08a44b196 - Perform all necessary bus_dmamap_sync() operations.
- Greatly simplify allocation and DMA mapping of the mailbox and ccbs.
- Be more robust against resource shortage errors, and report errors better.
1998-02-06 23:06:44 +00:00
thorpej
9eb328b495 RCS ID police. 1998-02-06 22:26:13 +00:00
thorpej
2d1cb11d5b Allow userland access to pd_entry_t and pt_entry_t, like the old pte.h
used to do.  Also, RCS ID police.
1998-02-06 21:58:05 +00:00
jonathan
0ed5e261c4 Tell user to use xnptdc to view kern.ntptime, as a workaround until
sysctl and libntp agree about "progname".
Based on a patch suggested by Soren S. Jorvang <soren@t.dk> in PR bin/4433.
1998-02-06 21:18:46 +00:00
matt
8098a443f0 A version of the de driver which does bus_dma. Note that it has not been
tested on any other platform other than i386.  Use of bus_dma(9) can be
turned by defining TULIP_BUS_DMA_NOTX and TULIP_BUS_DMA_NORX.  These allow
one to determine if the problem is in the transmit or receive path.
A problem reported by mycroft is also fixed.
1998-02-06 20:57:12 +00:00
matt
a66f53e128 Add M_SETCTX and M_GETCTX. These overload m_pkthdr.rcvif so drivers can
use it as a context field.
1998-02-06 20:53:47 +00:00
cgd
82bb6682da re-indent the EX_FAST change (try to keep a given argument on one line,
so that it's more apparent what the code is going).
1998-02-06 19:51:54 +00:00
perry
dd1e2b895e fix pr4766 from greywolf -- couldn't build without -DALTSHELL 1998-02-06 19:30:14 +00:00
perry
c77667d31a add w95boot man page 1998-02-06 19:07:53 +00:00
kleink
5f311d2174 Cast size_t to long for printing. 1998-02-06 14:35:46 +00:00
kleink
ee3e47997f Update standards section for putenv(). 1998-02-06 13:53:17 +00:00
mrg
30a584067f remove paging options from kernel files. 1998-02-06 11:20:27 +00:00
thorpej
c0c3c30be3 When allocating bus space in bus_space_alloc(), use EX_FAST to find
the first fit in the map.  The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems).  Suggested by Chris Demetriou.
1998-02-06 10:06:51 +00:00
mikel
a85dc86483 added messages for EAUTH, ENEEDAUTH, and EIDRM 1998-02-06 08:55:23 +00:00
mikel
e6b0fd7c81 add descriptions for EFTYPE, EAUTH, ENEEDAUTH, and EIDRM 1998-02-06 08:52:36 +00:00
mikel
fff4d1182d add EAUTH, ENEEDAUTH, EIDRM 1998-02-06 08:44:21 +00:00
mikel
4de16acd9c update errno maps, we now have EIDRM 1998-02-06 08:26:02 +00:00
mikel
a5ffacd6cf ELAST incremented, update nfsrv_v2errmap[] initialization 1998-02-06 08:22:54 +00:00
thorpej
840bd3d7b3 Back out previous change. Until the default VM system is UVM, these
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:21:55 +00:00
mikel
e588d162d1 add EIDRM for SysV IPC 1998-02-06 08:20:35 +00:00
thorpej
374b6294f9 Back out previous change. Until the default VM system is UVM, these
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:19:23 +00:00
thorpej
fd01cb624f Allow a ccd component to be on any partition type. 1998-02-06 08:13:07 +00:00
thorpej
10a076eee1 Kernel for zhadum.netbsd.org, soon-to-be CVS server. 1998-02-06 08:08:56 +00:00
thorpej
424e1858c4 Use __BROKEN_INDIRECT_CONFIG where appropriate. 1998-02-06 08:00:52 +00:00