Page MenuHomeFreeBSD

Add more lowmem predicates.
ClosedPublic

Authored by markj on Sep 21 2018, 10:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 8, 3:13 PM
Unknown Object (File)
Sat, May 4, 11:54 AM
Unknown Object (File)
Thu, May 2, 9:53 PM
Unknown Object (File)
Sat, Apr 27, 2:38 PM
Unknown Object (File)
Thu, Apr 25, 9:42 PM
Unknown Object (File)
Thu, Apr 25, 9:42 PM
Unknown Object (File)
Thu, Apr 25, 9:42 PM
Unknown Object (File)
Thu, Apr 25, 9:42 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.