Align UMA data to 128 byte cacheline size
Suggested by: mjg
This commit is contained in:
parent
8dc84f09e0
commit
12f691959f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user