You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
This is a prerequisite for #7243 to be able to lock down filesystem access for PVF threads.
Performance Note
This should not affect performance for Linux, but instantiation will be slower on Mac:
/// * Linux - this feature is supported for all instances of [`Module`]./// Modules backed by an existing mmap (such as those created by/// [`Module::deserialize_file`]) will reuse that mmap to cow-initialize/// memory. Other instance of [`Module`] may use the `memfd_create`/// syscall to create an initialization image to `mmap`./// * Unix (not Linux) - this feature is only supported when loading modules/// from a precompiled file via [`Module::deserialize_file`] where there/// is a file descriptor to use to map data into the process. Note that/// the module must have been compiled with this setting enabled as well.
ISSUE
Overview
Create the runtime from artifact bytes instead of a file using
create_runtime_from_artifact_bytes
.This is a prerequisite for #7243 to be able to lock down filesystem access for PVF threads.
Performance Note
This should not affect performance for Linux, but instantiation will be slower on Mac:
Benchmarks comparing without and with CoW:
The text was updated successfully, but these errors were encountered: