-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: options: mlock: do not enable for x86 with userspace #83650
posix: options: mlock: do not enable for x86 with userspace #83650
Conversation
Oddly, demand paging does not seem to work wth 32-bit x86 and userspace, so do not imply demand paging in that case. Signed-off-by: Chris Friedt <[email protected]>
Is there anyway to reproduce the issue? I don't see any tests calling |
@dcpleung - in the linked PR for XSI_REALTIME. The commit that should enable tests is the second-last one, IIRC, that uncomments some options. I should have added error info in the commit message. |
Ahh... the issue is that some init functions and data must be present in memory before demand paging is initialized. Or else these functions and data would not be in memory to be used, hence the page faults. Here are some quick bits to be added for
|
@dcpleung - if you make a PR, I'll approve :-) |
Will keep this in draft until other pr is made |
#83708 to pin those symbols in place. |
Oddly, demand paging does not seem to work wth 32-bit x86 and userspace, so do not imply demand paging in that case.
Forked from #83303