Page MenuHomeFreeBSD

vm_page: drop mpred from grab_valid_iter()
ClosedPublic

Authored by dougm on May 20 2025, 3:19 AM.
Tags
None
Referenced Files
F151924663: D50424.id156024.diff
Sat, Apr 11, 1:43 PM
Unknown Object (File)
Thu, Apr 9, 6:12 PM
Unknown Object (File)
Thu, Mar 19, 12:40 AM
Unknown Object (File)
Sat, Mar 14, 4:50 PM
Unknown Object (File)
Mar 11 2026, 6:04 PM
Unknown Object (File)
Mar 11 2026, 3:29 AM
Unknown Object (File)
Mar 10 2026, 8:54 AM
Unknown Object (File)
Mar 9 2026, 7:12 AM
Subscribers

Details

Summary

Variable mpred in vm_page_grab_valid_iter() has become a write-only variable. Drop it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dougm requested review of this revision.May 20 2025, 3:19 AM
dougm created this revision.
This revision is now accepted and ready to land.May 20 2025, 6:09 AM
This revision was automatically updated to reflect the committed changes.
alc added inline comments.
sys/vm/vm_page.c
4933

vm_page_alloc_iter(VM_ALLOC_WAITFAIL) performs the reset.

This revision is now accepted and ready to land.May 25 2025, 6:31 AM
This revision was automatically updated to reflect the committed changes.