aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/uma_int.h
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2018-06-04 15:44:17 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2018-06-04 15:44:17 +0000
commit12f691959f74061ccc102a414e76f3da90474ff6 (patch)
treeabd75be563cceffcb73b1c263625604a0f02e9a4 /sys/vm/uma_int.h
parent8dc84f09e01b9961b5a3058ef95b3f7467125c35 (diff)
downloadsrc-12f691959f74061ccc102a414e76f3da90474ff6.tar.gz
src-12f691959f74061ccc102a414e76f3da90474ff6.zip
Align UMA data to 128 byte cacheline size
Suggested by: mjg
Notes
Notes: svn path=/head/; revision=334618
Diffstat (limited to 'sys/vm/uma_int.h')
-rw-r--r--sys/vm/uma_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h
index e1fc5a03c23b..f960e3da2d72 100644
--- a/sys/vm/uma_int.h
+++ b/sys/vm/uma_int.h
@@ -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