Hi Bart,

> I tried to limit heap grow a bit using a patch to nanomalloc
> https://gist.github.com/f45f2874b16afd8957d019db6182067e
> which basically takes any free block at the end into account when it
> needs to grow the heap via sbrk, so it does not leave a hole there.

using sbrk()  inside command.com is forbidden, as the amount to swap
in/out is calculated once at init time, unless this code is also
fixed.

swapping in/out only part of the heap (and thereby destroying its
content some of the time) isn't going to make anybody happy.

Tom



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to