1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-18 07:41:44 +02:00

(struct mempool): Move "reserve" and "num_free" next to

each other to minimize padding.

(Logical change 1.155)
This commit is contained in:
mostang.com!davidm 2004-01-20 23:50:00 +00:00
parent c62eddaa2f
commit 195eb64285

View file

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