Skip to content

Introduce MmapResult#1451

Merged
qinsoon merged 4 commits intommtk:masterfrom
qinsoon:mmap-result
Feb 25, 2026
Merged

Introduce MmapResult#1451
qinsoon merged 4 commits intommtk:masterfrom
qinsoon:mmap-result

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Feb 23, 2026

This PR fixes #1450.

Copy link
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except for one very minor style problem.

) -> Result<Address> {
let addr = unix_common::mmap(start, size, strategy)?;
) -> MmapResult<Address> {
let addr = unix_common::mmap(start, size, strategy, _annotation)?;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove the _ name prefix because the _annotation parameter is no longer unused.

@qinsoon qinsoon added the PR-extended-testing Run extended tests for the pull request label Feb 24, 2026
@qinsoon qinsoon added this pull request to the merge queue Feb 25, 2026
Merged via the queue into mmtk:master with commit b6ee146 Feb 25, 2026
44 of 48 checks passed
@qinsoon qinsoon deleted the mmap-result branch February 25, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-extended-testing Run extended tests for the pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confusing mmap error

2 participants