Add devdax memory provider
Description
Add devdax memory provider.
Checklist
- [x] Code compiles without errors locally
- [x] All tests pass locally
- [x] CI workflows execute properly
What is a design and use case of the dax provider? Only to help "mmap" it? As free is not supported?
What is a design and use case of the dax provider? Only to help "mmap" it? As free is not supported?
To be able to provide memory from a /dev/dax (not extendable file).
@lplewa please resolve your issues.
@bratpiorka please review
it looks like one of the devdax test has failed
Fixed
If we are not supporting free, why we just do not mmap entire devdax at init? We can remove half of the code from this provider? mmap before first access do not cost us, so it should not be a problem.
Because it is a memory provider that is supposed to handle many calls to alloc(size, alignment) ...