mycroft
d77a163cac
Kill third arg to thread_sleep(). It's always false and isn't used anyway.
1994-01-07 22:22:20 +00:00
mycroft
92992e3c3a
Don't forget to poke the page daemon.
1994-01-07 20:33:14 +00:00
mycroft
75a4916007
Add an explicit return type.
1994-01-07 19:21:06 +00:00
mycroft
1b184192e1
Add some explicit return types, and make vm_object_print #ifdef DDB | DEBUG.
1994-01-07 19:15:44 +00:00
mycroft
c521a31e87
No need to clear these bits, since we just bzero()d the silly thing.
1994-01-07 18:32:14 +00:00
mycroft
a8dc1eb25a
Add an explicit return type.
1994-01-07 18:14:07 +00:00
mycroft
17e7b7e1bd
Make vnode_pager_putpage return an int, like other *_putpage routines.
1994-01-07 18:12:12 +00:00
mycroft
4343c468c5
Trivial stylistic change to match other code.
1994-01-07 18:11:38 +00:00
mycroft
f8258a5b44
Add missing return value.
1994-01-07 17:12:51 +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
mycroft
6c0eb81987
Fix typo in DIAGNOSTIC code.
1993-12-06 13:00:49 +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
cgd
56adbe979f
make absent absent
1993-11-10 08:22:05 +00:00
cgd
d580099dde
fix those last changes, and quiet a compiler warning.
1993-11-10 08:11:47 +00:00
cgd
554c91f74a
change some flags back to bitfields, so it compiles.
1993-11-03 14:49:22 +00:00
cgd
64c1e3b2f5
new device pager from mike hibler, hibler@lamp. this is in its 'virgin' state
1993-11-03 14:48:42 +00:00
cgd
215649adeb
from Mark Tinguely (tinguely@plains.NoDak.edu): record when processes are
...
swapped...
1993-10-19 02:54:09 +00:00
cgd
e98e3183fc
get rid of a few ref's to buffer_map
1993-10-11 02:11:28 +00:00
cgd
13a840d756
generalize kernacc() to any protections in the function "kerncheckprot()",
...
and prototype it.
1993-10-06 23:38:19 +00:00
cgd
f09334ef6c
we need the buffer hack again, now that we have a real vfs_bio...
1993-10-06 02:06:49 +00:00
cgd
95e5868ee2
allow an offset to *really* be passed in for mmap's on devices.
...
From Julian Elischer.
1993-10-02 00:00:21 +00:00
mycroft
00e8bf23cd
Add `#ifdef DIAGNOSTIC' around check for dirty pages in persistent objects.
1993-09-23 22:20:29 +00:00
cgd
9c32bc786a
make allproc be volatile, and cast things accordingly.
...
suggested by torek, because CSRG had problems with reordering
of assignments to allproc leading to strange panics from kernels
compiled with gcc2...
1993-09-15 22:30:32 +00:00
brezak
b4940ad7a0
Wrap iprintf, vm_object_print, vm_map_print to allow passing a printf function.
1993-09-13 14:10:35 +00:00
cgd
37e8d5291e
get rid of bogosities of the form "vm_maxsaddr + MAXSSIZ", and replace
...
them with USRSTACK. the former was a hack by wfj to accomodate his screwy
execve() implementation. the latter is a (minor) reversion to net/2.
1993-09-04 01:29:22 +00:00
cgd
6a474f29e2
get rid of maxdmap, and seperate MAXDSIZ and MAXSSIZ in rlimit checking.
1993-09-04 00:37:54 +00:00
glass
2cb87de98b
fixs long broken 'dequeue' macro which would expand to 'dequeue_head' which
...
is never defined. added fix from my private sources:
#define dequeue_head(queue) remqueue(queue, queue_first(queue))
no one noticed, because everyone used the 'remqueue' interface except me.
1993-09-01 15:55:26 +00:00
deraadt
ae8b49f87b
#ifdef pc532 in same places as #ifdef i386
1993-09-01 08:49:45 +00:00
deraadt
a87b4a30bd
pagers are now options, not pseudo-devices
1993-08-30 07:09:20 +00:00
brezak
7f550be7fd
Remove prototype for pmap_bootstrap()
1993-08-29 12:12:20 +00:00
cgd
405b084fe6
return some errors other than EIO from swstrategy()
1993-08-29 01:50:20 +00:00
brezak
15c3400ffe
Machine independant changes to VM for handling non-contiguous memory.
1993-08-27 23:45:55 +00:00
andrew
4e65827b6c
Moved vm_map_create()'s out-of-maps panic to a more appropriate place.
1993-08-19 03:13:24 +00:00
mycroft
fbd4257135
Put `#ifdef notyet' around some code which is currently defunct.
1993-08-14 10:02:30 +00:00
andrew
22dff5862a
Removed the user area protection gunk I painstakingly removed in revision
...
1.9. It has not been necessary since then due to a segment fixup made to
machdep.c that prevents access to anything above MAX_VMUSER_ADDRESS.
1993-08-13 03:50:02 +00:00
cgd
acf8d8b584
deal with ddb bogosities
1993-08-07 06:03:02 +00:00
cgd
26817f18ab
fix prettyprinting changes that caused the kernel to not link if you
...
defined DIAGNOSTIC but not DDB...
1993-08-07 05:08:11 +00:00
mycroft
a0aed26669
Remove a spurious `#' added two revisions ago.
1993-08-03 01:56:52 +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
jtc
3643c134f1
Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc.
...
from complaining about a trivial issue.
1993-07-29 21:42:19 +00:00
cgd
7b2afa7fe6
incorporate changes from 0-9-base to 0-9-ALPHA
1993-07-28 02:20:34 +00:00
pk
36a6e635b3
Committing in src/sys/vm
...
Modified Files:
vm_object.c
call vm_object_remove() to remove an object from the hashtable when
vm_object_collapse() starts fiddling with pagers.
1993-07-28 00:00:01 +00:00
brezak
9d7e246a03
Cleanup pretty printers for maps and objects.
1993-07-22 13:03:36 +00:00
cgd
24e3cbad44
according to andrew, the bit with the comment:
...
> /* protect from the user area from user accesses. :-)
> addr -> addr + UPAGES*NBPG don't seem to be protected without
> this; the rest seems to be OK, and doesn't like being protected
> - andrew@werple.apana.org.au */
*is* necessary, so put it back in... it's in an #ifdef i386 part anyway.
1993-07-19 13:47:09 +00:00
andrew
aa381d0e73
vm_protect() of the user area is no longer required for i386 machines; the
...
protection is implemented by adjusting the bounds of the user segment
descriptors.
1993-07-18 08:19:34 +00:00
mycroft
ad087b06a0
Finish moving struct definitions outside of function declarations.
1993-07-17 15:56:59 +00:00
mycroft
97cae397ee
Finish moving struct definitions outside of function declarations.
1993-07-17 15:24:33 +00:00