svn commit: r334618 - head/sys/vm
Justin Hibbits
jhibbits at FreeBSD.org
Mon Jun 4 15:44:18 UTC 2018
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
More information about the svn-src-head
mailing list