From 39d3505a3029815c985de4f21d6c40edab4ec415 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 29 Mar 2004 22:45:33 +0000 Subject: [PATCH] Kill some XXXKSE's. vnlru/syncer are single threaded. --- sys/kern/vfs_subr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index ee4208a08ab..4f1e0e37132 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -532,7 +532,7 @@ vnlru_proc(void) struct mount *mp, *nmp; int done; struct proc *p = vnlruproc; - struct thread *td = FIRST_THREAD_IN_PROC(p); /* XXXKSE */ + struct thread *td = FIRST_THREAD_IN_PROC(p); mtx_lock(&Giant); @@ -1487,7 +1487,7 @@ sched_sync(void) struct vnode *vp; struct mount *mp; long starttime; - struct thread *td = FIRST_THREAD_IN_PROC(updateproc); /* XXXKSE */ + struct thread *td = FIRST_THREAD_IN_PROC(updateproc); mtx_lock(&Giant); @@ -1591,7 +1591,6 @@ sched_sync(void) * Request the syncer daemon to speed up its work. * We never push it to speed up more than half of its * normal turn time, otherwise it could take over the cpu. - * XXXKSE only one update? */ int speedup_syncer()