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)
Oct 7 2024, 11:16 PM
Unknown Object (File)
Sep 24 2024, 3:17 AM
Unknown Object (File)
Sep 23 2024, 6:37 AM
Unknown Object (File)
Sep 22 2024, 11:13 PM
Unknown Object (File)
Sep 17 2024, 1:45 PM
Unknown Object (File)
Sep 12 2024, 7:23 AM
Unknown Object (File)
Sep 7 2024, 4:28 PM
Unknown Object (File)
Sep 7 2024, 4:07 PM
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).