demikernel
demikernel copied to clipboard
[runtime] Various Improvements on `DataBuffer`
Description
We should introduce various additional fields in the DataBuffer
abstraction:
- [ ] an identifier for the memory allocator the buffer space came from.
- [ ] one that "remembers" the original length of the data allocation (i.e. before any adjust or trim), as it might be useful in the future.
- [ ] next and prev pointers for putting on lists w/o extra allocations.
- [ ] an "extra" field that each LibOs can use for whatever it wants (we should have space for another 64 bit field in this struct before we exceed the x86 cache line size).
Related Issues
- https://github.com/demikernel/runtime/pull/22
- https://github.com/demikernel/demikernel/pull/87
This is related to existing Issue #176.
@BrianZill what is the status on this?
Created follow-up issues in subsequent milestones: #753 and #751