Author: mmacy Date: Fri May 18 17:58:15 2018 New Revision: 333807 URL: https://svnweb.freebsd.org/changeset/base/333807
Log: epoch: move epoch variables to read mostly section Modified: head/sys/net/if.c Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Fri May 18 17:58:09 2018 (r333806) +++ head/sys/net/if.c Fri May 18 17:58:15 2018 (r333807) @@ -104,8 +104,8 @@ _Static_assert(sizeof(((struct ifreq *)0)->ifr_name) == offsetof(struct ifreq, ifr_ifru), "gap between ifr_name and ifr_ifru"); -epoch_t net_epoch_preempt; -epoch_t net_epoch; +__read_mostly epoch_t net_epoch_preempt; +__read_mostly epoch_t net_epoch; #ifdef COMPAT_FREEBSD32 #include <sys/mount.h> #include <compat/freebsd32/freebsd32.h> _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"