The branch is merged anyway, just in case any of the extra code used in it can be extracted later.
Fortune for collect's current commit: Future small blessing − 末小吉
This branch will be merged but the `hugetlb` feature flag will be removed.
This matter is now closed.
Fortune for collect's current commit: Future blessing − 末吉
Added (default) feature-flag for `hugetlb`: Will use `memfile::hp` for `memfile` enabled feature.
Added tests for both checked and unchecked `Mask` creation.
Added feature `hugepage-checked-masks`: Use checked `Mask` creation in `get_masks{,_in}()`. Only useful for debugging or for ensuring no invalid values slip past mask creation. Disabled by default and offers not much of an improvement other than a bit more safety (integer arithmatic checking).
Fortune for collect's current commit: Half curse − 半凶
Needs testing, and the XXX comment about `memfd_create()` name lifetimes also needs testing. (If they do need to be static; `stackalloc` as a dependancy can be removed entirely, then: `DEFAULT_NAME` will be changed to a CString, function parameter `name` and `error::MemfileCreationStep::Create(name)` will be changed to `Option<&"static CStr>`.
Fortune for collect's current commit: Future blessing − 末吉