At 04:29 PM 12/12/2001 -0800, Brent Dax wrote:
>[EMAIL PROTECTED]:
># In lieu of a de-allocator for mem_allocate_aligned I vote
># we at least do something in the interim and I volunteer to
># help as soon as someone decides what it is!
>
>Maybe we can have a mem_free_aligned that somehow figures out what the
>starting address is.  If we do that and document which data structures
>are aligned and which aren't, we shouldn't have a problem.

You can't do that--there's no way to tell where the memory block really 
started.

Anyway, all the aligned stuff's a bit of a hack-up to make up for the lack 
of arenas. It'll be fixed right reasonably soon.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to