peterhuene opened PR #3245 from add-paged-init-setting
to main
:
This commit adds a
paged_memory_initialization
setting toConfig
.The setting controls whether or not an attempt is made to organize data
segments into Wasm pages during compilation.When used in conjunction with the
uffd
feature on Linux, Wasmtime can
completely skip initializing linear memories and instead initialize any pages
that are accessed for the first time during Wasm execution.
alexcrichton submitted PR review.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
The default here might be good to be based on
uffd
as a feature?
peterhuene submitted PR review.
peterhuene created PR review comment:
Definitely. I'll fix.
peterhuene updated PR #3245 from add-paged-init-setting
to main
.
peterhuene has marked PR #3245 as ready for review.
peterhuene merged PR #3245.
Last updated: Dec 23 2024 at 12:05 UTC