Page MenuHomeFreeBSD

Add more lowmem predicates.
ClosedPublic

Authored by markj on Sep 21 2018, 10:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 25, 6:47 PM
Unknown Object (File)
Wed, May 13, 7:21 AM
Unknown Object (File)
May 8 2026, 5:20 AM
Unknown Object (File)
Apr 27 2026, 2:47 PM
Unknown Object (File)
Apr 27 2026, 5:25 AM
Unknown Object (File)
Apr 26 2026, 11:08 PM
Unknown Object (File)
Apr 25 2026, 6:25 AM
Unknown Object (File)
Apr 23 2026, 6:33 PM
Subscribers

Details

Summary

Use these predicates instead of inline references to vm_min_domains.
Also add an all_domains set, akin to all_cpus; this can be used to check
whether all domains are below a threshold, e.g.,
vm_page_count_min(&all_domains).

Diff Detail

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

Event Timeline

sys/x86/acpica/srat.c
475 ↗(On Diff #48331)

Wouldn't this initialize all_domains only on x86 ?

markj marked an inline comment as done.
  • Add a static initializer for all_domains.
This revision is now accepted and ready to land.Sep 21 2018, 10:34 PM
This revision was automatically updated to reflect the committed changes.