svn commit: r323306 - head/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Fri Sep 8 06:46:26 UTC 2017


Author: mjg
Date: Fri Sep  8 06:46:24 2017
New Revision: 323306
URL: https://svnweb.freebsd.org/changeset/base/323306

Log:
  Annotate Giant with __exclusive_cache_line

Modified:
  head/sys/kern/kern_mutex.c

Modified: head/sys/kern/kern_mutex.c
==============================================================================
--- head/sys/kern/kern_mutex.c	Fri Sep  8 06:46:02 2017	(r323305)
+++ head/sys/kern/kern_mutex.c	Fri Sep  8 06:46:24 2017	(r323306)
@@ -166,7 +166,7 @@ LOCK_DELAY_SYSINIT_DEFAULT(mtx_spin_delay);
  * System-wide mutexes
  */
 struct mtx blocked_lock;
-struct mtx Giant;
+struct mtx __exclusive_cache_line Giant;
 
 void
 assert_mtx(const struct lock_object *lock, int what)


More information about the svn-src-head mailing list