The branch stable/13 has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8ef8057ed5f16dde7a243e2cc557bc6cd4dfcdf9
commit 8ef8057ed5f16dde7a243e2cc557bc6cd4dfcdf9 Author: Mateusz Guzik <[email protected]> AuthorDate: 2021-03-30 14:44:10 +0000 Commit: Mateusz Guzik <[email protected]> CommitDate: 2021-04-10 05:57:55 +0000 vfs: add vfs_smr_quiesce This can be used to observe all CPUs not executing while within vfs_smr_enter. (cherry picked from commit 3f56bc79860ec20f0e53de42dab1c117ee68e37b) --- sys/sys/vnode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index bb07cd80e42e..e37302aeb379 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -1109,6 +1109,7 @@ int vn_dir_check_exec(struct vnode *vp, struct componentname *cnp); #define VFS_SMR() vfs_smr #define vfs_smr_enter() smr_enter(VFS_SMR()) #define vfs_smr_exit() smr_exit(VFS_SMR()) +#define vfs_smr_quiesce() quiesce_all_critical() #define vfs_smr_entered_load(ptr) smr_entered_load((ptr), VFS_SMR()) #define VFS_SMR_ASSERT_ENTERED() SMR_ASSERT_ENTERED(VFS_SMR()) #define VFS_SMR_ASSERT_NOT_ENTERED() SMR_ASSERT_NOT_ENTERED(VFS_SMR()) _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
