Page MenuHomeFreeBSD

Add more lowmem predicates.
ClosedPublic

Authored by markj on Sep 21 2018, 10:00 PM.
Tags
None
Referenced Files
F167891229: D17278.id48407.diff
Tue, Aug 25, 7:09 AM
Unknown Object (File)
Sat, Aug 22, 4:18 AM
Unknown Object (File)
Wed, Aug 19, 4:21 PM
Unknown Object (File)
Tue, Aug 18, 8:00 PM
Unknown Object (File)
Tue, Aug 18, 4:18 PM
Unknown Object (File)
Tue, Aug 18, 1:05 PM
Unknown Object (File)
Tue, Aug 18, 11:19 AM
Unknown Object (File)
Tue, Aug 18, 9:29 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19740
Build 19300: arc lint + arc unit

Event Timeline

sys/x86/acpica/srat.c
475

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.