Page MenuHomeFreeBSD

Handle pagein clustering for vm_page_grab_valid() so that exec can use it.
ClosedPublic

Authored by jeff on Dec 8 2019, 2:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 20, 4:49 PM
Unknown Object (File)
Sat, Jun 20, 12:40 PM
Unknown Object (File)
Fri, Jun 19, 9:46 PM
Unknown Object (File)
Sat, Jun 13, 12:52 PM
Unknown Object (File)
Apr 12 2026, 11:06 AM
Unknown Object (File)
Apr 7 2026, 2:51 PM
Unknown Object (File)
Mar 24 2026, 9:38 PM
Unknown Object (File)
Mar 11 2026, 2:45 AM
Subscribers

Details

Summary

This should be a functional NOP. It will allow for other vm_page_grab_valid() consumers to prefetch pages but more importantly it decreases the surface area for upcoming changes and reduces the amount of complicated VM code floating around in kern/*.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28037
Build 26188: arc lint + arc unit

Event Timeline

jeff added reviewers: alc, dougm, kib, markj.
jeff set the repository for this revision to rS FreeBSD src repository - subversion.
This revision is now accepted and ready to land.Dec 8 2019, 5:47 PM
sys/vm/vm_page.c
4340–4342

This needs to say that flags, like VM_ALLOC_WIRED, won't affect the additional pages. It's not going to be obvious to everyone.

sys/kern/kern_exec.c
996

error != VM_PAGER_OK