Reduce struct aggsum_bucket padding to fit into one cache line.

Reported by:	mjg
This commit is contained in:
Alexander Motin 2018-03-23 02:50:38 +00:00
parent 50da29d25b
commit 4148c56f78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331414

View File

@ -29,7 +29,7 @@ typedef struct aggsum_bucket {
kmutex_t asc_lock;
int64_t asc_delta;
uint64_t asc_borrowed;
uint64_t asc_pad[4]; /* pad out to cache line (64 bytes) */
uint64_t asc_pad[2]; /* pad out to cache line (64 bytes) */
} aggsum_bucket_t __aligned(CACHE_LINE_SIZE);
/*