mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 12:03:41 +01:00
(struct mempool): Move "reserve" and "num_free" next to
each other to minimize padding. (Logical change 1.155)
This commit is contained in:
parent
c62eddaa2f
commit
195eb64285
1 changed files with 1 additions and 1 deletions
|
@ -62,8 +62,8 @@ struct mempool
|
|||
{
|
||||
pthread_mutex_t lock;
|
||||
size_t obj_size; /* object size (rounded up for alignment) */
|
||||
unsigned int reserve; /* minimum (desired) size of the free-list */
|
||||
size_t chunk_size; /* allocation granularity */
|
||||
unsigned int reserve; /* minimum (desired) size of the free-list */
|
||||
unsigned int num_free; /* number of objects on the free-list */
|
||||
struct object
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue