Comment on Always Bump Downwards (2019)parentComments−sltkr2yThis still doesn't solve the overflow problem.It's also too limiting: with u8 you can't ask for page-aligned data, and with u16 not for hugepage-aligned data. Granted, those aren't exactly prime use cases for a bump allocator, but it seems like poor design to limit the API unnecessarily.−loeg2yIt fully solves the overflow problem. You don't need page-aligned data in a bump allocator.
Comments
This still doesn't solve the overflow problem.
It's also too limiting: with u8 you can't ask for page-aligned data, and with u16 not for hugepage-aligned data. Granted, those aren't exactly prime use cases for a bump allocator, but it seems like poor design to limit the API unnecessarily.
It fully solves the overflow problem. You don't need page-aligned data in a bump allocator.