duskos

dusk os fork
git clone git://git.alexwennerberg.com/duskos
Log | Files | Refs | README | LICENSE

commit f00717bee6e64408dfab512e75b90b2cccd49291
parent 749926a56ea6d9186fc3780b1ee8dc8b91fdc052
Author: Virgil Dupras <hsoft@hardcoded.net>
Date:   Thu,  8 Dec 2022 12:43:10 -0500

lib/alloc: new TODO

Diffstat:
Mfs/lib/alloc.fs | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/fs/lib/alloc.fs b/fs/lib/alloc.fs @@ -1,5 +1,10 @@ \ Allocator struct +\ TODO: add the concept of "max allocation unit" to abort when we're allocating +\ chunks that are too big. I got burned while working on asm/uxntal.c, chasing +\ what I thought was a tricky memory corruption bug, but it just so happened +\ that the Macro struct at the time was more than ARENASZ and that made memory +\ silently outstep its bounds. struct[ Allocator sfield ptr \ Returns the end of the current buffer