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
Unknown Object (File)
Sat, May 9, 8:10 PM
Unknown Object (File)
Apr 21 2026, 7:53 PM
Unknown Object (File)
Apr 20 2026, 1:42 AM
Unknown Object (File)
Apr 19 2026, 8:07 AM
Unknown Object (File)
Apr 18 2026, 11:36 PM
Unknown Object (File)
Apr 18 2026, 8:53 PM
Unknown Object (File)
Apr 18 2026, 8:01 PM
Unknown Object (File)
Apr 17 2026, 5:15 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 Not Applicable
Unit
Tests Not Applicable

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
4932–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.