Skip to content

fix(z): Address inconsistent mremap return arguments with arm64#309

Merged
joshua-goldstein merged 5 commits intomainfrom
matthewmcneely/create-cpu-specific-linux-mremap-modules
Oct 10, 2022
Merged

fix(z): Address inconsistent mremap return arguments with arm64#309
joshua-goldstein merged 5 commits intomainfrom
matthewmcneely/create-cpu-specific-linux-mremap-modules

Conversation

@matthewmcneely
Copy link
Collaborator

@matthewmcneely matthewmcneely commented Oct 10, 2022

This PR adds a specific arm64 implementation for the mremap function which ignores the second return argument from the syscall. All other Linux implementations are unchanged.

This PR reworks an earlier PR so that the functionality on non-arm64 platforms remains the same.

Tested on Linux amd64 and Linux arm64.

Copy link
Contributor

@joshua-goldstein joshua-goldstein left a comment

Choose a reason for hiding this comment

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

👍

@joshua-goldstein joshua-goldstein merged commit 8c5987e into main Oct 10, 2022
@joshua-goldstein joshua-goldstein deleted the matthewmcneely/create-cpu-specific-linux-mremap-modules branch October 10, 2022 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants