Page MenuHomeFreeBSD

Keep top page on CloudABI to work around AMD Ryzen stability issues.
ClosedPublic

Authored by ed on Aug 1 2017, 6:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 22 2024, 10:32 AM
Unknown Object (File)
Feb 14 2024, 4:14 AM
Unknown Object (File)
Feb 14 2024, 4:14 AM
Unknown Object (File)
Feb 14 2024, 2:23 AM
Unknown Object (File)
Feb 14 2024, 1:57 AM
Unknown Object (File)
Dec 20 2023, 3:27 AM
Unknown Object (File)
Dec 10 2023, 9:21 PM
Unknown Object (File)
Nov 12 2023, 11:41 PM
Subscribers

Details

Summary

Similar to D11780, reduce sv_maxuser by one page inside of CloudABI.
This ensures that the stack, the vDSO and any allocations cannot touch
the top page of user virtual memory.

Considering that CloudABI userspace is completely oblivious to virtual
memory layout, don't bother making this conditional based on the CPU of
the running system.

Test Plan

C library unit tests still pass.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

IMO this is an overreaction. For non-buggy CPUs, I do not see why do you want this.

This revision is now accepted and ready to land.Aug 1 2017, 7:58 PM
This revision was automatically updated to reflect the committed changes.