mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Reduce struct aggsum_bucket padding to fit into one cache line.
Reported by: mjg
This commit is contained in:
parent
50da29d25b
commit
4148c56f78
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331414
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user