Author: mjg Date: Sat May 4 19:04:17 2019 New Revision: 347131 URL: https://svnweb.freebsd.org/changeset/base/347131
Log: Annotate nprocs with __exclusive_cache_line Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_fork.c Modified: head/sys/kern/kern_fork.c ============================================================================== --- head/sys/kern/kern_fork.c Sat May 4 18:00:57 2019 (r347130) +++ head/sys/kern/kern_fork.c Sat May 4 19:04:17 2019 (r347131) @@ -185,7 +185,7 @@ sys_rfork(struct thread *td, struct rfork_args *uap) return (error); } -int nprocs = 1; /* process 0 */ +int __exclusive_cache_line nprocs = 1; /* process 0 */ int lastpid = 0; SYSCTL_INT(_kern, OID_AUTO, lastpid, CTLFLAG_RD, &lastpid, 0, "Last used PID"); _______________________________________________ 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"