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

posix: pin init functions and data for demand paging #83708

Merged

Conversation

dcpleung
Copy link
Member

@dcpleung dcpleung commented Jan 8, 2025

Boot time initialization functions and data used there must be available at boot. With demand paging, these may not exist in memory when they are being used, resulting in page faults. So pin these functions and data in linker sections to make sure they are in memory at boot time.

Boot time initialization functions and data used there must be
available at boot. With demand paging, these may not exist in
memory when they are being used, resulting in page faults.
So pin these functions and data in linker sections to make
sure they are in memory at boot time.

Signed-off-by: Daniel Leung <[email protected]>
@dcpleung dcpleung marked this pull request as ready for review January 8, 2025 21:39
@zephyrbot zephyrbot added the area: POSIX POSIX API Library label Jan 8, 2025
@zephyrbot zephyrbot requested review from cfriedt and ycsin January 8, 2025 21:40
@kartben kartben merged commit f81add2 into zephyrproject-rtos:main Jan 11, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants