svn commit: r356828 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Fri Jan 17 14:39:00 UTC 2020
Author: mjg
Date: Fri Jan 17 14:39:00 2020
New Revision: 356828
URL: https://svnweb.freebsd.org/changeset/base/356828
Log:
vfs: shorten lock hold time in vdbatch_process
Modified:
head/sys/kern/vfs_subr.c
Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c Fri Jan 17 14:29:27 2020 (r356827)
+++ head/sys/kern/vfs_subr.c Fri Jan 17 14:39:00 2020 (r356828)
@@ -3243,9 +3243,9 @@ vdbatch_process(struct vdbatch *vd)
MPASS(vp->v_dbatchcpu != NOCPU);
vp->v_dbatchcpu = NOCPU;
}
+ mtx_unlock(&vnode_list_mtx);
bzero(vd->tab, sizeof(vd->tab));
vd->index = 0;
- mtx_unlock(&vnode_list_mtx);
}
static void
More information about the svn-src-all
mailing list