Author: jhibbits
Date: Mon Jun  4 15:44:17 2018
New Revision: 334618
URL: https://svnweb.freebsd.org/changeset/base/334618

Log:
  Align UMA data to 128 byte cacheline size
  
  Suggested by: mjg

Modified:
  head/sys/vm/uma_int.h

Modified: head/sys/vm/uma_int.h
==============================================================================
--- head/sys/vm/uma_int.h       Mon Jun  4 15:17:24 2018        (r334617)
+++ head/sys/vm/uma_int.h       Mon Jun  4 15:44:17 2018        (r334618)
@@ -176,7 +176,7 @@ struct uma_hash {
 /*
  * align field or structure to cache line
  */
-#if defined(__amd64__)
+#if defined(__amd64__) || defined(__powerpc64__)
 #define UMA_ALIGN      __aligned(128)
 #else
 #define UMA_ALIGN
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to