Kill some XXXKSE's. vnlru/syncer are single threaded.

This commit is contained in:
Peter Wemm 2004-03-29 22:45:33 +00:00
parent b21126c6b3
commit 39d3505a30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127593

View File

@ -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()