summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-01-15 19:05:08 +0000
committerbde <bde@FreeBSD.org>1997-01-15 19:05:08 +0000
commitdd18dffcc8b7d5a41bf96d38d5da25ffb1f6b23d (patch)
tree9960ee87f20ff757790caac3cc27badb1fb77def /sys/vm
parentcfb07f1e1be1867dd238112b16159442dea3b60b (diff)
downloadFreeBSD-src-dd18dffcc8b7d5a41bf96d38d5da25ffb1f6b23d.zip
FreeBSD-src-dd18dffcc8b7d5a41bf96d38d5da25ffb1f6b23d.tar.gz
Removed redundant spl0()'s from kernel processes. They were work-arounds
for a bug in fork().
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_glue.c1
-rw-r--r--sys/vm/vm_pageout.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index aed4129..25290e6 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -322,7 +322,6 @@ scheduler(dummy)
struct proc *pp;
int ppri;
- spl0();
loop:
while ((cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_min) {
VM_WAIT;
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index a6fd794..85b498e 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -956,8 +956,6 @@ int add;
static void
vm_pageout()
{
- (void) spl0();
-
/*
* Initialize some paging parameters.
*/
@@ -1045,8 +1043,6 @@ vm_daemon()
vm_object_t object;
struct proc *p;
- (void) spl0();
-
while (TRUE) {
tsleep(&vm_daemon_needed, PUSER, "psleep", 0);
if (vm_pageout_req_swapout) {
OpenPOWER on IntegriCloud