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)
Sat, Dec 21, 6:56 AM
Unknown Object (File)
Sat, Nov 30, 7:45 PM
Unknown Object (File)
Nov 23 2024, 5:27 PM
Unknown Object (File)
Nov 23 2024, 1:06 PM
Unknown Object (File)
Nov 20 2024, 2:45 AM
Unknown Object (File)
Nov 19 2024, 11:50 PM
Unknown Object (File)
Nov 19 2024, 10:46 AM
Unknown Object (File)
Nov 15 2024, 5:57 AM
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.