Skip to content

Implement MAP_ANONYMOUS on top of malloc in STANDALONE_WASM mode - #16289

Merged
sbc100 merged 1 commit into
mainfrom
mmap_standalone
Feb 15, 2022
Merged

Implement MAP_ANONYMOUS on top of malloc in STANDALONE_WASM mode#16289
sbc100 merged 1 commit into
mainfrom
mmap_standalone

Conversation

@sbc100

@sbc100 sbc100 commented Feb 15, 2022

Copy link
Copy Markdown
Collaborator

This hack already exists in the JS implementation of mmap. We could try
to unify the two but I'm not sure its worth it.

Fixes: #16280, #13312

@sbc100
sbc100 requested a review from kripken February 15, 2022 00:00
Comment thread system/lib/standalone/standalone.c
This hack already exists in the JS implementation of mmap.  We could try
to unify the two but I'm not sure its worth it.

Fixes: #16280
@sbc100
sbc100 requested a review from kripken February 15, 2022 16:58
@sbc100
sbc100 merged commit f4115eb into main Feb 15, 2022
@sbc100
sbc100 deleted the mmap_standalone branch February 15, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MAP_ANON support for mmap/munmap for standalone Wasm

2 participants