Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-06-25 | libutil: cleanup alignment trickery in mempool | David Oberhollenzer | |
- Store the return value of the page allocation directly into the pool variable instead of an intermediate unsigned char pointer. - Make the blob[] array the same type as the bitmap, this saves us manual alignment trickery. - Cleanup the pointer arithmetic, let the compiler do the sizeof() multiplication. - Use uintptr_t for the manual alignment of the data pointer, so we don't run into signdness problems there. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> | |||
2021-03-24 | Port the pool allocator to Windows | David Oberhollenzer | |
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> | |||
2021-03-21 | Force 64 bit alignment of blocks managed by the pool allocator | David Oberhollenzer | |
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> | |||
2021-03-07 | Implement a custom memory pool allocator | David Oberhollenzer | |
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at> |