Skip to content

Conversation

@DougGregor
Copy link
Member

Non-embedded Darwin targets reserve the first 4GB of address space. All other targets reserve 4KB of address space. Make Embedded Darwin targets only reserve the first 4KB (as with other targets), since they aren't in userspace.

Fixes rdar://158981013.

@DougGregor DougGregor requested a review from rjmccall as a code owner August 26, 2025 00:45
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor force-pushed the embedded-darwin-reserve-4kb branch from f4f1105 to 0bfe7f5 Compare August 26, 2025 04:31
@DougGregor
Copy link
Member Author

Bah, forgot about x86_64 going down a different code path.

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor enabled auto-merge August 26, 2025 04:31
Non-embedded Darwin targets reserve the first 4GB of address space. All
other targets reserve 4KB of address space. Make Embedded Darwin
targets only reserve the first 4KB (as with other targets), since they
aren't in userspace.

Fixes rdar://158981013.
@DougGregor DougGregor force-pushed the embedded-darwin-reserve-4kb branch from 0bfe7f5 to 923689c Compare August 26, 2025 06:21
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor merged commit a5fa3ed into swiftlang:main Aug 26, 2025
3 checks passed
@DougGregor DougGregor deleted the embedded-darwin-reserve-4kb branch August 26, 2025 13:09
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.

1 participant