Align UMA data to 128 byte cacheline size
Suggested by: mjg
This commit is contained in:
parent
8dc84f09e0
commit
12f691959f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334618
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user