From fc38b190131dffcc9ebb859ecef28c1c360514f6 Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <riastradh@NetBSD.org>
Date: Thu, 31 Mar 2022 02:39:38 +0000
Subject: [PATCH 35/49] vfs(9): Add XXX comment about unclear membar_enter.

---
 sys/kern/vfs_vnode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/kern/vfs_vnode.c b/sys/kern/vfs_vnode.c
index 06f24a8bce79..f7cc9cc48d34 100644
--- a/sys/kern/vfs_vnode.c
+++ b/sys/kern/vfs_vnode.c
@@ -273,6 +273,8 @@ _vstate_assert(vnode_t *vp, enum vnode_state state, const char *func, int line,
 		/*
 		 * Prevent predictive loads from the CPU, but check the state
 		 * without loooking first.
+		 *
+		 * XXX what does this pair with?
 		 */
 		membar_enter();
 		if (state == VS_ACTIVE && refcnt > 0 &&