Page MenuHomeFreeBSD

Support for reserving low memory for devices
ClosedPublic

Authored by alfred on Dec 7 2014, 12:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 6:38 AM
Unknown Object (File)
Fri, Apr 26, 6:23 AM
Unknown Object (File)
Sun, Apr 7, 11:17 PM
Unknown Object (File)
Mar 19 2024, 11:59 AM
Unknown Object (File)
Mar 17 2024, 11:36 AM
Unknown Object (File)
Mar 15 2024, 5:00 AM
Unknown Object (File)
Mar 12 2024, 10:38 PM
Unknown Object (File)
Feb 16 2024, 8:09 AM
Subscribers

Details

Summary

FreeBSD machines with large memory, it seems 128GB or higher wind
up without enough memory under 4GB for many devices to work.

This results in USB not working (keyboard/mouse doesn't attach),
and some HBAs fail as well. I think other devices may fail as well,
but I've not experienced that yet.

This patch also addresses a related problem on small MIPS systems
where we create a set of free lists that will never contain any
pages. Nonetheless, we will search those free lists on every page
allocation.

PR: 185727
Bugzilla: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185727
Submitted by: alc

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

alfred retitled this revision from to Support for reserving low memory for devices.
alfred updated this object.
alfred edited the test plan for this revision. (Show Details)

alc knows far more about this than I do. If John is OK with this then so am I.

jhb@ and kib@ reviewed the patch shortly after I uploaded it to bugzilla. The reason that I haven't already committed the patch is that I've been waiting for it to be tested on MIPS. Yesterday, I managed to test the patch myself with gxemul, so I expect to commit it soon.

alc updated this revision to Diff 2931.

Closed by commit rS276439 (authored by @alc).