Closed mundya closed 8 years ago
Hurrah!
Freeing stuff LGTM :). Following offline discussion:
Note: this PR now also removes the buffering of file-like views of SDRAM (#190)
Minus failing tests, this looks rather sensible!
@neworderofjamie - does this seem OK to you? Particularly the loss of buffering and the requirement that only the MemoryIO
returned by sdram_alloc_as_filelike
(and not any gained by slicing) can be freed.
I think you convinced me of the need to remove buffering so I have resigned myself to that; and not freeing slices seems an entirely logical restriction on freeing memory allocated using sdram_alloc_as_filelike
Sounds like this is then! Merge at will, @mundya.
I've just squashed that down a bit, I'll merge when Travis is happy. Thanks @mossblaser
Free routing table entrieswe can already remove all routing table entries associated with an app_id (seeMachineController:clear_routing_table_entries
).Beat you to the punch @neworderofjamie.