Commit Graph

35 Commits

Author SHA1 Message Date
perry e6886047c9 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-09 21:58:52 +00:00
mrg 8f7ee94e13 initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

these are the changes to the old Mach VM system to allow both to be
available in the kernel.
1998-02-06 00:14:43 +00:00
mrg 21cc3ddfd5 bring mrg-vm-swap2 onto mainilne. 1997-06-12 14:51:20 +00:00
thorpej 90ece8ebcb Declare dmmin, dmmax, swapmap, and nswapmap here. 1997-04-17 00:08:50 +00:00
mrg 42ae012452 This is all from mycroft:
Create macros (with names borrowed from Mach 3) to manipulate
object->paging_in_progress, and use them.  When decreasing the
paging count, always make sure to wake up anyone waiting.
Fixes `vospgc', `vosca1', and `vosca2' hangs.
1997-02-18 13:39:31 +00:00
mrg 4f2a217c2b pull up vm_object_collapse() fix from mrg_vm_object_collapse branch.
many thanks to niklas hallqvist (niklas@appli.se) for this.
1997-01-03 18:03:14 +00:00
christos 3dc7953eec back out previous kprintf changes 1996-10-12 21:50:05 +00:00
christos de1b2b437e printf -> kprintf, sprintf -> ksprintf 1996-10-10 17:16:17 +00:00
christos 3cc52443b5 Fix vm_offset_t (unsigned long) and vm_size_t (unsigned long) printf arguments
to %lx and %ld instead of %x and %d.
1996-03-16 23:15:18 +00:00
christos 03b1ad4cb4 One more cleanup pass to change %x to %p for pointers 1996-02-10 00:07:59 +00:00
christos bcabcefdcd VM prototype changes 1996-02-05 01:53:47 +00:00
cgd 4eb752cd51 make the "wait on swbuf" message SDB_IO -- it's I/O related, and it's
not at all anomalous (and bloody annoying!) on 4M machines.
1994-10-18 06:42:28 +00:00
cgd fccfa11af5 New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:39:25 +00:00
cgd 9608c5b657 clean up slightly; change RCS ID's to be minimally intrusive 1994-06-27 04:55:46 +00:00
cgd 3495827959 new VM code, from 4.4-Lite 1994-05-23 03:11:20 +00:00
mycroft 06a4a02877 Add some DIAGNOSTIC code to detect trying to free a page that is being faulted
in.
1994-04-29 08:21:49 +00:00
cgd e5ad8074f2 minor code structure nit that i pointed out to hibler a while ago... 1994-04-29 03:56:26 +00:00
cgd ae41edb3e8 typo, pointed out by charles. 1994-04-15 18:02:02 +00:00
cgd e937bc9bfd convert vm system to use new queues. I'll never write code w/queues again. 1994-04-15 07:04:03 +00:00
cgd 3c39708b08 oops; get rid of a mis-inclusion in the last change 1994-01-13 18:20:36 +00:00
cgd 5cc251df11 kill iffy optimization 1994-01-13 02:43:09 +00:00
mycroft 92992e3c3a Don't forget to poke the page daemon. 1994-01-07 20:33:14 +00:00
cgd c26286a5c1 bring changes down from magnum 1993-12-20 12:39:55 +00:00
mycroft b4d3382694 Canonicalize all #includes. 1993-12-17 07:56:32 +00:00
pk 053e467648 Use proc0's credentials in buffer used for IO to swap device.
Especially useful when swapping over NFS.
1993-11-29 16:05:20 +00:00
cgd 76dbc1192b new specfs.h and fifo.h locations 1993-11-12 05:54:12 +00:00
cgd 9d0e9ed1c1 fix setup of b_dirtyoff and b_dirtyend when writing out a page.
from Mike Hibler.
1993-11-10 22:43:34 +00:00
deraadt a87b4a30bd pagers are now options, not pseudo-devices 1993-08-30 07:09:20 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
cgd 09844fbcfe make the rlist code all go away. replace it with resource map code,
as written by Wolfgang Solfrank.
1993-07-07 06:04:12 +00:00
mycroft 5f8b3f4ff4 Oops. Get rid of the `#ifndef MYCROFT_IS_A_DORK'. B-) 1993-06-29 19:38:50 +00:00
cgd cc5e8e00d5 add rcs ids and clean up headers 1993-05-20 03:59:08 +00:00
mycroft 87dc98f60b Introduce a new panic() condition in case I missed something. 1993-04-28 03:04:57 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00