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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to