diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-10-29 14:37:19 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-11-02 11:25:10 -0400 |
commit | c90d4af8750bef77ce9abe91df80d5d98ba297d7 (patch) | |
tree | 2e3213be7021b2be425954e33b34ea228f0d9f85 /src/typo.c | |
parent | b00341a45238d383fa27289a53798eef856092bb (diff) | |
download | bfs-c90d4af8750bef77ce9abe91df80d5d98ba297d7.tar.xz |
alloc: Don't require size % align == 0
Allowing unaligned sizes will allow us to allocate aligned slabs with
additional metadata in the tail without ballooning the allocation size
for large alignments.
Link: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2244.htm#dr_460
Link: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2072.htm
Diffstat (limited to 'src/typo.c')
0 files changed, 0 insertions, 0 deletions