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)
Oct 19 2024, 9:24 AM
Unknown Object (File)
Oct 1 2024, 5:32 AM
Unknown Object (File)
Sep 21 2024, 2:58 AM
Unknown Object (File)
Sep 17 2024, 4:24 PM
Unknown Object (File)
Sep 16 2024, 12:44 AM
Unknown Object (File)
Sep 15 2024, 1:30 PM
Unknown Object (File)
Sep 9 2024, 12:59 AM
Unknown Object (File)
Sep 8 2024, 5:38 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #65397)

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 ↗(On Diff #65397)

error != VM_PAGER_OK