Date: Sat, 4 May 2019 19:04:18 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r347131 - head/sys/kern Message-ID: <201905041904.x44J4IJp083075@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905041904.x44J4IJp083075>