aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2019-09-19 21:23:14 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2019-09-19 21:23:14 +0000
commitb488246b458f8addb67e36a0e25601df9ee9219f (patch)
tree5047629cfb6bcfba9f68ebf1ca5a16f5618799c5 /sys/sys/mount.h
parent12294db4ac126ae4d66cc216d3def3f6cd2a4b00 (diff)
downloadsrc-b488246b458f8addb67e36a0e25601df9ee9219f.tar.gz
src-b488246b458f8addb67e36a0e25601df9ee9219f.zip
vfs: group fields used for per-cpu ops in one cacheline
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=352543
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 4a5333203f91..562fa191fe24 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -226,7 +226,7 @@ struct mount {
struct lock mnt_explock; /* vfs_export walkers lock */
TAILQ_ENTRY(mount) mnt_upper_link; /* (m) we in the all uppers */
TAILQ_HEAD(, mount) mnt_uppers; /* (m) upper mounts over us*/
- int mnt_vfs_ops; /* (i) pending vfs ops */
+ int __aligned(CACHE_LINE_SIZE) mnt_vfs_ops;/* (i) pending vfs ops */
int *mnt_thread_in_ops_pcpu;
int *mnt_ref_pcpu;
int *mnt_lockref_pcpu;