Align UMA data to 128 byte cacheline size

Suggested by:	mjg
This commit is contained in:
Justin Hibbits 2018-06-04 15:44:17 +00:00
parent 8dc84f09e0
commit 12f691959f

View File

@ -176,7 +176,7 @@ struct uma_hash {
/* /*
* align field or structure to cache line * align field or structure to cache line
*/ */
#if defined(__amd64__) #if defined(__amd64__) || defined(__powerpc64__)
#define UMA_ALIGN __aligned(128) #define UMA_ALIGN __aligned(128)
#else #else
#define UMA_ALIGN #define UMA_ALIGN