Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 13:44:24 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307858 - head/sys/arm64/include
Message-ID:  <201610241344.u9ODiOSW042874@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Oct 24 13:44:24 2016
New Revision: 307858
URL: https://svnweb.freebsd.org/changeset/base/307858

Log:
  Increase CACHE_LINE_SHIFT to 7 as cache lines are 128 bytes on ThunderX.
  
  MFC after:	1 week
  Sponsored by:	ABT Systems Ltd

Modified:
  head/sys/arm64/include/param.h

Modified: head/sys/arm64/include/param.h
==============================================================================
--- head/sys/arm64/include/param.h	Mon Oct 24 12:24:24 2016	(r307857)
+++ head/sys/arm64/include/param.h	Mon Oct 24 13:44:24 2016	(r307858)
@@ -77,7 +77,7 @@
  * CACHE_LINE_SIZE is the compile-time maximum cache line size for an
  * architecture.  It should be used with appropriate caution.
  */
-#define	CACHE_LINE_SHIFT	6
+#define	CACHE_LINE_SHIFT	7
 #define	CACHE_LINE_SIZE		(1 << CACHE_LINE_SHIFT)
 
 #define	PAGE_SHIFT	12



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