summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-02-18 00:22:57 +0000
committerrwatson <rwatson@FreeBSD.org>2002-02-18 00:22:57 +0000
commitfc479aab628b2a2e323d69d8897ebb812ffc0c92 (patch)
tree0a3380c066224a23eea106454980dfed647e357a /sys
parent083d6205a45c7ac2264e55c014a821028d2b3095 (diff)
downloadFreeBSD-src-fc479aab628b2a2e323d69d8897ebb812ffc0c92.zip
FreeBSD-src-fc479aab628b2a2e323d69d8897ebb812ffc0c92.tar.gz
Per discussion at BSDCon, note that the vop_getattr locking protocol
should require a shared lock, rather than an exclusive lock, which can improve performance. No actual code change here, since a number of VFS locking fixes are in the works.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vnode_if.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index 0f71c13..cdeb5e5 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -152,7 +152,7 @@ vop_access {
#
#% getattr vp = = =
#
-# XXX: This should be L L L
+# XXX: This should be A A A
#
vop_getattr {
IN struct vnode *vp;
OpenPOWER on IntegriCloud