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:
Alexander Motin 2019-06-14 17:09:39 +00:00
parent e924cb6ff9
commit 284e53a401
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349035

View File

@ -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 {
/*