Page MenuHomeFreeBSD

vm _radix: define foreach macros for walking pages
ClosedPublic

Authored by dougm on Apr 17 2025, 10:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 9:07 PM
Unknown Object (File)
Sun, Mar 29, 5:32 PM
Unknown Object (File)
Sat, Mar 28, 7:51 PM
Unknown Object (File)
Wed, Mar 25, 4:20 AM
Unknown Object (File)
Sat, Mar 21, 9:40 AM
Unknown Object (File)
Feb 20 2026, 2:33 PM
Unknown Object (File)
Feb 16 2026, 12:41 PM
Unknown Object (File)
Feb 8 2026, 12:42 PM
Subscribers

Details

Summary

Define VM_RADIX_FOREACH to be TAILQ free equivalent of TAIL_FOREACH, and VM_RADIX_FORALL for walking consecutive pages.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm created this revision.

I think a comment is needed to explain the intent of each macro. In particular, I want to know which macro iterates just over existing pages, and which requires all indexes to be populated. Without looking at the commit history.

This revision is now accepted and ready to land.Apr 18 2025, 11:56 AM