Stream: git-wasmtime

Topic: wasmtime / PR #13070 Improve `madvise`-failure logic in t...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 18:38):

alexcrichton opened PR #13070 from alexcrichton:zero-tables-manually to bytecodealliance:main:

In #12888 the failure of madvise or mmap was improved to be handled in the pooling allocator but this only accounted for linear memories rather than tables as well. This meant that if madvise or mmap failed it could be possible to have the previous contents of one table leak over to the next. There's no known actual situation in which this would happen (madvise and mmap failing is mostly theoretical) but this seems best to fix nonetheless.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 18:38):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13070.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 18:38):

alexcrichton requested dicej for a review on PR #13070.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 18:53):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 18:56):

alexcrichton added PR #13070 Improve madvise-failure logic in the pooling allocator to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 20:06):

alexcrichton merged PR #13070.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 13 2026 at 20:07):

alexcrichton removed PR #13070 Improve madvise-failure logic in the pooling allocator from the merge queue.


Last updated: May 03 2026 at 22:13 UTC