Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework WasiFs to use a "holey" FdList instead of hashmap + seed + fre… #4997

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

Arshia001
Copy link
Member

…ed_fds

This PR implements Vec<Option<Fd>>-based FD management.

Note: I haven't extensively tested the code yet, so the PR is in draft status. I'm creating it so we can all review and discuss the implementation.

@Arshia001 Arshia001 self-assigned this Aug 8, 2024
@Arshia001 Arshia001 marked this pull request as ready for review August 13, 2024 10:34
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
@syrusakbary syrusakbary mentioned this pull request Aug 27, 2024
@syrusakbary
Copy link
Member

syrusakbary commented Sep 5, 2024

Waiting on @theduke to provide context on one test on Edge that failed on this PR, so we can move forward.

Edit: context provided in Linear

@Arshia001 Arshia001 force-pushed the fix/fd-map-with-holey-list branch from ed91c2b to 408ce50 Compare November 19, 2024 09:05
@Arshia001 Arshia001 force-pushed the fix/fd-map-with-holey-list branch from fcae864 to 5ef1671 Compare November 19, 2024 09:44
@Arshia001 Arshia001 merged commit 6e95875 into main Nov 19, 2024
71 of 72 checks passed
@Arshia001 Arshia001 deleted the fix/fd-map-with-holey-list branch November 19, 2024 13:06
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.

3 participants