Page MenuHomeFreeBSD

Add more lowmem predicates.
ClosedPublic

Authored by markj on Sep 21 2018, 10:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 19 2024, 7:08 AM
Unknown Object (File)
Sep 25 2024, 1:03 AM
Unknown Object (File)
Sep 24 2024, 7:56 PM
Unknown Object (File)
Sep 24 2024, 7:11 PM
Unknown Object (File)
Sep 23 2024, 10:14 PM
Unknown Object (File)
Sep 22 2024, 7:17 PM
Unknown Object (File)
Sep 18 2024, 4:47 AM
Unknown Object (File)
Sep 7 2024, 8:32 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.