31 Commits (b882f0ae971f2de04ceb40a006c716884b31846e)
 

Author SHA1 Message Date
Avril b882f0ae97
Completed `hp::find_size_bytes()`, and added const-generated lookup table for non "k" seperators.
2 years ago
Avril d46efebbf7
Added huge-page mask calculation algorithm to comment of module file `memfile::hp`.
2 years ago
Avril b1a64475f6
Merge branch 'master' into safe-memfd: memfile: Merged `RawFile::try_link_from()`: Analogue to `try_link_to()`.
2 years ago
Avril c6032467fa
memfile: Added `RawFile::try_link_from()`: Analogue to `try_link_to()`. Instrumented and added panicking versions of both functions. Added `clone_from()` impl that uses `try_link_from()` (i.e. `dup2()`)
2 years ago
Avril 59363848a2
Started: `memfile::hp`: `MFD_HUGETLB` can be used when a size is known to exceed into the boundary of a hugepage. Currently in the process of writing function to collect all possible hugepage sizes and generate the correct flag masks for `memfd_create(, MFD_HUGETLB | ...)` for each one; and the smallest one that contains the known size can be used for the `memfd_create()` call (if the size fits any at all.)
2 years ago
Avril bbed62e738
Version bump (revision): v1.0.2
2 years ago
Avril 2c839da13b
Bumped stackalloc version: Use PLT for trampoline: Causing random linker errors on some machines.
2 years ago
Avril 0262ca88d9
Added TODOs for specific bugs (and impl related ideas for how to go about preventing/warning in the event of `mode-memfd` system OOM) ; moved some RawFd-related functions into a submodule
2 years ago
Avril 8dd7ddaed8
Version bump v1.0.1
2 years ago
Avril 9ecd0ea3d8
Fixed silly bug preventing building on rust-stable.
2 years ago
Avril 1e207ca453
Create LICENSE
2 years ago
Avril 9125199d80
Added Cargo keywords (tags)
2 years ago
Avril 225a0a08f0
Fix README
2 years ago
Avril 8fe92b0951
Version 1.0.0!
2 years ago
Avril f05c1466c7
Added README.md
2 years ago
Avril 8390072309
Reached version 1.0.0!
2 years ago
Avril 515a63c3a2
Fixed bug with `memfile` feature not setting stream length properly without `memfile-preallocate`
2 years ago
Avril 23d022b5fe
Added working memfile implementation
2 years ago
Avril 0628853b43
Working memfile implementation
2 years ago
Avril edb57c7c95
memfile: Disambiguated memfile errors resulting in `fallocate()` sizes being too large or the call itself failing.
2 years ago
Avril b3dbb30deb
Fix imports for when feature `memfile` is disabled.
2 years ago
Avril ed957bcec8
feature memfile: added `RawFile::open_mem()`
2 years ago
Avril 65c297b228
Started adding `memfile` feature: Use a `memfd_create()`d in-memory temporary file.
2 years ago
Avril 80a2d65262
Made spantrace capture optional at the compilation level.
2 years ago
Avril 3af34dc78f
Better documented `jemalloc` feature.
2 years ago
Avril cc37f604f1
Fixed tracing causing huge unneeded bottleneck in non `bytes` builds.
2 years ago
Avril bea5cda4a1
Fixed not copying to buffer when not using feature `bytes`.
2 years ago
Avril 1cdd5b2187
Made `bytes` an optional feature.
2 years ago
Avril 4cf1c88a3f
Update gitignore
2 years ago
Avril a5ad02a6de Working primitive, slow, prototype.
2 years ago
Avril 2aa8c832de
initial commit: must figure out how splice() works before we continue here.
2 years ago