Properly align struct multilist_sublist to cache line.
Manual Illumos alignment does not fit us due to different kmutex_t size. MFC after: 1 week Sponsored by: iXsystems, Inc.
This commit is contained in:
parent
e924cb6ff9
commit
284e53a401
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349035
@ -44,11 +44,10 @@ struct multilist_sublist {
|
||||
*/
|
||||
list_t mls_list;
|
||||
/*
|
||||
* Pad to cache line (64 bytes), in an effort to try and prevent
|
||||
* cache line contention.
|
||||
* Pad to cache line, in an effort to try and prevent cache line
|
||||
* contention.
|
||||
*/
|
||||
uint8_t mls_pad[24];
|
||||
};
|
||||
} __aligned(CACHE_LINE_SIZE);
|
||||
|
||||
struct multilist {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user