diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 6e4b9701cf3f..624513348f13 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1697,7 +1697,6 @@ int vfs_update_interval = 30; static void vfs_update() { - (void) spl0(); /* XXX redundant? wrong place? */ while (1) { tsleep(&vfs_update_wakeup, PUSER, "update", hz * vfs_update_interval); diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index aed41293f3e8..25290e696af8 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 a6fd794a917e..85b498eefc20 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) {