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

next in thread | raw e-mail | index | archive | help
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)



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