demikernel icon indicating copy to clipboard operation
demikernel copied to clipboard

[runtime] Various Improvements on `DataBuffer`

Open ppenna opened this issue 2 years ago • 1 comments

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

ppenna avatar Apr 25 '22 11:04 ppenna

This is related to existing Issue #176.

BrianZill avatar Oct 04 '22 23:10 BrianZill

@BrianZill what is the status on this?

ppenna avatar Dec 02 '22 15:12 ppenna

Created follow-up issues in subsequent milestones: #753 and #751

anandbonde avatar May 30 '23 22:05 anandbonde