I just added this to the LibGalloc important TODO list; does anyone have any prexisting code that does this? 1D and 2D range manager -- reusable code for keeping track of chunks of memory and allowing allocation of continuous ranges of memory from that pool. This is not page management, as the chunks can be as small as one byte and as large as the whole area. Should use a linked list of region boundaries and implement a check, grab, release function. No doubt there will be specialized versions of these also someday, but for now a linear and planar manager will be immediately useful. This strikes me as a wheel-like object, e.g. probably already reinvented once every week for the last thirty years :-) It is pretty simple though, simpler than a window system region manager, so unless the code is pretty much already as described above it might be least effort just to write it. -- Brian
