Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2017 06:46:02 +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: r323305 - head/sys/kern
Message-ID:  <201709080646.v886k23Z081796@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Fri Sep  8 06:46:02 2017
New Revision: 323305
URL: https://svnweb.freebsd.org/changeset/base/323305

Log:
  Annotate global process locks with __exclusive_cache_line
  
  MFC after:	1 week

Modified:
  head/sys/kern/kern_proc.c

Modified: head/sys/kern/kern_proc.c
==============================================================================
--- head/sys/kern/kern_proc.c	Fri Sep  8 04:51:16 2017	(r323304)
+++ head/sys/kern/kern_proc.c	Fri Sep  8 06:46:02 2017	(r323305)
@@ -131,9 +131,9 @@ struct pgrphashhead *pgrphashtbl;
 u_long pgrphash;
 struct proclist allproc;
 struct proclist zombproc;
-struct sx allproc_lock;
-struct sx proctree_lock;
-struct mtx ppeers_lock;
+struct sx __exclusive_cache_line allproc_lock;
+struct sx __exclusive_cache_line proctree_lock;
+struct mtx __exclusive_cache_line ppeers_lock;
 uma_zone_t proc_zone;
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709080646.v886k23Z081796>